Masahiro Yamada | da333ae | 2014-10-23 22:26:09 +0900 | [diff] [blame] | 1 | config DM_GPIO |
2 | bool "Enable Driver Model for GPIO drivers" | ||||
3 | depends on DM | ||||
4 | help | ||||
Simon Glass | f94a1be | 2015-02-05 21:41:35 -0700 | [diff] [blame^] | 5 | Enable driver model for GPIO access. The standard GPIO |
6 | interface (gpio_get_value(), etc.) is then implemented by | ||||
7 | the GPIO uclass. Drivers provide methods to query the | ||||
8 | particular GPIOs that they provide. The uclass interface | ||||
9 | is defined in include/asm-generic/gpio.h. |