mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 10:08:59 +00:00
4b82a20e77
Pick commits adding drivers for audio engine found in MT7986 from Linux 6.6 as well as follow-up fixes from Linux 6.7. Signed-off-by: Maso Huang <maso.huang@mediatek.com> Signed-off-by: Daniel Golle <daniel@makrotopia.org>
41 lines
1.3 KiB
Diff
41 lines
1.3 KiB
Diff
From 1c09b694a1e9378931085e77d834a4d9786a5356 Mon Sep 17 00:00:00 2001
|
|
From: Maso Huang <maso.huang@mediatek.com>
|
|
Date: Thu, 7 Sep 2023 10:54:37 +0800
|
|
Subject: [PATCH] arm64: dts: mt7986: add afe
|
|
|
|
---
|
|
arch/arm64/boot/dts/mediatek/mt7986a.dtsi | 23 +++++++++++
|
|
1 files changed, 23 insertions(+)
|
|
|
|
--- a/arch/arm64/boot/dts/mediatek/mt7986a.dtsi
|
|
+++ b/arch/arm64/boot/dts/mediatek/mt7986a.dtsi
|
|
@@ -248,6 +248,28 @@
|
|
status = "disabled";
|
|
};
|
|
|
|
+ afe: audio-controller@11210000 {
|
|
+ compatible = "mediatek,mt7986-afe";
|
|
+ reg = <0 0x11210000 0 0x9000>;
|
|
+ interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
|
|
+ clocks = <&infracfg CLK_INFRA_AUD_BUS_CK>,
|
|
+ <&infracfg CLK_INFRA_AUD_26M_CK>,
|
|
+ <&infracfg CLK_INFRA_AUD_L_CK>,
|
|
+ <&infracfg CLK_INFRA_AUD_AUD_CK>,
|
|
+ <&infracfg CLK_INFRA_AUD_EG2_CK>;
|
|
+ clock-names = "aud_bus_ck",
|
|
+ "aud_26m_ck",
|
|
+ "aud_l_ck",
|
|
+ "aud_aud_ck",
|
|
+ "aud_eg2_ck";
|
|
+ assigned-clocks = <&topckgen CLK_TOP_A1SYS_SEL>,
|
|
+ <&topckgen CLK_TOP_AUD_L_SEL>,
|
|
+ <&topckgen CLK_TOP_A_TUNER_SEL>;
|
|
+ assigned-clock-parents = <&topckgen CLK_TOP_APLL2_D4>,
|
|
+ <&apmixedsys CLK_APMIXED_APLL2>,
|
|
+ <&topckgen CLK_TOP_APLL2_D4>;
|
|
+ };
|
|
+
|
|
pwm: pwm@10048000 {
|
|
compatible = "mediatek,mt7986-pwm";
|
|
reg = <0 0x10048000 0 0x1000>;
|