]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: generic: Parse pinmux init nodes if node status is okay
authorLaxman Dewangan <ldewangan@nvidia.com>
Fri, 28 Oct 2016 11:24:21 +0000 (16:54 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 29 Oct 2016 08:31:58 +0000 (10:31 +0200)
commit0d68a3d980b1dce963915a19c8947234f3cbb427
tree1970d6fe3c7706ae8cdb157350694c1be509d2d0
parent3822093f2ea80177d7389b5a49708959f26ffe33
pinctrl: generic: Parse pinmux init nodes if node status is okay

During pinmux registration, pinmux table is parsed from DT
for making the pinmux table configuration of pins.

Parse the only those node whose status is not disabled.
This will help on reusing the pin configuration table across
platform and disabling the node by status property if that node
is not needed on given platform.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinconf-generic.c