ARM: dts: qcom: ipq8064: drop spi-max-frequency from controller
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 19 Jun 2023 17:01:50 +0000 (19:01 +0200)
committerBjorn Andersson <andersson@kernel.org>
Mon, 10 Jul 2023 04:14:35 +0000 (21:14 -0700)
spi-max-frequency is a property of SPI device, not SPI controller.  Drop
it from the controller nodes.  No functional impact expected because
child SPI device already defines spi-max-frequency.  This fixes
dtbs_check warnings like:

  qcom-ipq8064-ap148.dtb: spi@1a280000: Unevaluated properties are not allowed ('spi-max-frequency' was unexpected)

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20230619170151.65505-3-krzysztof.kozlowski@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm/boot/dts/qcom/qcom-ipq8064-rb3011.dts
arch/arm/boot/dts/qcom/qcom-ipq8064-v1.0.dtsi

index 104eb72..1796ded 100644 (file)
 
                        spi4: spi@1a280000 {
                                status = "okay";
-                               spi-max-frequency = <50000000>;
 
                                pinctrl-0 = <&spi_pins>;
                                pinctrl-names = "default";
index c5abe71..17f65e1 100644 (file)
@@ -30,7 +30,6 @@
 
                        spi4: spi@1a280000 {
                                status = "okay";
-                               spi-max-frequency = <50000000>;
 
                                pinctrl-0 = <&spi_pins>;
                                pinctrl-names = "default";