• Johan Jonker's avatar
    arm64: dts: rockchip: replace clock-freq-min-max by max-frequency · b6e62d37
    Johan Jonker authored
    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 rockchip-dw-mshc.yaml,
    synopsys-dw-mshc-common.yaml and mmc-controller.yaml it gives
    for example this error:
    
    arch/arm64/boot/dts/rockchip/rk3399-hugsun-x99.dt.yaml: mmc@fe320000:
    '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=arm64 dtbs_check
    DT_SCHEMA_FILES=Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml
    Signed-off-by: default avatarJohan Jonker <jbx6244@gmail.com>
    Link: https://lore.kernel.org/r/20200307134841.13803-5-jbx6244@gmail.comSigned-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
    b6e62d37
rk3399-rock960.dtsi 12.8 KB