Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: mmc: renesas,sdhi: Add optional SDnH clock

This only applies to R-Car Gen2 and later generations, so we need to
distinguish.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Link: https://lore.kernel.org/r/20211115160600.4455-1-wsa+renesas@sang-engineering.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

authored by

Wolfram Sang and committed by
Geert Uytterhoeven
e051025e fa55b7dc

+29 -9
+29 -9
Documentation/devicetree/bindings/mmc/renesas,sdhi.yaml
··· 129 129 - clock-names 130 130 - resets 131 131 else: 132 - properties: 133 - clocks: 134 - minItems: 1 135 - maxItems: 2 136 - clock-names: 137 - minItems: 1 138 - items: 139 - - const: core 140 - - const: cd 132 + if: 133 + properties: 134 + compatible: 135 + contains: 136 + enum: 137 + - renesas,rcar-gen2-sdhi 138 + - renesas,rcar-gen3-sdhi 139 + then: 140 + properties: 141 + clocks: 142 + minItems: 1 143 + maxItems: 3 144 + clock-names: 145 + minItems: 1 146 + uniqueItems: true 147 + items: 148 + - const: core 149 + - enum: [ clkh, cd ] 150 + - const: cd 151 + else: 152 + properties: 153 + clocks: 154 + minItems: 1 155 + maxItems: 2 156 + clock-names: 157 + minItems: 1 158 + items: 159 + - const: core 160 + - const: cd 141 161 142 162 - if: 143 163 properties: