Skip to content

Commit d640af4

Browse files
prabhakarladstorulf
authored andcommitted
dt-bindings: mmc: renesas,sdhi: Document RZ/G2L family compatibility
- RZ/G2UL and RZ/Five ("r9a07g043") - RZ/G2L(C) ("r9a07g044") - RZ/V2L ("r9a07g054") - RZ/G3S ("r9a08g045") - RZ/V2M ("r9a09g011") The SD/MMC Interface in the above listed SoCs is not identical to that of R-Car Gen3. These SoCs have HS400 disabled and use fixed address mode. Therefore, we need to apply fixed_addr_mode and hs400_disabled quirks. Document 'renesas,rzg2l-sdhi' as a generic compatible string for the above SoCs. Also now use the 'renesas,rzg2l-sdhi' string in the if check for making sure the required clocks are present. Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/20240430145937.133643-3-prabhakar.mahadev-lad.rj@bp.renesas.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
1 parent 493d2b2 commit d640af4

1 file changed

Lines changed: 9 additions & 11 deletions

File tree

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

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,6 @@ properties:
5151
- renesas,sdhi-r8a77980 # R-Car V3H
5252
- renesas,sdhi-r8a77990 # R-Car E3
5353
- renesas,sdhi-r8a77995 # R-Car D3
54-
- renesas,sdhi-r9a07g043 # RZ/G2UL and RZ/Five
55-
- renesas,sdhi-r9a07g044 # RZ/G2{L,LC}
56-
- renesas,sdhi-r9a07g054 # RZ/V2L
57-
- renesas,sdhi-r9a08g045 # RZ/G3S
58-
- renesas,sdhi-r9a09g011 # RZ/V2M
5954
- const: renesas,rcar-gen3-sdhi # R-Car Gen3 or RZ/G2
6055
- items:
6156
- enum:
@@ -64,6 +59,14 @@ properties:
6459
- renesas,sdhi-r8a779g0 # R-Car V4H
6560
- renesas,sdhi-r8a779h0 # R-Car V4M
6661
- const: renesas,rcar-gen4-sdhi # R-Car Gen4
62+
- items:
63+
- enum:
64+
- renesas,sdhi-r9a07g043 # RZ/G2UL and RZ/Five
65+
- renesas,sdhi-r9a07g044 # RZ/G2{L,LC}
66+
- renesas,sdhi-r9a07g054 # RZ/V2L
67+
- renesas,sdhi-r9a08g045 # RZ/G3S
68+
- renesas,sdhi-r9a09g011 # RZ/V2M
69+
- const: renesas,rzg2l-sdhi
6770

6871
reg:
6972
maxItems: 1
@@ -115,12 +118,7 @@ allOf:
115118
properties:
116119
compatible:
117120
contains:
118-
enum:
119-
- renesas,sdhi-r9a07g043
120-
- renesas,sdhi-r9a07g044
121-
- renesas,sdhi-r9a07g054
122-
- renesas,sdhi-r9a08g045
123-
- renesas,sdhi-r9a09g011
121+
const: renesas,rzg2l-sdhi
124122
then:
125123
properties:
126124
clocks:

0 commit comments

Comments
 (0)