Skip to contentSkip to conversation

Add more document support for RZ/G2UL SoC.

PATCH Applied Biju Das 2 participants 15 messages Sep 1, 2022 – Sep 6, 2022

Subsystems (18)
Device tree bindings USB ASoC SPI +14 more subsystems
lore
Share & tools
lore

Biju Das

author maintainer
#0 lore raw

cover Add more document support for RZ/G2UL SoC.

This patch series aims to document various IP's present in RZ/G2UL SoC and RZ/V2L ADC.

Biju Das (13):
dt-bindings: timer: renesas: ostm: Document Renesas RZ/G2UL OSTM
dt-bindings: i2c: renesas,riic: Document RZ/G2UL SoC
dt-bindings: usb: renesas,usbhs: Document RZ/G2UL bindings
dt-bindings: can: renesas,rcar-canfd: Document RZ/G2UL support
dt-bindings: phy: renesas,usb2-phy: Document RZ/G2UL phy bindings
spi: dt-bindings: renesas,rspi: Document RZ/G2UL SoC
dt-bindings: memory: renesas,rpc-if: Document RZ/G2UL SoC
dt-bindings: thermal: rzg2l-thermal: Document RZ/G2UL bindings
dt-bindings: watchdog: renesas,wdt: Document RZ/G2UL SoC
ASoC: dt-bindings: renesas,rz-ssi: Document RZ/G2UL SoC
dt-bindings: iio: adc: Document Renesas RZ/V2L ADC
dt-bindings: iio: adc: Document Renesas RZ/G2UL ADC
dt-bindings: reset: renesas,rzg2l-usbphy-ctrl: Document RZ/G2UL USBPHY
Control bindings

 .../devicetree/bindings/i2c/renesas,riic.yaml |  2 ++
 .../bindings/iio/adc/renesas,rzg2l-adc.yaml   | 31 ++++++++++++++++---
 .../memory-controllers/renesas,rpc-if.yaml    |  1 +
 .../bindings/net/can/renesas,rcar-canfd.yaml  |  1 +
 .../bindings/phy/renesas,usb2-phy.yaml        |  1 +
 .../reset/renesas,rzg2l-usbphy-ctrl.yaml      |  1 +
 .../bindings/sound/renesas,rz-ssi.yaml        |  3 +-
 .../devicetree/bindings/spi/renesas,rspi.yaml |  2 ++
 .../bindings/thermal/rzg2l-thermal.yaml       |  1 +
 .../bindings/timer/renesas,ostm.yaml          |  2 ++
 .../bindings/usb/renesas,usbhs.yaml           |  4 +++
 .../bindings/watchdog/renesas,wdt.yaml        |  1 +
 12 files changed, 44 insertions(+), 6 deletions(-)
Signature · 1 line
2.25.1
author maintainer
#1 lore raw

PATCH 1/13 dt-bindings: timer: renesas: ostm: Document Renesas RZ/G2UL OSTM

commit f14eb061fe89de0a090837c28ea15a79403730ee upstream.

Document the General Timer Module(a.k.a OSTM) found on the RZ/G2UL SoC. OSTM module is identical to one found RZ/G2L SoC. No driver changes are required as generic compatible string "renesas,ostm" will be used as a fallback.

---
 Documentation/devicetree/bindings/timer/renesas,ostm.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/timer/renesas,ostm.yaml +2 -0
index c399a019dde7..7207929e5cd6 100644
@@ -23,6 +23,7 @@ properties:
       - enum:
           - renesas,r7s72100-ostm  # RZ/A1H
           - renesas,r7s9210-ostm   # RZ/A2M
+          - renesas,r9a07g043-ostm # RZ/G2UL
           - renesas,r9a07g044-ostm # RZ/G2{L,LC}
           - renesas,r9a07g054-ostm # RZ/V2L
       - const: renesas,ostm        # Generic
@@ -54,6 +55,7 @@ if:
     compatible:
       contains:
         enum:
