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)
commite06c2ee5f13c55a982804d76ea526c630b21b383
tree1970d6fe3c7706ae8cdb157350694c1be509d2d0
parent24d6a91c9df3f6b8096d2e59da31341fc35c9549
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