Thread (23 messages) 23 messages, 6 authors, 2016-11-14
STALE3605d

Revision v2 of 2 in this series.

Revisions (2)
  1. v2 current
  2. v3 [diff vs current]

[PATCH v2 5/7] ARM: shmobile: Document DT bindings for CCCR and PRR

From: Geert Uytterhoeven <geert+renesas@glider.be>
Date: 2016-10-31 11:32:04
Also in: linux-devicetree, linux-renesas-soc, lkml
Subsystem: open firmware and flattened device tree bindings, the rest · Maintainers: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Linus Torvalds

Add device tree binding documentation for the Common Chip Code Register
and Product Register, which provide SoC product and revision
information.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
v2:
  - New.
---
 Documentation/devicetree/bindings/arm/shmobile.txt | 26 ++++++++++++++++++++++
 1 file changed, 26 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/shmobile.txt b/Documentation/devicetree/bindings/arm/shmobile.txt
index 15669642b5324412..bff1b596b235c535 100644
--- a/Documentation/devicetree/bindings/arm/shmobile.txt
+++ b/Documentation/devicetree/bindings/arm/shmobile.txt
@@ -79,3 +79,29 @@ Boards:
     compatible = "renesas,sk-rzg1m", "renesas,r8a7743"
   - Wheat
     compatible = "renesas,wheat", "renesas,r8a7792"
+
+
+Most Renesas ARM SoCs have one or two registers (Common Chip Code
+Register and/or Product Register) that allow to retrieve SoC product and
+revision information.  If present, device nodes for these devices should
+be added.
+
+Required properties:
+  - compatible: Must be one of:
+      - "renesas,cccr" for the Common Chip Code Register,
+      - "renesas,prr" for the Product Register.
+  - reg: Base address and length of the register block.
+
+
+Examples
+--------
+
+	cccr: chipid@e600101c {
+		compatible = "renesas,cccr";
+		reg = <0xe600101c 4>;
+	};
+
+	prr: chipid@ff000044 {
+		compatible = "renesas,prr";
+		reg = <0 0xff000044 0 4>;
+	};
-- 
1.9.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help