]> asedeno.scripts.mit.edu Git - linux.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)
commita49d784d5a8272d0f63c448fe8dc69e589db006e
treef3e34dd2a4d3756b4aebdbf4799b3a11c48a348e
parent2ae80900f239484069569380e1fc4340fd6e0089
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