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>
};
static const struct mfd_cell madera_pinctrl_dev[] = {
- { .name = "madera-pinctrl", },
+ {
+ .name = "madera-pinctrl",
+ .of_compatible = "cirrus,madera-pinctrl",
+ },
};
static const char * const cs47l15_supplies[] = {
priv->dev = &pdev->dev;
priv->madera = madera;
- pdev->dev.of_node = madera->dev->of_node;
switch (madera->type) {
case CS47L15: