Skip to contentSkip to conversation

Document CMT and VIN

PATCH New Biju Das 2 participants 5 messages Jun 29, 2018 – Jul 3, 2018

Subsystems (4)
lore
Share & tools
lore

Biju Das

author
#0 lore raw

cover Document CMT and VIN

Hi,

This patch series aim to Document the CMT and
VIN deviced present in r8a774[35] SoC.

regards,
Biju

Fabrizio Castro (3):
dt-bindings: timer: renesas, cmt: Document r8a774[35] CMT support
media: dt-bindings: media: rcar_vin: Reverse SoC part number list
media: dt-bindings: media: rcar_vin: add device tree support for

    r8a774[35]
 Documentation/devicetree/bindings/media/rcar_vin.txt    | 12 +++++++-----
 Documentation/devicetree/bindings/timer/renesas,cmt.txt |  4 ++++
 2 files changed, 11 insertions(+), 5 deletions(-)
Signature · 1 line
2.7.4
author
#1 lore raw

PATCH 1/3 dt-bindings: timer: renesas, cmt: Document r8a774[35] CMT support

From: Fabrizio Castro <[email protected]>

Document SoC specific compatible strings for r8a7743 and r8a7745. No driver change is needed as the fallback strings will activate the right code.

(cherry picked from commit 24d79d738b6fed977f44cae2ca277a49a7aa5f70)

( Backported dt-bindings)

---
 Documentation/devicetree/bindings/timer/renesas,cmt.txt | 4 ++++
 1 file changed, 4 insertions(+)
Documentation/devicetree/bindings/timer/renesas,cmt.txt +4 -0
index 1a05c1b..ed3dbf6 100644
@@ -44,6 +44,10 @@ Required Properties:
 
     - "renesas,cmt-48-r8a73a4" for the r8a73a4 48-bit CMT
 		(CMT[01])
+    - "renesas,cmt-48-r8a7743" for the r8a7743 48-bit CMT
+		(CMT[01])
+    - "renesas,cmt-48-r8a7745" for the r8a7745 48-bit CMT
+		(CMT[01])
     - "renesas,cmt-48-r8a7790" for the r8a7790 48-bit CMT
 		(CMT[01])
     - "renesas,cmt-48-r8a7791" for the r8a7791 48-bit CMT
Signature · 1 line
2.7.4
author
#2 lore raw

PATCH 2/3 media: dt-bindings: media: rcar_vin: Reverse SoC part number list

In reply to Biju Das

From: Fabrizio Castro <[email protected]>

Change the sorting of the part numbers from descending to ascending to match with other documentation.

(removed r8a7792 and r8a7795 devices)

---
 Documentation/devicetree/bindings/media/rcar_vin.txt | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
Documentation/devicetree/bindings/media/rcar_vin.txt +5 -5
index 1abe1ef..18287b0 100644
@@ -6,12 +6,12 @@ family of devices. The current blocks are always slaves and suppot one input
 channel which can be either RGB, YUYV or BT656.
 
  - compatible: Must be one or more of the following
-   - "renesas,vin-r8a7794" for the R8A7794 device
-   - "renesas,vin-r8a7793" for the R8A7793 device
-   - "renesas,vin-r8a7791" for the R8A7791 device
-   - "renesas,vin-r8a7790" for the R8A7790 device
-   - "renesas,vin-r8a7779" for the R8A7779 device
    - "renesas,vin-r8a7778" for the R8A7778 device
+   - "renesas,vin-r8a7779" for the R8A7779 device
+   - "renesas,vin-r8a7790" for the R8A7790 device
+   - "renesas,vin-r8a7791" for the R8A7791 device
+   - "renesas,vin-r8a7793" for the R8A7793 device
+   - "renesas,vin-r8a7794" for the R8A7794 device
    - "renesas,rcar-gen2-vin" for a generic R-Car Gen2 compatible device.
 
    When compatible with the generic version nodes must list the
Signature · 1 line
2.7.4
author
#3 lore raw

PATCH 3/3 media: dt-bindings: media: rcar_vin: add device tree support for r8a774[35]

In reply to Biju Das

From: Fabrizio Castro <[email protected]>

Add compatible strings for r8a7743 and r8a7745. No driver change is needed as "renesas,rcar-gen2-vin" will activate the right code. However, it is good practice to document compatible strings for the specific SoC as this allows SoC specific changes to the driver if needed, in addition to document SoC support and therefore allow checkpatch.pl to validate compatible string values.

(removed "renesas,rcar-gen3-vin" fallback)

---
 Documentation/devicetree/bindings/media/rcar_vin.txt | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/media/rcar_vin.txt +2 -0
index 18287b0..08eca2e 100644
@@ -6,6 +6,8 @@ family of devices. The current blocks are always slaves and suppot one input
 channel which can be either RGB, YUYV or BT656.
 
  - compatible: Must be one or more of the following
+   - "renesas,vin-r8a7743" for the R8A7743 device
+   - "renesas,vin-r8a7745" for the R8A7745 device
    - "renesas,vin-r8a7778" for the R8A7778 device
    - "renesas,vin-r8a7779" for the R8A7779 device
    - "renesas,vin-r8a7790" for the R8A7790 device
Signature · 1 line
2.7.4
#4 lore raw

cover Document CMT and VIN

In reply to Biju Das
Quoted 4 lines · Biju Das

Hi,

This patch series aim to Document the CMT and
VIN deviced present in r8a774[35] SoC.

Applied, thanks.

Ben.

Signature · 3 lines
Ben Hutchings, Software Developer                ?        Codethink Ltd
https://www.codethink.co.uk/                 Dale House, 35 Dale Street
                                     Manchester, M1 2HF, United Kingdom