]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: rockchip: enable I2S0 in Haikou carrierboard, not Puma DTSI
authorQuentin Schulz <quentin.schulz@cherry.de>
Tue, 18 Feb 2025 11:49:16 +0000 (12:49 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Sat, 22 Feb 2025 23:44:37 +0000 (00:44 +0100)
I2S0 is routed to the Q7 golden fingers and, on Haikou carrierboard, to
an I2S codec. Nothing aside from signal routing is done on the SoM,
therefore it's the duty of the carrierboard to enable I2S0 whenever an
I2S codec is present.

Such is the case of the Haikou carrierboard, therefore let's migrate the
enabling of this controller to the carrierboard DTS instead of the SoM
DTSI.

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Link: https://lore.kernel.org/r/20250218-tsd-align-haikou-v1-5-5c44d1dd8658@cherry.de
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3399-puma-haikou.dts
arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi

index 06215f43336ecf6b6491dacf04e0f3cd9d8fa16a..28d24caffe12f58800ada1348a1cbd8a07e0f50a 100644 (file)
        };
 };
 
+&i2s0 {
+       status = "okay";
+};
 
 &i2s2 {
        status = "okay";
index 548bd7b486c185c80be87d433f149c3fac65ae8a..399c86bcbfefa5c667f11f31b3491eb693cfae76 100644 (file)
        pinctrl-1 = <&i2s0_2ch_bus_bclk_off>;
        rockchip,playback-channels = <2>;
        rockchip,capture-channels = <2>;
-       status = "okay";
 };
 
 /*