]> git.dujemihanovic.xyz Git - u-boot.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)
commit7086defa048cc5303291b592192a18d69c6510cf
tree103c73759a2ca6c3e652ab3dc4df8f69801c9c16
parent2ed96a87d2c7f22fe2649f6e041cc3884a0dbea7
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