Skip to content

Commit

Permalink
modify i2s_8ch_2 to i2s_8ch_0 and modify uart0
Browse files Browse the repository at this point in the history
Due to conflicts between pwm and i2s, delete the old patch that enabled i2s_8ch_2.

Signed-off-by: Ken Wang <[email protected]>
  • Loading branch information
Ken-Vamrs committed Dec 5, 2023
1 parent 1648f60 commit aa33400
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 45 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
From a765ae501d777c4d052f7df98dcba6a61dceb4dc Mon Sep 17 00:00:00 2001
From: bsp <[email protected]>
Date: Tue, 5 Dec 2023 20:26:28 +0800
Subject: [PATCH] dts: rock s0: modify i2s_8ch_2 to i2s_8ch_0 and modify uart0
pinctrl

Signed-off-by: Ken Wang <[email protected]>

diff --git a/arch/arm64/boot/dts/rockchip/rk3308-rock-s0.dts b/arch/arm64/boot/dts/rockchip/rk3308-rock-s0.dts
index 5f19393f58..4b0aa3600c 100644
--- a/arch/arm64/boot/dts/rockchip/rk3308-rock-s0.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3308-rock-s0.dts
@@ -44,7 +44,7 @@ codec: acodec-sound {
simple-audio-card,widgets =
"Headphone", "Headphones";
simple-audio-card,cpu {
- sound-dai = <&i2s_8ch_2>;
+ sound-dai = <&i2s_8ch_0>;
};
simple-audio-card,codec {
sound-dai = <&acodec>;
@@ -374,6 +374,8 @@ &spi2 {

&uart0 {
status = "okay";
+ pinctrl-names = "default";
+ pinctrl-0 = <&uart0_xfer>;
};

&uart2 {
--
2.25.1

0 comments on commit aa33400

Please sign in to comment.