Kconfig 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. menuconfig POWER_RESET
  2. bool "Board level reset or power off"
  3. help
  4. Provides a number of drivers which either reset a complete board
  5. or shut it down, by manipulating the main power supply on the board.
  6. Say Y here to enable board reset and power off
  7. if POWER_RESET
  8. config POWER_RESET_AS3722
  9. bool "ams AS3722 power-off driver"
  10. depends on MFD_AS3722
  11. help
  12. This driver supports turning off board via a ams AS3722 power-off.
  13. config POWER_RESET_AT91_POWEROFF
  14. tristate "Atmel AT91 poweroff driver"
  15. depends on ARCH_AT91
  16. default SOC_AT91SAM9 || SOC_SAMA5
  17. help
  18. This driver supports poweroff for Atmel AT91SAM9 and SAMA5
  19. SoCs
  20. config POWER_RESET_AT91_RESET
  21. tristate "Atmel AT91 reset driver"
  22. depends on ARCH_AT91
  23. default SOC_AT91SAM9 || SOC_SAMA5
  24. help
  25. This driver supports restart for Atmel AT91SAM9 and SAMA5
  26. SoCs
  27. config POWER_RESET_AXXIA
  28. bool "LSI Axxia reset driver"
  29. depends on ARCH_AXXIA
  30. help
  31. This driver supports restart for Axxia SoC.
  32. Say Y if you have an Axxia family SoC.
  33. config POWER_RESET_BRCMSTB
  34. bool "Broadcom STB reset driver"
  35. depends on ARM || MIPS || COMPILE_TEST
  36. depends on MFD_SYSCON
  37. default ARCH_BRCMSTB
  38. help
  39. This driver provides restart support for Broadcom STB boards.
  40. Say Y here if you have a Broadcom STB board and you wish
  41. to have restart support.
  42. config POWER_RESET_GPIO
  43. bool "GPIO power-off driver"
  44. depends on OF_GPIO
  45. help
  46. This driver supports turning off your board via a GPIO line.
  47. If your board needs a GPIO high/low to power down, say Y and
  48. create a binding in your devicetree.
  49. config POWER_RESET_GPIO_RESTART
  50. bool "GPIO restart driver"
  51. depends on OF_GPIO
  52. help
  53. This driver supports restarting your board via a GPIO line.
  54. If your board needs a GPIO high/low to restart, say Y and
  55. create a binding in your devicetree.
  56. config POWER_RESET_HISI
  57. bool "Hisilicon power-off driver"
  58. depends on ARCH_HISI
  59. help
  60. Reboot support for Hisilicon boards.
  61. config POWER_RESET_IMX
  62. bool "IMX6 power-off driver"
  63. depends on POWER_RESET && SOC_IMX6
  64. help
  65. This driver support power off external PMIC by PMIC_ON_REQ on i.mx6
  66. boards.If you want to use other pin to control external power,please
  67. say N here or disable in dts to make sure pm_power_off never be
  68. overwrote wrongly by this driver.
  69. config POWER_RESET_MSM
  70. bool "Qualcomm MSM power-off driver"
  71. depends on ARCH_QCOM
  72. help
  73. Power off and restart support for Qualcomm boards.
  74. config POWER_RESET_LTC2952
  75. bool "LTC2952 PowerPath power-off driver"
  76. depends on OF_GPIO
  77. help
  78. This driver supports an external powerdown trigger and board power
  79. down via the LTC2952. Bindings are made in the device tree.
  80. config POWER_RESET_QNAP
  81. bool "QNAP power-off driver"
  82. depends on OF_GPIO && PLAT_ORION
  83. help
  84. This driver supports turning off QNAP NAS devices by sending
  85. commands to the microcontroller which controls the main power.
  86. Say Y if you have a QNAP NAS.
  87. config POWER_RESET_RESTART
  88. bool "Restart power-off driver"
  89. help
  90. Some boards don't actually have the ability to power off.
  91. Instead they restart, and u-boot holds the SoC until the
  92. user presses a key. u-boot then boots into Linux.
  93. config POWER_RESET_ST
  94. bool "ST restart driver"
  95. depends on ARCH_STI
  96. help
  97. Reset support for STMicroelectronics boards.
  98. config POWER_RESET_VERSATILE
  99. bool "ARM Versatile family reboot driver"
  100. depends on ARM
  101. depends on MFD_SYSCON
  102. depends on OF
  103. help
  104. Power off and restart support for ARM Versatile family of
  105. reference boards.
  106. config POWER_RESET_VEXPRESS
  107. bool "ARM Versatile Express power-off and reset driver"
  108. depends on ARM || ARM64
  109. depends on VEXPRESS_CONFIG
  110. help
  111. Power off and reset support for the ARM Ltd. Versatile
  112. Express boards.
  113. config POWER_RESET_XGENE
  114. bool "APM SoC X-Gene reset driver"
  115. depends on ARM64
  116. help
  117. Reboot support for the APM SoC X-Gene Eval boards.
  118. config POWER_RESET_KEYSTONE
  119. bool "Keystone reset driver"
  120. depends on ARCH_KEYSTONE
  121. select MFD_SYSCON
  122. help
  123. Reboot support for the KEYSTONE SoCs.
  124. config POWER_RESET_SYSCON
  125. bool "Generic SYSCON regmap reset driver"
  126. depends on OF
  127. select MFD_SYSCON
  128. help
  129. Reboot support for generic SYSCON mapped register reset.
  130. config POWER_RESET_SYSCON_POWEROFF
  131. bool "Generic SYSCON regmap poweroff driver"
  132. depends on OF
  133. select MFD_SYSCON
  134. help
  135. Poweroff support for generic SYSCON mapped register poweroff.
  136. config POWER_RESET_RMOBILE
  137. tristate "Renesas R-Mobile reset driver"
  138. depends on ARCH_RMOBILE || COMPILE_TEST
  139. depends on HAS_IOMEM
  140. help
  141. Reboot support for Renesas R-Mobile and SH-Mobile SoCs.
  142. config POWER_RESET_ZX
  143. tristate "ZTE SoCs reset driver"
  144. depends on ARCH_ZX || COMPILE_TEST
  145. depends on HAS_IOMEM
  146. help
  147. Reboot support for ZTE SoCs.
  148. endif