]> git.hungrycats.org Git - linux/commitdiff
ARM: dts: rockchip: fix rk3036 acodec node
authorHeiko Stuebner <heiko@sntech.de>
Tue, 8 Oct 2024 20:39:37 +0000 (22:39 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 17 Nov 2024 13:59:35 +0000 (14:59 +0100)
[ Upstream commit c7206853cd7d31c52575fb1dc7616b4398f3bc8f ]

The acodec node is not conformant to the binding.

Set the correct nodename, use the correct compatible, add the needed
#sound-dai-cells and sort the rockchip,grf below clocks properties
as expected.

Fixes: faea098e1808 ("ARM: dts: rockchip: add core rk3036 dtsi")
Reviewed-by: Dragan Simic <dsimic@manjaro.org>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20241008203940.2573684-12-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 5f47b638f5327485d3bff6c023a24b18e891be37..4dabcb9cd4b8cc238223ed9d49e6bf7c4fa5fd6a 100644 (file)
                };
        };
 
-       acodec: acodec-ana@20030000 {
-               compatible = "rk3036-codec";
+       acodec: audio-codec@20030000 {
+               compatible = "rockchip,rk3036-codec";
                reg = <0x20030000 0x4000>;
-               rockchip,grf = <&grf>;
                clock-names = "acodec_pclk";
                clocks = <&cru PCLK_ACODEC>;
+               rockchip,grf = <&grf>;
+               #sound-dai-cells = <0>;
                status = "disabled";
        };