[PATCH v2 1/2] power: supply: bq25980 Apply datasheet revision changes

2021-02-10 Thread Ricardo Rivera-Matos
/set math correctly. Fixes: 5069185fc18e ("power: supply: bq25980: Add support for the BQ259xx family") Signed-off-by: Ricardo Rivera-Matos --- drivers/power/supply/bq25980_charger.c | 141 - drivers/power/supply/bq25980_charger.h | 77 ++ 2 files ch

[PATCH v2 2/2] power: supply: bq25980: Move props from battery node

2021-02-10 Thread Ricardo Rivera-Matos
the battery node. Fixes: 5069185fc18e ("power: supply: bq25980: Add support for the BQ259xx family") Signed-off-by: Ricardo Rivera-Matos --- drivers/power/supply/bq25980_charger.c | 40 -- 1 file changed, 12 insertions(+), 28 deletions(-) diff --git a/drivers/po

Re: [EXTERNAL] Re: [PATCH 2/2] power: supply: bq25980: Moves properties from battery node

2021-02-10 Thread Ricardo Rivera-Matos
On 2/10/21 2:23 AM, Krzysztof Kozlowski wrote: On Wed, 10 Feb 2021 at 00:52, Ricardo Rivera-Matos wrote: fix: exposes POWER_SUPPLY_PROP_CONSTANT_CHARGE_CURRENT on the charger node Why is this a fix? Why is exposing this property wrong? What is the problem here? Why do you start sentences

Re: [EXTERNAL] Re: [PATCH 1/2] power: supply: bq25980: Applies multiple fixes brought on

2021-02-10 Thread Ricardo Rivera-Matos
Krzysztof, On 2/10/21 2:20 AM, Krzysztof Kozlowski wrote: On Wed, 10 Feb 2021 at 00:52, Ricardo Rivera-Matos wrote: fix: corrects various register step size and offset values fix: corrects bq25980_get_input_curr_lim() and bq25980_set_input_curr_lim() fix: corrects

[PATCH 1/2] power: supply: bq25980: Applies multiple fixes brought on

2021-02-09 Thread Ricardo Rivera-Matos
("power: supply: bq25980: Add support for the BQ259xx family") Signed-off-by: Ricardo Rivera-Matos --- drivers/power/supply/bq25980_charger.c | 141 - drivers/power/supply/bq25980_charger.h | 77 ++ 2 files changed, 173 insertions(+), 45 deletion

[PATCH 2/2] power: supply: bq25980: Moves properties from battery node

2021-02-09 Thread Ricardo Rivera-Matos
amily") Signed-off-by: Ricardo Rivera-Matos --- drivers/power/supply/bq25980_charger.c | 40 -- 1 file changed, 12 insertions(+), 28 deletions(-) diff --git a/drivers/power/supply/bq25980_charger.c b/drivers/power/supply/bq25980_charger.c index 7c489a9e8877..ac

[PATCH v5 2/2] power: supply: bq25790: Introduce the BQ25790 charger driver

2021-02-01 Thread Ricardo Rivera-Matos
From: Dan Murphy BQ25790 is a highly integrated switch-mode buck-boost charger for 1-4 cell Li-ion battery and Li-polymer battery. Signed-off-by: Ricardo Rivera-Matos Signed-off-by: Dan Murphy --- drivers/power/supply/Kconfig |8 + drivers/power/supply/Makefile |1

[PATCH v5 0/2] Introduce the BQ25790 charger driver

2021-02-01 Thread Ricardo Rivera-Matos
Hello, This patchset introduces the BQ25790 integrated buck-boost charging IC. Dan Murphy (2): dt-bindings: power: Add the bq25790 dt bindings power: supply: bq25790: Introduce the BQ25790 charger driver .../bindings/power/supply/bq25790.yaml| 95 ++ drivers/power/supply/Kconfig

[PATCH v5 1/2] dt-bindings: power: Add the bq25790 dt bindings

2021-02-01 Thread Ricardo Rivera-Matos
From: Dan Murphy Add the bindings for the bq25790. Reviewed-by: Rob Herring Signed-off-by: Ricardo Rivera-Matos Signed-off-by: Dan Murphy --- .../bindings/power/supply/bq25790.yaml| 95 +++ 1 file changed, 95 insertions(+) create mode 100644 Documentation/devicetree

Re: [EXTERNAL] Re: [PATCH v4 2/2] power: supply: bq25790: Introduce the BQ25790 charger driver

2021-01-31 Thread Ricardo Rivera-Matos
-by: Ricardo Rivera-Matos Signed-off-by: Dan Murphy --- drivers/power/supply/Kconfig |8 + drivers/power/supply/Makefile |1 + drivers/power/supply/bq25790_charger.c | 1121 drivers/power/supply/bq25790_charger.h | 150 4 files

[PATCH] power: supply: bq256xx: Fix BQ256XX_NUM_WD_VAL and bq256xx_watchdog_time[] overrun

2021-01-13 Thread Ricardo Rivera-Matos
Corrects BQ256XX_NUM_WD_VAL from value of "8" to "4" and fixes the issue when 'i' is equal to array size then array index over runs the array Fixes: 32e4978bb92 ("power: supply: bq256xx: Introduce the BQ256XX charger driver") Reported-by: Dan Carpenter Signe

[PATCH v10 1/2] dt-bindings: power: Add the bq256xx dt bindings

2021-01-06 Thread Ricardo Rivera-Matos
/ds/symlink/bq25611d.pdf - https://www.ti.com/lit/ds/symlink/bq25618.pdf - https://www.ti.com/lit/ds/symlink/bq25619.pdf Reviewed-by: Rob Herring Signed-off-by: Ricardo Rivera-Matos --- .../bindings/power/supply/bq256xx.yaml| 110 ++ 1 file changed, 110 insertions

[PATCH v10 2/2] power: supply: bq256xx: Introduce the BQ256XX charger driver