+          - renesas,r9a07g043-ostm
           - renesas,r9a07g044-ostm
           - renesas,r9a07g054-ostm
 then:
Signature · 1 line
2.25.1
author maintainer
#2 lore raw

PATCH 2/13 dt-bindings: i2c: renesas,riic: Document RZ/G2UL SoC

In reply to Biju Das

commit db92a6eb8349c42b3d195ef7686bda5fdd98290e upstream.

Document RZ/G2UL I2C bindings. RZ/G2UL I2C is identical to one found on the RZ/G2L SoC. No driver changes are required as RZ/G2L compatible string "renesas,riic-rz" will be used as a fallback.

---
 Documentation/devicetree/bindings/i2c/renesas,riic.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/i2c/renesas,riic.yaml +2 -0
index 71405b924ce4..731db24bb99a 100644
@@ -19,6 +19,7 @@ properties:
       - enum:
           - renesas,riic-r7s72100   # RZ/A1H
           - renesas,riic-r7s9210    # RZ/A2M
+          - renesas,riic-r9a07g043  # RZ/G2UL
           - renesas,riic-r9a07g044  # RZ/G2{L,LC}
           - renesas,riic-r9a07g054  # RZ/V2L
       - const: renesas,riic-rz      # RZ/A or RZ/G2L
@@ -63,6 +64,7 @@ if:
     compatible:
       contains:
         enum:
+          - renesas,riic-r9a07g043
           - renesas,riic-r9a07g044
           - renesas,riic-r9a07g054
 then:
Signature · 1 line
2.25.1
author maintainer
#3 lore raw

PATCH 3/13 dt-bindings: usb: renesas,usbhs: Document RZ/G2UL bindings

In reply to Biju Das

commit 7a60fa06e80596dba5381fb018f5102ae4897658 upstream.

Document RZ/G2ULSoC bindings. USBHS block is identical to one found on RZ/A2 SoC. No driver changes are required as generic compatible string "renesas,rza2-usbhs" will be used as a fallback.

While at it, make the resets property required on RZ/{G2L,G2UL,V2L} SoC.

---
 Documentation/devicetree/bindings/usb/renesas,usbhs.yaml | 4 ++++
 1 file changed, 4 insertions(+)
Documentation/devicetree/bindings/usb/renesas,usbhs.yaml +4 -0
index a123a5056d74..18c301ef9698 100644
@@ -19,6 +19,7 @@ properties:
       - items:
           - enum:
               - renesas,usbhs-r7s9210   # RZ/A2
+              - renesas,usbhs-r9a07g043 # RZ/G2UL
               - renesas,usbhs-r9a07g044 # RZ/G2{L,LC}
               - renesas,usbhs-r9a07g054 # RZ/V2L
           - const: renesas,rza2-usbhs
@@ -123,6 +124,7 @@ allOf:
         compatible:
           contains:
             enum:
+              - renesas,usbhs-r9a07g043
               - renesas,usbhs-r9a07g044
               - renesas,usbhs-r9a07g054
     then:
@@ -133,6 +135,8 @@ allOf:
             - description: U2P_INT_DMA[0]
             - description: U2P_INT_DMA[1]
             - description: U2P_INT_DMAERR
+      required:
+        - resets
     else:
       properties:
         interrupts:
Signature · 1 line
2.25.1
author maintainer
#4 lore raw

PATCH 4/13 dt-bindings: can: renesas,rcar-canfd: Document RZ/G2UL support

In reply to Biju Das

commit 35a78bf20033d5d7b1c53cb5616732dbf6ec9890 upstream.

Add CANFD binding documentation for Renesas R9A07G043 (RZ/G2UL) SoC.

---
 .../devicetree/bindings/net/can/renesas,rcar-canfd.yaml          | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/net/can/renesas,rcar-canfd.yaml +1 -0
index 162a51a1232d..f538d9ec8f42 100644
@@ -32,6 +32,7 @@ properties:
 
       - items:
           - enum:
