Skip to content

Commit a119357

Browse files
Fabio Estevamstorulf
authored andcommitted
dt-bindings: mmc: fsl-imx-mmc: Document the required clocks
The fsl-imx-mmc hardware needs two clocks to operate: ipg and per. Document these required clocks. This fixes the following schema warning: imx27-apf27dev.dtb: mmc@10014000: Unevaluated properties are not allowed ('clock-names', 'clocks' were unexpected) from schema $id: http://devicetree.org/schemas/mmc/fsl-imx-mmc.yaml# Signed-off-by: Fabio Estevam <[email protected]> Acked-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ulf Hansson <[email protected]>
1 parent 4d4a2c7 commit a119357

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Documentation/devicetree/bindings/mmc/fsl-imx-mmc.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,14 @@ properties:
2424
reg:
2525
maxItems: 1
2626

27+
clocks:
28+
maxItems: 2
29+
30+
clock-names:
31+
items:
32+
- const: ipg
33+
- const: per
34+
2735
interrupts:
2836
maxItems: 1
2937

@@ -34,6 +42,8 @@ properties:
3442
const: rx-tx
3543

3644
required:
45+
- clocks
46+
- clock-names
3747
- compatible
3848
- reg
3949
- interrupts
@@ -46,6 +56,8 @@ examples:
4656
compatible = "fsl,imx27-mmc", "fsl,imx21-mmc";
4757
reg = <0x10014000 0x1000>;
4858
interrupts = <11>;
59+
clocks = <&clks 29>, <&clks 60>;
60+
clock-names = "ipg", "per";
4961
dmas = <&dma 7>;
5062
dma-names = "rx-tx";
5163
bus-width = <4>;

0 commit comments

Comments
 (0)