2020-07-24 16:19:45 +00:00
|
|
|
menu "Button Support"
|
|
|
|
|
|
|
|
config BUTTON
|
|
|
|
bool "Enable button support"
|
|
|
|
depends on DM
|
|
|
|
help
|
|
|
|
Many boards have buttons which can be used to change behaviour (reset, ...).
|
|
|
|
U-Boot provides a uclass API to implement this feature. Button drivers
|
|
|
|
can provide access to board-specific buttons. Use of the device tree
|
|
|
|
for configuration is encouraged.
|
|
|
|
|
2021-02-18 10:33:15 +00:00
|
|
|
config BUTTON_ADC
|
|
|
|
bool "Button adc"
|
|
|
|
depends on BUTTON
|
|
|
|
help
|
|
|
|
Enable support for buttons which are connected to Analog to Digital
|
|
|
|
Converter device. The ADC driver must use driver model. Buttons are
|
|
|
|
configured using the device tree.
|
|
|
|
|
2020-07-24 16:19:46 +00:00
|
|
|
config BUTTON_GPIO
|
|
|
|
bool "Button gpio"
|
|
|
|
depends on BUTTON
|
2022-08-17 19:37:52 +00:00
|
|
|
depends on DM_GPIO
|
2020-07-24 16:19:46 +00:00
|
|
|
help
|
|
|
|
Enable support for buttons which are connected to GPIO lines. These
|
|
|
|
GPIOs may be on the SoC or some other device which provides GPIOs.
|
|
|
|
The GPIO driver must used driver model. Buttons are configured using
|
|
|
|
the device tree.
|
|
|
|
|
2020-07-24 16:19:45 +00:00
|
|
|
endmenu
|