Kconfig 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  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. bool "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. bool "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" if COMPILE_TEST
  35. depends on ARM
  36. default ARCH_BRCMSTB
  37. help
  38. This driver provides restart support for ARM-based Broadcom STB
  39. boards.
  40. Say Y here if you have an ARM-based 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_MSM
  62. bool "Qualcomm MSM power-off driver"
  63. depends on ARCH_QCOM
  64. help
  65. Power off and restart support for Qualcomm boards.
  66. config POWER_RESET_LTC2952
  67. bool "LTC2952 PowerPath power-off driver"
  68. depends on OF_GPIO
  69. help
  70. This driver supports an external powerdown trigger and board power
  71. down via the LTC2952. Bindings are made in the device tree.
  72. config POWER_RESET_QNAP
  73. bool "QNAP power-off driver"
  74. depends on OF_GPIO && PLAT_ORION
  75. help
  76. This driver supports turning off QNAP NAS devices by sending
  77. commands to the microcontroller which controls the main power.
  78. Say Y if you have a QNAP NAS.
  79. config POWER_RESET_RESTART
  80. bool "Restart power-off driver"
  81. depends on ARM
  82. help
  83. Some boards don't actually have the ability to power off.
  84. Instead they restart, and u-boot holds the SoC until the
  85. user presses a key. u-boot then boots into Linux.
  86. config POWER_RESET_SUN6I
  87. bool "Allwinner A31 SoC reset driver"
  88. depends on ARCH_SUNXI
  89. help
  90. Reboot support for the Allwinner A31 SoCs.
  91. config POWER_RESET_ST
  92. bool "ST restart power-off driver"
  93. depends on ARCH_STI
  94. help
  95. Power off and reset support for STMicroelectronics boards.
  96. config POWER_RESET_VERSATILE
  97. bool "ARM Versatile family reboot driver"
  98. depends on ARM
  99. depends on MFD_SYSCON
  100. depends on OF
  101. help
  102. Power off and restart support for ARM Versatile family of
  103. reference boards.
  104. config POWER_RESET_VEXPRESS
  105. bool "ARM Versatile Express power-off and reset driver"
  106. depends on ARM || ARM64
  107. depends on VEXPRESS_CONFIG
  108. help
  109. Power off and reset support for the ARM Ltd. Versatile
  110. Express boards.
  111. config POWER_RESET_XGENE
  112. bool "APM SoC X-Gene reset driver"
  113. depends on ARM64
  114. help
  115. Reboot support for the APM SoC X-Gene Eval boards.
  116. config POWER_RESET_KEYSTONE
  117. bool "Keystone reset driver"
  118. depends on ARCH_KEYSTONE
  119. select MFD_SYSCON
  120. help
  121. Reboot support for the KEYSTONE SoCs.
  122. config POWER_RESET_SYSCON
  123. bool "Generic SYSCON regmap reset driver"
  124. depends on OF
  125. select MFD_SYSCON
  126. help
  127. Reboot support for generic SYSCON mapped register reset.
  128. endif