Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1512506 > unrolled thread

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

Started byGeert Uytterhoeven <geert+renesas@glider.be>
First post2016-10-31 12:40 +0100
Last post2016-11-09 19:40 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v2 5/7] ARM: shmobile: Document DT bindings for CCCR and PRR Geert Uytterhoeven <geert+renesas@glider.be> - 2016-10-31 12:40 +0100
    Re: [PATCH v2 5/7] ARM: shmobile: Document DT bindings for CCCR and  PRR Rob Herring <robh@kernel.org> - 2016-11-09 19:40 +0100

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

FromGeert Uytterhoeven <geert+renesas@glider.be>
Date2016-10-31 12:40 +0100
Subject[PATCH v2 5/7] ARM: shmobile: Document DT bindings for CCCR and PRR
Message-ID<syj6x-1JI-13@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


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

FromRob Herring <robh@kernel.org>
Date2016-11-09 19:40 +0100
SubjectRe: [PATCH v2 5/7] ARM: shmobile: Document DT bindings for CCCR and PRR
Message-ID<sBFWV-2xe-23@gated-at.bofh.it>
In reply to#1512506
On Mon, Oct 31, 2016 at 12:30:53PM +0100, Geert Uytterhoeven wrote:
> 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(+)

Acked-by: Rob Herring <robh@kernel.org>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web