+              - renesas,r9a07g043-canfd    # RZ/G2UL
               - renesas,r9a07g044-canfd    # RZ/G2{L,LC}
               - renesas,r9a07g054-canfd    # RZ/V2L
           - const: renesas,rzg2l-canfd     # RZ/G2L family
Signature · 1 line
2.25.1
author maintainer
#5 lore raw

PATCH 5/13 dt-bindings: phy: renesas,usb2-phy: Document RZ/G2UL phy bindings

In reply to Biju Das

commit bc055a50a8594a634e09a7286601d0d2bd51c734 upstream.

Document USB phy bindings for RZ/G2UL SoC. RZ/G2UL USB phy is identical to one found on the RZ/G2L SoC. No driver changes are required as generic compatible string "renesas,rzg2l-usb2-phy" will be used as a fallback.

---
 Documentation/devicetree/bindings/phy/renesas,usb2-phy.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/phy/renesas,usb2-phy.yaml +1 -0
index 7c2ae65f3121..349c48fabb0a 100644
@@ -32,6 +32,7 @@ properties:
 
       - items:
           - enum:
+              - renesas,usb2-phy-r9a07g043 # RZ/G2UL
               - renesas,usb2-phy-r9a07g044 # RZ/G2{L,LC}
               - renesas,usb2-phy-r9a07g054 # RZ/V2L
           - const: renesas,rzg2l-usb2-phy
Signature · 1 line
2.25.1
author maintainer
#6 lore raw

PATCH 6/13 spi: dt-bindings: renesas,rspi: Document RZ/G2UL SoC

In reply to Biju Das

commit dfc6597eb1e1604575c6e061e1a9be0048d17b2c upstream.

Add RSPI binding documentation for Renesas RZ/G2UL SoC.

RSPI block is identical to one found on RZ/A, so no driver changes are required. The fallback compatible string "renesas,rspi-rz" will be used on RZ/G2UL.

---
 Documentation/devicetree/bindings/spi/renesas,rspi.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/spi/renesas,rspi.yaml +2 -0
index c1a716771edc..fd3580efc8be 100644
@@ -21,6 +21,7 @@ properties:
           - enum:
               - renesas,rspi-r7s72100  # RZ/A1H
               - renesas,rspi-r7s9210   # RZ/A2
+              - renesas,r9a07g043-rspi # RZ/G2UL
               - renesas,r9a07g044-rspi # RZ/G2{L,LC}
               - renesas,r9a07g054-rspi # RZ/V2L
           - const: renesas,rspi-rz     # RZ/A and RZ/G2{L,LC}
@@ -122,6 +123,7 @@ allOf:
           contains:
             enum:
               - renesas,qspi
+              - renesas,r9a07g043-rspi
               - renesas,r9a07g044-rspi
               - renesas,r9a07g054-rspi
     then:
Signature · 1 line
2.25.1
author maintainer
#7 lore raw

PATCH 7/13 dt-bindings: memory: renesas,rpc-if: Document RZ/G2UL SoC

In reply to Biju Das

commit 5652dc5cd96765d236ada1006db1d467c523c3b4 upstream.

Document RZ/G2UL RPC-IF bindings. RZ/G2UL RPC-IF is identical to one found on the RZ/G2L SoC. No driver changes are required as generic compatible string "renesas,rzg2l-rpc-if" will be used as a fallback.

---
 .../devicetree/bindings/memory-controllers/renesas,rpc-if.yaml   | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/memory-controllers/renesas,rpc-if.yaml +1 -0
index f07b6193745a..98e5bcabf889 100644
@@ -34,6 +34,7 @@ properties:
 
       - items:
           - enum:
+              - renesas,r9a07g043-rpc-if      # RZ/G2UL
               - renesas,r9a07g044-rpc-if      # RZ/G2{L,LC}
               - renesas,r9a07g054-rpc-if      # RZ/V2L
           - const: renesas,rzg2l-rpc-if
Signature · 1 line
2.25.1
author maintainer
#8 lore raw

PATCH 8/13 dt-bindings: thermal: rzg2l-thermal: Document RZ/G2UL bindings

