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

31 lines
1.0 KiB
Diff

From 7d481a4135da960a5dba28dfc20e6c8d72f34510 Mon Sep 17 00:00:00 2001
From: Ondrej Jirman <megi@xff.cz>
Date: Sun, 28 Aug 2022 16:00:26 +0200
Subject: [PATCH 173/389] 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 6b094a1ecb60..7f60bf0595dc 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts
@@ -688,6 +688,8 @@ es8316: es8316@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.35.3