Re: [PATCH 4/4] ARM: dts: qcom: msm8960: drop spi-max-frequency from controller

From: Konrad Dybcio
Date: Mon Jun 19 2023 - 13:16:41 EST


On 19.06.2023 19:01, Krzysztof Kozlowski wrote:
> spi-max-frequency is a property of SPI device, not SPI controller. Drop
> it from the controller nodes. No functional impact expected, although
> qcom-msm8960-samsung-expressatt board does not have any child SPI
> devices thus the property disappears. This fixes dtbs_check warnings
> like:
>
> qcom-msm8960-cdp.dtb: spi@16080000: Unevaluated properties are not allowed ('spi-max-frequency' was unexpected)
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxx>

Konrad
> arch/arm/boot/dts/qcom-msm8960.dtsi | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/qcom-msm8960.dtsi b/arch/arm/boot/dts/qcom-msm8960.dtsi
> index fa2013388d99..d13080fcbeea 100644
> --- a/arch/arm/boot/dts/qcom-msm8960.dtsi
> +++ b/arch/arm/boot/dts/qcom-msm8960.dtsi
> @@ -364,7 +364,6 @@ gsbi1_spi: spi@16080000 {
> #size-cells = <0>;
> reg = <0x16080000 0x1000>;
> interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>;
> - spi-max-frequency = <24000000>;
> cs-gpios = <&msmgpio 8 0>;
>
> clocks = <&gcc GSBI1_QUP_CLK>, <&gcc GSBI1_H_CLK>;