aboutsummaryrefslogtreecommitdiff
path: root/drivers/pinctrl/pinctrl-single.c
diff options
context:
space:
mode:
authorMarkus Pargmann <mpa@pengutronix.de>2015-04-10 16:22:38 +0200
committerLinus Walleij <linus.walleij@linaro.org>2015-05-06 15:30:24 +0200
commit5fcdf6a7ed95ef3feef2678c39c906cfc5572cfa (patch)
treec45ed85b8e41e8b482860ebc755460da9a62fcc8 /drivers/pinctrl/pinctrl-single.c
parent83a21727c3fb23844de38f85fb4250bd21961c25 (diff)
pinctrl: imx: Allow parsing DT without function nodes
The old format to define pinctrl settings for imx in DT has two hierarchy levels. The first level are function device nodes. The second level are pingroups which contain a property fsl,pins. The original intention was to define all pin functions in a single dtsi file and just reference the correct ones in the board files. This idea was rejected some time ago leading to the current design to have all the pinfunctions defined in the board files. So we don't need the function device nodes anymore. This patch changes the pinctrl driver to accept devicetrees which do not have the first hierarchy level, function device nodes. For example karo-tx25 already has such a devicetree. Old devicetrees are still parsed and supported. Signed-off-by: Markus Pargmann <mpa@pengutronix.de> Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Acked-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-single.c')
0 files changed, 0 insertions, 0 deletions