mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-23 20:53:53 +08:00
50fa86172b
- Initial support for the following chips * max77836 (charger) * max14577 (charger) * bq27742 (battery gauge) * ltc2952 (poweroff) * stih416 (restart) * syscon-reboot (restart) * gpio-restart (restart) - cleanup of power supply core - misc. fixes in power supply and reset drivers -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABCgAGBQJUOWD7AAoJENju1/PIO/qaj5QP/AtbG96NRpX6Ou8W+qulhSbe npTKItRMERZhV+lJUAdmLxQq8Cy6I5Cobdj140oIM6HIKZ7Dh6jChxd2t+RCLsO0 Y16VMq45L9E/mQuVCLqSSNCPKrRjbF7hW+8gpym/Yc846o3Fv8nhTQzkWxCsVrDR rNerRnrUyvKpqRpCN88u4ZuOHjm/146nZtTsAzvL8nGnQBZFJHv4eu7D5nwSN0QS FrLiI/mE7h1KFcdK5LrZf51IfEP9w4RVV3vs1wEuP0iPS5dguv2dNzXXVZa5eD/2 AYSSouVKkgdwryLAvIIaDLD405UYl5Xgt5J6d+QKXxm2+eeZMEY36+PEK5WtRtBX CykzO2BgvxyOdz2HU9D8irR1Li71jVSWwQITMJ6bQsbKEQAhltmkmsTOxtqB+ekd 254rKcKWTqllmEhg1LR8PCidf8OZNEcKzXi4XmQdQIcKNF9tvdTXP5c0/FzuIAlQ tqWZW1kQK6/TTfx+XxeeszJWY5VknIaka2Bi83pOZYtu94CtUFBdEVkpaYmC433+ qLOto7VMy+AKYViTJJDDEnSEFiLNZz/zF+SUDf+YB1RelULSF3zC8CbDcZQa5fNm 4qTU1fl2gGrIZ1jDPPihm6xP8r9WkeuQWEytG2UJZoa+l4XmzfLHBUUDVo0zqTd3 txfmKca8Y3GhXGwINi1m =sj9S -----END PGP SIGNATURE----- Merge tag 'for-v3.18' of git://git.infradead.org/battery-2.6 Pull power supply and reset updates from Sebastian Reichel: - Initial support for the following chips * max77836 (charger) * max14577 (charger) * bq27742 (battery gauge) * ltc2952 (poweroff) * stih416 (restart) * syscon-reboot (restart) * gpio-restart (restart) - cleanup of power supply core - misc fixes in power supply and reset drivers * tag 'for-v3.18' of git://git.infradead.org/battery-2.6: (48 commits) power: ab8500_fg: Fix build warning Documentation: charger: max14577: Update the date of introducing ABI power: reset: corrections for simple syscon reboot driver Documentation: power: reset: Add documentation for generic SYSCON reboot driver power: reset: Add generic SYSCON register mapped reset bq27x00_battery: Fix flag reading for bq27742 power: reset: use restart_notifier mechanism for msm-poweroff power: Add simple gpio-restart driver power: reset: st: Provide DT bindings for ST's Power Reset driver power: reset: Add restart functionality for STiH41x platforms power: charger-manager: Fix NULL pointer exception with missing cm-fuel-gauge power: max14577: Fix circular config SYSFS dependency power: gpio-charger: do not use gpio value directly power: max8925: Use of_get_child_by_name power: max8925: Fix NULL ptr dereference on memory allocation failure bq27x00_battery: Add support to bq27742 Documentation: charger: max14577: Document exported sysfs entry devicetree: mfd: max14577: Add device tree bindings document power: max17040: Add ID for MAX77836 Fuel Gauge block charger: max14577: Configure battery-dependent settings from DTS and sysfs ... Conflicts: drivers/power/reset/Kconfig drivers/power/reset/Makefile
155 lines
3.9 KiB
Plaintext
155 lines
3.9 KiB
Plaintext
menuconfig POWER_RESET
|
|
bool "Board level reset or power off"
|
|
help
|
|
Provides a number of drivers which either reset a complete board
|
|
or shut it down, by manipulating the main power supply on the board.
|
|
|
|
Say Y here to enable board reset and power off
|
|
|
|
if POWER_RESET
|
|
|
|
config POWER_RESET_AS3722
|
|
bool "ams AS3722 power-off driver"
|
|
depends on MFD_AS3722
|
|
help
|
|
This driver supports turning off board via a ams AS3722 power-off.
|
|
|
|
config POWER_RESET_AT91_POWEROFF
|
|
bool "Atmel AT91 poweroff driver"
|
|
depends on ARCH_AT91
|
|
default SOC_AT91SAM9 || SOC_SAMA5
|
|
help
|
|
This driver supports poweroff for Atmel AT91SAM9 and SAMA5
|
|
SoCs
|
|
|
|
config POWER_RESET_AT91_RESET
|
|
bool "Atmel AT91 reset driver"
|
|
depends on ARCH_AT91
|
|
default SOC_AT91SAM9 || SOC_SAMA5
|
|
help
|
|
This driver supports restart for Atmel AT91SAM9 and SAMA5
|
|
SoCs
|
|
|
|
config POWER_RESET_AXXIA
|
|
bool "LSI Axxia reset driver"
|
|
depends on ARCH_AXXIA
|
|
help
|
|
This driver supports restart for Axxia SoC.
|
|
|
|
Say Y if you have an Axxia family SoC.
|
|
|
|
config POWER_RESET_BRCMSTB
|
|
bool "Broadcom STB reset driver" if COMPILE_TEST
|
|
depends on ARM
|
|
default ARCH_BRCMSTB
|
|
help
|
|
This driver provides restart support for ARM-based Broadcom STB
|
|
boards.
|
|
|
|
Say Y here if you have an ARM-based Broadcom STB board and you wish
|
|
to have restart support.
|
|
|
|
config POWER_RESET_GPIO
|
|
bool "GPIO power-off driver"
|
|
depends on OF_GPIO
|
|
help
|
|
This driver supports turning off your board via a GPIO line.
|
|
If your board needs a GPIO high/low to power down, say Y and
|
|
create a binding in your devicetree.
|
|
|
|
config POWER_RESET_GPIO_RESTART
|
|
bool "GPIO restart driver"
|
|
depends on OF_GPIO
|
|
help
|
|
This driver supports restarting your board via a GPIO line.
|
|
If your board needs a GPIO high/low to restart, say Y and
|
|
create a binding in your devicetree.
|
|
|
|
config POWER_RESET_HISI
|
|
bool "Hisilicon power-off driver"
|
|
depends on ARCH_HISI
|
|
help
|
|
Reboot support for Hisilicon boards.
|
|
|
|
config POWER_RESET_MSM
|
|
bool "Qualcomm MSM power-off driver"
|
|
depends on ARCH_QCOM
|
|
help
|
|
Power off and restart support for Qualcomm boards.
|
|
|
|
config POWER_RESET_LTC2952
|
|
bool "LTC2952 PowerPath power-off driver"
|
|
depends on OF_GPIO
|
|
help
|
|
This driver supports an external powerdown trigger and board power
|
|
down via the LTC2952. Bindings are made in the device tree.
|
|
|
|
config POWER_RESET_QNAP
|
|
bool "QNAP power-off driver"
|
|
depends on OF_GPIO && PLAT_ORION
|
|
help
|
|
This driver supports turning off QNAP NAS devices by sending
|
|
commands to the microcontroller which controls the main power.
|
|
|
|
Say Y if you have a QNAP NAS.
|
|
|
|
config POWER_RESET_RESTART
|
|
bool "Restart power-off driver"
|
|
depends on ARM
|
|
help
|
|
Some boards don't actually have the ability to power off.
|
|
Instead they restart, and u-boot holds the SoC until the
|
|
user presses a key. u-boot then boots into Linux.
|
|
|
|
config POWER_RESET_SUN6I
|
|
bool "Allwinner A31 SoC reset driver"
|
|
depends on ARCH_SUNXI
|
|
help
|
|
Reboot support for the Allwinner A31 SoCs.
|
|
|
|
config POWER_RESET_ST
|
|
bool "ST restart power-off driver"
|
|
depends on ARCH_STI
|
|
help
|
|
Power off and reset support for STMicroelectronics boards.
|
|
|
|
config POWER_RESET_VERSATILE
|
|
bool "ARM Versatile family reboot driver"
|
|
depends on ARM
|
|
depends on MFD_SYSCON
|
|
depends on OF
|
|
help
|
|
Power off and restart support for ARM Versatile family of
|
|
reference boards.
|
|
|
|
config POWER_RESET_VEXPRESS
|
|
bool "ARM Versatile Express power-off and reset driver"
|
|
depends on ARM || ARM64
|
|
depends on VEXPRESS_CONFIG
|
|
help
|
|
Power off and reset support for the ARM Ltd. Versatile
|
|
Express boards.
|
|
|
|
config POWER_RESET_XGENE
|
|
bool "APM SoC X-Gene reset driver"
|
|
depends on ARM64
|
|
help
|
|
Reboot support for the APM SoC X-Gene Eval boards.
|
|
|
|
config POWER_RESET_KEYSTONE
|
|
bool "Keystone reset driver"
|
|
depends on ARCH_KEYSTONE
|
|
select MFD_SYSCON
|
|
help
|
|
Reboot support for the KEYSTONE SoCs.
|
|
|
|
config POWER_RESET_SYSCON
|
|
bool "Generic SYSCON regmap reset driver"
|
|
depends on OF
|
|
select MFD_SYSCON
|
|
help
|
|
Reboot support for generic SYSCON mapped register reset.
|
|
|
|
endif
|
|
|