diff mbox series

[V3,1/8] dt-bindings: soc: imx: add binding for i.MX93 syscon

Message ID 20220831141418.38532-2-peng.fan@oss.nxp.com
State Superseded
Headers show
Series [V3,1/8] dt-bindings: soc: imx: add binding for i.MX93 syscon | expand

Commit Message

Peng Fan (OSS) Aug. 31, 2022, 2:14 p.m. UTC
From: Peng Fan <peng.fan@nxp.com>

Add binding doc for i.MX93 blk_ctrl_ns_aonmix and blk_ctrl_wakeupmix

Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
 .../bindings/soc/imx/fsl,imx93-syscon.yaml    | 36 +++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/soc/imx/fsl,imx93-syscon.yaml

Comments

Rob Herring (Arm) Sept. 2, 2022, 8:57 p.m. UTC | #1
On Wed, Aug 31, 2022 at 10:14:11PM +0800, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan@nxp.com>
> 
> Add binding doc for i.MX93 blk_ctrl_ns_aonmix and blk_ctrl_wakeupmix

Is this complete or you expect to add to it? If complete, just add the 
compatible strings to syscon.yaml. If not complete, why not?

Rob
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/soc/imx/fsl,imx93-syscon.yaml b/Documentation/devicetree/bindings/soc/imx/fsl,imx93-syscon.yaml
new file mode 100644
index 000000000000..0aeff336a74a
--- /dev/null
+++ b/Documentation/devicetree/bindings/soc/imx/fsl,imx93-syscon.yaml
@@ -0,0 +1,36 @@ 
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/soc/imx/fsl,imx93-syscon.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: NXP i.MX93 Platform System Controller
+
+maintainers:
+  - Peng Fan <peng.fan@nxp.com>
+
+properties:
+  compatible:
+    items:
+      - enum:
+          - fsl,imx93-aonmix-ns-syscfg
+          - fsl,imx93-wakeupmix-syscfg
+      - const: syscon
+
+  reg:
+    maxItems: 1
+
+required:
+  - compatible
+  - reg
+
+additionalProperties: false
+
+examples:
+  - |
+    anomix_ns_gpr: syscon@44210000 {
+        compatible = "fsl,imx93-aonmix-ns-syscfg", "syscon";
+        reg = <0x44210000 0x1000>;
+    };
+
+...