[05/36] dt-bindings: arm: renesas: Move 'renesas,prr' binding to its own doc

Message ID 20181005165848.3474-6-robh@kernel.org
State New
Headers show
Series
  • [01/36] dt-bindings: arm: alpine: Move CPU control related binding to cpu-enable-method/al,alpine-smp
Related show

Commit Message

Rob Herring Oct. 5, 2018, 4:58 p.m.
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    | 18 ++++++++++++++++++
 .../devicetree/bindings/arm/shmobile.txt       | 18 ------------------
 2 files changed, 18 insertions(+), 18 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/arm/renesas,prr.txt

-- 
2.17.1

Comments

Rob Herring Oct. 8, 2018, 2:59 p.m. | #1
On Mon, Oct 8, 2018 at 2:05 AM Geert Uytterhoeven <geert@linux-m68k.org> wrote:
>

> Hi Rob,

>

> On Fri, Oct 5, 2018 at 6:58 PM Rob Herring <robh@kernel.org> 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>

>

> Looks good to me, but needs a rebase, as the PRR section has been extended

> in -next.


Is this something you all can apply still for 4.20?

Rob
Simon Horman Oct. 18, 2018, 1:04 p.m. | #2
On Mon, Oct 08, 2018 at 09:59:19AM -0500, Rob Herring wrote:
> On Mon, Oct 8, 2018 at 2:05 AM Geert Uytterhoeven <geert@linux-m68k.org> wrote:

> >

> > Hi Rob,

> >

> > On Fri, Oct 5, 2018 at 6:58 PM Rob Herring <robh@kernel.org> 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>

> >

> > Looks good to me, but needs a rebase, as the PRR section has been extended

> > in -next.

> 

> Is this something you all can apply still for 4.20?


Sorry, missing this until now. It was too late.

Shall I take it for v4.21?

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..5000bf492f70
--- /dev/null
+++ b/Documentation/devicetree/bindings/arm/renesas,prr.txt
@@ -0,0 +1,18 @@ 
+Renesas Product Register
+
+Most Renesas ARM SoCs have a Product 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".
+  - 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 89b4a389fbc7..619b765e5bee 100644
--- a/Documentation/devicetree/bindings/arm/shmobile.txt
+++ b/Documentation/devicetree/bindings/arm/shmobile.txt
@@ -141,21 +141,3 @@  Boards:
     compatible = "renesas,v3msk", "renesas,r8a77970"
   - Wheat (RTP0RC7792ASKB0000JE)
     compatible = "renesas,wheat", "renesas,r8a7792"
-
-
-Most Renesas ARM SoCs have a Product 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".
-  - reg: Base address and length of the register block.
-
-
-Examples
---------
-
-	prr: chipid@ff000044 {
-		compatible = "renesas,prr";
-		reg = <0 0xff000044 0 4>;
-	};