]> git.karo-electronics.de Git - karo-tx-linux.git/commit
gpio/samsung: Add device tree support for EXYNOS4
authorThomas Abraham <thomas.abraham@linaro.org>
Sun, 6 Nov 2011 19:32:21 +0000 (01:02 +0530)
committerKukjin Kim <kgene.kim@samsung.com>
Tue, 8 Nov 2011 07:53:22 +0000 (16:53 +0900)
commit8b40df4650fe34e5be19559e5e2fbd3093816393
treee2283d23923e0cfdbdc64419eb98153a13ab7dd4
parentfae3f1696b33e669c3165b0b2b90588286b26a0b
gpio/samsung: Add device tree support for EXYNOS4

As gpio chips get registered, a device tree node which represents the
gpio chip is searched and attached to it. A translate function is also
provided to convert the gpio specifier into actual platform settings
for pin function selection, pull up/down and driver strength settings.

Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
[kgene.kim@samsung.com: fixed build error]
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Documentation/devicetree/bindings/gpio/gpio-samsung.txt [new file with mode: 0644]
drivers/gpio/gpio-samsung.c