2021-01-06 Thread Ricardo Rivera-Matos
The BQ256XX family of devices are highly integrated buck chargers for single cell batteries. Signed-off-by: Ricardo Rivera-Matos --- v9 - resolves two warnings issued by kernel test robot v10 - passes psy_cfg by reference drivers/power/supply/Kconfig | 11 + drivers/power/supply

[PATCH v10 0/2] Introduce the BQ256XX family of chargers

2021-01-06 Thread Ricardo Rivera-Matos
Hello, This patchset introduces the bq256xx family of charging ICs. The bq256xx ICs are highly integrated, buck, switching chargers intended for use in smartphones, tablets, and portable electronics. Ricardo Rivera-Matos (2): dt-bindings: power: Add the bq256xx dt bindings power: supply

Re: [EXTERNAL] Re: [PATCH v9 2/2] power: supply: bq256xx: Introduce the BQ256XX charger driver

2021-01-05 Thread Ricardo Rivera-Matos
Sebastian, On 1/5/21 3:26 PM, Sebastian Reichel wrote: Hi, On Tue, Jan 05, 2021 at 02:29:49PM -0600, Ricardo Rivera-Matos wrote: The BQ256XX family of devices are highly integrated buck chargers for single cell batteries. Signed-off-by: Ricardo Rivera-Matos v9 - resolves two warnings

[PATCH v9 1/2] dt-bindings: power: Add the bq256xx dt bindings

2021-01-05 Thread Ricardo Rivera-Matos
/ds/symlink/bq25611d.pdf - https://www.ti.com/lit/ds/symlink/bq25618.pdf - https://www.ti.com/lit/ds/symlink/bq25619.pdf Reviewed-by: Rob Herring Signed-off-by: Ricardo Rivera-Matos --- .../bindings/power/supply/bq256xx.yaml| 110 ++ 1 file changed, 110 insertions

[PATCH v9 0/2] Introduce the BQ256XX family of chargers

2021-01-05 Thread Ricardo Rivera-Matos
Hello, This patchset introduces the bq256xx family of charging ICs. The bq256xx ICs are highly integrated, buck, switching chargers intended for use in smartphones, tablets, and portable electronics. Ricardo Rivera-Matos (2): dt-bindings: power: Add the bq256xx dt bindings power: supply

[PATCH v9 2/2] power: supply: bq256xx: Introduce the BQ256XX charger driver

2021-01-05 Thread Ricardo Rivera-Matos
The BQ256XX family of devices are highly integrated buck chargers for single cell batteries. Signed-off-by: Ricardo Rivera-Matos v9 - resolves two warnings issued by kernel test robot --- drivers/power/supply/Kconfig | 11 + drivers/power/supply/Makefile |1 + drivers

Re: [EXTERNAL] Re: [PATCH v8 2/2] power: supply: bq256xx: Introduce the BQ256XX charger driver

2021-01-05 Thread Ricardo Rivera-Matos
/for-next v5.11-rc2 next-20210104] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Ricardo-Rivera-Matos/Introduce

[PATCH v8 1/2] dt-bindings: power: Add the bq256xx dt bindings

2021-01-04 Thread Ricardo Rivera-Matos
/ds/symlink/bq25611d.pdf - https://www.ti.com/lit/ds/symlink/bq25618.pdf - https://www.ti.com/lit/ds/symlink/bq25619.pdf Reviewed-by: Rob Herring Signed-off-by: Ricardo Rivera-Matos --- .../bindings/power/supply/bq256xx.yaml| 110 ++ 1 file changed, 110 insertions

[PATCH v8 2/2] power: supply: bq256xx: Introduce the BQ256XX charger driver

2021-01-04 Thread Ricardo Rivera-Matos
The BQ256XX family of devices are highly integrated buck chargers for single cell batteries. Signed-off-by: Ricardo Rivera-Matos --- drivers/power/supply/Kconfig | 11 + drivers/power/supply/Makefile |1 + drivers/power/supply/bq256xx_charger.c | 1745

[PATCH v8 0/2] Introduce the BQ256XX family of chargers

2021-01-04 Thread Ricardo Rivera-Matos
Hello, This patchset introduces the bq256xx family of charging ICs. The bq256xx ICs are highly integrated, buck, switching chargers intended for use in smartphones, tablets, and portable electronics. Ricardo Rivera-Matos (2): dt-bindings: power: Add the bq256xx dt bindings power: supply

Re: [EXTERNAL] Re: [PATCH v7 2/2] power: supply: bq256xx: Introduce the BQ256XX charger driver

2021-01-03 Thread Ricardo Rivera-Matos
Sebastian On 1/2/21 7:26 PM, Sebastian Reichel wrote: Hi Ricardo, On Wed, Dec 30, 2020 at 05:01:16PM -0600, Ricardo Rivera-Matos wrote: The BQ256XX family of devices are highly integrated buck chargers for single cell batteries. Signed-off-by: Ricardo Rivera-Matos v5 - adds

[PATCH v7 1/2] dt-bindings: power: Add the bq256xx dt bindings

2020-12-30 Thread Ricardo Rivera-Matos
/ds/symlink/bq25611d.pdf - https://www.ti.com/lit/ds/symlink/bq25618.pdf - https://www.ti.com/lit/ds/symlink/bq25619.pdf Reviewed-by: Rob Herring Signed-off-by: Ricardo Rivera-Matos v4 - documents monitored-battery and interrupts, fixes example for ti,watchdog-timeout-ms --- .../bindings/power

[PATCH v7 0/2] Introduce the BQ256XX family of chargers

2020-12-30 Thread Ricardo Rivera-Matos
Hello, This patchset introduces the bq256xx family of charging ICs. The bq256xx ICs are highly integrated, buck, switching chargers intended for use in smartphones, tablets, and portable electronics. Ricardo Rivera-Matos (2): dt-bindings: power: Add the bq256xx dt bindings power: supply

[PATCH v7 2/2] power: supply: bq256xx: Introduce the BQ256XX charger driver

2020-12-30 Thread Ricardo Rivera-Matos
The BQ256XX family of devices are highly integrated buck chargers for single cell batteries. Signed-off-by: Ricardo Rivera-Matos v5 - adds power_supply_put_battery_info() and devm_add_action_or_rest() calls v6 - implements bq256xx_remove function v7 - applies various fixes - implements

