Renesas DT binding updates for v5.17

- Document SDHI SDnH clocks on R-Car Gen2 and later,
   - Document core support for the R-Car S4-8 (R8A779F0) SoC.
 -----BEGIN PGP SIGNATURE-----
 
 iHUEABYIAB0WIQQ9qaHoIs/1I4cXmEiKwlD9ZEnxcAUCYanz9wAKCRCKwlD9ZEnx
 cHB4AQCg4Wcw/gE6K55kmAbRO1zeQadOm5fiNSZtyrUE9AoVJAEAuu9Y+exGwI/I
 kClo+FYWQpyoMxCvZOS7P5I5vjAorg0=
 =bHkT
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmG3pdcACgkQmmx57+YA
 GNkKNg//UkGOCor4mked82YLMh6dr9zn95V+S/en6zXTYNCafFwIiHZl/K/X6qj4
 DRbRM0Vqt057m+8E8RWutamTz5TOe/Ye+0PjHuS3evwfZKLhKTmfAfxttKuU9XI5
 T/laNWsuQVDodZ6zWSRWGQWxgHVYhYD33rJdW1ysDhH9V0Fu8TtQk2gEhS2bJsXI
 pH1l4mcLDgQnlrCNhtCpBUJ6A+5C0j4iQNKCa65tbYCsXm6Zy5xljUlR/rp13eA6
 tyKPhflxes5g1Y1UPwZHMNbOcN7e/Ro+PdJZ51SgLExk/ri9NJPnjqOAEvoKMEtO
 CtfQ4x2fvKW2f8XVmXk99aG/4VCzZfJv3bjDY20E5bmi3npoES+dHdhjZCcBlwKz
 jxcaWNCJT5Ggup7qiOqZblkr/+Y8oq2u7C8uFG8Q2H8qfqEZybc6SQnEUDbfpsWX
 5nVh+4lxauUaZAJ0zKpGTMlBaCrZzXN/rhuEXb6DAHk027ZdQ7gwF/RmMoiozsph
 NjZTZmRPZ4BXpgk8dKlTg/mQuXOk9yd3t+tjD9amWCWk+mP7fVhBDV6ffebDO88F
 tupHTRF7b2ojVKJlNWkBsfvYt8LJEwwo2DFL1F4M9iZUkDC/ZSBSxn0btcJ7Aw/V
 yr4QaP1xT8mT21/TQuLB4uHD9kkvpsnIQpHaqbRdCvXsTPCRsTA=
 =f2oG
 -----END PGP SIGNATURE-----

Merge tag 'renesas-dt-bindings-for-v5.17-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel into arm/dt

Renesas DT binding updates for v5.17

  - Document SDHI SDnH clocks on R-Car Gen2 and later,
  - Document core support for the R-Car S4-8 (R8A779F0) SoC.

* tag 'renesas-dt-bindings-for-v5.17-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel:
  dt-bindings: mmc: renesas,sdhi: Rename RZ/G2L clocks
  dt-bindings: power: renesas,rcar-sysc: Document r8a779f0 SYSC bindings
  dt-bindings: reset: renesas,rst: Document r8a779f0 reset module
  dt-bindings: arm: renesas: Document R-Car S4-8 SoC DT bindings
  dt-bindings: mmc: renesas,sdhi: Add optional SDnH clock

Link: https://lore.kernel.org/r/cover.1638530614.git.geert+renesas@glider.be
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
Arnd Bergmann 2021-12-13 20:58:14 +01:00
commit 541b107ccc
4 changed files with 40 additions and 14 deletions

View File

@ -315,6 +315,10 @@ properties:
- const: renesas,falcon-cpu
- const: renesas,r8a779a0
- description: R-Car S4-8 (R8A779F0)
items:
- const: renesas,r8a779f0
- description: R-Car H3e (R8A779M0)
items:
- enum:

View File

@ -113,31 +113,51 @@ allOf:
clocks:
items:
- description: IMCLK, SDHI channel main clock1.
- description: CLK_HS, SDHI channel High speed clock which operates
4 times that of SDHI channel main clock1.
- description: IMCLK2, SDHI channel main clock2. When this clock is
turned off, external SD card detection cannot be
detected.
- description: CLK_HS, SDHI channel High speed clock which operates
4 times that of SDHI channel main clock1.
- description: ACLK, SDHI channel bus clock.
clock-names:
items:
- const: imclk
- const: imclk2
- const: clk_hs
- const: core
- const: clkh
- const: cd
- const: aclk
required:
- clock-names
- resets
else:
properties:
clocks:
minItems: 1
maxItems: 2
clock-names:
minItems: 1
items:
- const: core
- const: cd
if:
properties:
compatible:
contains:
enum:
- renesas,rcar-gen2-sdhi
- renesas,rcar-gen3-sdhi
then:
properties:
clocks:
minItems: 1
maxItems: 3
clock-names:
minItems: 1
uniqueItems: true
items:
- const: core
- enum: [ clkh, cd ]
- const: cd
else:
properties:
clocks:
minItems: 1
maxItems: 2
clock-names:
minItems: 1
items:
- const: core
- const: cd
- if:
properties:

View File

@ -41,6 +41,7 @@ properties:
- renesas,r8a77990-sysc # R-Car E3
- renesas,r8a77995-sysc # R-Car D3
- renesas,r8a779a0-sysc # R-Car V3U
- renesas,r8a779f0-sysc # R-Car S4-8
reg:
maxItems: 1

View File

@ -48,6 +48,7 @@ properties:
- renesas,r8a77990-rst # R-Car E3
- renesas,r8a77995-rst # R-Car D3
- renesas,r8a779a0-rst # R-Car V3U
- renesas,r8a779f0-rst # R-Car S4-8
reg:
maxItems: 1