mfd: madera: Make pinctrl a child devicetree node
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Wed, 28 Feb 2018 12:44:00 +0000 (12:44 +0000)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:22:29 +0000 (20:22 +0300)
commit416116790c456137effbb00c937390e2e2e454d1
treefb2543046e82d6392c2fa9bca22982d6fac7246b
parent71241f660487d9abc96aebe42b80599e4917a8e0
mfd: madera: Make pinctrl a child devicetree node

If the of_node of a pinctrl contains pinctrl-n entries the
pinctrl core will attempt to bind all those entries against
that pinctrl driver even if they refer to other pinctrl
drivers.

To work around this, move our pinctrl driver to be a child
node of our mfd so that its of_node doesn't contain any
pinctrl-n references.

Change-Id: I37138a860edbbee3fedcfc505b23557406d7486e
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
drivers/mfd/madera-core.c
drivers/pinctrl/cirrus/pinctrl-madera.c