]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ARM: dts: rockchip: Fix the spi controller on rk3036
authorHeiko Stuebner <heiko@sntech.de>
Tue, 8 Oct 2024 20:39:39 +0000 (22:39 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 17 Nov 2024 13:59:35 +0000 (14:59 +0100)
[ Upstream commit 8bade1ad1f0821aef31f6a8fb1027ae292566d85 ]

Compatible and clock names did not match the existing binding.
So set the correct values and re-order+rename the clocks.

It looks like no rk3036 board did use the spi controller so far,
so this was never detected on a running device yet.

Fixes: f629fcfab2cd ("ARM: dts: rockchip: support the spi for rk3036")
Cc: Caesar Wang <wxt@rock-chips.com>
Reviewed-by: Dragan Simic <dsimic@manjaro.org>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20241008203940.2573684-14-heiko@sntech.de
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/rk3036.dtsi

index f8f9f1bffd9bc649d4b991bb615d828dfe065de1..5cd640ac0d1a4740ef17e2500b22f9f98d2d5f66 100644 (file)
        };
 
        spi: spi@20074000 {
-               compatible = "rockchip,rockchip-spi";
+               compatible = "rockchip,rk3036-spi";
                reg = <0x20074000 0x1000>;
                interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
-               clocks = <&cru PCLK_SPI>, <&cru SCLK_SPI>;
-               clock-names = "apb-pclk","spi_pclk";
+               clocks = <&cru SCLK_SPI>, <&cru PCLK_SPI>;
+               clock-names = "spiclk", "apb_pclk";
                dmas = <&pdma 8>, <&pdma 9>;
                dma-names = "tx", "rx";
                pinctrl-names = "default";