blob: 6b3ec7e55de539fb349a7a2c4f30d3ae93a78176 [file] [log] [blame]
Philippe Reynes30d66db2020-07-24 18:19:45 +02001menu "Button Support"
2
3config BUTTON
4 bool "Enable button support"
5 depends on DM
6 help
7 Many boards have buttons which can be used to change behaviour (reset, ...).
8 U-Boot provides a uclass API to implement this feature. Button drivers
9 can provide access to board-specific buttons. Use of the device tree
10 for configuration is encouraged.
11
Philippe Reynes486b9732020-07-24 18:19:46 +020012config BUTTON_GPIO
13 bool "Button gpio"
14 depends on BUTTON
15 help
16 Enable support for buttons which are connected to GPIO lines. These
17 GPIOs may be on the SoC or some other device which provides GPIOs.
18 The GPIO driver must used driver model. Buttons are configured using
19 the device tree.
20
Philippe Reynes30d66db2020-07-24 18:19:45 +020021endmenu