diff options
author | 2021-11-15 17:06:00 +0100 | |
---|---|---|
committer | 2021-11-19 11:22:37 +0100 | |
commit | e051025efac3929ca7e3e2f2c8860d3447366ebc (patch) | |
tree | 3932e5a7b5cf7153abe0c897143eb31a6efbb7a4 | |
parent | Linux 5.16-rc1 (diff) | |
download | wireguard-linux-e051025efac3929ca7e3e2f2c8860d3447366ebc.tar.xz wireguard-linux-e051025efac3929ca7e3e2f2c8860d3447366ebc.zip |
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>
-rw-r--r-- | Documentation/devicetree/bindings/mmc/renesas,sdhi.yaml | 38 |
1 files changed, 29 insertions, 9 deletions
diff --git a/Documentation/devicetree/bindings/mmc/renesas,sdhi.yaml b/Documentation/devicetree/bindings/mmc/renesas,sdhi.yaml index 9f1e7092cf44..f5107a641790 100644 --- a/Documentation/devicetree/bindings/mmc/renesas,sdhi.yaml +++ b/Documentation/devicetree/bindings/mmc/renesas,sdhi.yaml @@ -129,15 +129,35 @@ allOf: - 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: |