]> git.baikalelectronics.ru Git - uboot.git/commit
pinctrl: at91-pio4: Add support for pinctrl config subnodes
authorSergiu Moga <sergiu.moga@microchip.com>
Thu, 1 Sep 2022 14:22:42 +0000 (17:22 +0300)
committerEugen Hristev <eugen.hristev@microchip.com>
Mon, 19 Sep 2022 06:51:04 +0000 (09:51 +0300)
commitea9a1288c7f9075e658b9432bbd8ba80066d1c34
tree103c73759a2ca6c3e652ab3dc4df8f69801c9c16
parentd92aee71fb602ed64d139b5bfa30e0a5f5e22e18
pinctrl: at91-pio4: Add support for pinctrl config subnodes

Previously, in order for the `pinctrl-*` DT node properties
to be properly processed, the pinctrl's subnodes were limited
to only having the `pinmux` property as well as other additional
properties (slew-rate, bias-disable, etc.). Now, with this patch
the pinctrl driver is made to work similarly to the one from Linux.
It can now distinguish between one subnode and a subnode with multiple
subnodes.

Signed-off-by: Sergiu Moga <sergiu.moga@microchip.com>
drivers/pinctrl/pinctrl-at91-pio4.c