summaryrefslogtreecommitdiffstats
path: root/drivers/power/supply/Makefile
diff options
context:
space:
mode:
authorKarl-Heinz Schneider <karl-heinz@schneider-inet.de>2017-08-24 11:31:08 +0200
committerWolfram Sang <wsa@the-dreams.de>2017-10-28 23:43:19 +0200
commitdbc4deda03fe61a1c29d8218269714bf2c334b9b (patch)
tree4754218bfd650a7d09c595deb16e082c8fc04f4f /drivers/power/supply/Makefile
parentDocumentation: Add sbs-manager device tree node documentation (diff)
downloadlinux-dbc4deda03fe61a1c29d8218269714bf2c334b9b.tar.xz
linux-dbc4deda03fe61a1c29d8218269714bf2c334b9b.zip
power: Adds support for Smart Battery System Manager
This patch adds support for Smart Battery System Manager. A SBSM is a device listening at I2C/SMBus address 0x0a and is capable of communicating up to four I2C smart battery devices. All smart battery devices are listening at address 0x0b, so the SBSM muliplexes between them. The driver makes use of the I2C-Mux framework to allow smart batteries to be bound via device tree, i.e. the sbs-battery driver. Via sysfs interface the online state and charge type are presented. If the driver is bound as ltc1760 (an implementation of a Dual Smart Battery System Manager) the charge type can also be changed from trickle to fast. Signed-off-by: Karl-Heinz Schneider <karl-heinz@schneider-inet.de> Signed-off-by: Phil Reid <preid@electromag.com.au> Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/power/supply/Makefile')
-rw-r--r--drivers/power/supply/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/power/supply/Makefile b/drivers/power/supply/Makefile
index 621a19058fec..3e8f49a17770 100644
--- a/drivers/power/supply/Makefile
+++ b/drivers/power/supply/Makefile
@@ -36,6 +36,7 @@ obj-$(CONFIG_BATTERY_IPAQ_MICRO) += ipaq_micro_battery.o
obj-$(CONFIG_BATTERY_WM97XX) += wm97xx_battery.o
obj-$(CONFIG_BATTERY_SBS) += sbs-battery.o
obj-$(CONFIG_CHARGER_SBS) += sbs-charger.o
+obj-$(CONFIG_MANAGER_SBS) += sbs-manager.o
obj-$(CONFIG_BATTERY_BQ27XXX) += bq27xxx_battery.o
obj-$(CONFIG_BATTERY_BQ27XXX_I2C) += bq27xxx_battery_i2c.o
obj-$(CONFIG_BATTERY_BQ27XXX_HDQ) += bq27xxx_battery_hdq.o