power: supply: bq24190_charger: Add support for BQ24296
authorHermes Zhang <chenhuiz@axis.com>
Fri, 8 Dec 2023 03:47:08 +0000 (11:47 +0800)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Sun, 24 Dec 2023 23:58:14 +0000 (00:58 +0100)
commitb150a703b56fb6eb282d059b421652ccd9155c23
treea4c48c89447f0381cc60b664d00f32a241f7bf67
parent370cc1579a79a29a6dba4d9ea8d4d0147aa41861
power: supply: bq24190_charger: Add support for BQ24296

The BQ24296 is most similar to the BQ24196, but the:
1. OTG config is split from CHG config (REG01)
2. ICHG (Fast Charge Current limit) range is smaller (<=3008mA)
3. NTC fault is simplified to 2 bits

Signed-off-by: Hermes Zhang <chenhuiz@axis.com>
Link: https://lore.kernel.org/r/20231208034708.1248389-3-Hermes.Zhang@axis.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/bq24190_charger.c