Kconfig (0402e8ebb8b869e375e8af7243044df21b5ff378) Kconfig (2f5caa26a074854273194207a40b7ee81e51712d)
1# SPDX-License-Identifier: GPL-2.0-only
2menuconfig POWER_SUPPLY
3 bool "Power supply class support"
4 help
5 Say Y here to enable power supply class support. This allows
6 power supply (batteries, AC, USB) monitoring by userspace
7 via sysfs and uevent (if available) and/or APM kernel interface
8 (if selected below).

--- 344 unchanged lines hidden (view full) ---

353 tristate "X-Powers AXP288 Charger"
354 depends on MFD_AXP20X && EXTCON_AXP288
355 help
356 Say yes here to have support X-Power AXP288 power management IC (PMIC)
357 integrated charger.
358
359config AXP288_FUEL_GAUGE
360 tristate "X-Powers AXP288 Fuel Gauge"
1# SPDX-License-Identifier: GPL-2.0-only
2menuconfig POWER_SUPPLY
3 bool "Power supply class support"
4 help
5 Say Y here to enable power supply class support. This allows
6 power supply (batteries, AC, USB) monitoring by userspace
7 via sysfs and uevent (if available) and/or APM kernel interface
8 (if selected below).

--- 344 unchanged lines hidden (view full) ---

353 tristate "X-Powers AXP288 Charger"
354 depends on MFD_AXP20X && EXTCON_AXP288
355 help
356 Say yes here to have support X-Power AXP288 power management IC (PMIC)
357 integrated charger.
358
359config AXP288_FUEL_GAUGE
360 tristate "X-Powers AXP288 Fuel Gauge"
361 depends on MFD_AXP20X && IIO
361 depends on MFD_AXP20X && IIO && IOSF_MBI
362 help
363 Say yes here to have support for X-Power power management IC (PMIC)
364 Fuel Gauge. The device provides battery statistics and status
365 monitoring as well as alerts for battery over/under voltage and
366 over/under temperature.
367
368config BATTERY_MAX17040
369 tristate "Maxim MAX17040 Fuel Gauge"

--- 202 unchanged lines hidden (view full) ---

572 depends on MFD_MP2629
573 depends on MP2629_ADC
574 depends on IIO
575 help
576 Select this option to enable support for Monolithic power system
577 Battery charger. This driver provides Battery charger power management
578 functions on the systems.
579
362 help
363 Say yes here to have support for X-Power power management IC (PMIC)
364 Fuel Gauge. The device provides battery statistics and status
365 monitoring as well as alerts for battery over/under voltage and
366 over/under temperature.
367
368config BATTERY_MAX17040
369 tristate "Maxim MAX17040 Fuel Gauge"

--- 202 unchanged lines hidden (view full) ---

572 depends on MFD_MP2629
573 depends on MP2629_ADC
574 depends on IIO
575 help
576 Select this option to enable support for Monolithic power system
577 Battery charger. This driver provides Battery charger power management
578 functions on the systems.
579
580config CHARGER_MT6360
581 tristate "Mediatek MT6360 Charger Driver"
582 depends on MFD_MT6360
583 depends on REGULATOR
584 select LINEAR_RANGES
585 help
586 Say Y here to enable MT6360 Charger Part.
587 The device supports High-Accuracy Voltage/Current Regulation,
588 Average Input Current Regulation, Battery Temperature Sensing,
589 Over-Temperature Protection, DPDM Detection for BC1.2.
590
591config CHARGER_QCOM_SMBB
592 tristate "Qualcomm Switch-Mode Battery Charger and Boost"
593 depends on MFD_SPMI_PMIC || COMPILE_TEST
594 depends on OF
595 depends on EXTCON
596 depends on REGULATOR
597 help
598 Say Y to include support for the Switch-Mode Battery Charger and

--- 143 unchanged lines hidden (view full) ---

742 tristate "ChromeOS EC based USBPD charger"
743 depends on CROS_USBPD_NOTIFY
744 help
745 Say Y here to enable ChromeOS EC based USBPD charger
746 driver. This driver gets various bits of information about
747 what is connected to USB PD ports from the EC and converts
748 that into power_supply properties.
749
580config CHARGER_QCOM_SMBB
581 tristate "Qualcomm Switch-Mode Battery Charger and Boost"
582 depends on MFD_SPMI_PMIC || COMPILE_TEST
583 depends on OF
584 depends on EXTCON
585 depends on REGULATOR
586 help
587 Say Y to include support for the Switch-Mode Battery Charger and

--- 143 unchanged lines hidden (view full) ---

731 tristate "ChromeOS EC based USBPD charger"
732 depends on CROS_USBPD_NOTIFY
733 help
734 Say Y here to enable ChromeOS EC based USBPD charger
735 driver. This driver gets various bits of information about
736 what is connected to USB PD ports from the EC and converts
737 that into power_supply properties.
738
739config CHARGER_CROS_PCHG
740 tristate "ChromeOS EC based peripheral charger"
741 depends on MFD_CROS_EC_DEV
742 default MFD_CROS_EC_DEV
743 help
744 Say Y here to enable ChromeOS EC based peripheral charge driver.
745 This driver gets various information about the devices connected to
746 the peripheral charge ports from the EC and converts that into
747 power_supply properties.
748
750config CHARGER_SC2731
751 tristate "Spreadtrum SC2731 charger driver"
752 depends on MFD_SC27XX_PMIC || COMPILE_TEST
753 help
754 Say Y here to enable support for battery charging with SC2731
755 PMIC chips.
756
757config FUEL_GAUGE_SC27XX

--- 30 unchanged lines hidden (view full) ---

788 Say Y here to enable control of the charging routines performed
789 by the Embedded Controller on the Chromebook named Wilco. Further
790 information can be found in
791 Documentation/ABI/testing/sysfs-class-power-wilco
792
793config RN5T618_POWER
794 tristate "RN5T618 charger/fuel gauge support"
795 depends on MFD_RN5T618
749config CHARGER_SC2731
750 tristate "Spreadtrum SC2731 charger driver"
751 depends on MFD_SC27XX_PMIC || COMPILE_TEST
752 help
753 Say Y here to enable support for battery charging with SC2731
754 PMIC chips.
755
756config FUEL_GAUGE_SC27XX

--- 30 unchanged lines hidden (view full) ---

787 Say Y here to enable control of the charging routines performed
788 by the Embedded Controller on the Chromebook named Wilco. Further
789 information can be found in
790 Documentation/ABI/testing/sysfs-class-power-wilco
791
792config RN5T618_POWER
793 tristate "RN5T618 charger/fuel gauge support"
794 depends on MFD_RN5T618
795 depends on RN5T618_ADC
796 depends on IIO
796 help
797 Say Y here to have support for RN5T618 PMIC family fuel gauge and charger.
798 This driver can also be built as a module. If so, the module will be
799 called rn5t618_power.
800
801config BATTERY_ACER_A500
802 tristate "Acer Iconia Tab A500 battery driver"
803 depends on MFD_ACER_A500_EC

--- 36 unchanged lines hidden ---
797 help
798 Say Y here to have support for RN5T618 PMIC family fuel gauge and charger.
799 This driver can also be built as a module. If so, the module will be
800 called rn5t618_power.
801
802config BATTERY_ACER_A500
803 tristate "Acer Iconia Tab A500 battery driver"
804 depends on MFD_ACER_A500_EC

--- 36 unchanged lines hidden ---