]> git.baikalelectronics.ru Git - kernel.git/commit
power: supply: bq27xxx: Add chip IDs for previously shadowed chips
authorLiam Breck <kernel@networkimprov.net>
Thu, 24 Aug 2017 03:36:14 +0000 (20:36 -0700)
committerSebastian Reichel <sebastian.reichel@collabora.co.uk>
Tue, 29 Aug 2017 10:37:35 +0000 (12:37 +0200)
commitba4ecfe150e79786357fc6f7b58880bede14b2c5
treee9302f5f182db2b5ef52ececba44c48370d80894
parentc392c8ca914d8f506b187dc2c8bee36b64421ba0
power: supply: bq27xxx: Add chip IDs for previously shadowed chips

For the existing features, these chips act like others already ID'd,
so they had false but functional IDs. We will be adding features
which require correct IDs, so the following IDs are added:
BQ2752X, 531, 542, 546, 742, 425, 441, 621

Chip-specific features are now tracked by BQ27XXX_O_* flags in di->opts.

No functional changes to the driver.

Signed-off-by: Liam Breck <kernel@networkimprov.net>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
drivers/power/supply/bq27xxx_battery.c
drivers/power/supply/bq27xxx_battery_i2c.c
include/linux/power/bq27xxx_battery.h