devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 1/4] dt-bindings: soc: imx8m: add DT Binding doc for soc unique ID
@ 2020-11-05  7:26 Alice Guo
  2020-11-05  7:26 ` [PATCH v2 2/4] arm64: dts: imx8m: add compatible string to .dtsi file Alice Guo
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Alice Guo @ 2020-11-05  7:26 UTC (permalink / raw)
  To: robh+dt, shawnguo, s.hauer, krzk
  Cc: linux-imx, peng.fan, devicetree, linux-kernel, linux-arm-kernel

Add DT Binding doc for the Unique ID of i.MX 8M series.

Signed-off-by: Alice Guo <alice.guo@nxp.com>
---
 .../devicetree/bindings/arm/fsl.yaml          | 33 +++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml
index e4db0f9ed664..0419f078502b 100644
--- a/Documentation/devicetree/bindings/arm/fsl.yaml
+++ b/Documentation/devicetree/bindings/arm/fsl.yaml
@@ -901,6 +901,39 @@ properties:
               - fsl,s32v234-evb           # S32V234-EVB2 Customer Evaluation Board
           - const: fsl,s32v234

+  soc:
+    description:
+      i.MX8M Family SoC must provide a soc node in the root of the device tree,
+      representing the System-on-Chip since these test chips are rather complex.
+    type: object
+    properties:
+      compatible:
+        oneOf:
+          - items:
+              - const: fsl,imx8mm-soc
+              - const: simple-bus
+          - items:
+              - const: fsl,imx8mn-soc
+              - const: simple-bus
+          - items:
+              - const: fsl,imx8mp-soc
+              - const: simple-bus
+          - items:
+              - const: fsl,imx8mq-soc
+              - const: simple-bus
+
+      nvmem-cells:
+        maxItems: 1
+        description: Phandle to the SOC Unique ID provided by a nvmem node
+
+      nvmem-cells-names:
+        const: soc_unique_id
+
+    required:
+      - compatible
+      - nvmem-cells
+      - nvmem-cell-names
+
 additionalProperties: true

 ...
--
2.17.1


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

end of thread, other threads:[~2020-11-10  5:25 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-05  7:26 [PATCH v2 1/4] dt-bindings: soc: imx8m: add DT Binding doc for soc unique ID Alice Guo
2020-11-05  7:26 ` [PATCH v2 2/4] arm64: dts: imx8m: add compatible string to .dtsi file Alice Guo
2020-11-05  7:26 ` [PATCH v2 3/4] arm64: dts: imx8m: add nvmem-cell related stuff Alice Guo
2020-11-05  7:26 ` [PATCH v2 4/4] soc: imx8m: change to use platform driver Alice Guo
2020-11-05  9:06   ` Krzysztof Kozlowski
2020-11-06 10:35     ` [EXT] " Alice Guo
2020-11-06 20:07       ` Krzysztof Kozlowski
2020-11-05  8:25 ` [PATCH v2 1/4] dt-bindings: soc: imx8m: add DT Binding doc for soc unique ID Krzysztof Kozlowski
2020-11-05 12:19   ` [EXT] " Alice Guo
2020-11-05 12:24     ` Krzysztof Kozlowski
2020-11-09 19:10 ` Rob Herring
2020-11-10  5:25   ` Peng Fan

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).