diff options
author | NeilBrown <neilb@suse.de> | 2013-11-01 06:41:20 +0400 |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2014-01-28 05:28:46 +0400 |
commit | 10ead6e59934be76b6ce255d6b842a432b207b7f (patch) | |
tree | aab76e123d6cda1cc9b3a484a3bdbf039e639c2c /scripts/kconfig | |
parent | 9334129e8e956edfd51da37d5e5278478235c7b2 (diff) | |
download | linux-10ead6e59934be76b6ce255d6b842a432b207b7f.tar.xz |
LEDS: tca6507: add device-tree support for GPIO configuration.
The 7 lines driven by the TCA6507 can either drive LEDs or act as output-only
GPIOs.
To make this distinction in devicetree we use the "compatible" property.
If the device attached to a line is "compatible" with "gpio", we treat it
like a GPIO. If it is "compatible" with "led" (or if no "compatible" value
is set) we treat it like an LED.
(cooloney@gmail.com: fix typo in the subject)
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
Diffstat (limited to 'scripts/kconfig')
0 files changed, 0 insertions, 0 deletions