diff options
author | Johan Jonker <jbx6244@gmail.com> | 2020-03-07 19:05:56 +0300 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2020-03-24 16:39:52 +0300 |
commit | 398b25003d3a2747109015f3fe719bbee94cb82b (patch) | |
tree | c171c993779492659a5d9acaa1305c4436ab8325 /Documentation/pcmcia/index.rst | |
parent | ff124c31ccd706c79c7a87c31a77b80fd89cd48b (diff) | |
download | linux-398b25003d3a2747109015f3fe719bbee94cb82b.tar.xz |
dt-bindings: mmc: synopsys-dw-mshc: fix clock-freq-min-max in example
A test with the command below does not detect all errors
in combination with 'additionalProperties: false' and
allOf:
- $ref: "synopsys-dw-mshc-common.yaml#"
allOf:
- $ref: "mmc-controller.yaml#"
'additionalProperties' applies to all properties that are not
accounted-for by 'properties' or 'patternProperties' in
the immediate schema.
First when we combine synopsys-dw-mshc.yaml,
synopsys-dw-mshc-common.yaml and mmc-controller.yaml it gives
this error:
Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.example.dt.yaml:
mmc@12200000: 'clock-freq-min-max' does not match any of the regexes:
'^.*@[0-9]+$', '^clk-phase-(legacy|sd-hs|mmc-(hs|hs[24]00|ddr52)|
uhs-(sdr(12|25|50|104)|ddr50))$', 'pinctrl-[0-9]+'
'clock-freq-min-max' is deprecated, so replace it by 'max-frequency'.
make ARCH=arm dt_binding_check
DT_SCHEMA_FILES=Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.yaml
Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Link: https://lore.kernel.org/r/20200307160556.16226-1-jbx6244@gmail.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'Documentation/pcmcia/index.rst')
0 files changed, 0 insertions, 0 deletions