2023-04-18 01:03:00

by Nishanth Menon

[permalink] [raw]
Subject: [PATCH] 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.

Signed-off-by: Nishanth Menon <[email protected]>
---
.../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


2023-04-18 08:14:38

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: mfd: ti,j721e-system-controller: Add SoC chip ID

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 <[email protected]>
> ---

Acked-by: Krzysztof Kozlowski <[email protected]>

Best regards,
Krzysztof

2023-04-19 12:21:54

by Roger Quadros

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: mfd: ti,j721e-system-controller: Add SoC chip ID

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 <[email protected]>
> ---

Reviewed-by: Roger Quadros <[email protected]>

2023-04-24 13:20:47

by Lee Jones

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: mfd: ti,j721e-system-controller: Add SoC chip ID

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 <[email protected]>
> ---
> .../bindings/mfd/ti,j721e-system-controller.yaml | 11 +++++++++++
> 1 file changed, 11 insertions(+)

Applied, thanks

--
Lee Jones [李琼斯]