pinctrl: ralink: reintroduce ralink,rt2880-pinmux compatible string
authorArınç ÜNAL <arinc.unal@arinc9.com>
Fri, 17 Mar 2023 21:29:51 +0000 (00:29 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 May 2023 14:03:36 +0000 (23:03 +0900)
[ Upstream commit 7c19147d9cfc0f9328049d2e278279150d7de9ca ]

There have been stable releases with the ralink,rt2880-pinmux compatible
string included. Having it removed breaks the ABI. Reintroduce it.

Fixes: e5981cd46183 ("pinctrl: ralink: add new compatible strings for each pinctrl subdriver")
Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
Reviewed-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Link: https://lore.kernel.org/r/20230317213011.13656-2-arinc.unal@arinc9.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/pinctrl/ralink/pinctrl-mt7620.c
drivers/pinctrl/ralink/pinctrl-mt7621.c
drivers/pinctrl/ralink/pinctrl-rt2880.c
drivers/pinctrl/ralink/pinctrl-rt305x.c
drivers/pinctrl/ralink/pinctrl-rt3883.c

index 22ff16e..929a1ac 100644 (file)
@@ -372,6 +372,7 @@ static int mt7620_pinctrl_probe(struct platform_device *pdev)
 
 static const struct of_device_id mt7620_pinctrl_match[] = {
        { .compatible = "ralink,mt7620-pinctrl" },
+       { .compatible = "ralink,rt2880-pinmux" },
        {}
 };
 MODULE_DEVICE_TABLE(of, mt7620_pinctrl_match);
index b47968f..0297cf4 100644 (file)
@@ -97,6 +97,7 @@ static int mt7621_pinctrl_probe(struct platform_device *pdev)
 
 static const struct of_device_id mt7621_pinctrl_match[] = {
        { .compatible = "ralink,mt7621-pinctrl" },
+       { .compatible = "ralink,rt2880-pinmux" },
        {}
 };
 MODULE_DEVICE_TABLE(of, mt7621_pinctrl_match);
index 811e12d..fd9af7c 100644 (file)
@@ -41,6 +41,7 @@ static int rt2880_pinctrl_probe(struct platform_device *pdev)
 
 static const struct of_device_id rt2880_pinctrl_match[] = {
        { .compatible = "ralink,rt2880-pinctrl" },
+       { .compatible = "ralink,rt2880-pinmux" },
        {}
 };
 MODULE_DEVICE_TABLE(of, rt2880_pinctrl_match);
index 5b204b7..13a012a 100644 (file)
@@ -118,6 +118,7 @@ static int rt305x_pinctrl_probe(struct platform_device *pdev)
 
 static const struct of_device_id rt305x_pinctrl_match[] = {
        { .compatible = "ralink,rt305x-pinctrl" },
+       { .compatible = "ralink,rt2880-pinmux" },
        {}
 };
 MODULE_DEVICE_TABLE(of, rt305x_pinctrl_match);
index 44a66c3..b263764 100644 (file)
@@ -88,6 +88,7 @@ static int rt3883_pinctrl_probe(struct platform_device *pdev)
 
 static const struct of_device_id rt3883_pinctrl_match[] = {
        { .compatible = "ralink,rt3883-pinctrl" },
+       { .compatible = "ralink,rt2880-pinmux" },
        {}
 };
 MODULE_DEVICE_TABLE(of, rt3883_pinctrl_match);