Skip to contentSkip to conversation

ARM: dts: exynos: Cleanup exynos4412-odroidx2.dts and enable sound on odroid-x.

PATCH Applied Markus Reichl 2 participants 3 messages Nov 28, 2016 – Dec 28, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: exynos: Cleanup exynos4412-odroidx2.dts and enable sound on odroid-x.

Odroid-X2 differs from Odroid-X only in RAM and prime CPU. Remove doubled nodes from exynos4412-odroidx2.dts and move sound node to exynos4412-odroidx.dts to enable sound on both boards.

---
 arch/arm/boot/dts/exynos4412-odroidx.dts  | 13 +++++++++++++
 arch/arm/boot/dts/exynos4412-odroidx2.dts | 24 ------------------------
 2 files changed, 13 insertions(+), 24 deletions(-)
arch/arm/boot/dts/exynos4412-odroidx.dts +13 -0
index 153a75f..46b931e 100644
@@ -100,3 +100,16 @@
 &serial_3 {
 	status = "okay";
 };
+
+&sound {
+	simple-audio-card,name = "Odroid-X";
+	simple-audio-card,widgets =
+		"Headphone", "Headphone Jack",
+		"Microphone", "Mic Jack",
+		"Microphone", "DMIC";
+	simple-audio-card,routing =
+		"Headphone Jack", "HPL",
+		"Headphone Jack", "HPR",
+		"IN1", "Mic Jack",
+		"Mic Jack", "MICBIAS";
+};
arch/arm/boot/dts/exynos4412-odroidx2.dts +0 -24
index d6e92eb..d867b2e 100644
@@ -23,27 +23,3 @@
 		reg = <0x40000000 0x7FF00000>;
 	};
 };
-
-/* VDDQ for MSHC (eMMC card) */
-&buck8_reg {
-	regulator-name = "BUCK8_VDDQ_MMC4_2.8V";
-	regulator-min-microvolt = <2800000>;
-	regulator-max-microvolt = <2800000>;
-};
-
-&mshc_0 {
-	vqmmc-supply = <&buck8_reg>;
-};
-
-&sound {
-	simple-audio-card,name = "Odroid-X2";
-	simple-audio-card,widgets =
-		"Headphone", "Headphone Jack",
-		"Microphone", "Mic Jack",
-		"Microphone", "DMIC";
-	simple-audio-card,routing =
-		"Headphone Jack", "HPL",
-		"Headphone Jack", "HPR",
-		"IN1", "Mic Jack",
-		"Mic Jack", "MICBIAS";
-};
Signature · 1 line
2.1.4
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 10 lines · Markus Reichl

Odroid-X2 differs from Odroid-X only in RAM and prime CPU. Remove doubled nodes from exynos4412-odroidx2.dts and move sound node to exynos4412-odroidx.dts to enable sound on both boards.

---
 arch/arm/boot/dts/exynos4412-odroidx.dts  | 13 +++++++++++++
 arch/arm/boot/dts/exynos4412-odroidx2.dts | 24 ------------------------
 2 files changed, 13 insertions(+), 24 deletions(-)

Looks correct. I won't be pushing anything more for v4.10 so I will apply this for v4.11 after merge window. For the reference:

Best regards,
Krzysztof

maintainer Applied
#2 lore raw
In reply to Markus Reichl
Quoted 10 lines · Markus Reichl

Odroid-X2 differs from Odroid-X only in RAM and prime CPU. Remove doubled nodes from exynos4412-odroidx2.dts and move sound node to exynos4412-odroidx.dts to enable sound on both boards.

---
 arch/arm/boot/dts/exynos4412-odroidx.dts  | 13 +++++++++++++
 arch/arm/boot/dts/exynos4412-odroidx2.dts | 24 ------------------------
 2 files changed, 13 insertions(+), 24 deletions(-)

Thanks, applied.

Best regards,
Krzysztof