[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201109170409.4498-2-kishon@ti.com>
Date: Mon, 9 Nov 2020 22:34:03 +0530
From: Kishon Vijay Abraham I <kishon@...com>
To: Tero Kristo <t-kristo@...com>, Nishanth Menon <nm@...com>,
Rob Herring <robh+dt@...nel.org>,
Roger Quadros <rogerq@...com>, Lee Jones <lee.jones@...aro.org>
CC: Kishon Vijay Abraham I <kishon@...com>,
<linux-arm-kernel@...ts.infradead.org>,
<devicetree@...r.kernel.org>, Bjorn Helgaas <bhelgaas@...gle.com>,
<linux-pci@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: [PATCH v2 1/7] dt-bindings: mfd: ti,j721e-system-controller.yaml: Document "syscon"
Add binding documentation for "syscon" which should be a subnode of
the system controller (scm-conf).
Signed-off-by: Kishon Vijay Abraham I <kishon@...com>
---
.../mfd/ti,j721e-system-controller.yaml | 40 +++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/Documentation/devicetree/bindings/mfd/ti,j721e-system-controller.yaml b/Documentation/devicetree/bindings/mfd/ti,j721e-system-controller.yaml
index 19fcf59fd2fe..0b115b707ab2 100644
--- a/Documentation/devicetree/bindings/mfd/ti,j721e-system-controller.yaml
+++ b/Documentation/devicetree/bindings/mfd/ti,j721e-system-controller.yaml
@@ -50,6 +50,38 @@ patternProperties:
specified in
Documentation/devicetree/bindings/mux/reg-mux.txt
+ "^syscon@[0-9a-f]+$":
+ type: object
+ description: |
+ This is the system controller configuration required to configure PCIe
+ mode, lane width and speed.
+
+ properties:
+ compatible:
+ items:
+ - enum:
+ - ti,j721e-system-controller
+ - const: syscon
+ - const: simple-mfd
+
+ reg:
+ maxItems: 1
+
+ "#address-cells":
+ const: 1
+
+ "#size-cells":
+ const: 1
+
+ ranges: true
+
+ required:
+ - compatible
+ - reg
+ - "#address-cells"
+ - "#size-cells"
+ - ranges
+
required:
- compatible
- reg
@@ -72,5 +104,13 @@ examples:
compatible = "mmio-mux";
reg = <0x00004080 0x50>;
};
+
+ pcie1_ctrl: syscon@...4 {
+ compatible = "ti,j721e-system-controller", "syscon", "simple-mfd";
+ reg = <0x00004074 0x4>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges = <0x4074 0x4074 0x4>;
+ };
};
...
--
2.17.1
Powered by blists - more mailing lists