arm64: dts: rockchip: Enable analog audio on rk3328-roc-cc
authorChen-Yu Tsai <wens@csie.org>
Thu, 26 Nov 2020 07:33:36 +0000 (15:33 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 30 Nov 2020 00:07:38 +0000 (01:07 +0100)
Now that driver support for the RK3328's audio codec, and the plumbing
is defined at the SoC level, we can enable analog audio at the board
level.

Enable analog audio by enabling the codec and the I2S interface
connected and the simple-audio-card that binds them together.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Link: https://lore.kernel.org/r/20201126073336.30794-4-wens@kernel.org
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts

index 697fce709031568ddd755ad390f4fad460be6f05..19959bfba4519bd6aab2ce18c85314abc7032caf 100644 (file)
        };
 };
 
+&analog_sound {
+       status = "okay";
+};
+
+&codec {
+       status = "okay";
+};
+
 &cpu0 {
        cpu-supply = <&vdd_arm>;
 };
        status = "okay";
 };
 
+&i2s1 {
+       status = "okay";
+};
+
 &io_domains {
        status = "okay";