linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: mfd: ti,j721e-system-controller: Add SoC chip ID
@ 2023-04-18  1:00 Nishanth Menon
  2023-04-18  8:05 ` Krzysztof Kozlowski
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Nishanth Menon @ 2023-04-18  1:00 UTC (permalink / raw)
  To: Roger Quadros, Krzysztof Kozlowski, Rob Herring, Lee Jones
  Cc: linux-kernel, devicetree, linux-arm-kernel, Vignesh Raghavendra,
	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.

Signed-off-by: Nishanth Menon <nm@ti.com>
---
 .../bindings/mfd/ti,j721e-system-controller.yaml      | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/Documentation/devicetree/bindings/mfd/ti,j721e-system-controller.yaml b/Documentation/devicetree/bindings/mfd/ti,j721e-system-controller.yaml
index 76ef4352e13c..0c98d913747b 100644
--- a/Documentation/devicetree/bindings/mfd/ti,j721e-system-controller.yaml
+++ b/Documentation/devicetree/bindings/mfd/ti,j721e-system-controller.yaml
@@ -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>;
+        };
     };
 ...
-- 
2.40.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] dt-bindings: mfd: ti,j721e-system-controller: Add SoC chip ID
  2023-04-18  1:00 [PATCH] dt-bindings: mfd: ti,j721e-system-controller: Add SoC chip ID Nishanth Menon
@ 2023-04-18  8:05 ` Krzysztof Kozlowski
  2023-04-19 12:16 ` Roger Quadros
  2023-04-24 13:18 ` Lee Jones
  2 siblings, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2023-04-18  8:05 UTC (permalink / raw)
  To: Nishanth Menon, Roger Quadros, Krzysztof Kozlowski, Rob Herring,
	Lee Jones
  Cc: linux-kernel, devicetree, linux-arm-kernel, Vignesh Raghavendra

On 18/04/2023 03:00, Nishanth Menon wrote:
> 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.
> 
> Signed-off-by: Nishanth Menon <nm@ti.com>
> ---

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] dt-bindings: mfd: ti,j721e-system-controller: Add SoC chip ID
  2023-04-18  1:00 [PATCH] dt-bindings: mfd: ti,j721e-system-controller: Add SoC chip ID Nishanth Menon
  2023-04-18  8:05 ` Krzysztof Kozlowski
@ 2023-04-19 12:16 ` Roger Quadros
  2023-04-24 13:18 ` Lee Jones
  2 siblings, 0 replies; 4+ messages in thread
From: Roger Quadros @ 2023-04-19 12:16 UTC (permalink / raw)
  To: Nishanth Menon, Krzysztof Kozlowski, Rob Herring, Lee Jones
  Cc: linux-kernel, devicetree, linux-arm-kernel, Vignesh Raghavendra

On 18/04/2023 04:00, Nishanth Menon wrote:
> 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.
> 
> Signed-off-by: Nishanth Menon <nm@ti.com>
> ---

Reviewed-by: Roger Quadros <rogerq@kernel.org>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] dt-bindings: mfd: ti,j721e-system-controller: Add SoC chip ID
  2023-04-18  1:00 [PATCH] dt-bindings: mfd: ti,j721e-system-controller: Add SoC chip ID Nishanth Menon
  2023-04-18  8:05 ` Krzysztof Kozlowski
  2023-04-19 12:16 ` Roger Quadros
@ 2023-04-24 13:18 ` Lee Jones
  2 siblings, 0 replies; 4+ messages in thread
From: Lee Jones @ 2023-04-24 13:18 UTC (permalink / raw)
  To: Nishanth Menon
  Cc: Roger Quadros, Krzysztof Kozlowski, Rob Herring, linux-kernel,
	devicetree, linux-arm-kernel, Vignesh Raghavendra

On Mon, 17 Apr 2023, Nishanth Menon wrote:

> 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.
> 
> Signed-off-by: Nishanth Menon <nm@ti.com>
> ---
>  .../bindings/mfd/ti,j721e-system-controller.yaml      | 11 +++++++++++
>  1 file changed, 11 insertions(+)

Applied, thanks

-- 
Lee Jones [李琼斯]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-04-24 13:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-18  1:00 [PATCH] dt-bindings: mfd: ti,j721e-system-controller: Add SoC chip ID Nishanth Menon
2023-04-18  8:05 ` Krzysztof Kozlowski
2023-04-19 12:16 ` Roger Quadros
2023-04-24 13:18 ` Lee Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).