Re: [EXTERNAL] Re: [PATCH v6 2/2] power: supply: bq256xx: Introduce the BQ256XX charger driver

2020-12-30 Thread Ricardo Rivera-Matos
Sebastian, On 10/19/20 4:53 PM, Sebastian Reichel wrote: Hi Ricardo, On Mon, Oct 05, 2020 at 04:47:09PM -0500, Ricardo Rivera-Matos wrote: The BQ256XX family of devices are highly integrated buck chargers for single cell batteries. Signed-off-by: Ricardo Rivera-Matos v5 - adds

[PATCH v6 2/2] power: supply: bq256xx: Introduce the BQ256XX charger driver

2020-10-05 Thread Ricardo Rivera-Matos
The BQ256XX family of devices are highly integrated buck chargers for single cell batteries. Signed-off-by: Ricardo Rivera-Matos v5 - adds power_supply_put_battery_info() and devm_add_action_or_rest() calls v6 - implements bq256xx_remove function --- drivers/power/supply/Kconfig

[PATCH v6 0/2] Introduce the BQ256XX family of chargers

2020-10-05 Thread Ricardo Rivera-Matos
Hello, This patchset introduces the bq256xx family of charging ICs. The bq256xx ICs are highly integrated, buck, switching chargers intended for use in smartphones, tablets, and portable electronics. Ricardo Rivera-Matos (2): dt-bindings: power: Add the bq256xx dt bindings power: supply

[PATCH v6 1/2] dt-bindings: power: Add the bq256xx dt bindings

2020-10-05 Thread Ricardo Rivera-Matos
/ds/symlink/bq25611d.pdf - https://www.ti.com/lit/ds/symlink/bq25618.pdf - https://www.ti.com/lit/ds/symlink/bq25619.pdf Reviewed-by: Rob Herring Signed-off-by: Ricardo Rivera-Matos v4 - documents monitored-battery and interrupts, fixes example for ti,watchdog-timeout-ms --- .../bindings/power

Re: [EXTERNAL] Re: [PATCH v5 2/2] power: supply: bq256xx: Introduce the BQ256XX charger driver

2020-10-05 Thread Ricardo Rivera-Matos
Sebastian, On 10/3/20 5:54 AM, Sebastian Reichel wrote: Hi Ricardo, On Thu, Oct 01, 2020 at 04:40:34PM -0500, Ricardo Rivera-Matos wrote: The BQ256XX family of devices are highly integrated buck chargers for single cell batteries. Signed-off-by: Ricardo Rivera-Matos v5 - adds

[PATCH v5 1/2] dt-bindings: power: Add the bq256xx dt bindings

2020-10-01 Thread Ricardo Rivera-Matos
/ds/symlink/bq25611d.pdf - https://www.ti.com/lit/ds/symlink/bq25618.pdf - https://www.ti.com/lit/ds/symlink/bq25619.pdf Reviewed-by: Rob Herring Signed-off-by: Ricardo Rivera-Matos v4 - documents monitored-battery and interrupts, fixes example for ti,watchdog-timeout-ms --- .../bindings/power

[PATCH v5 0/2] Introduce the BQ256XX family of chargers

2020-10-01 Thread Ricardo Rivera-Matos
Hello, This patchset introduces the bq256xx family of charging ICs. The bq256xx ICs are highly integrated, buck, switching chargers intended for use in smartphones, tablets, and portable electronics. Ricardo Rivera-Matos (2): dt-bindings: power: Add the bq256xx dt bindings power: supply

[PATCH v5 2/2] power: supply: bq256xx: Introduce the BQ256XX charger driver

2020-10-01 Thread Ricardo Rivera-Matos
The BQ256XX family of devices are highly integrated buck chargers for single cell batteries. Signed-off-by: Ricardo Rivera-Matos v5 - adds power_supply_put_battery_info() and devm_add_action_or_rest() calls --- drivers/power/supply/Kconfig | 11 + drivers/power/supply/Makefile

Re: [EXTERNAL] Re: [PATCH v4 2/2] power: supply: bq256xx: Introduce the BQ256XX charger driver

