Kconfig 899 B

1234567891011121314151617181920212223242526272829
  1. menu "Button Support"
  2. config BUTTON
  3. bool "Enable button support"
  4. depends on DM
  5. help
  6. Many boards have buttons which can be used to change behaviour (reset, ...).
  7. U-Boot provides a uclass API to implement this feature. Button drivers
  8. can provide access to board-specific buttons. Use of the device tree
  9. for configuration is encouraged.
  10. config BUTTON_ADC
  11. bool "Button adc"
  12. depends on BUTTON
  13. help
  14. Enable support for buttons which are connected to Analog to Digital
  15. Converter device. The ADC driver must use driver model. Buttons are
  16. configured using the device tree.
  17. config BUTTON_GPIO
  18. bool "Button gpio"
  19. depends on BUTTON
  20. help
  21. Enable support for buttons which are connected to GPIO lines. These
  22. GPIOs may be on the SoC or some other device which provides GPIOs.
  23. The GPIO driver must used driver model. Buttons are configured using
  24. the device tree.
  25. endmenu