dt-bindings: memory-controller: st,stm32: Split off MC properties
authorMarek Vasut <marex@denx.de>
Wed, 28 Sep 2022 18:19:44 +0000 (20:19 +0200)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 18 Oct 2022 17:05:18 +0000 (13:05 -0400)
commita11a5debdf4b5b5c24e88a378b53b42cc4fe1bb9
tree26fa709d595824715c472342ed099103c4ab5258
parent4985a54552e7342a4a0073245ed1f4829961fb8e
dt-bindings: memory-controller: st,stm32: Split off MC properties

Split st,stm32-fmc2-ebi.yaml specific properties into
st,stm32-fmc2-ebi-props.yaml, split memory-controller bus peripheral
properties into mc-peripheral-props.yaml, reference the
st,stm32-fmc2-ebi-props.yaml in mc-peripheral-props.yaml and reference
the mc-peripheral-props.yaml in micrel,ks8851.yaml.

This way, the FMC2 controller properties in Micrel KSZ8851MLL ethernet
controller node can be properly validated.

Fixes the following warning:
  arch/arm/boot/dts/stm32mp153c-dhcor-drc-compact.dtb: ethernet@1,0:
    Unevaluated properties are not allowed ('bank-width', 'st,fmc2-ebi-cs-mux-enable', ... 'st,fmc2-ebi-cs-write-data-hold-ns' were unexpected)

Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Marek Vasut <marex@denx.de>
Link: https://lore.kernel.org/r/20220928181944.194808-1-marex@denx.de
[krzk: trim warning message]
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Documentation/devicetree/bindings/memory-controllers/mc-peripheral-props.yaml [new file with mode: 0644]
Documentation/devicetree/bindings/memory-controllers/st,stm32-fmc2-ebi-props.yaml [new file with mode: 0644]
Documentation/devicetree/bindings/memory-controllers/st,stm32-fmc2-ebi.yaml
Documentation/devicetree/bindings/net/micrel,ks8851.yaml