In reply to Biju Das

commit e126ce0bcc082382497219c323e1b941583c9036 upstream.

Document RZ/G2UL TSU bindings. The TSU block on RZ/G2UL is identical to one found on RZ/G2L SoC. No driver changes are required as generic compatible string "renesas,rzg2l-tsu" will be used as a fallback.

---
 Documentation/devicetree/bindings/thermal/rzg2l-thermal.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/thermal/rzg2l-thermal.yaml +1 -0
index dfb6dce5652a..1d8373397848 100644
@@ -17,6 +17,7 @@ properties:
   compatible:
     items:
       - enum:
+          - renesas,r9a07g043-tsu # RZ/G2UL
           - renesas,r9a07g044-tsu # RZ/G2{L,LC}
           - renesas,r9a07g054-tsu # RZ/V2L
       - const: renesas,rzg2l-tsu
Signature · 1 line
2.25.1
author maintainer
#9 lore raw

PATCH 9/13 dt-bindings: watchdog: renesas,wdt: Document RZ/G2UL SoC

In reply to Biju Das

commit af84a5a75344871c44ddbf4ab901c3427909f893 upstream.

Document RZ/G2UL WDT bindings. RZ/G2UL WDT is similar to one found on the RZ/G2L SoC. No driver changes are required as generic compatible string "renesas,rzg2l-wdt" will be used as a fallback.

---
 Documentation/devicetree/bindings/watchdog/renesas,wdt.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/watchdog/renesas,wdt.yaml +1 -0
index 354929ec4044..b06c4219b8b9 100644
@@ -21,6 +21,7 @@ properties:
 
       - items:
           - enum:
+              - renesas,r9a07g043-wdt    # RZ/G2UL
               - renesas,r9a07g044-wdt    # RZ/G2{L,LC}
               - renesas,r9a07g054-wdt    # RZ/V2L
           - const: renesas,rzg2l-wdt
Signature · 1 line
2.25.1
author maintainer
#10 lore raw

PATCH 10/13 ASoC: dt-bindings: renesas,rz-ssi: Document RZ/G2UL SoC

In reply to Biju Das

commit 71ba950f3b1f1468afc2f793ec52644602ebaf9b upstream.

Document RZ/G2U2L SSI bindings. RZ/G2UL SSI is identical to one found on the RZ/G2L SoC. No driver changes are required as generic compatible string "renesas,rz-ssi" will be used as a fallback.

While at it add a '.' at the end of dmas description for the first cell.

---
 Documentation/devicetree/bindings/sound/renesas,rz-ssi.yaml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/sound/renesas,rz-ssi.yaml +2 -1
index 7e8d252f7bca..0d9840375132 100644
@@ -13,6 +13,7 @@ properties:
   compatible:
     items:
       - enum:
+          - renesas,r9a07g043-ssi  # RZ/G2UL
           - renesas,r9a07g044-ssi  # RZ/G2{L,LC}
           - renesas,r9a07g054-ssi  # RZ/V2L
       - const: renesas,rz-ssi
@@ -50,7 +51,7 @@ properties:
     minItems: 1
     maxItems: 2
     description:
-      The first cell represents a phandle to dmac
+      The first cell represents a phandle to dmac.
       The second cell specifies the encoded MID/RID values of the SSI port
       connected to the DMA client and the slave channel configuration
       parameters.
Signature · 1 line
2.25.1
author maintainer
#11 lore raw

PATCH 11/13 dt-bindings: iio: adc: Document Renesas RZ/V2L ADC

In reply to Biju Das

commit 42763b249aaa0ec8950b433c3cbed021c9779a95 upstream.

Document renesas RZ/V2L ADC bindings. RZ/V2L ADC is identical to RZ/G2L with same number of channels.

While at it remove RZ/G2LC SoC from binding documentation as it does not support ADC.

---
 .../devicetree/bindings/iio/adc/renesas,rzg2l-adc.yaml         | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/iio/adc/renesas,rzg2l-adc.yaml +2 -1
