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

From: Svyatoslav Ryhel
Date: Mon Jan 29 2024 - 13:11:33 EST


From: Robert Eckelmann <longnoserob@xxxxxxxxx>

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@xxxxxxxxx>
Signed-off-by: Svyatoslav Ryhel <clamor95@xxxxxxxxx>
---
.../boot/dts/nvidia/tegra30-asus-nexus7-grouper-common.dtsi | 3 +++
1 file changed, 3 insertions(+)

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 {
--
2.40.1