staging: mt7621-dts: use standard 'groups' instead of 'group' for pinctrl bindings
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Fri, 4 Jan 2019 11:34:09 +0000 (12:34 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Jan 2019 10:28:13 +0000 (11:28 +0100)
Pinctrl generic functions looks for standard property 'groups' in DT to get
data and use in the driver. Change all of them.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-dts/gbpc1.dts
drivers/staging/mt7621-dts/mt7621.dtsi

index 6a1699ce9455488795be42c5fb9516346877feaf..b733855402168efffa6a8a192a3d21e5d3e0ff60 100644 (file)
 &pinctrl {
        state_default: pinctrl0 {
                gpio {
-                       ralink,group = "wdt", "rgmii2", "uart3";
-                       ralink,function = "gpio";
+                       groups = "wdt", "rgmii2", "uart3";
+                       function = "gpio";
                };
        };
 };
index 71f069d59ad8f8e16c376719d749dfac58a85e7e..1cec0879e825e26cca6a8bfbb3eaa37ab3c4e942 100644 (file)
 
                i2c_pins: i2c0 {
                        i2c0 {
-                               group = "i2c";
+                               groups = "i2c";
                                function = "i2c";
                        };
                };
 
                spi_pins: spi0 {
                        spi0 {
-                               group = "spi";
+                               groups = "spi";
                                function = "spi";
                        };
                };
 
                uart1_pins: uart1 {
                        uart1 {
-                               group = "uart1";
+                               groups = "uart1";
                                function = "uart1";
                        };
                };
 
                uart2_pins: uart2 {
                        uart2 {
-                               group = "uart2";
+                               groups = "uart2";
                                function = "uart2";
                        };
                };
 
                uart3_pins: uart3 {
                        uart3 {
-                               group = "uart3";
+                               groups = "uart3";
                                function = "uart3";
                        };
                };
 
                rgmii1_pins: rgmii1 {
                        rgmii1 {
-                               group = "rgmii1";
+                               groups = "rgmii1";
                                function = "rgmii1";
                        };
                };
 
                rgmii2_pins: rgmii2 {
                        rgmii2 {
-                               group = "rgmii2";
+                               groups = "rgmii2";
                                function = "rgmii2";
                        };
                };
 
                mdio_pins: mdio0 {
                        mdio0 {
-                               group = "mdio";
+                               groups = "mdio";
                                function = "mdio";
                        };
                };
 
                pcie_pins: pcie0 {
                        pcie0 {
-                               group = "pcie";
+                               groups = "pcie";
                                function = "pcie rst";
                        };
                };
 
                nand_pins: nand0 {
                        spi-nand {
-                               group = "spi";
+                               groups = "spi";
                                function = "nand1";
                        };
 
                        sdhci-nand {
-                               group = "sdhci";
+                               groups = "sdhci";
                                function = "nand2";
                        };
                };
 
                sdhci_pins: sdhci0 {
                        sdhci0 {
-                               group = "sdhci";
+                               groups = "sdhci";
                                function = "sdhci";
                        };
                };