2020-10-01 Thread Ricardo Rivera-Matos
Sebastian On 9/30/20 6:47 PM, Sebastian Reichel wrote: Hi, You are leaking some resources, otherwise LGTM. ACK On Wed, Sep 23, 2020 at 10:24:16AM -0500, Ricardo Rivera-Matos wrote: [...] +static int bq256xx_hw_init(struct bq256xx_device *bq) +{ + struct power_supply_battery_info

[PATCH v4 2/2] power: supply: bq256xx: Introduce the BQ256XX charger driver

2020-09-23 Thread Ricardo Rivera-Matos
The BQ256XX family of devices are highly integrated buck chargers for single cell batteries. Signed-off-by: Ricardo Rivera-Matos --- drivers/power/supply/Kconfig | 11 + drivers/power/supply/Makefile |1 + drivers/power/supply/bq256xx_charger.c | 1769

[PATCH v4 1/2] dt-bindings: power: Add the bq256xx dt bindings

2020-09-23 Thread Ricardo Rivera-Matos
/ds/symlink/bq25611d.pdf - https://www.ti.com/lit/ds/symlink/bq25618.pdf - https://www.ti.com/lit/ds/symlink/bq25619.pdf Signed-off-by: Ricardo Rivera-Matos --- v4 - documents monitored-battery and interrupts, fixes example for ti,watchdog-timeout-ms .../bindings/power/supply/bq256xx.yaml

[PATCH v4 0/2] Introduce the BQ256XX family of chargers

2020-09-23 Thread Ricardo Rivera-Matos
Hello, This patchset introduces the bq256xx family of charging ICs. The bq256xx ICs are highly integrated, buck, switching chargers intended for use in smartphones, tablets, and portable electronics. Ricardo Rivera-Matos (2): dt-bindings: power: Add the bq256xx dt bindings power: supply

Re: [EXTERNAL] Re: [PATCH v3 1/2] dt-bindings: power: Add the bq256xx dt bindings

2020-09-22 Thread Ricardo Rivera-Matos
Dan On 9/22/20 8:05 PM, Dan Murphy wrote: RIcardo On 9/22/20 5:56 PM, Ricardo Rivera-Matos wrote: Rob On 9/22/20 5:22 PM, Rob Herring wrote: On Thu, Sep 10, 2020 at 11:45:33AM -0500, Ricardo Rivera-Matos wrote: Add the bindings for the bq256xx series of battery charging ICs. Datasheets

Re: [EXTERNAL] Re: [PATCH v3 1/2] dt-bindings: power: Add the bq256xx dt bindings

2020-09-22 Thread Ricardo Rivera-Matos
Rob On 9/22/20 5:22 PM, Rob Herring wrote: On Thu, Sep 10, 2020 at 11:45:33AM -0500, Ricardo Rivera-Matos wrote: Add the bindings for the bq256xx series of battery charging ICs. Datasheets: - https://www.ti.com/lit/ds/symlink/bq25600.pdf - https://www.ti.com/lit/ds/symlink/bq25601.pdf - https

[PATCH v3 0/2] Introduce the BQ256XX family of chargers

2020-09-10 Thread Ricardo Rivera-Matos
Hello, This patchset introduces the bq256xx family of charging ICs. The bq256xx ICs are highly integrated, buck, switching chargers intended for use in smartphones, tablets, and portable electronics. Ricardo Rivera-Matos (2): dt-bindings: power: Add the bq256xx dt bindings power: supply

[PATCH v3 2/2] power: supply: bq256xx: Introduce the BQ256XX charger driver

2020-09-10 Thread Ricardo Rivera-Matos
The BQ256XX family of devices are highly integrated buck chargers for single cell batteries. Signed-off-by: Ricardo Rivera-Matos --- drivers/power/supply/Kconfig | 11 + drivers/power/supply/Makefile |1 + drivers/power/supply/bq256xx_charger.c | 1769

[PATCH v3 1/2] dt-bindings: power: Add the bq256xx dt bindings

2020-09-10 Thread Ricardo Rivera-Matos
/ds/symlink/bq25611d.pdf - https://www.ti.com/lit/ds/symlink/bq25618.pdf - https://www.ti.com/lit/ds/symlink/bq25619.pdf Signed-off-by: Ricardo Rivera-Matos --- .../bindings/power/supply/bq256xx.yaml| 97 +++ 1 file changed, 97 insertions(+) create mode 100644 Documentation

[PATCH v2 0/2] Introduce the BQ256XX family of chargers

2020-08-28 Thread Ricardo Rivera-Matos
Hello, This patchset introduces the bq256xx family of charging ICs. The bq256xx ICs are highly integrated, buck, switching chargers intended for use in smartphones, tablets, and portable electronics. Ricardo Rivera-Matos (2): dt-bindings: power: Add the bq256xx dt bindings power: supply

[PATCH v2 1/2] dt-bindings: power: Add the bq256xx dt bindings

2020-08-28 Thread Ricardo Rivera-Matos
/ds/symlink/bq25611d.pdf - https://www.ti.com/lit/ds/symlink/bq25618.pdf - https://www.ti.com/lit/ds/symlink/bq25619.pdf Signed-off-by: Ricardo Rivera-Matos --- .../bindings/power/supply/bq256xx.yaml| 97 +++ 1 file changed, 97 insertions(+) create mode 100644 Documentation

[PATCH v2 2/2] power: supply: bq256xx: Introduce the BQ256XX charger driver

2020-08-28 Thread Ricardo Rivera-Matos
The BQ256XX family of devices are highly integrated buck chargers for single cell batteries. Signed-off-by: Ricardo Rivera-Matos --- drivers/power/supply/Kconfig | 11 + drivers/power/supply/Makefile |1 + drivers/power/supply/bq256xx_charger.c | 1769

Re: [EXTERNAL] Re: [PATCH v1 1/2] dt-bindings: power: Add the bq256xx dt bindings

2020-08-27 Thread Ricardo Rivera-Matos
Rob On 8/18/20 11:43 AM, Rob Herring wrote: On Mon, Aug 17, 2020 at 02:17:22PM -0500, Ricardo Rivera-Matos wrote: Add the bindings for the bq256xx series of battery charging ICs. Datasheets: - https://www.ti.com/lit/ds/symlink/bq25600.pdf - https://www.ti.com/lit/ds/symlink/bq25601.pdf

[PATCH v1 2/2] power: supply: bq256xx: Introduce the BQ256XX charger driver

2020-08-17 Thread Ricardo Rivera-Matos
The BQ256XX family of devices are highly integrated buck chargers for single cell batteries. Signed-off-by: Ricardo Rivera-Matos --- drivers/power/supply/Kconfig | 11 + drivers/power/supply/Makefile |1 + drivers/power/supply/bq256xx_charger.c | 1769

[PATCH v1 1/2] dt-bindings: power: Add the bq256xx dt bindings

2020-08-17 Thread Ricardo Rivera-Matos
/ds/symlink/bq25611d.pdf - https://www.ti.com/lit/ds/symlink/bq25618.pdf - https://www.ti.com/lit/ds/symlink/bq25619.pdf Signed-off-by: Ricardo Rivera-Matos --- .../bindings/power/supply/bq256xx.yaml| 99 +++ 1 file changed, 99 insertions(+) create mode 100644 Documentation

[PATCH v1 0/2] Introduce the BQ256XX family of chargers

2020-08-17 Thread Ricardo Rivera-Matos
Hello, This patchset introduces the bq256xx family of charging ICs. The bq256xx ICs are highly integrated, buck, switching chargers intended for use in smartphones, tablets, and portable electronics. Ricardo Rivera-Matos (2): dt-bindings: power: Add the bq256xx dt bindings power: supply

Re: [PATCH 2/2] power: supply: bq25790: Introduce the BQ25790 charger driver

2020-07-30 Thread Ricardo Rivera-Matos
Signed-off-by: Ricardo Rivera-Matos On 7/30/20 9:58 AM, Dan Murphy wrote: BQ25790 is a highly integrated switch-mode buck-boost charger for 1-4 cell Li-ion battery and Li-polymer battery. Signed-off-by: Dan Murphy --- drivers/power/supply/Kconfig |8 + drivers/power/supply

[PATCH v18 0/4] Add JEITA properties and introduce the bq2515x charger

2020-07-28 Thread Ricardo Rivera-Matos
dt-bindings: power: Convert battery.txt to battery.yaml Ricardo Rivera-Matos (2): dt-bindings: power: Add the bindings for the bq2515x family of chargers. power: supply: bq25150 introduce the bq25150 Documentation/ABI/testing/sysfs-class-power |3 +- .../bindings/power/supply

[PATCH v18 4/4] power: supply: bq25150 introduce the bq25150

2020-07-28 Thread Ricardo Rivera-Matos
. Datasheets: bq25150 - http://www.ti.com/lit/ds/symlink/bq25150.pdf bq25155 - http://www.ti.com/lit/ds/symlink/bq25155.pdf Signed-off-by: Ricardo Rivera-Matos --- drivers/power/supply/Kconfig | 13 + drivers/power/supply/Makefile |1 + drivers/power/supply

[PATCH v18 2/4] dt-bindings: power: Convert battery.txt to battery.yaml

2020-07-28 Thread Ricardo Rivera-Matos
From: Dan Murphy Convert the battery.txt file to yaml and fix up the examples. Signed-off-by: Dan Murphy Reviewed-by: Rob Herring --- .../bindings/power/supply/battery.txt | 86 +-- .../bindings/power/supply/battery.yaml| 139 ++ 2 files changed, 140

[PATCH v18 3/4] dt-bindings: power: Add the bindings for the bq2515x family of chargers.

2020-07-28 Thread Ricardo Rivera-Matos
/bq25150.pdf http://www.ti.com/lit/ds/symlink/bq25155.pdf Reviewed-by: Rob Herring Signed-off-by: Ricardo Rivera-Matos --- .../bindings/power/supply/bq2515x.yaml| 93 +++ 1 file changed, 93 insertions(+) create mode 100644 Documentation/devicetree/bindings/power/supply

[PATCH v18 1/4] power_supply: Add additional health properties to the header

2020-07-28 Thread Ricardo Rivera-Matos
From: Dan Murphy Add HEALTH_WARM, HEALTH_COOL and HEALTH_HOT to the health enum. HEALTH_WARM, HEALTH_COOL, and HEALTH_HOT properties are taken from JEITA specification JISC8712:2015 Acked-by: Andrew F. Davis Tested-by: Guru Das Srinagesh Signed-off-by: Dan Murphy ---

Re: [EXTERNAL] Re: [PATCH v17 2/4] dt-bindings: power: Convert battery.txt to battery.yaml

2020-07-27 Thread Ricardo Rivera-Matos
On 7/26/20 6:24 PM, Sebastian Reichel wrote: Hi, On Mon, Jul 20, 2020 at 03:43:58PM -0500, Ricardo Rivera-Matos wrote: From: Dan Murphy Convert the battery.txt file to yaml and fix up the examples. The examples were correct for the existing binding. What you did is completly changing

[PATCH v17 0/4] Add JEITA properties and introduce the bq2515x charger

2020-07-20 Thread Ricardo Rivera-Matos
dt-bindings: power: Convert battery.txt to battery.yaml Ricardo Rivera-Matos (2): dt-bindings: power: Add the bindings for the bq2515x family of chargers. power: supply: bq25150 introduce the bq25150 Documentation/ABI/testing/sysfs-class-power |3 +- .../bindings/power/supply

[PATCH v17 3/4] dt-bindings: power: Add the bindings for the bq2515x family of chargers.

2020-07-20 Thread Ricardo Rivera-Matos
/bq25150.pdf http://www.ti.com/lit/ds/symlink/bq25155.pdf Reviewed-by: Rob Herring Signed-off-by: Ricardo Rivera-Matos --- .../bindings/power/supply/bq2515x.yaml| 93 +++ 1 file changed, 93 insertions(+) create mode 100644 Documentation/devicetree/bindings/power/supply

[PATCH v17 2/4] dt-bindings: power: Convert battery.txt to battery.yaml

2020-07-20 Thread Ricardo Rivera-Matos
From: Dan Murphy Convert the battery.txt file to yaml and fix up the examples. Signed-off-by: Dan Murphy --- .../bindings/power/supply/battery.txt | 86 +- .../bindings/power/supply/battery.yaml| 157 ++ 2 files changed, 158 insertions(+), 85

[PATCH v17 4/4] power: supply: bq25150 introduce the bq25150

2020-07-20 Thread Ricardo Rivera-Matos
. Datasheets: bq25150 - http://www.ti.com/lit/ds/symlink/bq25150.pdf bq25155 - http://www.ti.com/lit/ds/symlink/bq25155.pdf Signed-off-by: Ricardo Rivera-Matos --- drivers/power/supply/Kconfig | 13 + drivers/power/supply/Makefile |1 + drivers/power/supply

[PATCH v17 1/4] power_supply: Add additional health properties to the header

2020-07-20 Thread Ricardo Rivera-Matos
From: Dan Murphy Add HEALTH_WARM, HEALTH_COOL and HEALTH_HOT to the health enum. HEALTH_WARM, HEALTH_COOL, and HEALTH_HOT properties are taken from JEITA specification JISC8712:2015 Acked-by: Andrew F. Davis Tested-by: Guru Das Srinagesh Signed-off-by: Dan Murphy ---

Re: [EXTERNAL] Re: [PATCH v16 2/4] dt-bindings: power: Convert battery.txt to battery.yaml

2020-07-19 Thread Ricardo Rivera-Matos
On 7/9/20 2:35 PM, Rob Herring wrote: On Tue, Jul 07, 2020 at 04:29:12PM -0500, Ricardo Rivera-Matos wrote: From: Dan Murphy Convert the battery.txt file to yaml and fix up the examples. Signed-off-by: Dan Murphy --- .../bindings/power/supply/battery.txt | 86

[PATCH v16 1/4] power_supply: Add additional health properties to the header

2020-07-07 Thread Ricardo Rivera-Matos
From: Dan Murphy Add HEALTH_WARM, HEALTH_COOL and HEALTH_HOT to the health enum. HEALTH_WARM, HEALTH_COOL, and HEALTH_HOT properties are taken from JEITA specification JISC8712:2015 Acked-by: Andrew F. Davis Tested-by: Guru Das Srinagesh Signed-off-by: Dan Murphy ---

[PATCH v16 4/4] power: supply: bq25150 introduce the bq25150

2020-07-07 Thread Ricardo Rivera-Matos
. Datasheets: bq25150 - http://www.ti.com/lit/ds/symlink/bq25150.pdf bq25155 - http://www.ti.com/lit/ds/symlink/bq25155.pdf Signed-off-by: Ricardo Rivera-Matos --- drivers/power/supply/Kconfig | 13 + drivers/power/supply/Makefile |1 + drivers/power/supply

[PATCH v16 2/4] dt-bindings: power: Convert battery.txt to battery.yaml

2020-07-07 Thread Ricardo Rivera-Matos
From: Dan Murphy Convert the battery.txt file to yaml and fix up the examples. Signed-off-by: Dan Murphy --- .../bindings/power/supply/battery.txt | 86 +- .../bindings/power/supply/battery.yaml| 157 ++ 2 files changed, 158 insertions(+), 85

[PATCH v16 3/4] dt-bindings: power: Add the bindings for the bq2515x family of chargers.

2020-07-07 Thread Ricardo Rivera-Matos
/bq25150.pdf http://www.ti.com/lit/ds/symlink/bq25155.pdf Reviewed-by: Rob Herring Signed-off-by: Ricardo Rivera-Matos --- .../bindings/power/supply/bq2515x.yaml| 93 +++ 1 file changed, 93 insertions(+) create mode 100644 Documentation/devicetree/bindings/power/supply

[PATCH v16 0/4] Add JEITA properties and introduce the bq2515x charger

2020-07-07 Thread Ricardo Rivera-Matos
dt-bindings: power: Convert battery.txt to battery.yaml Ricardo Rivera-Matos (2): dt-bindings: power: Add the bindings for the bq2515x family of chargers. power: supply: bq25150 introduce the bq25150 Documentation/ABI/testing/sysfs-class-power |3 +- .../bindings/power/supply

Re: [EXTERNAL] Re: [PATCH v15 2/4] dt-bindings: power: Convert battery.txt to battery.yaml

2020-07-07 Thread Ricardo Rivera-Matos
On 7/7/20 9:40 AM, Rob Herring wrote: On Mon, Jul 6, 2020 at 12:45 PM Ricardo Rivera-Matos wrote: Rob On 7/2/20 3:53 PM, Rob Herring wrote: On Wed, 01 Jul 2020 16:10:42 -0500, Ricardo Rivera-Matos wrote: From: Dan Murphy Convert the battery.txt file to yaml and fix up the examples

Re: [EXTERNAL] Re: [PATCH v15 2/4] dt-bindings: power: Convert battery.txt to battery.yaml

2020-07-06 Thread Ricardo Rivera-Matos
Rob On 7/2/20 3:53 PM, Rob Herring wrote: On Wed, 01 Jul 2020 16:10:42 -0500, Ricardo Rivera-Matos wrote: From: Dan Murphy Convert the battery.txt file to yaml and fix up the examples. Signed-off-by: Dan Murphy --- .../bindings/power/supply/battery.txt | 86

[PATCH v15 2/4] dt-bindings: power: Convert battery.txt to battery.yaml

2020-07-01 Thread Ricardo Rivera-Matos
From: Dan Murphy Convert the battery.txt file to yaml and fix up the examples. Signed-off-by: Dan Murphy --- .../bindings/power/supply/battery.txt | 86 +- .../bindings/power/supply/battery.yaml| 157 ++ 2 files changed, 158 insertions(+), 85

[PATCH v15 1/4] power_supply: Add additional health properties to the header

2020-07-01 Thread Ricardo Rivera-Matos
From: Dan Murphy Add HEALTH_WARM, HEALTH_COOL and HEALTH_HOT to the health enum. HEALTH_WARM, HEALTH_COOL, and HEALTH_HOT properties are taken from JEITA specification JISC8712:2015 Acked-by: Andrew F. Davis Tested-by: Guru Das Srinagesh Signed-off-by: Dan Murphy ---

[PATCH v15 0/4] Add JEITA properties and introduce the bq2515x charger

2020-07-01 Thread Ricardo Rivera-Matos
dt-bindings: power: Convert battery.txt to battery.yaml Ricardo Rivera-Matos (2): dt-bindings: power: Add the bindings for the bq2515x family of chargers. power: supply: bq25150 introduce the bq25150 Documentation/ABI/testing/sysfs-class-power |3 +- .../bindings/power/supply

[PATCH v15 4/4] power: supply: bq25150 introduce the bq25150

2020-07-01 Thread Ricardo Rivera-Matos
. Datasheets: bq25150 - http://www.ti.com/lit/ds/symlink/bq25150.pdf bq25155 - http://www.ti.com/lit/ds/symlink/bq25155.pdf Signed-off-by: Ricardo Rivera-Matos --- drivers/power/supply/Kconfig | 13 + drivers/power/supply/Makefile |1 + drivers/power/supply

[PATCH v15 3/4] dt-bindings: power: Add the bindings for the bq2515x family of chargers.

2020-07-01 Thread Ricardo Rivera-Matos
/bq25150.pdf http://www.ti.com/lit/ds/symlink/bq25155.pdf Reviewed-by: Rob Herring Signed-off-by: Ricardo Rivera-Matos --- .../bindings/power/supply/bq2515x.yaml| 93 +++ 1 file changed, 93 insertions(+) create mode 100644 Documentation/devicetree/bindings/power/supply

Re: [EXTERNAL] Re: [PATCH v14 4/4] power: supply: bq25150 introduce the bq25150

2020-06-30 Thread Ricardo Rivera-Matos
On 6/30/20 6:33 PM, Sebastian Reichel wrote: Hi, On Tue, Jun 30, 2020 at 04:54:26PM -0500, Ricardo Rivera-Matos wrote: Introduce the bq2515x family of chargers. The BQ2515X family of devices are highly integrated battery management ICs that integrate the most common functions for wearable

[PATCH v14 3/4] dt-bindings: power: Add the bindings for the bq2515x family of chargers.

2020-06-30 Thread Ricardo Rivera-Matos
/bq25150.pdf http://www.ti.com/lit/ds/symlink/bq25155.pdf Reviewed-by: Rob Herring Signed-off-by: Ricardo Rivera-Matos --- .../bindings/power/supply/bq2515x.yaml| 93 +++ 1 file changed, 93 insertions(+) create mode 100644 Documentation/devicetree/bindings/power/supply

[PATCH v14 2/4] dt-bindings: power: Convert battery.txt to battery.yaml

2020-06-30 Thread Ricardo Rivera-Matos
From: Dan Murphy Convert the battery.txt file to yaml and fix up the examples. Signed-off-by: Dan Murphy --- .../bindings/power/supply/battery.txt | 86 +- .../bindings/power/supply/battery.yaml| 157 ++ 2 files changed, 158 insertions(+), 85

[PATCH v14 1/4] power_supply: Add additional health properties to the header

2020-06-30 Thread Ricardo Rivera-Matos
From: Dan Murphy Add HEALTH_WARM, HEALTH_COOL and HEALTH_HOT to the health enum. HEALTH_WARM, HEALTH_COOL, and HEALTH_HOT properties are taken from JEITA specification JISC8712:2015 Acked-by: Andrew F. Davis Tested-by: Guru Das Srinagesh Signed-off-by: Dan Murphy ---

[PATCH v14 4/4] power: supply: bq25150 introduce the bq25150

2020-06-30 Thread Ricardo Rivera-Matos
. Datasheets: bq25150 - http://www.ti.com/lit/ds/symlink/bq25150.pdf bq25155 - http://www.ti.com/lit/ds/symlink/bq25155.pdf Signed-off-by: Ricardo Rivera-Matos --- drivers/power/supply/Kconfig | 13 + drivers/power/supply/Makefile |1 + drivers/power/supply

[PATCH v14 0/4] Add JEITA properties and introduce the bq2515x charger

2020-06-30 Thread Ricardo Rivera-Matos
dt-bindings: power: Convert battery.txt to battery.yaml Ricardo Rivera-Matos (2): dt-bindings: power: Add the bindings for the bq2515x family of chargers. power: supply: bq25150 introduce the bq25150 Documentation/ABI/testing/sysfs-class-power |3 +- .../bindings/power/supply

[PATCH v13 1/4] power_supply: Add additional health properties to the header

2020-06-22 Thread Ricardo Rivera-Matos
From: Dan Murphy Add HEALTH_WARM, HEALTH_COOL and HEALTH_HOT to the health enum. HEALTH_WARM, HEALTH_COOL, and HEALTH_HOT properties are taken from JEITA specification JISC8712:2015 Tested-by: Guru Das Srinagesh Signed-off-by: Dan Murphy --- Documentation/ABI/testing/sysfs-class-power | 3

[PATCH v13 2/4] dt-bindings: power: Convert battery.txt to battery.yaml

2020-06-22 Thread Ricardo Rivera-Matos
From: Dan Murphy Convert the battery.txt file to yaml and fix up the examples. Signed-off-by: Dan Murphy --- .../bindings/power/supply/battery.txt | 83 +-- .../bindings/power/supply/battery.yaml| 139 ++ 2 files changed, 141 insertions(+), 81

[PATCH v13 4/4] power: supply: bq25150 introduce the bq25150

2020-06-22 Thread Ricardo Rivera-Matos
. Datasheets: bq25150 - http://www.ti.com/lit/ds/symlink/bq25150.pdf bq25155 - http://www.ti.com/lit/ds/symlink/bq25155.pdf Signed-off-by: Ricardo Rivera-Matos --- drivers/power/supply/Kconfig | 13 + drivers/power/supply/Makefile |1 + drivers/power/supply

[PATCH v13 3/4] dt-bindings: power: Add the bindings for the bq2515x family of chargers.

2020-06-22 Thread Ricardo Rivera-Matos
/bq25150.pdf http://www.ti.com/lit/ds/symlink/bq25155.pdf Signed-off-by: Ricardo Rivera-Matos --- .../bindings/power/supply/bq2515x.yaml| 93 +++ 1 file changed, 93 insertions(+) create mode 100644 Documentation/devicetree/bindings/power/supply/bq2515x.yaml diff --git

[PATCH v13 0/4] Add JEITA properties and introduce the bq2515x charger

2020-06-22 Thread Ricardo Rivera-Matos
-bindings: power: Convert battery.txt to battery.yaml Ricardo Rivera-Matos (2): dt-bindings: power: Add the bindings for the bq2515x family of chargers. power: supply: bq25150 introduce the bq25150 Documentation/ABI/testing/sysfs-class-power |3 +- .../bindings/power/supply/battery.txt

Re: [EXTERNAL] Re: [PATCH v12 2/4] dt-bindings: power: Convert battery.txt to battery.yaml

2020-06-15 Thread Ricardo Rivera-Matos
On 5/29/20 5:16 PM, Rob Herring wrote: On Thu, May 28, 2020 at 05:53:48PM -0500, Ricardo Rivera-Matos wrote: From: Dan Murphy Convert the battery.txt file to yaml and fix up the examples. Signed-off-by: Dan Murphy --- .../bindings/power/supply/battery.txt | 82

[PATCH v12 2/4] dt-bindings: power: Convert battery.txt to battery.yaml

2020-05-28 Thread Ricardo Rivera-Matos
From: Dan Murphy Convert the battery.txt file to yaml and fix up the examples. Signed-off-by: Dan Murphy --- .../bindings/power/supply/battery.txt | 82 +- .../bindings/power/supply/battery.yaml| 143 ++ 2 files changed, 144 insertions(+), 81

[PATCH v12 0/4] Add JEITA properties and introduce the bq2515x charger

2020-05-28 Thread Ricardo Rivera-Matos
dt-bindings: power: Convert battery.txt to battery.yaml Ricardo Rivera-Matos (2): dt-bindings: power: Add the bindings for the bq2515x family of chargers. power: supply: bq25150 introduce the bq25150 Documentation/ABI/testing/sysfs-class-power |2 +- .../bindings/power/supply

[PATCH v12 1/4] power_supply: Add additional health properties to the header

2020-05-28 Thread Ricardo Rivera-Matos
From: Dan Murphy Add HEALTH_WARM, HEALTH_COOL and HEALTH_HOT to the health enum. HEALTH_WARM, HEALTH_COOL, and HEALTH_HOT properties are taken from JEITA specification JISC8712:2015 Tested-by: Guru Das Srinagesh Signed-off-by: Dan Murphy --- Documentation/ABI/testing/sysfs-class-power | 2

[PATCH v12 4/4] power: supply: bq25150 introduce the bq25150

2020-05-28 Thread Ricardo Rivera-Matos
. Datasheets: bq25150 - http://www.ti.com/lit/ds/symlink/bq25150.pdf bq25155 - http://www.ti.com/lit/ds/symlink/bq25155.pdf Signed-off-by: Ricardo Rivera-Matos --- drivers/power/supply/Kconfig | 13 + drivers/power/supply/Makefile |1 + drivers/power/supply

[PATCH v12 3/4] dt-bindings: power: Add the bindings for the bq2515x family of chargers.

2020-05-28 Thread Ricardo Rivera-Matos
/bq25150.pdf http://www.ti.com/lit/ds/symlink/bq25155.pdf Signed-off-by: Ricardo Rivera-Matos --- .../bindings/power/supply/bq2515x.yaml| 91 +++ 1 file changed, 91 insertions(+) create mode 100644 Documentation/devicetree/bindings/power/supply/bq2515x.yaml diff --git

Re: [PATCH v11 1/4] power_supply: Add additional health properties to the header

2020-05-28 Thread Ricardo Rivera-Matos
On 5/28/20 9:16 AM, Andrew F. Davis wrote: On 5/28/20 10:05 AM, Ricardo Rivera-Matos wrote: From: Dan Murphy Add HEALTH_WARM, HEALTH_COOL and HEALTH_HOT to the health enum. HEALTH_WARM, HEALTH_COOL, and HEALTH_HOT properties are taken from the JEITA spec. Wouldn't hurt to list

Re: [PATCH v11 4/4] power: supply: bq25150 introduce the bq25150

2020-05-28 Thread Ricardo Rivera-Matos
On 5/28/20 9:43 AM, Andrew F. Davis wrote: On 5/28/20 10:05 AM, Ricardo Rivera-Matos wrote: +static int bq2515x_set_precharge_current(struct bq2515x_device *bq2515x, + int val) +{ + int ret; + unsigned int pchrgctrl; + unsigned int

[PATCH v11 2/4] dt-bindings: power: Convert battery.txt to battery.yaml

2020-05-28 Thread Ricardo Rivera-Matos
From: Dan Murphy Convert the battery.txt file to yaml and fix up the examples. Signed-off-by: Dan Murphy --- .../bindings/power/supply/battery.txt | 82 +- .../bindings/power/supply/battery.yaml| 143 ++ 2 files changed, 144 insertions(+), 81

[PATCH v11 1/4] power_supply: Add additional health properties to the header

2020-05-28 Thread Ricardo Rivera-Matos
From: Dan Murphy Add HEALTH_WARM, HEALTH_COOL and HEALTH_HOT to the health enum. HEALTH_WARM, HEALTH_COOL, and HEALTH_HOT properties are taken from the JEITA spec. Tested-by: Guru Das Srinagesh Signed-off-by: Dan Murphy --- Documentation/ABI/testing/sysfs-class-power | 2 +-

[PATCH v11 3/4] dt-bindings: power: Add the bindings for the bq2515x family of chargers.

2020-05-28 Thread Ricardo Rivera-Matos
/bq25150.pdf http://www.ti.com/lit/ds/symlink/bq25155.pdf Signed-off-by: Ricardo Rivera-Matos --- .../bindings/power/supply/bq2515x.yaml| 91 +++ 1 file changed, 91 insertions(+) create mode 100644 Documentation/devicetree/bindings/power/supply/bq2515x.yaml diff --git

[PATCH v11 4/4] power: supply: bq25150 introduce the bq25150

2020-05-28 Thread Ricardo Rivera-Matos
. Datasheets: bq25150 - http://www.ti.com/lit/ds/symlink/bq25150.pdf bq25155 - http://www.ti.com/lit/ds/symlink/bq25155.pdf Signed-off-by: Ricardo Rivera-Matos --- drivers/power/supply/Kconfig | 13 + drivers/power/supply/Makefile |1 + drivers/power/supply

[PATCH v11 0/4] Add JEITA properties and introduce the bq2515x charger

2020-05-28 Thread Ricardo Rivera-Matos
dt-bindings: power: Convert battery.txt to battery.yaml Ricardo Rivera-Matos (2): dt-bindings: power: Add the bindings for the bq2515x family of chargers. power: supply: bq25150 introduce the bq25150 Documentation/ABI/testing/sysfs-class-power |2 +- .../bindings/power/supply

[PATCH v10 1/4] power_supply: Add additional health properties to the header

2020-05-27 Thread Ricardo Rivera-Matos
From: Dan Murphy Add HEALTH_WARM, HEALTH_COOL and HEALTH_HOT to the health enum. HEALTH_WARM, HEALTH_COOL, and HEALTH_HOT properties are taken from the JEITA spec. Tested-by: Guru Das Srinagesh Signed-off-by: Dan Murphy --- Documentation/ABI/testing/sysfs-class-power | 2 +-

  1   2   >