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>
This commit is contained in:
parent
520eccdfe1
commit
55a9db6791
|
@ -198,6 +198,15 @@ config BATTERY_BQ27XXX_I2C
|
||||||
Say Y here to enable support for batteries with BQ27xxx chips
|
Say Y here to enable support for batteries with BQ27xxx chips
|
||||||
connected over an I2C bus.
|
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
|
config BATTERY_BQ27XXX_DT_UPDATES_NVM
|
||||||
bool "BQ27xxx support for update of NVM/flash data memory"
|
bool "BQ27xxx support for update of NVM/flash data memory"
|
||||||
depends on BATTERY_BQ27XXX_I2C
|
depends on BATTERY_BQ27XXX_I2C
|
||||||
|
|
|
@ -38,6 +38,7 @@ obj-$(CONFIG_BATTERY_SBS) += sbs-battery.o
|
||||||
obj-$(CONFIG_CHARGER_SBS) += sbs-charger.o
|
obj-$(CONFIG_CHARGER_SBS) += sbs-charger.o
|
||||||
obj-$(CONFIG_BATTERY_BQ27XXX) += bq27xxx_battery.o
|
obj-$(CONFIG_BATTERY_BQ27XXX) += bq27xxx_battery.o
|
||||||
obj-$(CONFIG_BATTERY_BQ27XXX_I2C) += bq27xxx_battery_i2c.o
|
obj-$(CONFIG_BATTERY_BQ27XXX_I2C) += bq27xxx_battery_i2c.o
|
||||||
|
obj-$(CONFIG_BATTERY_BQ27XXX_HDQ) += bq27xxx_battery_hdq.o
|
||||||
obj-$(CONFIG_BATTERY_DA9030) += da9030_battery.o
|
obj-$(CONFIG_BATTERY_DA9030) += da9030_battery.o
|
||||||
obj-$(CONFIG_BATTERY_DA9052) += da9052-battery.o
|
obj-$(CONFIG_BATTERY_DA9052) += da9052-battery.o
|
||||||
obj-$(CONFIG_CHARGER_DA9150) += da9150-charger.o
|
obj-$(CONFIG_CHARGER_DA9150) += da9150-charger.o
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
/*
|
/*
|
||||||
* drivers/w1/slaves/w1_bq27000.c
|
|
||||||
*
|
|
||||||
* Copyright (C) 2007 Texas Instruments, Inc.
|
* Copyright (C) 2007 Texas Instruments, Inc.
|
||||||
*
|
*
|
||||||
* This file is licensed under the terms of the GNU General Public License
|
* This file is licensed under the terms of the GNU General Public License
|
|
@ -140,10 +140,4 @@ config W1_SLAVE_DS28E04
|
||||||
|
|
||||||
If you are unsure, say N.
|
If you are unsure, say N.
|
||||||
|
|
||||||
config W1_SLAVE_BQ27000
|
|
||||||
tristate "BQ27000 slave support"
|
|
||||||
help
|
|
||||||
Say Y here if you want to use a hdq
|
|
||||||
bq27000 slave support.
|
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
|
@ -15,5 +15,4 @@ obj-$(CONFIG_W1_SLAVE_DS2438) += w1_ds2438.o
|
||||||
obj-$(CONFIG_W1_SLAVE_DS2760) += w1_ds2760.o
|
obj-$(CONFIG_W1_SLAVE_DS2760) += w1_ds2760.o
|
||||||
obj-$(CONFIG_W1_SLAVE_DS2780) += w1_ds2780.o
|
obj-$(CONFIG_W1_SLAVE_DS2780) += w1_ds2780.o
|
||||||
obj-$(CONFIG_W1_SLAVE_DS2781) += w1_ds2781.o
|
obj-$(CONFIG_W1_SLAVE_DS2781) += w1_ds2781.o
|
||||||
obj-$(CONFIG_W1_SLAVE_BQ27000) += w1_bq27000.o
|
|
||||||
obj-$(CONFIG_W1_SLAVE_DS28E04) += w1_ds28e04.o
|
obj-$(CONFIG_W1_SLAVE_DS28E04) += w1_ds28e04.o
|
||||||
|
|
Loading…
Reference in New Issue