pinctrl: add samsung pinctrl and gpiolib driver
authorThomas Abraham <thomas.abraham@linaro.org>
Thu, 6 Sep 2012 21:07:19 +0000 (06:07 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Thu, 6 Sep 2012 21:07:19 +0000 (06:07 +0900)
commit30574f0db1b16fedf705cb792099f8a3171598eb
tree3c091a894ab233db2ac2eb887268020d58a48ca3
parent4cbe5a555fa58a79b6ecbb6c531b8bab0650778d
pinctrl: add samsung pinctrl and gpiolib driver

Add a new device tree enabled pinctrl and gpiolib driver for Samsung
SoC's. This driver provides a common and extensible framework for all
Samsung SoC's to interface with the pinctrl and gpiolib subsystems. This
driver supports only device tree based instantiation and hence can be
used only on those Samsung platforms that have device tree enabled.

This driver is split into two parts: the pinctrl interface and the gpiolib
interface. The pinctrl interface registers pinctrl devices with the pinctrl
subsystem and gpiolib interface registers gpio chips with the gpiolib
subsystem. The information about the pins, pin groups, pin functions and
gpio chips, which are SoC specific, are parsed from device tree node.

Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Documentation/devicetree/bindings/pinctrl/samsung-pinctrl.txt [new file with mode: 0644]
drivers/pinctrl/Kconfig
drivers/pinctrl/Makefile
drivers/pinctrl/pinctrl-samsung.c [new file with mode: 0644]
drivers/pinctrl/pinctrl-samsung.h [new file with mode: 0644]