arm64: dts: rockchip: remove max-freq from &spi1 node for Hugsun X99
Subsystems (2)
PATCH 1/1 arm64: dts: rockchip: remove max-freq from &spi1 node for Hugsun X99
A test with the command below does not detect all errors in combination with 'additionalProperties: false' and allOf:
- $ref: "spi-controller.yaml#"
'additionalProperties' applies to all properties that are not accounted-for by 'properties' or 'patternProperties' in the immediate schema.
First when we combine spi-rockchip.yaml andspi-controller.yaml it gives this error:
arch/arm64/boot/dts/rockchip/rk3399-hugsun-x99.dt.yaml: spi@ff1d0000:
'max-freq' does not match any of the regexes:
'^.*@[0-9a-f]+$', '^slave$'
'max-freq' is not a valid property name for spi nodes, so remove it.
make ARCH=arm64 dtbs_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/spi/spi-rockchip.yaml
--- arch/arm64/boot/dts/rockchip/rk3399-hugsun-x99.dts | 1 - 1 file changed, 1 deletion(-)
arch/arm64/boot/dts/rockchip/rk3399-hugsun-x99.dts +0 -1
@@ -610,7 +610,6 @@ &spi1 { status = "okay"; - max-freq = <10000000>; flash@0 { compatible = "jedec,spi-nor";
Signature · 1 line
2.11.0
Heiko Stuebner
maintainerAm Montag, 9. März 2020, 13:51:45 CET schrieb Johan Jonker:
Quoted 16 lines
A test with the command below does not detect all errors in combination with 'additionalProperties: false' and allOf:
- $ref: "spi-controller.yaml#"'additionalProperties' applies to all properties that are not accounted-for by 'properties' or 'patternProperties' in the immediate schema.
First when we combine
spi-rockchip.yamlandspi-controller.yamlit gives this error:
arch/arm64/boot/dts/rockchip/rk3399-hugsun-x99.dt.yaml: spi@ff1d0000:
'max-freq' does not match any of the regexes:
'^.*@[0-9a-f]+$', '^slave$'
Quoted 7 lines
'max-freq' is not a valid property name for spi nodes, so remove it.
make ARCH=arm64
dtbs_checkDT_SCHEMA_FILES=Documentation/devicetree/bindings/spi/spi-rockchip.yamlSigned-off-by Johan Jonker <[email protected]>
applied for 5.7
Thanks
Heiko