ARM: dts: rockchip: fix rk3036 acodec node
authorHeiko Stuebner <heiko@sntech.de>
Tue, 8 Oct 2024 20:39:37 +0000 (22:39 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Fri, 25 Oct 2024 06:41:14 +0000 (08:41 +0200)
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>
arch/arm/boot/dts/rockchip/rk3036.dtsi

index 96279d1..3736953 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";
        };