Merge tag 'for-v5.3' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power...
[sfrench/cifs-2.6.git] / drivers / power / supply / Kconfig
index a873a0038cc87cdf4e6aed35020ac9b4e62bfea4..5d91b5160b41458443c2a03ef6a4d57507f2f87a 100644 (file)
@@ -15,6 +15,20 @@ config POWER_SUPPLY_DEBUG
          Say Y here to enable debugging messages for power supply class
          and drivers.
 
+config POWER_SUPPLY_HWMON
+       bool
+       prompt "Expose power supply sensors as hwmon device"
+       depends on HWMON=y || HWMON=POWER_SUPPLY
+       default y
+       help
+         This options enables API that allows sensors found on a
+         power supply device (current, voltage, temperature) to be
+         exposed as a hwmon device.
+
+         Say 'Y' here if you want power supplies to
+         have hwmon sysfs interface too.
+
+
 config PDA_POWER
        tristate "Generic PDA/phone power driver"
        depends on !S390
@@ -698,4 +712,13 @@ config CHARGER_BD70528
         information and altering charger configurations from charger
         block of the ROHM BD70528 Power Management IC.
 
+config CHARGER_WILCO
+       tristate "Wilco EC based charger for ChromeOS"
+       depends on WILCO_EC
+       help
+         Say Y here to enable control of the charging routines performed
+         by the Embedded Controller on the Chromebook named Wilco. Further
+         information can be found in
+         Documentation/ABI/testing/sysfs-class-power-wilco
+
 endif # POWER_SUPPLY