]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
sh: j2: Drop incorrect SPI controller spi-max-frequency property
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Fri, 22 Mar 2024 06:42:21 +0000 (07:42 +0100)
committerJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Thu, 2 May 2024 10:02:29 +0000 (12:02 +0200)
The J2 SPI controller bindings never allowed spi-max-frequency property
in the controller node.  Neither old spi-bus.txt bindings, nor new DT
schema allows it.  Linux driver does not parse that property from
controller node, thus drop it from DTS as incorrect hardware
description.  The SPI child device has already the same property with
the same value, so functionality should not be affected.

Cc: Kousik Sanagavarapu <five231003@gmail.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Tested-by: Rob Landley <rob@landley.net>
Link: https://lore.kernel.org/r/20240322064221.25776-1-krzysztof.kozlowski@linaro.org
Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
arch/sh/boot/dts/j2_mimas_v2.dts

index fa9562f78d532c495d079c44e9a422d651124d72..faf884f53804d6e32e24066d0711c01de77cff1f 100644 (file)
@@ -71,8 +71,6 @@
                        #address-cells = <1>;
                        #size-cells = <0>;
 
-                       spi-max-frequency = <25000000>;
-
                        reg = <0x40 0x8>;
 
                        sdcard@0 {