Kconfig 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. #
  2. # GPIO infrastructure and drivers
  3. #
  4. menu "GPIO Support"
  5. config DM_GPIO
  6. bool "Enable Driver Model for GPIO drivers"
  7. depends on DM
  8. help
  9. Enable driver model for GPIO access. The standard GPIO
  10. interface (gpio_get_value(), etc.) is then implemented by
  11. the GPIO uclass. Drivers provide methods to query the
  12. particular GPIOs that they provide. The uclass interface
  13. is defined in include/asm-generic/gpio.h.
  14. config DWAPB_GPIO
  15. bool "DWAPB GPIO driver"
  16. depends on DM && DM_GPIO
  17. default n
  18. help
  19. Support for the Designware APB GPIO driver.
  20. config LPC32XX_GPIO
  21. bool "LPC32XX GPIO driver"
  22. depends on DM
  23. default n
  24. help
  25. Support for the LPC32XX GPIO driver.
  26. config SANDBOX_GPIO
  27. bool "Enable sandbox GPIO driver"
  28. depends on SANDBOX && DM && DM_GPIO
  29. help
  30. This driver supports some simulated GPIOs which can be adjusted
  31. using 'back door' functions like sandbox_gpio_set_value(). Then the
  32. GPIOs can be inspected through the normal get_get_value()
  33. interface. The purpose of this is to allow GPIOs to be used as
  34. normal in sandbox, perhaps with test code actually driving the
  35. behaviour of those GPIOs.
  36. config SANDBOX_GPIO_COUNT
  37. int "Number of sandbox GPIOs"
  38. depends on SANDBOX_GPIO
  39. default 128
  40. help
  41. The sandbox driver can support any number of GPIOs. Generally these
  42. are specified using the device tree. But you can also have a number
  43. of 'anonymous' GPIOs that do not belong to any device or bank.
  44. Select a suitable value depending on your needs.
  45. config VYBRID_GPIO
  46. bool "Vybrid GPIO driver"
  47. depends on DM
  48. default n
  49. help
  50. Say yes here to support Vybrid vf610 GPIOs.
  51. endmenu