]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: bcm: ns: support updated DT binding as syscon subnode
authorRafał Miłecki <rafal@milecki.pl>
Tue, 18 Dec 2018 15:58:08 +0000 (16:58 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 21 Dec 2018 10:45:49 +0000 (11:45 +0100)
commit69371a53e14e730217456697355a6ad34fcfd1dd
treef3e34dd2a4d3756b4aebdbf4799b3a11c48a348e
parent7bdbfafe6b188135203ae1a613032f24ade5a20d
pinctrl: bcm: ns: support updated DT binding as syscon subnode

Documentation has been recently updated specifying that pinctrl should
be subnode of the CRU "syscon". Support that by using parent node for
regmap and reading "offset" property from the DT.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/bcm/pinctrl-ns.c