Kconfig (371bb62158d53c1fc33e2fb9b6aeb9522caf6cf4) | Kconfig (3f57fe28f84d636ca6238f33afe8b88d27c34d1b) |
---|---|
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). 9 10if POWER_SUPPLY 11 12config POWER_SUPPLY_DEBUG 13 bool "Power supply debug" 14 help 15 Say Y here to enable debugging messages for power supply class 16 and drivers. 17 | 1menuconfig POWER_SUPPLY 2 bool "Power supply class support" 3 help 4 Say Y here to enable power supply class support. This allows 5 power supply (batteries, AC, USB) monitoring by userspace 6 via sysfs and uevent (if available) and/or APM kernel interface 7 (if selected below). 8 9if POWER_SUPPLY 10 11config POWER_SUPPLY_DEBUG 12 bool "Power supply debug" 13 help 14 Say Y here to enable debugging messages for power supply class 15 and drivers. 16 |
17config POWER_SUPPLY_HWMON 18 bool 19 prompt "Expose power supply sensors as hwmon device" 20 depends on HWMON=y || HWMON=POWER_SUPPLY 21 default y 22 help 23 This options enables API that allows sensors found on a 24 power supply device (current, voltage, temperature) to be 25 exposed as a hwmon device. 26 27 Say 'Y' here if you want power supplies to 28 have hwmon sysfs interface too. 29 30 |
|
18config PDA_POWER 19 tristate "Generic PDA/phone power driver" 20 depends on !S390 21 help 22 Say Y here to enable generic power driver for PDAs and phones with 23 one or two external power supplies (AC/USB) connected to main and 24 backup batteries, and optional builtin charger. 25 --- 658 unchanged lines hidden (view full) --- 684 depends on I2C 685 depends on OF 686 depends on REGULATOR 687 select REGMAP_I2C 688 help 689 Say Y to enable support for Microchip UCS1002 Programmable 690 USB Port Power Controller with Charger Emulation. 691 | 31config PDA_POWER 32 tristate "Generic PDA/phone power driver" 33 depends on !S390 34 help 35 Say Y here to enable generic power driver for PDAs and phones with 36 one or two external power supplies (AC/USB) connected to main and 37 backup batteries, and optional builtin charger. 38 --- 658 unchanged lines hidden (view full) --- 697 depends on I2C 698 depends on OF 699 depends on REGULATOR 700 select REGMAP_I2C 701 help 702 Say Y to enable support for Microchip UCS1002 Programmable 703 USB Port Power Controller with Charger Emulation. 704 |
705config CHARGER_WILCO 706 tristate "Wilco EC based charger for ChromeOS" 707 depends on WILCO_EC 708 help 709 Say Y here to enable control of the charging routines performed 710 by the Embedded Controller on the Chromebook named Wilco. Further 711 information can be found in 712 Documentation/ABI/testing/sysfs-class-power-wilco 713 |
|
692endif # POWER_SUPPLY | 714endif # POWER_SUPPLY |