Unverified Commit 6aa27071 authored by Rob Herring's avatar Rob Herring Committed by Mark Brown
Browse files

spi: dt-bindings: Fix unevaluatedProperties warnings in examples



The 'unevaluatedProperties' schema checks is not fully working and doesn't
catch some cases where there's a $ref to another schema. A fix is pending,
but results in new warnings in examples.

'spi-max-frequency' is supposed to be a per SPI peripheral device property,
not a SPI controller property, so drop it.

Signed-off-by: default avatarRob Herring <robh@kernel.org>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: default avatarConor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20220526014141.2872567-1-robh@kernel.org


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 2283679f
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -47,6 +47,5 @@ examples:
        clocks = <&clkcfg CLK_SPI0>;
        interrupt-parent = <&plic>;
        interrupts = <54>;
        spi-max-frequency = <25000000>;
    };
...
+0 −1
Original line number Diff line number Diff line
@@ -110,7 +110,6 @@ examples:
        pinctrl-names = "default";
        pinctrl-0 = <&qup_spi1_default>;
        interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
        spi-max-frequency = <50000000>;
        #address-cells = <1>;
        #size-cells = <0>;
    };