[PATCH 3/3] arm64: dts: rockchip: use the I2S0 MCLK output gate for the yy3588 codec

From: Daniele Briguglio

Date: Wed Dec 02 2026 - 04:21:38 EST


The ES8388 takes its MCLK from the I2S0_MCLK pad, which is gated by
I2S0_8CH_MCLKOUT_TO_IO in SYS_GRF. The codec references
I2S0_8CH_MCLKOUT, so audio only works if the boot firmware leaves that
gate open. CLK_IGNORE_UNUSED only keeps the kernel from closing it.

Reference the gate instead, as the NanoPC-T6 does, so the kernel opens
it itself. The rate stays assigned on I2S0_8CH_MCLKOUT, because the
gate does not pass rate changes on to its parent.

Signed-off-by: Daniele Briguglio <hello@xxxxxxxxxxxx>
---
arch/arm64/boot/dts/rockchip/rk3588-youyeetoo-yy3588.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/rockchip/rk3588-youyeetoo-yy3588.dts b/arch/arm64/boot/dts/rockchip/rk3588-youyeetoo-yy3588.dts
index dcb913cbc280..f5f048236f94 100644
--- a/arch/arm64/boot/dts/rockchip/rk3588-youyeetoo-yy3588.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3588-youyeetoo-yy3588.dts
@@ -485,7 +485,7 @@ es8388: audio-codec@11 {
reg = <0x11>;
assigned-clocks = <&cru I2S0_8CH_MCLKOUT>;
assigned-clock-rates = <12288000>;
- clocks = <&cru I2S0_8CH_MCLKOUT>;
+ clocks = <&cru I2S0_8CH_MCLKOUT_TO_IO>;
AVDD-supply = <&vcc3v3_sys>;
DVDD-supply = <&vcc_1v8_s3>;
HPVDD-supply = <&vcc3v3_sys>;

--
2.47.3