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>
Fri, 23 Dec 2011 01:06:54 +0000 (10:06 +0900)
commit659d73ada5d6869dc18838c9125731a750389019
tree1c46b7ee38c09391942f8ded59a16614e166499c
parentf983575aa90ceeb2cc7923223882dcf1debf5aa2
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