pinctrl: bcm2835: Match BCM7211 compatible string
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 25 Jan 2022 19:42:19 +0000 (11:42 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 29 Jan 2022 09:25:10 +0000 (10:25 +0100)
commit 562c856f96d22ef1204b0a314bc52e85617199b4 upstream

The BCM7211 SoC uses the same pinconf_ops as the ones defined for the
BCM2711 SoC, match the compatible string and use the correct set of
options.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20200531001101.24945-4-f.fainelli@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pinctrl/bcm/pinctrl-bcm2835.c

index 061e70ed17a74eb9898a69113d6618bd06b90579..e763c680b9c22d0830f3b099d4f6536e4412b7fb 100644 (file)
@@ -1134,6 +1134,10 @@ static const struct of_device_id bcm2835_pinctrl_match[] = {
                .compatible = "brcm,bcm2711-gpio",
                .data = &bcm2711_plat_data,
        },
+       {
+               .compatible = "brcm,bcm7211-gpio",
+               .data = &bcm2711_plat_data,
+       },
        {}
 };