]> git.karo-electronics.de Git - karo-tx-linux.git/commit
gpio/samsung: Add device tree support for EXYNOS4
authorThomas Abraham <thomas.abraham@linaro.org>
Wed, 2 Nov 2011 10:17:35 +0000 (19:17 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Wed, 2 Nov 2011 11:50:54 +0000 (20:50 +0900)
commitb2b49d97171cec4a7ce9e01d412b1df4c78ee6a2
treeb10bebc787baf84c9c58e6a8108f4283ea53474d
parent33fbaf74f2aef524094150d76b372e513c2f5c24
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