]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
gpio: samsung: add devicetree init for s3c24xx arches
authorHeiko Stuebner <heiko@sntech.de>
Thu, 6 Sep 2012 21:49:47 +0000 (06:49 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Fri, 7 Sep 2012 05:02:50 +0000 (14:02 +0900)
commit172c6a13653ac8cd6a231293b87c93821e90c1d6
treee8921c1272a316a0c1465a425b29631127589a50
parent4cbe5a555fa58a79b6ecbb6c531b8bab0650778d
gpio: samsung: add devicetree init for s3c24xx arches

Until now the EXYNOS-SoC was the only Samsung-SoC supporting the GPIOs
via the device tree. This patch implements dt-support for the
s3c24xx arches.

The controllers contain only 3 cells, as the underlying gpio controller
does not support controlling the drive strength on a gpio level.

Tested with the gpio-keys driver on a s3c2416 based machine.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Thomas Abraham <thomas.abraham@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
[kgene.kim@samsung.com: fixed build error]
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Documentation/devicetree/bindings/gpio/gpio-samsung.txt
drivers/gpio/gpio-samsung.c