]> Pileus Git - ~andy/linux/blobdiff - drivers/power/Kconfig
lp8788-charger: Fix kconfig dependency
[~andy/linux] / drivers / power / Kconfig
index 9e00c389e777d95d43abf84836a901f1a7a4e3e2..814bcb9c942d0bb3c719411796029423227aa2aa 100644 (file)
@@ -284,6 +284,7 @@ config CHARGER_LP8788
        tristate "TI LP8788 charger driver"
        depends on MFD_LP8788
        depends on LP8788_ADC
+       depends on IIO
        help
          Say Y to enable support for the LP8788 linear charger.
 
@@ -340,6 +341,13 @@ config CHARGER_SMB347
          Say Y to include support for Summit Microelectronics SMB347
          Battery Charger.
 
+config CHARGER_TPS65090
+       tristate "TPS65090 battery charger driver"
+       depends on MFD_TPS65090
+       help
+        Say Y here to enable support for battery charging with TPS65090
+        PMIC chips.
+
 config AB8500_BM
        bool "AB8500 Battery Management Driver"
        depends on AB8500_CORE && AB8500_GPADC
@@ -353,13 +361,6 @@ config BATTERY_GOLDFISH
          Say Y to enable support for the battery and AC power in the
          Goldfish emulator.
 
-config CHARGER_PM2301
-       bool "PM2301 Battery Charger Driver"
-       depends on AB8500_BM
-       help
-         Say Y to include support for PM2301 charger driver.
-         Depends on AB8500 battery management core.
-
 source "drivers/power/reset/Kconfig"
 
 endif # POWER_SUPPLY