Skip to contentSkip to conversation

Tegra30: fix sound on Nexus 7

PATCH Applied Svyatoslav Ryhel 2 participants 3 messages Jan 29, 2024 – Feb 22, 2024

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

cover Tegra30: fix sound on Nexus 7

A recent rt5640 codec update requires mclk definition in the device tree. Without mclk defined sound will not work.

Robert Eckelmann (1):
ARM: tegra: nexus7: add missing clock binding into sound node

 .../boot/dts/nvidia/tegra30-asus-nexus7-grouper-common.dtsi    | 3 +++
 1 file changed, 3 insertions(+)
Signature · 1 line
2.40.1
#1 lore raw

PATCH 1/1 ARM: tegra: nexus7: add missing clock binding into sound node

From: Robert Eckelmann <[email protected]>

A recent rt5640 codec update requires mclk definition in the device tree. Without mclk defined sound will not work.

---
 .../boot/dts/nvidia/tegra30-asus-nexus7-grouper-common.dtsi    | 3 +++
 1 file changed, 3 insertions(+)
arch/arm/boot/dts/nvidia/tegra30-asus-nexus7-grouper-common.dtsi +3 -0
index a9342e04b14b..15f53babdc21 100644
@@ -915,6 +915,9 @@ rt5640: audio-codec@1c {
 			reg = <0x1c>;
 
 			realtek,dmic1-data-pin = <1>;
+
+			clocks = <&tegra_pmc TEGRA_PMC_CLK_OUT_1>;
+			clock-names = "mclk";
 		};
 
 		nct72: temperature-sensor@4c {
Signature · 1 line
2.40.1
#2 lore raw

Re: [PATCH v1 1/1] ARM: tegra: nexus7: add missing clock binding into sound node

Quoted 10 lines · Svyatoslav Ryhel

From: Robert Eckelmann <[email protected]>

A recent rt5640 codec update requires mclk definition in the device tree. Without mclk defined sound will not work.

---
 .../boot/dts/nvidia/tegra30-asus-nexus7-grouper-common.dtsi    | 3 +++
 1 file changed, 3 insertions(+)

Applied, thanks.

Thierry