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