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

2020-05-27 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 v10 2/4] dt-bindings: power: Convert battery.txt to battery.yaml

2020-05-27 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 v10 0/4] Add JEITA properties and introduce the bq2515x charger

2020-05-27 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 3/4] dt-bindings: power: Add the bindings for the bq2515x family of chargers.

2020-05-27 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 v7 3/3] power: supply: bq25150 introduce the bq25150

2020-05-19 Thread Ricardo Rivera-Matos
On 5/19/20 9:46 AM, Andrew F. Davis wrote: On 5/19/20 10:19 AM, Dan Murphy wrote: +static int bq2515x_set_ilim_lvl(struct bq2515x_device *bq2515x, int val) +{ + int i; + + if (val > BQ2515X_ILIM_MAX || val < BQ2515X_ILIM_MIN) + return -EINVAL; Clamp to these limits,

Re: [PATCH 3/3] power: supply: bq25150 introduce the bq25150

2020-05-18 Thread Ricardo Rivera-Matos
On 5/18/20 11:05 AM, Andrew F. Davis wrote: On 5/15/20 3:31 PM, Dan Murphy wrote: From: Ricardo Rivera-Matos Introduce the bq2515x family of chargers. The BQ2515X family of devices are highly integrated battery management ICs that integrate the most common functions for wearbale devices

Re: [RESEND PATCH v5 0/3] BQ25150/155 Charger

2020-05-01 Thread Ricardo Rivera-Matos
On 5/1/20 12:55 PM, Dan Murphy wrote: Sebastian On 5/1/20 12:24 PM, Sebastian Reichel wrote: Hi, I don't see any PATCHv5 (with or without RESEND) for bq25150 and lore does not see anything either: https://lore.kernel.org/linux-pm/?q=PATCH+v5+0%2F3%5D+BQ25150%2F155+Charger I posted them

<    1   2