Skip to contentSkip to conversation

dt-bindings: mfd: gateworks-gsc: remove unnecessary fan-controller nodes

PATCH Superseded Tim Harvey 3 participants 4 messages May 16, 2023 – May 17, 2023

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Tim Harvey

author
#0 lore raw

PATCH 1/2 dt-bindings: mfd: gateworks-gsc: remove unnecessary fan-controller nodes

Remove the unnecessary #address-cells and #size-cells nodes from the fan-controller.

---
 .../devicetree/bindings/mfd/gateworks-gsc.yaml         | 10 ----------
 1 file changed, 10 deletions(-)
Documentation/devicetree/bindings/mfd/gateworks-gsc.yaml +0 -10
index acb9c54942d9..dc379f3ebf24 100644
@@ -122,12 +122,6 @@ patternProperties:
       compatible:
         const: gw,gsc-fan
 
-      "#address-cells":
-        const: 1
-
-      "#size-cells":
-        const: 0
-
       reg:
         description: The fan controller base address
         maxItems: 1
@@ -135,8 +129,6 @@ patternProperties:
     required:
       - compatible
       - reg
-      - "#address-cells"
-      - "#size-cells"
 
 required:
   - compatible
@@ -194,8 +186,6 @@ examples:
             };
 
             fan-controller@2c {
-                #address-cells = <1>;
-                #size-cells = <0>;
                 compatible = "gw,gsc-fan";
                 reg = <0x2c>;
             };
Signature · 7 lines
2.25.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
author
#1 lore raw

PATCH 2/2 arm64: dts: imx8mm-venice-gw700x

Remove the unnecessary #address-cells and #size-cells nodes from the fan-controller.

---
 arch/arm64/boot/dts/freescale/imx8mm-venice-gw700x.dtsi | 2 --
 1 file changed, 2 deletions(-)
arch/arm64/boot/dts/freescale/imx8mm-venice-gw700x.dtsi +0 -2
index 9e7d38872157..72cf250d9b4f 100644
@@ -234,8 +234,6 @@ channel@a2 {
 		};
 
 		fan-controller@0 {
-			#address-cells = <1>;
-			#size-cells = <0>;
 			compatible = "gw,gsc-fan";
 			reg = <0x0a>;
 		};
Signature · 7 lines
2.25.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Acked-by on v1 1/2
#2 lore raw
In reply to Tim Harvey

Hey Tim,

Quoted 2 lines · Tim Harvey

Remove the unnecessary #address-cells and #size-cells nodes from the fan-controller.

It'd be nice to mentioned _why_ they are redundant, since the diff doesn't contain that context.

Thanks,
Conor.

Quoted 44 lines
---
 .../devicetree/bindings/mfd/gateworks-gsc.yaml         | 10 ----------
 1 file changed, 10 deletions(-)
Documentation/devicetree/bindings/mfd/gateworks-gsc.yaml +0 -10
index acb9c54942d9..dc379f3ebf24 100644
@@ -122,12 +122,6 @@ patternProperties:
       compatible:
         const: gw,gsc-fan
 
-      "#address-cells":
-        const: 1
-
-      "#size-cells":
-        const: 0
-
       reg:
         description: The fan controller base address
         maxItems: 1
@@ -135,8 +129,6 @@ patternProperties:
     required:
       - compatible
       - reg
-      - "#address-cells"
-      - "#size-cells"
 
 required:
   - compatible
@@ -194,8 +186,6 @@ examples:
             };
 
             fan-controller@2c {
-                #address-cells = <1>;
-                #size-cells = <0>;
                 compatible = "gw,gsc-fan";
                 reg = <0x2c>;
             };
Signature · 1 line
2.25.1