]> git.karo-electronics.de Git - karo-tx-linux.git/commit
pinctrl: core device tree mapping table parsing support
authorStephen Warren <swarren@wwwdotorg.org>
Fri, 23 Mar 2012 16:29:46 +0000 (10:29 -0600)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 11 Apr 2012 07:31:02 +0000 (09:31 +0200)
commit7add7d78b16457de5ff0bcdcec31cc1995a344b9
treeb28f36f033b93162957ffc25b40b85f43297859d
parentf84cc342b1999db11ece939e1d2bf0743eb4578b
pinctrl: core device tree mapping table parsing support

During pinctrl_get(), if the client device has a device tree node, look
for the common pinctrl properties there. If found, parse the referenced
device tree nodes, with the help of the pinctrl drivers, and generate
mapping table entries from them.

During pinctrl_put(), free any results of device tree parsing.

Acked-by: Dong Aisheng <dong.aisheng@linaro.org>
Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/Makefile
drivers/pinctrl/core.c
drivers/pinctrl/core.h
drivers/pinctrl/devicetree.c [new file with mode: 0644]
drivers/pinctrl/devicetree.h [new file with mode: 0644]
include/linux/pinctrl/pinctrl.h