dt-bindings: pinctrl: uniphier: Add child node definitions to describe pin mux and...
authorKunihiko Hayashi <hayashi.kunihiko@socionext.com>
Tue, 9 Nov 2021 00:11:39 +0000 (09:11 +0900)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 21 Nov 2021 23:56:21 +0000 (00:56 +0100)
commit1dd19cae155208065277f01dc61fe8897b6d2a29
tree8bd6b184ce6cb9ea54c4ab1e3f368fe126cc6aa7
parentf35172c030dba5a1ff9dfe47cbeb123be45d75c7
dt-bindings: pinctrl: uniphier: Add child node definitions to describe pin mux and configuration

In arch/arm/boot/dts/uniphier-pinctrl.dtsi, there are child nodes of
pinctrl that defines pinmux and pincfg, however, there are no rules about
that in dt-bindings.

'make dtbs_check' results an error with the following message:

   pinctrl: 'ain1', 'ain2', 'ainiec1', 'aout', 'aout1', 'aout2', ...
   ... 'usb2', 'usb3' do not match any of the regexes: 'pinctrl-[0-9]+'

To avoid the issue, add the rules of pinmux and pincfg in each child node
and grandchild node.

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/1636416699-21033-1-git-send-email-hayashi.kunihiko@socionext.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/devicetree/bindings/pinctrl/socionext,uniphier-pinctrl.yaml