Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1221607 > unrolled thread
| Started by | "Pallala, Ramakrishna" <ramakrishna.pallala@intel.com> |
|---|---|
| First post | 2015-09-09 20:20 +0200 |
| Last post | 2015-09-22 17:50 +0200 |
| Articles | 6 — 4 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
RE: [PATCH] power: bq24261_charger: Add support for TI BQ24261 charger "Pallala, Ramakrishna" <ramakrishna.pallala@intel.com> - 2015-09-09 20:20 +0200
Re: [PATCH] power: bq24261_charger: Add support for TI BQ24261 charger Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2015-09-10 01:50 +0200
Re: [PATCH] power: bq24261_charger: Add support for TI BQ24261 charger "Andrew F. Davis" <afd@ti.com> - 2015-09-10 18:50 +0200
Re: [PATCH] power: bq24261_charger: Add support for TI BQ24261 charger Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2015-09-11 03:00 +0200
Re: [PATCH] power: bq24261_charger: Add support for TI BQ24261 charger Sebastian Reichel <sre@kernel.org> - 2015-09-22 17:40 +0200
RE: [PATCH] power: bq24261_charger: Add support for TI BQ24261 charger "Pallala, Ramakrishna" <ramakrishna.pallala@intel.com> - 2015-09-22 17:50 +0200
| From | "Pallala, Ramakrishna" <ramakrishna.pallala@intel.com> |
|---|---|
| Date | 2015-09-09 20:20 +0200 |
| Subject | RE: [PATCH] power: bq24261_charger: Add support for TI BQ24261 charger |
| Message-ID | <q6S8p-2pT-1@gated-at.bofh.it> |
SGksIA0KDQo+IEZyb206IGsua296bG93c2tpLmtAZ21haWwuY29tIFttYWlsdG86ay5rb3psb3dz a2kua0BnbWFpbC5jb21dIE9uIEJlaGFsZg0KPiBPZiBLcnp5c3p0b2YgS296bG93c2tpDQo+IFNl bnQ6IE1vbmRheSwgU2VwdGVtYmVyIDcsIDIwMTUgOToyOCBBTQ0KPiBUb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klmIERUIGlzIG5vdCB0aGUgcGxhY2Ugd2hlcmUgc2hvdWxkIGl0 IGdvPw0KDQpUaGFua3MsDQpSYW0NCg0K -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [next] | [standalone]
| From | Krzysztof Kozlowski <k.kozlowski@samsung.com> |
|---|---|
| Date | 2015-09-10 01:50 +0200 |
| Subject | Re: [PATCH] power: bq24261_charger: Add support for TI BQ24261 charger |
| Message-ID | <q6XhM-1ek-21@gated-at.bofh.it> |
| In reply to | #1221607 |
On 10.09.2015 03:11, Pallala, Ramakrishna wrote: >>> +Optional properties: >>> +- ti,thermal-sensing: boolean, if present thermal regulation will be >>> +enabled; >> >> What is the requirement for thermal-sensing? Can it be enabled always? >> If yes, then this is not really a hardware property. > TI BQ24261 has provision to add Battery Pack thermistor but it has no ADC read it. > So a HW designer would or may not add the thermistor to charger and instead he can > connect to the Fuel Gauge. Thanks for explanation, makes sense. > >>> +- ti,enable-user-write: boolean, if present driver will allow the user space >>> + to control the charging current and voltage through sysfs; >> >> This is not DT property. It does not describe hardware. > We needed a mechanism to enable the sysfs writes on certain properties. > If DT is not the place where should it go? DT is not the place. As I discussed later with Andreas, if you really need this and if mainline is a place for that then probably this should be compile option (a Kconfig symbol). I found one more issue after Andreas comments but I respond in that email. Best regards, Krzysztof -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | "Andrew F. Davis" <afd@ti.com> |
|---|---|
| Date | 2015-09-10 18:50 +0200 |
| Message-ID | <q7dcR-79C-3@gated-at.bofh.it> |
| In reply to | #1221801 |
On 09/09/2015 06:47 PM, Krzysztof Kozlowski wrote: >>>> +- ti,enable-user-write: boolean, if present driver will allow the user space >>>> + to control the charging current and voltage through sysfs; >>> >>> This is not DT property. It does not describe hardware. >> We needed a mechanism to enable the sysfs writes on certain properties. >> If DT is not the place where should it go? > > DT is not the place. As I discussed later with Andreas, if you really > need this and if mainline is a place for that then probably this should > be compile option (a Kconfig symbol). > I think this would actually be a good use for module parameters, this way it could still be set at boot without re-compiling. I think compile-time disabling sysfs properties because they are "dangerous" is a little bit too artificially restricting and controlling, you can set permissions so only root can change them already. The kernel should not be restricting root, I understand the fear of someone rooting a machine and remotely over charging a LiPo[1], but these physical limits are hardware descriptions and can and should be set by DT, beyond this root should have full control over their machine. Besides root can already just unbind your driver and issue raw I2C commands to do the same thing. </rant> [1] http://i.imgur.com/vszJJ.jpg Regards, Andrew -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Krzysztof Kozlowski <k.kozlowski@samsung.com> |
|---|---|
| Date | 2015-09-11 03:00 +0200 |
| Subject | Re: [PATCH] power: bq24261_charger: Add support for TI BQ24261 charger |
| Message-ID | <q7kR4-1QD-3@gated-at.bofh.it> |
| In reply to | #1222306 |
On 11.09.2015 01:42, Andrew F. Davis wrote: > On 09/09/2015 06:47 PM, Krzysztof Kozlowski wrote: >>>>> +- ti,enable-user-write: boolean, if present driver will allow the >>>>> user space >>>>> + to control the charging current and voltage through sysfs; >>>> >>>> This is not DT property. It does not describe hardware. >>> We needed a mechanism to enable the sysfs writes on certain properties. >>> If DT is not the place where should it go? >> >> DT is not the place. As I discussed later with Andreas, if you really >> need this and if mainline is a place for that then probably this should >> be compile option (a Kconfig symbol). >> > > I think this would actually be a good use for module parameters, this way > it could still be set at boot without re-compiling. > > I think compile-time disabling sysfs properties because they are > "dangerous" is > a little bit too artificially restricting and controlling, you can set > permissions > so only root can change them already. The kernel should not be > restricting root, > I understand the fear of someone rooting a machine and remotely over > charging > a LiPo[1], but these physical limits are hardware descriptions and can > and should > be set by DT, beyond this root should have full control over their machine. Indeed module parameters could be used for enabling/disabling debug options... but as fair as I understand these are for purely development purposes. That is why they got into DT initially, right? To allow the developer to play with it on the development board? This is why I am really not convinced that this should go to mainline. Anyway if it goes, then maybe compiling it out is the safest choice? What's the purpose of having it in kernel all the time? If this was a debug option, than some experienced user could turn it on and report to LKML with extended debug data. But it's not a debug but development option? > Besides root can already just unbind your driver and issue raw I2C > commands to do > the same thing. </rant> > > [1] http://i.imgur.com/vszJJ.jpg Oh, these weird sickos... That's why I am using IPoAC and always check the bits by myself for weird looking I2C commands. :) Best regards, Krzysztof -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Sebastian Reichel <sre@kernel.org> |
|---|---|
| Date | 2015-09-22 17:40 +0200 |
| Message-ID | <qbxPI-10s-19@gated-at.bofh.it> |
| In reply to | #1222460 |
[Multipart message — attachments visible in raw view] — view raw
Hi, On Fri, Sep 11, 2015 at 09:58:40AM +0900, Krzysztof Kozlowski wrote: > On 11.09.2015 01:42, Andrew F. Davis wrote: > > On 09/09/2015 06:47 PM, Krzysztof Kozlowski wrote: > >>>>> +- ti,enable-user-write: boolean, if present driver will allow the > >>>>> user space > >>>>> + to control the charging current and voltage through sysfs; > >>>> > >>>> This is not DT property. It does not describe hardware. > >>> We needed a mechanism to enable the sysfs writes on certain properties. > >>> If DT is not the place where should it go? > >> > >> DT is not the place. As I discussed later with Andreas, if you really > >> need this and if mainline is a place for that then probably this should > >> be compile option (a Kconfig symbol). > >> > > > > I think this would actually be a good use for module parameters, this way > > it could still be set at boot without re-compiling. > > > > I think compile-time disabling sysfs properties because they are > > "dangerous" is > > a little bit too artificially restricting and controlling, you can set > > permissions > > so only root can change them already. The kernel should not be > > restricting root, > > I understand the fear of someone rooting a machine and remotely over > > charging > > a LiPo[1], but these physical limits are hardware descriptions and can > > and should > > be set by DT, beyond this root should have full control over their machine. > > > Indeed module parameters could be used for enabling/disabling debug > options... but as fair as I understand these are for purely development > purposes. That is why they got into DT initially, right? To allow the > developer to play with it on the development board? > > This is why I am really not convinced that this should go to mainline. > > Anyway if it goes, then maybe compiling it out is the safest choice? > What's the purpose of having it in kernel all the time? If this was a > debug option, than some experienced user could turn it on and report to > LKML with extended debug data. But it's not a debug but development option? Changing the current limit is useful for "expert" users with custom usb power supplies, that are not correctly detected by extcon. I also think a module parameter would be the best option here. -- Sebastian
[toc] | [prev] | [next] | [standalone]
| From | "Pallala, Ramakrishna" <ramakrishna.pallala@intel.com> |
|---|---|
| Date | 2015-09-22 17:50 +0200 |
| Message-ID | <qbxZn-1c3-7@gated-at.bofh.it> |
| In reply to | #1230339 |
> Hi, > > On Fri, Sep 11, 2015 at 09:58:40AM +0900, Krzysztof Kozlowski wrote: > > On 11.09.2015 01:42, Andrew F. Davis wrote: > > > On 09/09/2015 06:47 PM, Krzysztof Kozlowski wrote: > > >>>>> +- ti,enable-user-write: boolean, if present driver will allow > > >>>>> +the > > >>>>> user space > > >>>>> + to control the charging current and voltage through sysfs; > > >>>> > > >>>> This is not DT property. It does not describe hardware. > > >>> We needed a mechanism to enable the sysfs writes on certain properties. > > >>> If DT is not the place where should it go? > > >> > > >> DT is not the place. As I discussed later with Andreas, if you > > >> really need this and if mainline is a place for that then probably > > >> this should be compile option (a Kconfig symbol). > > >> > > > > > > I think this would actually be a good use for module parameters, > > > this way it could still be set at boot without re-compiling. > > > > > > I think compile-time disabling sysfs properties because they are > > > "dangerous" is a little bit too artificially restricting and > > > controlling, you can set permissions so only root can change them > > > already. The kernel should not be restricting root, I understand the > > > fear of someone rooting a machine and remotely over charging a > > > LiPo[1], but these physical limits are hardware descriptions and can > > > and should be set by DT, beyond this root should have full control > > > over their machine. > > > > > > Indeed module parameters could be used for enabling/disabling debug > > options... but as fair as I understand these are for purely > > development purposes. That is why they got into DT initially, right? > > To allow the developer to play with it on the development board? > > > > This is why I am really not convinced that this should go to mainline. > > > > Anyway if it goes, then maybe compiling it out is the safest choice? > > What's the purpose of having it in kernel all the time? If this was a > > debug option, than some experienced user could turn it on and report > > to LKML with extended debug data. But it's not a debug but development > option? > > Changing the current limit is useful for "expert" users with custom usb power > supplies, that are not correctly detected by extcon. I also think a module > parameter would be the best option here. Ok. I will resubmit the patches along with fixing the other comments. Thanks, Ram -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web