Received: by 10.192.165.156 with SMTP id m28csp119220imm; Tue, 17 Apr 2018 07:29:00 -0700 (PDT) X-Google-Smtp-Source: AIpwx49g6HJgdo+EI/zPO3JJOdgPd26U5Z6bmMTS0CA17fJpf+mwxD40RGYRfzsXw0GeNjaVOOoo X-Received: by 2002:a17:902:7b96:: with SMTP id w22-v6mr2320722pll.116.1523975340136; Tue, 17 Apr 2018 07:29:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523975340; cv=none; d=google.com; s=arc-20160816; b=zlOV7xQ/dObTcTMB55rF6LZFtmitw9hCeHrh4Dw6/IkRO9vZ7l0FmQZw1bOtl/28A6 UxR1BMvSWqM7fCNysY+5XFK8GpLIW9ZdXxM6DiuC8KDfbjZ4zVSwEGJlCfncMLoibF9C jSW8TI14jpCZVK9Orl8zEy5GSKM6+AJxcGr6yH6jwT/zIXmCVwwctWvtam9nQNOzlEy1 5/3CJUGzTsTtLjuP5N9l3bh+a0N+uiKLMH3BGp8Dd2pkUGOO2XvPsY+Pq9UHnJ7hwvkW UWdkF2bwp/xU2gVunzW7c5lwBCunEE3a4zR0z2vIbECff1fXAEkNRQN0QSsx3F9UmfHH 0tfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:openpgp:from:references:cc:to:subject :dkim-signature:arc-authentication-results; bh=2WTxAPVftYH22mz/tH0PZ0FkfYJP9g4ML9MbtUrEk8k=; b=xalxGOmQcArRN7YaRz31MuYjCcqpqrhx5CphjS3jb9EGI800s4/gtMg/ayEPAMzete Eb2Aicl88klSqzfojfrhmm0qJ4SCVHCVUEVrhMVH1ekxWvgO1YtS4OwD05lmJ+oldCz+ WA33EtnABb6n7iZzFuU1q8xOrtRaBIEsDLmO7TdJy8AfQhgN2mVqj+zPeXfnLj6+tTeX ovoPTIpf7QTLhFLCa/Hz0Koje+v6gKk3UfPADMicnw0dxRKRPgrrrATabWDCWLQymX3U L/yokiWhJuH0spiJOQKx+se9L+C75+3AYf+pOzWQI9KEWWP0GKIIFaLfuUKy8lX/zmNk IkIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=IQIF4Aan; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g13si3867526pgq.69.2018.04.17.07.28.45; Tue, 17 Apr 2018 07:29:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=IQIF4Aan; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752593AbeDQO02 (ORCPT + 99 others); Tue, 17 Apr 2018 10:26:28 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:44606 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751270AbeDQO0Z (ORCPT ); Tue, 17 Apr 2018 10:26:25 -0400 Received: by mail-wr0-f193.google.com with SMTP id o15so5103133wro.11; Tue, 17 Apr 2018 07:26:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=2WTxAPVftYH22mz/tH0PZ0FkfYJP9g4ML9MbtUrEk8k=; b=IQIF4AanpEFYKh9cR0MuAE5ElRt95zN/6Qf0L5Qc69upf/GY1cQ65hFjqxta6iMr48 Lp29Hy6onq/uYd8IcKrBoJtzebCPtpqt2to8C13z3M2rMeO/vQpfhardTocCuD2pScdR V6ctl1bRpd5x8oZ5P12q/8zhKwolyKgVCs6Oi5iTx7MTp0y9wBOY2wK0Nf682AdIInGA Ck8RvhnmQ41MVvRFOWEQO0RfkeDuMsw8D/TuJF+zl/ylDUL+Th+qokuzjaH04leZd8AQ MsQvf/lia2miLJnIcaEWGFcu8S7xTB4NgcWodfXOqnCUXNLI0e1Eo63n1ta9XFW2qtJi zIyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=2WTxAPVftYH22mz/tH0PZ0FkfYJP9g4ML9MbtUrEk8k=; b=csYouKbe+N1T69ZoHgfsdLuDN+J36LUeUw8KhxEo/0RvVhfteOoIehcHH6Vs7MnWoR jbEYqsZcg7gqJa1yFXqRf4L0qONGueBVVSzj8is2q4oY0xFsY2Gpwfubdav9L0pNRIQI bUMlLGkaSnYuJ9X/pbT+S2pcoWaVR/jOz6f7b2MpfLMiD4jN8AcdF+mxIpKSX00OE4t+ wqUlyLz+1xyckNLeSW3PsWwXQ5XfpFUxXT1ZuHgXCFWq0U9nvntyyCyzbg2QNfvRt7Iu BAemq9AGVu6tTTmIU/ZegF8qTwk1QBtUTob/w09qBNoyQMt0DNSwEl2sPkNNCdqdArCF mZxw== X-Gm-Message-State: ALQs6tDvLDmahL3uPoC3WxFabY7oKJlfTRnC15OjEE/QTnsA5+M27zMn l5Gpx70as5kmYUgg6usTXC5mtNdb X-Received: by 10.80.244.1 with SMTP id r1mr3388403edm.111.1523975184059; Tue, 17 Apr 2018 07:26:24 -0700 (PDT) Received: from ziggy.stardust ([37.223.140.222]) by smtp.gmail.com with ESMTPSA id w16sm6154331edl.24.2018.04.17.07.26.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Apr 2018 07:26:22 -0700 (PDT) Subject: Re: [PATCH v4 6/6] arm: dts: mediatek: modify audio related nodes for both MT2701 and MT7623 To: Ryder Lee , Stephen Boyd , Rob Herring Cc: Mark Brown , Lee Jones , linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, Garlic Tseng References: From: Matthias Brugger Openpgp: preference=signencrypt Autocrypt: addr=matthias.bgg@gmail.com; prefer-encrypt=mutual; keydata= xsFNBFP1zgUBEAC21D6hk7//0kOmsUrE3eZ55kjc9DmFPKIz6l4NggqwQjBNRHIMh04BbCMY fL3eT7ZsYV5nur7zctmJ+vbszoOASXUpfq8M+S5hU2w7sBaVk5rpH9yW8CUWz2+ZpQXPJcFa OhLZuSKB1F5JcvLbETRjNzNU7B3TdS2+zkgQQdEyt7Ij2HXGLJ2w+yG2GuR9/iyCJRf10Okq gTh//XESJZ8S6KlOWbLXRE+yfkKDXQx2Jr1XuVvM3zPqH5FMg8reRVFsQ+vI0b+OlyekT/Xe 0Hwvqkev95GG6x7yseJwI+2ydDH6M5O7fPKFW5mzAdDE2g/K9B4e2tYK6/rA7Fq4cqiAw1+u EgO44+eFgv082xtBez5WNkGn18vtw0LW3ESmKh19u6kEGoi0WZwslCNaGFrS4M7OH+aOJeqK fx5dIv2CEbxc6xnHY7dwkcHikTA4QdbdFeUSuj4YhIZ+0QlDVtS1QEXyvZbZky7ur9rHkZvP ZqlUsLJ2nOqsmahMTIQ8Mgx9SLEShWqD4kOF4zNfPJsgEMB49KbS2o9jxbGB+JKupjNddfxZ HlH1KF8QwCMZEYaTNogrVazuEJzx6JdRpR3sFda/0x5qjTadwIW6Cl9tkqe2h391d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lpzTTk+6HEJaQpMnPeAKbOeehq3gY KcvmDL+bRCTjmXg8WrBZdUuj0BCDYqneaUgVnp+wQogA3mHGVs281v1XZmjlsVmM9Y8VPE61 4zSiZQBL5CinBTTI8ssYlV/aIKYi0dxRcj6vYnAfUImOsdZ5AQja5xIqw1rwWWUOYb99 Message-ID: <5195afaf-b386-2380-1de8-232c1260604d@gmail.com> Date: Tue, 17 Apr 2018 16:26:20 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/06/2018 10:09 AM, Ryder Lee wrote: > Modify audio related nodes to reflect the actual usage in binding documents. > > Signed-off-by: Ryder Lee > --- applied to v4.17-next/dts32 Thanks! > arch/arm/boot/dts/mt2701.dtsi | 188 ++++++++++++++++++++--------------------- > arch/arm/boot/dts/mt7623.dtsi | 190 ++++++++++++++++++++---------------------- > 2 files changed, 182 insertions(+), 196 deletions(-) > > diff --git a/arch/arm/boot/dts/mt2701.dtsi b/arch/arm/boot/dts/mt2701.dtsi > index 05557fc..05cf65c 100644 > --- a/arch/arm/boot/dts/mt2701.dtsi > +++ b/arch/arm/boot/dts/mt2701.dtsi > @@ -426,104 +426,96 @@ > status = "disabled"; > }; > > - afe: audio-controller@11220000 { > - compatible = "mediatek,mt2701-audio"; > - reg = <0 0x11220000 0 0x2000>, > - <0 0x112a0000 0 0x20000>; > - interrupts = , > - ; > - interrupt-names = "afe", "asys"; > - power-domains = <&scpsys MT2701_POWER_DOMAIN_IFR_MSC>; > - > - clocks = <&infracfg CLK_INFRA_AUDIO>, > - <&topckgen CLK_TOP_AUD_MUX1_SEL>, > - <&topckgen CLK_TOP_AUD_MUX2_SEL>, > - <&topckgen CLK_TOP_AUD_MUX1_DIV>, > - <&topckgen CLK_TOP_AUD_MUX2_DIV>, > - <&topckgen CLK_TOP_AUD_48K_TIMING>, > - <&topckgen CLK_TOP_AUD_44K_TIMING>, > - <&topckgen CLK_TOP_AUDPLL_MUX_SEL>, > - <&topckgen CLK_TOP_APLL_SEL>, > - <&topckgen CLK_TOP_AUD1PLL_98M>, > - <&topckgen CLK_TOP_AUD2PLL_90M>, > - <&topckgen CLK_TOP_HADDS2PLL_98M>, > - <&topckgen CLK_TOP_HADDS2PLL_294M>, > - <&topckgen CLK_TOP_AUDPLL>, > - <&topckgen CLK_TOP_AUDPLL_D4>, > - <&topckgen CLK_TOP_AUDPLL_D8>, > - <&topckgen CLK_TOP_AUDPLL_D16>, > - <&topckgen CLK_TOP_AUDPLL_D24>, > - <&topckgen CLK_TOP_AUDINTBUS_SEL>, > - <&clk26m>, > - <&topckgen CLK_TOP_SYSPLL1_D4>, > - <&topckgen CLK_TOP_AUD_K1_SRC_SEL>, > - <&topckgen CLK_TOP_AUD_K2_SRC_SEL>, > - <&topckgen CLK_TOP_AUD_K3_SRC_SEL>, > - <&topckgen CLK_TOP_AUD_K4_SRC_SEL>, > - <&topckgen CLK_TOP_AUD_K5_SRC_SEL>, > - <&topckgen CLK_TOP_AUD_K6_SRC_SEL>, > - <&topckgen CLK_TOP_AUD_K1_SRC_DIV>, > - <&topckgen CLK_TOP_AUD_K2_SRC_DIV>, > - <&topckgen CLK_TOP_AUD_K3_SRC_DIV>, > - <&topckgen CLK_TOP_AUD_K4_SRC_DIV>, > - <&topckgen CLK_TOP_AUD_K5_SRC_DIV>, > - <&topckgen CLK_TOP_AUD_K6_SRC_DIV>, > - <&topckgen CLK_TOP_AUD_I2S1_MCLK>, > - <&topckgen CLK_TOP_AUD_I2S2_MCLK>, > - <&topckgen CLK_TOP_AUD_I2S3_MCLK>, > - <&topckgen CLK_TOP_AUD_I2S4_MCLK>, > - <&topckgen CLK_TOP_AUD_I2S5_MCLK>, > - <&topckgen CLK_TOP_AUD_I2S6_MCLK>, > - <&topckgen CLK_TOP_ASM_M_SEL>, > - <&topckgen CLK_TOP_ASM_H_SEL>, > - <&topckgen CLK_TOP_UNIVPLL2_D4>, > - <&topckgen CLK_TOP_UNIVPLL2_D2>, > - <&topckgen CLK_TOP_SYSPLL_D5>; > - > - clock-names = "infra_sys_audio_clk", > - "top_audio_mux1_sel", > - "top_audio_mux2_sel", > - "top_audio_mux1_div", > - "top_audio_mux2_div", > - "top_audio_48k_timing", > - "top_audio_44k_timing", > - "top_audpll_mux_sel", > - "top_apll_sel", > - "top_aud1_pll_98M", > - "top_aud2_pll_90M", > - "top_hadds2_pll_98M", > - "top_hadds2_pll_294M", > - "top_audpll", > - "top_audpll_d4", > - "top_audpll_d8", > - "top_audpll_d16", > - "top_audpll_d24", > - "top_audintbus_sel", > - "clk_26m", > - "top_syspll1_d4", > - "top_aud_k1_src_sel", > - "top_aud_k2_src_sel", > - "top_aud_k3_src_sel", > - "top_aud_k4_src_sel", > - "top_aud_k5_src_sel", > - "top_aud_k6_src_sel", > - "top_aud_k1_src_div", > - "top_aud_k2_src_div", > - "top_aud_k3_src_div", > - "top_aud_k4_src_div", > - "top_aud_k5_src_div", > - "top_aud_k6_src_div", > - "top_aud_i2s1_mclk", > - "top_aud_i2s2_mclk", > - "top_aud_i2s3_mclk", > - "top_aud_i2s4_mclk", > - "top_aud_i2s5_mclk", > - "top_aud_i2s6_mclk", > - "top_asm_m_sel", > - "top_asm_h_sel", > - "top_univpll2_d4", > - "top_univpll2_d2", > - "top_syspll_d5"; > + audsys: clock-controller@11220000 { > + compatible = "mediatek,mt2701-audsys", "syscon"; > + reg = <0 0x11220000 0 0x2000>; > + #clock-cells = <1>; > + > + afe: audio-controller { > + compatible = "mediatek,mt2701-audio"; > + interrupts = , > + ; > + interrupt-names = "afe", "asys"; > + power-domains = <&scpsys MT2701_POWER_DOMAIN_IFR_MSC>; > + > + clocks = <&infracfg CLK_INFRA_AUDIO>, > + <&topckgen CLK_TOP_AUD_MUX1_SEL>, > + <&topckgen CLK_TOP_AUD_MUX2_SEL>, > + <&topckgen CLK_TOP_AUD_48K_TIMING>, > + <&topckgen CLK_TOP_AUD_44K_TIMING>, > + <&topckgen CLK_TOP_AUD_K1_SRC_SEL>, > + <&topckgen CLK_TOP_AUD_K2_SRC_SEL>, > + <&topckgen CLK_TOP_AUD_K3_SRC_SEL>, > + <&topckgen CLK_TOP_AUD_K4_SRC_SEL>, > + <&topckgen CLK_TOP_AUD_K1_SRC_DIV>, > + <&topckgen CLK_TOP_AUD_K2_SRC_DIV>, > + <&topckgen CLK_TOP_AUD_K3_SRC_DIV>, > + <&topckgen CLK_TOP_AUD_K4_SRC_DIV>, > + <&topckgen CLK_TOP_AUD_I2S1_MCLK>, > + <&topckgen CLK_TOP_AUD_I2S2_MCLK>, > + <&topckgen CLK_TOP_AUD_I2S3_MCLK>, > + <&topckgen CLK_TOP_AUD_I2S4_MCLK>, > + <&audsys CLK_AUD_I2SO1>, > + <&audsys CLK_AUD_I2SO2>, > + <&audsys CLK_AUD_I2SO3>, > + <&audsys CLK_AUD_I2SO4>, > + <&audsys CLK_AUD_I2SIN1>, > + <&audsys CLK_AUD_I2SIN2>, > + <&audsys CLK_AUD_I2SIN3>, > + <&audsys CLK_AUD_I2SIN4>, > + <&audsys CLK_AUD_ASRCO1>, > + <&audsys CLK_AUD_ASRCO2>, > + <&audsys CLK_AUD_ASRCO3>, > + <&audsys CLK_AUD_ASRCO4>, > + <&audsys CLK_AUD_AFE>, > + <&audsys CLK_AUD_AFE_CONN>, > + <&audsys CLK_AUD_A1SYS>, > + <&audsys CLK_AUD_A2SYS>, > + <&audsys CLK_AUD_AFE_MRGIF>; > + > + clock-names = "infra_sys_audio_clk", > + "top_audio_mux1_sel", > + "top_audio_mux2_sel", > + "top_audio_a1sys_hp", > + "top_audio_a2sys_hp", > + "i2s0_src_sel", > + "i2s1_src_sel", > + "i2s2_src_sel", > + "i2s3_src_sel", > + "i2s0_src_div", > + "i2s1_src_div", > + "i2s2_src_div", > + "i2s3_src_div", > + "i2s0_mclk_en", > + "i2s1_mclk_en", > + "i2s2_mclk_en", > + "i2s3_mclk_en", > + "i2so0_hop_ck", > + "i2so1_hop_ck", > + "i2so2_hop_ck", > + "i2so3_hop_ck", > + "i2si0_hop_ck", > + "i2si1_hop_ck", > + "i2si2_hop_ck", > + "i2si3_hop_ck", > + "asrc0_out_ck", > + "asrc1_out_ck", > + "asrc2_out_ck", > + "asrc3_out_ck", > + "audio_afe_pd", > + "audio_afe_conn_pd", > + "audio_a1sys_pd", > + "audio_a2sys_pd", > + "audio_mrgif_pd"; > + > + assigned-clocks = <&topckgen CLK_TOP_AUD_MUX1_SEL>, > + <&topckgen CLK_TOP_AUD_MUX2_SEL>, > + <&topckgen CLK_TOP_AUD_MUX1_DIV>, > + <&topckgen CLK_TOP_AUD_MUX2_DIV>; > + assigned-clock-parents = <&topckgen CLK_TOP_AUD1PLL_98M>, > + <&topckgen CLK_TOP_AUD2PLL_90M>; > + assigned-clock-rates = <0>, <0>, <49152000>, <45158400>; > + }; > }; > > mmsys: syscon@14000000 { > diff --git a/arch/arm/boot/dts/mt7623.dtsi b/arch/arm/boot/dts/mt7623.dtsi > index b750da5..e4dd31d 100644 > --- a/arch/arm/boot/dts/mt7623.dtsi > +++ b/arch/arm/boot/dts/mt7623.dtsi > @@ -538,105 +538,99 @@ > status = "disabled"; > }; > > - afe: audio-controller@11220000 { > - compatible = "mediatek,mt7623-audio", > - "mediatek,mt2701-audio"; > - reg = <0 0x11220000 0 0x2000>, > - <0 0x112a0000 0 0x20000>; > - interrupts = , > - ; > - interrupt-names = "afe", "asys"; > - power-domains = <&scpsys MT2701_POWER_DOMAIN_IFR_MSC>; > + audsys: clock-controller@11220000 { > + compatible = "mediatek,mt7623-audsys", > + "mediatek,mt2701-audsys", > + "syscon"; > + reg = <0 0x11220000 0 0x2000>; > + #clock-cells = <1>; > > - clocks = <&infracfg CLK_INFRA_AUDIO>, > - <&topckgen CLK_TOP_AUD_MUX1_SEL>, > - <&topckgen CLK_TOP_AUD_MUX2_SEL>, > - <&topckgen CLK_TOP_AUD_MUX1_DIV>, > - <&topckgen CLK_TOP_AUD_MUX2_DIV>, > - <&topckgen CLK_TOP_AUD_48K_TIMING>, > - <&topckgen CLK_TOP_AUD_44K_TIMING>, > - <&topckgen CLK_TOP_AUDPLL_MUX_SEL>, > - <&topckgen CLK_TOP_APLL_SEL>, > - <&topckgen CLK_TOP_AUD1PLL_98M>, > - <&topckgen CLK_TOP_AUD2PLL_90M>, > - <&topckgen CLK_TOP_HADDS2PLL_98M>, > - <&topckgen CLK_TOP_HADDS2PLL_294M>, > - <&topckgen CLK_TOP_AUDPLL>, > - <&topckgen CLK_TOP_AUDPLL_D4>, > - <&topckgen CLK_TOP_AUDPLL_D8>, > - <&topckgen CLK_TOP_AUDPLL_D16>, > - <&topckgen CLK_TOP_AUDPLL_D24>, > - <&topckgen CLK_TOP_AUDINTBUS_SEL>, > - <&clk26m>, > - <&topckgen CLK_TOP_SYSPLL1_D4>, > - <&topckgen CLK_TOP_AUD_K1_SRC_SEL>, > - <&topckgen CLK_TOP_AUD_K2_SRC_SEL>, > - <&topckgen CLK_TOP_AUD_K3_SRC_SEL>, > - <&topckgen CLK_TOP_AUD_K4_SRC_SEL>, > - <&topckgen CLK_TOP_AUD_K5_SRC_SEL>, > - <&topckgen CLK_TOP_AUD_K6_SRC_SEL>, > - <&topckgen CLK_TOP_AUD_K1_SRC_DIV>, > - <&topckgen CLK_TOP_AUD_K2_SRC_DIV>, > - <&topckgen CLK_TOP_AUD_K3_SRC_DIV>, > - <&topckgen CLK_TOP_AUD_K4_SRC_DIV>, > - <&topckgen CLK_TOP_AUD_K5_SRC_DIV>, > - <&topckgen CLK_TOP_AUD_K6_SRC_DIV>, > - <&topckgen CLK_TOP_AUD_I2S1_MCLK>, > - <&topckgen CLK_TOP_AUD_I2S2_MCLK>, > - <&topckgen CLK_TOP_AUD_I2S3_MCLK>, > - <&topckgen CLK_TOP_AUD_I2S4_MCLK>, > - <&topckgen CLK_TOP_AUD_I2S5_MCLK>, > - <&topckgen CLK_TOP_AUD_I2S6_MCLK>, > - <&topckgen CLK_TOP_ASM_M_SEL>, > - <&topckgen CLK_TOP_ASM_H_SEL>, > - <&topckgen CLK_TOP_UNIVPLL2_D4>, > - <&topckgen CLK_TOP_UNIVPLL2_D2>, > - <&topckgen CLK_TOP_SYSPLL_D5>; > - > - clock-names = "infra_sys_audio_clk", > - "top_audio_mux1_sel", > - "top_audio_mux2_sel", > - "top_audio_mux1_div", > - "top_audio_mux2_div", > - "top_audio_48k_timing", > - "top_audio_44k_timing", > - "top_audpll_mux_sel", > - "top_apll_sel", > - "top_aud1_pll_98M", > - "top_aud2_pll_90M", > - "top_hadds2_pll_98M", > - "top_hadds2_pll_294M", > - "top_audpll", > - "top_audpll_d4", > - "top_audpll_d8", > - "top_audpll_d16", > - "top_audpll_d24", > - "top_audintbus_sel", > - "clk_26m", > - "top_syspll1_d4", > - "top_aud_k1_src_sel", > - "top_aud_k2_src_sel", > - "top_aud_k3_src_sel", > - "top_aud_k4_src_sel", > - "top_aud_k5_src_sel", > - "top_aud_k6_src_sel", > - "top_aud_k1_src_div", > - "top_aud_k2_src_div", > - "top_aud_k3_src_div", > - "top_aud_k4_src_div", > - "top_aud_k5_src_div", > - "top_aud_k6_src_div", > - "top_aud_i2s1_mclk", > - "top_aud_i2s2_mclk", > - "top_aud_i2s3_mclk", > - "top_aud_i2s4_mclk", > - "top_aud_i2s5_mclk", > - "top_aud_i2s6_mclk", > - "top_asm_m_sel", > - "top_asm_h_sel", > - "top_univpll2_d4", > - "top_univpll2_d2", > - "top_syspll_d5"; > + afe: audio-controller { > + compatible = "mediatek,mt7623-audio", > + "mediatek,mt2701-audio"; > + interrupts = , > + ; > + interrupt-names = "afe", "asys"; > + power-domains = <&scpsys MT2701_POWER_DOMAIN_IFR_MSC>; > + > + clocks = <&infracfg CLK_INFRA_AUDIO>, > + <&topckgen CLK_TOP_AUD_MUX1_SEL>, > + <&topckgen CLK_TOP_AUD_MUX2_SEL>, > + <&topckgen CLK_TOP_AUD_48K_TIMING>, > + <&topckgen CLK_TOP_AUD_44K_TIMING>, > + <&topckgen CLK_TOP_AUD_K1_SRC_SEL>, > + <&topckgen CLK_TOP_AUD_K2_SRC_SEL>, > + <&topckgen CLK_TOP_AUD_K3_SRC_SEL>, > + <&topckgen CLK_TOP_AUD_K4_SRC_SEL>, > + <&topckgen CLK_TOP_AUD_K1_SRC_DIV>, > + <&topckgen CLK_TOP_AUD_K2_SRC_DIV>, > + <&topckgen CLK_TOP_AUD_K3_SRC_DIV>, > + <&topckgen CLK_TOP_AUD_K4_SRC_DIV>, > + <&topckgen CLK_TOP_AUD_I2S1_MCLK>, > + <&topckgen CLK_TOP_AUD_I2S2_MCLK>, > + <&topckgen CLK_TOP_AUD_I2S3_MCLK>, > + <&topckgen CLK_TOP_AUD_I2S4_MCLK>, > + <&audsys CLK_AUD_I2SO1>, > + <&audsys CLK_AUD_I2SO2>, > + <&audsys CLK_AUD_I2SO3>, > + <&audsys CLK_AUD_I2SO4>, > + <&audsys CLK_AUD_I2SIN1>, > + <&audsys CLK_AUD_I2SIN2>, > + <&audsys CLK_AUD_I2SIN3>, > + <&audsys CLK_AUD_I2SIN4>, > + <&audsys CLK_AUD_ASRCO1>, > + <&audsys CLK_AUD_ASRCO2>, > + <&audsys CLK_AUD_ASRCO3>, > + <&audsys CLK_AUD_ASRCO4>, > + <&audsys CLK_AUD_AFE>, > + <&audsys CLK_AUD_AFE_CONN>, > + <&audsys CLK_AUD_A1SYS>, > + <&audsys CLK_AUD_A2SYS>, > + <&audsys CLK_AUD_AFE_MRGIF>; > + > + clock-names = "infra_sys_audio_clk", > + "top_audio_mux1_sel", > + "top_audio_mux2_sel", > + "top_audio_a1sys_hp", > + "top_audio_a2sys_hp", > + "i2s0_src_sel", > + "i2s1_src_sel", > + "i2s2_src_sel", > + "i2s3_src_sel", > + "i2s0_src_div", > + "i2s1_src_div", > + "i2s2_src_div", > + "i2s3_src_div", > + "i2s0_mclk_en", > + "i2s1_mclk_en", > + "i2s2_mclk_en", > + "i2s3_mclk_en", > + "i2so0_hop_ck", > + "i2so1_hop_ck", > + "i2so2_hop_ck", > + "i2so3_hop_ck", > + "i2si0_hop_ck", > + "i2si1_hop_ck", > + "i2si2_hop_ck", > + "i2si3_hop_ck", > + "asrc0_out_ck", > + "asrc1_out_ck", > + "asrc2_out_ck", > + "asrc3_out_ck", > + "audio_afe_pd", > + "audio_afe_conn_pd", > + "audio_a1sys_pd", > + "audio_a2sys_pd", > + "audio_mrgif_pd"; > + > + assigned-clocks = <&topckgen CLK_TOP_AUD_MUX1_SEL>, > + <&topckgen CLK_TOP_AUD_MUX2_SEL>, > + <&topckgen CLK_TOP_AUD_MUX1_DIV>, > + <&topckgen CLK_TOP_AUD_MUX2_DIV>; > + assigned-clock-parents = <&topckgen CLK_TOP_AUD1PLL_98M>, > + <&topckgen CLK_TOP_AUD2PLL_90M>; > + assigned-clock-rates = <0>, <0>, <49152000>, <45158400>; > + }; > }; > > mmc0: mmc@11230000 { >