ARM: dts: exynos: adjust node names to DT spec in Exynos3250 boards
authorKrzysztof Kozlowski <krzk@kernel.org>
Tue, 27 Oct 2020 17:09:36 +0000 (18:09 +0100)
committerKrzysztof Kozlowski <krzk@kernel.org>
Wed, 28 Oct 2020 21:46:25 +0000 (22:46 +0100)
The Devicetree specification expects device node names to have a generic
name, representing the class of a device.  Also the convention for node
names is to use hyphens, not underscores.

No functional changes.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20201027170947.132725-2-krzk@kernel.org
arch/arm/boot/dts/exynos3250-artik5.dtsi
arch/arm/boot/dts/exynos3250-monk.dts
arch/arm/boot/dts/exynos3250-rinato.dts

index 12887b3924af8a48e1d8e9c8a588805141ce628d..04290ec4583a6c82bd6f96ab2a0e5a9dc7cdbe8a 100644 (file)
@@ -76,7 +76,7 @@
        samsung,i2c-max-bus-freq = <100000>;
        status = "okay";
 
-       s2mps14_pmic@66 {
+       pmic@66 {
                compatible = "samsung,s2mps14-pmic";
                interrupt-parent = <&gpx3>;
                interrupts = <5 IRQ_TYPE_NONE>;
index c1a68e6120370f2020c6a51c3fc628abbd85d26c..69451566945dcdf33fefe4817b69a54fdffd17ed 100644 (file)
                reg = <0x0205F000 0x1000>;
        };
 
-       gpio_keys {
+       gpio-keys {
                compatible = "gpio-keys";
 
-               power_key {
+               power-key {
                        gpios = <&gpx2 7 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_POWER>;
                        label = "power key";
@@ -62,7 +62,7 @@
                #address-cells = <1>;
                #size-cells = <0>;
 
-               max77836: subpmic@25 {
+               max77836: pmic@25 {
                        compatible = "maxim,max77836";
                        interrupt-parent = <&gpx1>;
                        interrupts = <5 IRQ_TYPE_NONE>;
        samsung,i2c-max-bus-freq = <100000>;
        status = "okay";
 
-       s2mps14_pmic@66 {
+       pmic@66 {
                compatible = "samsung,s2mps14-pmic";
                interrupt-parent = <&gpx0>;
                interrupts = <7 IRQ_TYPE_NONE>;
index b55afaaa691e8b6f0d18b324262ffd33ff949153..a26e3e582a7e7dc3eb27fc9498a79a9a4285ac87 100644 (file)
                reg = <0x0205F000 0x1000>;
        };
 
-       gpio_keys {
+       gpio-keys {
                compatible = "gpio-keys";
 
-               power_key {
+               power-key {
                        gpios = <&gpx2 7 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_POWER>;
                        label = "power key";
@@ -62,7 +62,7 @@
                #address-cells = <1>;
                #size-cells = <0>;
 
-               max77836: subpmic@25 {
+               max77836: pmic@25 {
                        compatible = "maxim,max77836";
                        interrupt-parent = <&gpx1>;
                        interrupts = <5 IRQ_TYPE_NONE>;
        samsung,i2c-max-bus-freq = <100000>;
        status = "okay";
 
-       s2mps14_pmic@66 {
+       pmic@66 {
                compatible = "samsung,s2mps14-pmic";
                interrupt-parent = <&gpx0>;
                interrupts = <7 IRQ_TYPE_NONE>;