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

Message ID 20240129181049.89971-2-clamor95@gmail.com
State New
Headers
Series Tegra30: fix sound on Nexus 7 |

Commit Message

Svyatoslav Ryhel Jan. 29, 2024, 6:10 p.m. UTC
  From: Robert Eckelmann <longnoserob@gmail.com>

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

Signed-off-by: Robert Eckelmann <longnoserob@gmail.com>
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
---
 .../boot/dts/nvidia/tegra30-asus-nexus7-grouper-common.dtsi    | 3 +++
 1 file changed, 3 insertions(+)
  

Comments

Thierry Reding Feb. 22, 2024, 5:18 p.m. UTC | #1
On Mon Jan 29, 2024 at 7:10 PM CET, Svyatoslav Ryhel wrote:
> From: Robert Eckelmann <longnoserob@gmail.com>
>
> A recent rt5640 codec update requires mclk definition in the
> device tree. Without mclk defined sound will not work.
>
> Signed-off-by: Robert Eckelmann <longnoserob@gmail.com>
> Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
> ---
>  .../boot/dts/nvidia/tegra30-asus-nexus7-grouper-common.dtsi    | 3 +++
>  1 file changed, 3 insertions(+)

Applied, thanks.

Thierry
  

Patch

diff --git a/arch/arm/boot/dts/nvidia/tegra30-asus-nexus7-grouper-common.dtsi b/arch/arm/boot/dts/nvidia/tegra30-asus-nexus7-grouper-common.dtsi
index a9342e04b14b..15f53babdc21 100644
--- a/arch/arm/boot/dts/nvidia/tegra30-asus-nexus7-grouper-common.dtsi
+++ b/arch/arm/boot/dts/nvidia/tegra30-asus-nexus7-grouper-common.dtsi
@@ -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 {