summaryrefslogtreecommitdiffstats
path: root/drivers/power/supply/Kconfig
diff options
context:
space:
mode:
authorAndrew F. Davis <afd@ti.com>2017-07-19 12:04:06 -0500
committerSebastian Reichel <sebastian.reichel@collabora.co.uk>2017-07-25 15:17:39 +0200
commit55a9db679183bcf85a6e5c44a4f92f158bb6f03d (patch)
treec5e56c0699afafa3ddc999581cabd02437090062 /drivers/power/supply/Kconfig
parent520eccdfe187591a51ea9ab4c1a024ae4d0f68d9 (diff)
downloadlinux-55a9db679183bcf85a6e5c44a4f92f158bb6f03d.tar.gz
linux-55a9db679183bcf85a6e5c44a4f92f158bb6f03d.tar.bz2
linux-55a9db679183bcf85a6e5c44a4f92f158bb6f03d.zip
power: supply: move HDQ interface for bq27xxx from w1 to power/supply
The HDQ interface driver should be in this folder just like the I2C interface driver. Move this driver out of drivers/w1/slave and into drivers/power/supply. Signed-off-by: Andrew F. Davis <afd@ti.com> Acked-by: Pali Rohár <pali.rohar@gmail.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Diffstat (limited to 'drivers/power/supply/Kconfig')
-rw-r--r--drivers/power/supply/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/power/supply/Kconfig b/drivers/power/supply/Kconfig
index 969f5005669c..af6397224a82 100644
--- a/drivers/power/supply/Kconfig
+++ b/drivers/power/supply/Kconfig
@@ -198,6 +198,15 @@ config BATTERY_BQ27XXX_I2C
Say Y here to enable support for batteries with BQ27xxx chips
connected over an I2C bus.
+config BATTERY_BQ27XXX_HDQ
+ tristate "BQ27xxx HDQ support"
+ depends on BATTERY_BQ27XXX
+ depends on W1
+ default y
+ help
+ Say Y here to enable support for batteries with BQ27xxx chips
+ connected over an HDQ bus.
+
config BATTERY_BQ27XXX_DT_UPDATES_NVM
bool "BQ27xxx support for update of NVM/flash data memory"
depends on BATTERY_BQ27XXX_I2C