[RFC PATCH 07/16] dt-bindings: pinctrl: ralink: add new compatible strings

From: arinc9 . unal
Date: Wed Feb 22 2023 - 13:41:03 EST


From: Arınç ÜNAL <arinc.unal@xxxxxxxxxx>

Add the ralink,rt2880-pinmux compatible string. It had been removed from
the driver which broke the ABI.

Add the mediatek compatible strings. Change the compatible string on the
examples with the mediatek compatible strings.

Signed-off-by: Arınç ÜNAL <arinc.unal@xxxxxxxxxx>
---
.../devicetree/bindings/pinctrl/ralink,mt7620-pinctrl.yaml | 7 +++++--
.../devicetree/bindings/pinctrl/ralink,mt7621-pinctrl.yaml | 7 +++++--
.../devicetree/bindings/pinctrl/ralink,rt2880-pinctrl.yaml | 7 +++++--
.../devicetree/bindings/pinctrl/ralink,rt305x-pinctrl.yaml | 7 +++++--
.../devicetree/bindings/pinctrl/ralink,rt3883-pinctrl.yaml | 7 +++++--
5 files changed, 25 insertions(+), 10 deletions(-)

diff --git a/Documentation/devicetree/bindings/pinctrl/ralink,mt7620-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/ralink,mt7620-pinctrl.yaml
index 1e63ea34146a..531b5f616c3d 100644
--- a/Documentation/devicetree/bindings/pinctrl/ralink,mt7620-pinctrl.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/ralink,mt7620-pinctrl.yaml
@@ -17,7 +17,10 @@ description:

properties:
compatible:
- const: ralink,mt7620-pinctrl
+ enum:
+ - mediatek,mt7620-pinctrl
+ - ralink,mt7620-pinctrl
+ - ralink,rt2880-pinmux

patternProperties:
'-pins$':
@@ -647,7 +650,7 @@ additionalProperties: false
examples:
- |
pinctrl {
- compatible = "ralink,mt7620-pinctrl";
+ compatible = "mediatek,mt7620-pinctrl";

i2c_pins: i2c0-pins {
pinmux {
diff --git a/Documentation/devicetree/bindings/pinctrl/ralink,mt7621-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/ralink,mt7621-pinctrl.yaml
index 1b1d37b981d9..74923ca35c81 100644
--- a/Documentation/devicetree/bindings/pinctrl/ralink,mt7621-pinctrl.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/ralink,mt7621-pinctrl.yaml
@@ -17,7 +17,10 @@ description:

properties:
compatible:
- const: ralink,mt7621-pinctrl
+ enum:
+ - mediatek,mt7621-pinctrl
+ - ralink,mt7621-pinctrl
+ - ralink,rt2880-pinmux

patternProperties:
'-pins$':
@@ -251,7 +254,7 @@ additionalProperties: false
examples:
- |
pinctrl {
- compatible = "ralink,mt7621-pinctrl";
+ compatible = "mediatek,mt7621-pinctrl";

i2c_pins: i2c0-pins {
pinmux {
diff --git a/Documentation/devicetree/bindings/pinctrl/ralink,rt2880-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/ralink,rt2880-pinctrl.yaml
index 7fd0df880a76..aceea6248614 100644
--- a/Documentation/devicetree/bindings/pinctrl/ralink,rt2880-pinctrl.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/ralink,rt2880-pinctrl.yaml
@@ -17,7 +17,10 @@ description:

properties:
compatible:
- const: ralink,rt2880-pinctrl
+ enum:
+ - mediatek,rt2880-pinctrl
+ - ralink,rt2880-pinctrl
+ - ralink,rt2880-pinmux

patternProperties:
'-pins$':
@@ -131,7 +134,7 @@ additionalProperties: false
examples:
- |
pinctrl {
- compatible = "ralink,rt2880-pinctrl";
+ compatible = "mediatek,rt2880-pinctrl";

i2c_pins: i2c0-pins {
pinmux {
diff --git a/Documentation/devicetree/bindings/pinctrl/ralink,rt305x-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/ralink,rt305x-pinctrl.yaml
index 4d66ca752a30..4c87fe201809 100644
--- a/Documentation/devicetree/bindings/pinctrl/ralink,rt305x-pinctrl.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/ralink,rt305x-pinctrl.yaml
@@ -18,7 +18,10 @@ description:

properties:
compatible:
- const: ralink,rt305x-pinctrl
+ enum:
+ - mediatek,rt305x-pinctrl
+ - ralink,rt305x-pinctrl
+ - ralink,rt2880-pinmux

patternProperties:
'-pins$':
@@ -264,7 +267,7 @@ additionalProperties: false
examples:
- |
pinctrl {
- compatible = "ralink,rt305x-pinctrl";
+ compatible = "mediatek,rt305x-pinctrl";

i2c_pins: i2c0-pins {
pinmux {
diff --git a/Documentation/devicetree/bindings/pinctrl/ralink,rt3883-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/ralink,rt3883-pinctrl.yaml
index 008d93181aea..71049a2b2779 100644
--- a/Documentation/devicetree/bindings/pinctrl/ralink,rt3883-pinctrl.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/ralink,rt3883-pinctrl.yaml
@@ -17,7 +17,10 @@ description:

properties:
compatible:
- const: ralink,rt3883-pinctrl
+ enum:
+ - mediatek,rt3883-pinctrl
+ - ralink,rt3883-pinctrl
+ - ralink,rt2880-pinmux

patternProperties:
'-pins$':
@@ -251,7 +254,7 @@ additionalProperties: false
examples:
- |
pinctrl {
- compatible = "ralink,rt3883-pinctrl";
+ compatible = "mediatek,rt3883-pinctrl";

i2c_pins: i2c0-pins {
pinmux {
--
2.37.2