summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/mmc
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2024-08-18 19:29:23 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2024-08-26 13:01:50 +0200
commit1645e815cb5c10ee7df736408d2afc9b7bcfd606 (patch)
treebdbf7fd0515f6445dd3f4b539a0741f2b9a4bca1 /Documentation/devicetree/bindings/mmc
parentmmc: mtk-sd: Improve data type in msdc_timeout_cal() (diff)
downloadlinux-1645e815cb5c10ee7df736408d2afc9b7bcfd606.tar.xz
linux-1645e815cb5c10ee7df736408d2afc9b7bcfd606.zip
dt-bindings: mmc: renesas,sdhi: add top-level constraints
Properties with variable number of items per each device are expected to have widest constraints in top-level "properties:" block and further customized (narrowed) in "if:then:". Add missing top-level constraints for clocks. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Rob Herring (Arm) <robh@kernel.org> Link: https://lore.kernel.org/r/20240818172923.121867-1-krzysztof.kozlowski@linaro.org Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings/mmc')
-rw-r--r--Documentation/devicetree/bindings/mmc/renesas,sdhi.yaml8
1 files changed, 6 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/mmc/renesas,sdhi.yaml b/Documentation/devicetree/bindings/mmc/renesas,sdhi.yaml
index 92622d65f12f..af378b9ff3f4 100644
--- a/Documentation/devicetree/bindings/mmc/renesas,sdhi.yaml
+++ b/Documentation/devicetree/bindings/mmc/renesas,sdhi.yaml
@@ -76,9 +76,13 @@ properties:
minItems: 1
maxItems: 3
- clocks: true
+ clocks:
+ minItems: 1
+ maxItems: 4
- clock-names: true
+ clock-names:
+ minItems: 1
+ maxItems: 4
dmas:
minItems: 4