-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #68 from Ken-Vamrs/main
rename radxa s0 to rock s0
- Loading branch information
Showing
7 changed files
with
101 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
45 changes: 45 additions & 0 deletions
45
linux/stable/0025-rock-s0/0002-enable-i2s_8ch_0-and-modify-uart0-pinctrl.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
From 51361929254412cf900c6d029b5b567248b39c44 Mon Sep 17 00:00:00 2001 | ||
From: bsp <[email protected]> | ||
Date: Wed, 29 Nov 2023 19:57:03 +0800 | ||
Subject: [PATCH 1/2] enable i2s_8ch_0 and modify uart0 pinctrl | ||
|
||
Signed-off-by: Ken Wang <[email protected]> | ||
|
||
diff --git a/arch/arm64/boot/dts/rockchip/rk3308-radxa-s0.dts b/arch/arm64/boot/dts/rockchip/rk3308-radxa-s0.dts | ||
index ee1a1efdef..473e636445 100644 | ||
--- a/arch/arm64/boot/dts/rockchip/rk3308-radxa-s0.dts | ||
+++ b/arch/arm64/boot/dts/rockchip/rk3308-radxa-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>; | ||
@@ -290,10 +290,11 @@ &i2s_8ch_0 { | ||
assigned-clock-parents = <&cru SCLK_I2S0_8CH_TX_MUX>; | ||
rockchip,clk-trcm = <1>; | ||
#sound-dai-cells = <0>; | ||
+ status = "okay"; | ||
}; | ||
|
||
&i2s_8ch_2 { | ||
- status = "okay"; | ||
+ status = "disabled"; | ||
#sound-dai-cells = <0>; | ||
}; | ||
|
||
@@ -373,6 +374,8 @@ &spi2 { | ||
|
||
&uart0 { | ||
status = "okay"; | ||
+ pinctrl-names = "default"; | ||
+ pinctrl-0 = <&uart0_xfer>; | ||
}; | ||
|
||
&uart2 { | ||
-- | ||
2.25.1 | ||
|
43 changes: 43 additions & 0 deletions
43
linux/stable/0025-rock-s0/0003-rename-radxa-s0-to-rock-s0.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
From e6a3d820081737cac09fbc19ff65b77782f7a4c6 Mon Sep 17 00:00:00 2001 | ||
From: bsp <[email protected]> | ||
Date: Wed, 29 Nov 2023 20:00:57 +0800 | ||
Subject: [PATCH 2/2] rename radxa s0 to rock s0 | ||
|
||
Signed-off-by: bsp <[email protected]> | ||
|
||
diff --git a/arch/arm64/boot/dts/rockchip/Makefile b/arch/arm64/boot/dts/rockchip/Makefile | ||
index 457717695b..84d30b035f 100644 | ||
--- a/arch/arm64/boot/dts/rockchip/Makefile | ||
+++ b/arch/arm64/boot/dts/rockchip/Makefile | ||
@@ -23,9 +23,9 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += px30-engicam-px30-core-ctouch2.dtb | ||
dtb-$(CONFIG_ARCH_ROCKCHIP) += px30-engicam-px30-core-ctouch2-of10.dtb | ||
dtb-$(CONFIG_ARCH_ROCKCHIP) += px30-engicam-px30-core-edimm2.2.dtb | ||
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3308-evb.dtb | ||
-dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3308-radxa-s0.dtb | ||
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3308-roc-cc.dtb | ||
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3308-rock-pi-s.dtb | ||
+dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3308-rock-s0.dtb | ||
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3318-a95x-z2.dtb | ||
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3326-odroid-go2.dtb | ||
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3328-a1.dtb | ||
diff --git a/arch/arm64/boot/dts/rockchip/rk3308-radxa-s0.dts b/arch/arm64/boot/dts/rockchip/rk3308-rock-s0.dts | ||
similarity index 99% | ||
rename from arch/arm64/boot/dts/rockchip/rk3308-radxa-s0.dts | ||
rename to arch/arm64/boot/dts/rockchip/rk3308-rock-s0.dts | ||
index 473e636445..6b4bf39b95 100644 | ||
--- a/arch/arm64/boot/dts/rockchip/rk3308-radxa-s0.dts | ||
+++ b/arch/arm64/boot/dts/rockchip/rk3308-rock-s0.dts | ||
@@ -9,8 +9,8 @@ | ||
#include "rk3308.dtsi" | ||
|
||
/ { | ||
- model = "Radxa S0"; | ||
- compatible = "radxa,s0", "rockchip,rk3308"; | ||
+ model = "Radxa ROCK S0"; | ||
+ compatible = "radxa,rock-s0", "rockchip,rk3308"; | ||
|
||
chosen { | ||
stdout-path = "serial0:1500000n8"; | ||
-- | ||
2.25.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters