Message ID | 20220206183543.51200-1-hdegoede@redhat.com |
---|---|
Headers | show |
Series | power: supply: bq24190 updates + new ug3105 driver | expand |
Hi, On Sun, Feb 06, 2022 at 07:35:35PM +0100, Hans de Goede wrote: > Hi Sebastian, > > Here is v2 of the series of patches which: > > 1. Modifies power_supply_get_battery_info() to also work with non > of/dt device-properties > > 2. Modifies bq24190_charger to use and apply more settings returned > by power_supply_get_battery_info() > > 3. Adds a new driver for the ug3105 battery monitoring chip, note > this chip is not really a full/standalone fuel-gauge so > the functionality of the is limited > > The only change in v2 is using the correct "upisemi" vendor prefix in > the new ug3105 driver. Thanks, queued. -- Sebastian > > Regards, > > Hans > > > Hans de Goede (8): > power: supply: core: Use fwnode_property_*() in > power_supply_get_battery_info() > power: supply: core: Add support for generic fwnodes to > power_supply_get_battery_info() > power: supply: bq24190_charger: Turn off 5V boost regulator on > shutdown > power: supply: bq24190_charger: Always call > power_supply_get_battery_info() > power: supply: bq24190_charger: Store ichg-max and vreg-max in > bq24190_dev_info > power: supply: bq24190_charger: Program charger with fwnode supplied > ccc_ireg and cvc_vreg > power: supply: bq24190_charger: Disallow ccc_ireg and cvc_vreg to be > higher then the fwnode values > power: supply: ug3105_battery: Add driver for uPI uG3105 battery > monitor > > drivers/power/supply/Kconfig | 15 + > drivers/power/supply/Makefile | 1 + > drivers/power/supply/bq24190_charger.c | 114 ++++-- > drivers/power/supply/power_supply_core.c | 93 +++-- > drivers/power/supply/ug3105_battery.c | 486 +++++++++++++++++++++++ > 5 files changed, 643 insertions(+), 66 deletions(-) > create mode 100644 drivers/power/supply/ug3105_battery.c > > -- > 2.33.1 >