diff mbox series

[v2,25/34] dt-bindings: arm: renesas: Move 'renesas,prr' binding to its own doc

Message ID 20181203213223.16986-26-robh@kernel.org
State Accepted
Commit 74791d15fd7c405511e3cc097c2f043171ecbdb0
Headers show
Series [v2,01/34] kbuild: Add support for DT binding schema checks | expand

Commit Message

Rob Herring (Arm) Dec. 3, 2018, 9:32 p.m. UTC
In preparation to convert board-level bindings to json-schema, move
various misc SoC bindings out to their own file.

Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Simon Horman <horms@verge.net.au>
Cc: Magnus Damm <magnus.damm@gmail.com>
Cc: devicetree@vger.kernel.org
Cc: linux-renesas-soc@vger.kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>

---
 .../devicetree/bindings/arm/renesas,prr.txt   | 20 +++++++++++++++++++
 .../devicetree/bindings/arm/shmobile.txt      | 18 -----------------
 2 files changed, 20 insertions(+), 18 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/arm/renesas,prr.txt

-- 
2.19.1

Comments

Simon Horman Dec. 4, 2018, 2:44 p.m. UTC | #1
On Mon, Dec 03, 2018 at 03:32:14PM -0600, Rob Herring wrote:
> In preparation to convert board-level bindings to json-schema, move

> various misc SoC bindings out to their own file.

> 

> Cc: Mark Rutland <mark.rutland@arm.com>

> Cc: Simon Horman <horms@verge.net.au>

> Cc: Magnus Damm <magnus.damm@gmail.com>

> Cc: devicetree@vger.kernel.org

> Cc: linux-renesas-soc@vger.kernel.org

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

> ---

>  .../devicetree/bindings/arm/renesas,prr.txt   | 20 +++++++++++++++++++

>  .../devicetree/bindings/arm/shmobile.txt      | 18 -----------------

>  2 files changed, 20 insertions(+), 18 deletions(-)

>  create mode 100644 Documentation/devicetree/bindings/arm/renesas,prr.txt


Applied for v4.21, but should we add renesas,prr.txt to MAINTAINERS
as a follow-up?
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/arm/renesas,prr.txt b/Documentation/devicetree/bindings/arm/renesas,prr.txt
new file mode 100644
index 000000000000..08e482e953ca
--- /dev/null
+++ b/Documentation/devicetree/bindings/arm/renesas,prr.txt
@@ -0,0 +1,20 @@ 
+Renesas Product Register
+
+Most Renesas ARM SoCs have a Product Register or Boundary Scan ID Register that
+allows to retrieve SoC product and revision information.  If present, a device
+node for this register should be added.
+
+Required properties:
+  - compatible: Must be one of:
+    "renesas,prr"
+    "renesas,bsid"
+  - reg: Base address and length of the register block.
+
+
+Examples
+--------
+
+	prr: chipid@ff000044 {
+		compatible = "renesas,prr";
+		reg = <0 0xff000044 0 4>;
+	};
diff --git a/Documentation/devicetree/bindings/arm/shmobile.txt b/Documentation/devicetree/bindings/arm/shmobile.txt
index 58c4256d37a3..5f18ce9cdbb8 100644
--- a/Documentation/devicetree/bindings/arm/shmobile.txt
+++ b/Documentation/devicetree/bindings/arm/shmobile.txt
@@ -149,21 +149,3 @@  Boards:
     compatible = "renesas,v3msk", "renesas,r8a77970"
   - Wheat (RTP0RC7792ASKB0000JE)
     compatible = "renesas,wheat", "renesas,r8a7792"
-
-
-Most Renesas ARM SoCs have a Product Register or Boundary Scan ID Register that
-allows to retrieve SoC product and revision information.  If present, a device
-node for this register should be added.
-
-Required properties:
-  - compatible: Must be "renesas,prr" or "renesas,bsid"
-  - reg: Base address and length of the register block.
-
-
-Examples
---------
-
-	prr: chipid@ff000044 {
-		compatible = "renesas,prr";
-		reg = <0 0xff000044 0 4>;
-	};