From: NeilBrown Date: Fri, 1 Nov 2013 02:41:20 +0000 (-0700) Subject: LEDS: tca6507: add device-tree support for GPIO configuration. X-Git-Tag: v3.14-rc1~66^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10ead6e59934be76b6ce255d6b842a432b207b7f;p=pandora-kernel.git 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 Signed-off-by: Bryan Wu --- Reading git-diff-tree failed