Re: [PATCH 1/1] dt-bindings: power/supply/sbs_sbs-battery: Addition of force_load binding Add device tree binding documentation for addition of force_load boolean value to allow loading a battery duri

2019-08-18 Thread Richard Tresidder
of any reason why we couldn't do that though. I'll update the patch and resubmit V3 Will add a note about it in the docs Please note I'd submitted this incorrectly when using our patch script last time, it's now correctly part of the combined patch Regards   Richard Tresid

[RESEND v2 0/2] power/supply/sbs-battery: Add ability to force load a battery via the devicetree

2019-07-30 Thread Richard Tresidder
Add the ability to force load a hot pluggable battery during boot where there is no gpio detect method available and the module is statically built. Normal polling will then occur on that battery when it is inserted. Richard Tresidder (2): dt-binding docs: sbs_sbs-battery: Addition of

[RESEND v2 2/2] power/supply/sbs-battery: Add ability to force load a battery via the devicetree

2019-07-30 Thread Richard Tresidder
Add the ability to force load a hot pluggable battery during boot where there is no gpio detect method available and the module is statically built. Normal polling will then occur on that battery when it is inserted. Signed-off-by: Richard Tresidder --- drivers/power/supply/sbs-battery.c | 6

[RESEND v2 1/2] dt-binding docs: sbs_sbs-battery: Addition of force_load binding

2019-07-30 Thread Richard Tresidder
Add device tree binding documentation for addition of force_load boolean value to allow loading a battery during boot even if notpresent at that time. Signed-off-by: Richard Tresidder --- Documentation/devicetree/bindings/power/supply/sbs_sbs-battery.txt | 4 +++- 1 file changed, 3 insertions

[PATCH v2 1/1] power/supply/sbs-battery: Add ability to force load a battery via the devicetree

2019-07-30 Thread Richard Tresidder
Add the ability to force load a hot pluggable battery during boot where there is no gpio detect method available and the module is statically built. Normal polling will then occur on that battery when it is inserted. Signed-off-by: Richard Tresidder --- Notes: sbs_battery: Add ability to

Re: [PATCH 1/1] power: supply: sbs-battery: Add ability to force load a battery via the devicetree

2019-07-29 Thread Richard Tresidder
Hi Guenter   See below Richard Tresidder Cheers   Richard Tresidder ** On 30/07/2019 12:09 pm, Guenter Roeck wrote: On Mon, Jul 29, 2019 at 8:02 PM Richard Tresidder wrote: Hi Nick and Guenter Just adding you to this one also seeing as you're looking at that other sbs_battery patch f

Re: [PATCH 1/1] power: supply: sbs-battery: Add ability to force load a battery via the devicetree

2019-07-29 Thread Richard Tresidder
Hi Nick and Guenter Just adding you to this one also seeing as you're looking at that other sbs_battery patch for me. Not sure why the get maintainers didn't list you for this one. Cheers    Richard Tresidder Add the ability to force load a hot pluggable battery during boot where t

[PATCH v4 1/1] power/supply/sbs-battery: Fix confusing battery status when idle or empty

2019-07-29 Thread Richard Tresidder
RGING. Have also added the additional check for the battery FULL DISCHARGED flag which will now flag a status of EMPTY. Signed-off-by: Richard Tresidder --- Notes: power/supply/sbs-battery: Fix confusing battery status when idle or empty When a battery or batteries in a system are in par

[PATCH v3 1/1] power/supply/sbs-battery: Fix confusing battery status when idle or empty

2019-07-29 Thread Richard Tresidder
RGING. Have also added the additional check for the battery FULL DISCHARGED flag which will now flag a status of EMPTY. Signed-off-by: Richard Tresidder --- Notes: power/supply/sbs-battery: Fix confusing battery status when idle or empty When a battery or batteries in a system are in par

Re: [PATCH 1/1] power/supply/powersupply_sysfs: Add of_node name to uevent message if available

2019-07-25 Thread Richard Tresidder
Hi David   That it would be. I wasn't aware of that call. I'll give it a crack and send in a new version of the patch. Cheers   Richard Tresidder Richard Tresidder On 25/07/2019 10:08 pm, David Lechner wrote: On 7/25/19 2:47 AM, Richard Tresidder wrote: If the of_node name of the

Re: [PATCH 1/1] power/supply/sbs-battery: Fix confusing battery status when idle or empty

2019-07-25 Thread Richard Tresidder
Hi Guenter    Yep sorry there was a merge that I missed during that initial send of the patch. I sent a version 2 shortly after. Regards    Richard Tresidder On 25/07/2019 9:39 pm, Guenter Roeck wrote: On Thu, Jul 25, 2019 at 1:25 AM Richard Tresidder wrote: When a battery or batteries in

[RESEND v2 1/1] power/supply/sbs-battery: Fix confusing battery status when idle or empty

2019-07-25 Thread Richard Tresidder
also added the additional check for the battery FULL DISCHARGED flag which will now flag a status of EMPTY. Signed-off-by: Richard Tresidder --- Notes: power/supply/sbs-battery: Fix confusing battery status when idle or empty When a battery or batteries in a system are in parallel

[PATCH 1/1] power/supply/sbs-battery: Fix confusing battery status when idle or empty

2019-07-25 Thread Richard Tresidder
also added the additional check for the battery FULL DISCHARGED flag which will now flag a status of EMPTY. Signed-off-by: Richard Tresidder --- Notes: power/supply/sbs-battery: Fix confusing battery status when idle or empty When a battery or batteries in a system are in parallel

[PATCH 1/1] power/supply/powersupply_sysfs: Add of_node name to uevent message if available

2019-07-25 Thread Richard Tresidder
If the of_node name of the supply is available from the devicetree binding then include it under the var POWER_SUPPLY_OF_NODE_NAME. This helps where a consistent name is known via the device tree binding but it is hard to identify based on the usual enumeration process. Signed-off-by: Richard

[PATCH 1/1] dt-bindings: power/supply/sbs_sbs-battery: Addition of force_load binding Add device tree binding documentation for addition of force_load boolean value to allow loading a battery during b

2019-07-24 Thread Richard Tresidder
Signed-off-by: Richard Tresidder --- Notes: Add device tree binding documentation for addition of force_load boolean value to allow loading a battery during boot even if not present at that time. Accompanying patch to drivers/power/supply/sbs-battery.c submitted to linux

[PATCH 1/1] power: supply: sbs-battery: Add ability to force load a battery via the devicetree

2019-07-24 Thread Richard Tresidder
Add the ability to force load a hot pluggable battery during boot where there is no gpio detect method available and the module is statically built. Normal polling will then occur on that battery when it is inserted. Signed-off-by: Richard Tresidder --- Notes: Add the ability to force load