]> git.itanic.dy.fi Git - linux-stable/commitdiff
pinctrl: ralink: rt305x: add new compatible string for every SoC
authorArınç ÜNAL <arinc.unal@arinc9.com>
Fri, 17 Mar 2023 21:29:52 +0000 (00:29 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 19 Mar 2023 20:47:25 +0000 (21:47 +0100)
Add new compatible strings to make every SoC, or SoCs that use the same
pinmux data have a unique compatible string. This ensures that the pin
muxing information of every SoC, or a set of SoCs that use the same pinmux
data can be properly documented.

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-3-arinc.unal@arinc9.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/ralink/pinctrl-rt305x.c

index f6092c64383e53e2a03557042c6fcc82792ab695..fa3743c7680f193827f9a1afbb2c43adee59d1cc 100644 (file)
@@ -118,6 +118,8 @@ static int rt305x_pinctrl_probe(struct platform_device *pdev)
 
 static const struct of_device_id rt305x_pinctrl_match[] = {
        { .compatible = "ralink,rt305x-pinctrl" },
+       { .compatible = "ralink,rt3352-pinctrl" },
+       { .compatible = "ralink,rt5350-pinctrl" },
        { .compatible = "ralink,rt2880-pinmux" },
        {}
 };