Skip to content

Commit 710d4d9

Browse files
Michal SimekUlf Hansson
authored andcommitted
dt-bindings: mmc: Add missing description for clk_in/out_sd1
The commit a8fdb80 ("arm64: zynqmp: Add ZynqMP SDHCI compatible string") added clock-output-names for both SDHCIs before DT binding yaml conversion. But only clk_in/out_sd0 clock names have been covered by DT binding which ends up with dt yaml checking warnings as: From schema: .../Documentation/devicetree/bindings/mmc/arasan,sdhci.yaml ... mmc@ff170000: clock-output-names:0: 'clk_out_sd0' was expected ... mmc@ff170000: clock-output-names:1: 'clk_in_sd0' was expected Fixes: 16ecd8f ("dt-bindings: mmc: convert arasan sdhci bindings to yaml") Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Manish Narani <manish.narani@xilinx.com> Link: https://lore.kernel.org/r/aef586778921c93377ec2f31c86e151b6e93f6c7.1598257520.git.michal.simek@xilinx.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
1 parent 855d388 commit 710d4d9

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

Documentation/devicetree/bindings/mmc/arasan,sdhci.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,13 @@ allOf:
3030
then:
3131
properties:
3232
clock-output-names:
33-
items:
34-
- const: clk_out_sd0
35-
- const: clk_in_sd0
33+
oneOf:
34+
- items:
35+
- const: clk_out_sd0
36+
- const: clk_in_sd0
37+
- items:
38+
- const: clk_out_sd1
39+
- const: clk_in_sd1
3640

3741
properties:
3842
compatible:

0 commit comments

Comments
 (0)