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)
commit3a731c6414c94012328f485b4b1bb88ed841f9eb
treee9302f5f182db2b5ef52ececba44c48370d80894
parent9aade6d8f9d0fd086068fc390c6f6c0ce98ea07a
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