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, 18 Apr 2012 11:53:10 +0000 (13:53 +0200)
commit57291ce295c0aca738dd284c4a9c591c09ebee71
tree6e687f329e7adf08b5d7dcaa3d6616ff1a9b8c27
parentd26bc49fa401be2b71838b6a4b387196cd12a534
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