build/patch/kernel/archive/sunxi-6.4/patches.megous/arm64-dts-rk3399-pinebook-pro-Fix-codec-frequency-after-boot.patch

31 lines
1.0 KiB
Diff

From fa929909745439a5f90605339cef52579b3b096b Mon Sep 17 00:00:00 2001
From: Ondrej Jirman <megi@xff.cz>
Date: Sun, 28 Aug 2022 16:00:26 +0200
Subject: [PATCH 181/469] arm64: dts: rk3399-pinebook-pro: Fix codec frequency
after boot
Without assigned clocks, codec mclk would have too high frequency right
after boot.
Signed-off-by: Ondrej Jirman <megi@xff.cz>
---
arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts b/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts
index 462f5dd08d60..7d7820f26543 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts
@@ -678,6 +678,8 @@ es8316: audio-codec@11 {
reg = <0x11>;
clocks = <&cru SCLK_I2S_8CH_OUT>;
clock-names = "mclk";
+ assigned-clocks = <&cru SCLK_I2S_8CH_OUT>, <&cru SCLK_I2S1_8CH>;
+ assigned-clock-rates = <11289599>, <11289599>;
#sound-dai-cells = <0>;
};
};
--
2.34.1