Message ID | 20230303002850.51858-3-arinc.unal@arinc9.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | pinctrl: ralink: fix ABI, improve driver, move to mediatek, improve dt-bindings | expand |
On Fri, Mar 3, 2023 at 1:29 AM <arinc9.unal@gmail.com> wrote: > > From: Arınç ÜNAL <arinc.unal@arinc9.com> > > This platform from Ralink was acquired by MediaTek in 2011. Then, MediaTek > introduced these SoCs which utilise this platform. Add new compatible > strings to address the incorrect naming. > > Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com> > --- > drivers/pinctrl/ralink/pinctrl-mt7620.c | 1 + > drivers/pinctrl/ralink/pinctrl-mt7621.c | 1 + > 2 files changed, 2 insertions(+) Reviewed-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> Thanks, Sergio Paracuellos
diff --git a/drivers/pinctrl/ralink/pinctrl-mt7620.c b/drivers/pinctrl/ralink/pinctrl-mt7620.c index 06b86c726839..88b0c6a4ee18 100644 --- a/drivers/pinctrl/ralink/pinctrl-mt7620.c +++ b/drivers/pinctrl/ralink/pinctrl-mt7620.c @@ -371,6 +371,7 @@ static int mt7620_pinctrl_probe(struct platform_device *pdev) } static const struct of_device_id mt7620_pinctrl_match[] = { + { .compatible = "mediatek,mt7620-pinctrl" }, { .compatible = "ralink,mt7620-pinctrl" }, { .compatible = "ralink,rt2880-pinmux" }, {} diff --git a/drivers/pinctrl/ralink/pinctrl-mt7621.c b/drivers/pinctrl/ralink/pinctrl-mt7621.c index fb5824922e78..2128a94f6d1b 100644 --- a/drivers/pinctrl/ralink/pinctrl-mt7621.c +++ b/drivers/pinctrl/ralink/pinctrl-mt7621.c @@ -96,6 +96,7 @@ static int mt7621_pinctrl_probe(struct platform_device *pdev) } static const struct of_device_id mt7621_pinctrl_match[] = { + { .compatible = "mediatek,mt7621-pinctrl" }, { .compatible = "ralink,mt7621-pinctrl" }, { .compatible = "ralink,rt2880-pinmux" }, {}