]> git.baikalelectronics.ru Git - kernel.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>
Fri, 23 Dec 2011 01:06:54 +0000 (10:06 +0900)
commite65b2131119ecbb501633c6f9f19738ed7536670
tree1c46b7ee38c09391942f8ded59a16614e166499c
parentca3bf80d29d643136144f4d5a08093478b6e5593
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