Skip to content

Commit 9374528

Browse files
bijudasstorulf
authored andcommitted
dt-bindings: mmc: renesas,sdhi: Document RZ/G3E support
The SD/MMC block on the RZ/G3E ("R9A09G047") SoC is similar to that of the RZ/V2H, but the SD0 channel has only dedicated pins, so we must use SD_STATUS register to control voltage and power enable (internal regulator), for non-fixed voltage (SD) MMC interface. However, it is optional for fixed voltage MMC interface (eMMC). For SD1 and SD2 channels, we can either use gpio regulator or internal regulator (using SD_STATUS register) for voltage switching. Document RZ/G3E SDHI IP support with optional internal regulator for both RZ/G3E and RZ/V2H SoC. Acked-by: Conor Dooley <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Reviewed-by: Wolfram Sang <[email protected]> Signed-off-by: Biju Das <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ulf Hansson <[email protected]>
1 parent ab5d707 commit 9374528

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

Documentation/devicetree/bindings/mmc/renesas,sdhi.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ properties:
6868
- renesas,sdhi-r9a08g045 # RZ/G3S
6969
- renesas,sdhi-r9a09g011 # RZ/V2M
7070
- const: renesas,rzg2l-sdhi
71+
- items:
72+
- const: renesas,sdhi-r9a09g047 # RZ/G3E
73+
- const: renesas,sdhi-r9a09g057 # RZ/V2H(P)
7174

7275
reg:
7376
maxItems: 1
@@ -211,6 +214,19 @@ allOf:
211214
sectioned off to be run by a separate second clock source to allow
212215
the main core clock to be turned off to save power.
213216

217+
- if:
218+
properties:
219+
compatible:
220+
contains:
221+
const: renesas,sdhi-r9a09g057
222+
then:
223+
properties:
224+
vqmmc-regulator:
225+
type: object
226+
description: VQMMC SD regulator
227+
$ref: /schemas/regulator/regulator.yaml#
228+
unevaluatedProperties: false
229+
214230
required:
215231
- compatible
216232
- reg

0 commit comments

Comments
 (0)