Skip to contentSkip to conversation

dt-bindings: mfd: ti,j721e-system-controller: Add SoC chip ID

PATCH Applied Nishanth Menon 4 participants 4 messages Apr 18, 2023 – Apr 24, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dt-bindings: mfd: ti,j721e-system-controller: Add SoC chip ID

The system-controller node also contains the chip-id node that is used to identify the SoC specific properties. Add a pattern property to match to the same, and add to the example.

---
 .../bindings/mfd/ti,j721e-system-controller.yaml      | 11 +++++++++++
 1 file changed, 11 insertions(+)
Documentation/devicetree/bindings/mfd/ti,j721e-system-controller.yaml +11 -0
index 76ef4352e13c..0c98d913747b 100644
@@ -62,6 +62,12 @@ patternProperties:
     description:
       The phy node corresponding to the ethernet MAC.
 
+  "^chipid@[0-9a-f]+$":
+    type: object
+    $ref: /schemas/hwinfo/ti,k3-socinfo.yaml#
+    description:
+      The node corresponding to SoC chip identification.
+
 required:
   - compatible
   - reg
@@ -99,5 +105,10 @@ examples:
             reg = <0x4140 0x18>;
             #clock-cells = <1>;
         };
+
+        chipid@14 {
+            compatible = "ti,am654-chipid";
+            reg = <0x14 0x4>;
+        };
     };
 ...
Signature · 1 line
2.40.0
Acked-by on v1 1/1
#1 lore raw
Quoted 6 lines · Nishanth Menon

The system-controller node also contains the chip-id node that is used to identify the SoC specific properties. Add a pattern property to match to the same, and add to the example.

---

Best regards,
Krzysztof

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

maintainer Applied
#3 lore raw
In reply to Nishanth Menon
Quoted 8 lines · Nishanth Menon

The system-controller node also contains the chip-id node that is used to identify the SoC specific properties. Add a pattern property to match to the same, and add to the example.

---
 .../bindings/mfd/ti,j721e-system-controller.yaml      | 11 +++++++++++
 1 file changed, 11 insertions(+)

Applied, thanks

Signature · 1 line
Lee Jones [李琼斯]