index c80201d6a716..d66c24cae1e1 100644
@@ -19,7 +19,8 @@ properties:
   compatible:
     items:
       - enum:
-          - renesas,r9a07g044-adc   # RZ/G2{L,LC}
+          - renesas,r9a07g044-adc   # RZ/G2L
+          - renesas,r9a07g054-adc   # RZ/V2L
       - const: renesas,rzg2l-adc
 
   reg:
Signature · 1 line
2.25.1
author maintainer
#12 lore raw

PATCH 12/13 dt-bindings: iio: adc: Document Renesas RZ/G2UL ADC

In reply to Biju Das

commit 153415feda2eec936e29be6d1e7f74375c5d6d0d upstream.

Document Renesas RZ/G2UL ADC bindings. RZ/G2UL ADC is almost identical to RZ/G2L, but it has 2 analog input channels compared to 8 channels on the RZ/G2L.

---
 .../bindings/iio/adc/renesas,rzg2l-adc.yaml   | 28 ++++++++++++++++---
 1 file changed, 24 insertions(+), 4 deletions(-)
Documentation/devicetree/bindings/iio/adc/renesas,rzg2l-adc.yaml +24 -4
index d66c24cae1e1..61c6157cf5a9 100644
@@ -19,6 +19,7 @@ properties:
   compatible:
     items:
       - enum:
+          - renesas,r9a07g043-adc   # RZ/G2UL
           - renesas,r9a07g044-adc   # RZ/G2L
           - renesas,r9a07g054-adc   # RZ/V2L
       - const: renesas,rzg2l-adc
@@ -76,16 +77,35 @@ patternProperties:
     properties:
       reg:
         description: |
-          The channel number. It can have up to 8 channels numbered from 0 to 7.
-        items:
-          - minimum: 0
-            maximum: 7
+          The channel number.
 
     required:
       - reg
 
     additionalProperties: false
 
+allOf:
+  - if:
+      properties:
+        compatible:
+          contains:
+            const: renesas,r9a07g043-adc
+    then:
+      patternProperties:
+        "^channel@[2-7]$": false
+        "^channel@[0-1]$":
+          properties:
+            reg:
+              minimum: 0
+              maximum: 1
+    else:
+      patternProperties:
+        "^channel@[0-7]$":
+          properties:
+            reg:
+              minimum: 0
+              maximum: 7
+
 additionalProperties: false
 
 examples:
Signature · 1 line
2.25.1
author maintainer
#13 lore raw

PATCH 13/13 dt-bindings: reset: renesas,rzg2l-usbphy-ctrl: Document RZ/G2UL USBPHY Control bindings

In reply to Biju Das

commit 9c68d4e621ebfc166f672fa7afe14591f91d144c upstream.

Add device tree binding document for RZ/G2UL USBPHY Control Device. RZ/G2UL USBPHY Control Device is identical to one found on the RZ/G2L SoC. No driver changes are required as generic compatible string "renesas,rzg2l-usbphy-ctrl" will be used as a fallback.

---
 .../devicetree/bindings/reset/renesas,rzg2l-usbphy-ctrl.yaml     | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/reset/renesas,rzg2l-usbphy-ctrl.yaml +1 -0
index 86c2569ced97..731b8ce01525 100644
@@ -17,6 +17,7 @@ properties:
   compatible:
     items:
       - enum:
+          - renesas,r9a07g043-usbphy-ctrl # RZ/G2UL
           - renesas,r9a07g044-usbphy-ctrl # RZ/G2{L,LC}
           - renesas,r9a07g054-usbphy-ctrl # RZ/V2L
       - const: renesas,rzg2l-usbphy-ctrl
Signature · 1 line
2.25.1
Applied
#14 lore raw
In reply to Biju Das

Hi!

Quoted 2 lines

This patch series aims to document various IP's present in RZ/G2UL SoC and RZ/V2L ADC.

Thank you, applied.

Best regards,
Pavel

Signature · 2 lines
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany