Files
linux/Documentation/devicetree/bindings/leds
NeilBrown 10ead6e599 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.

([email protected]: fix typo in the subject)

Signed-off-by: NeilBrown <[email protected]>
Signed-off-by: Bryan Wu <[email protected]>
2014-01-27 17:28:46 -08:00
..