Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp20895842rwd; Thu, 29 Jun 2023 08:17:38 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7bPqYaSCFLAvfHoqLFV+UHALL2Aa7kuGIfhOvtptM+j5LgqTtd7xjPJNL87yO6erfuOKsI X-Received: by 2002:a05:6a20:1596:b0:10b:e54f:1c00 with SMTP id h22-20020a056a20159600b0010be54f1c00mr30963661pzj.57.1688051858466; Thu, 29 Jun 2023 08:17:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688051858; cv=none; d=google.com; s=arc-20160816; b=a2TVVKPtHmFsEnKPhuAnzlKtLfdOCc7aemaZkiMVJMkhXXr6e5sgRy+lrQH1/2Je+l 6UxizOo6Ppy9ynorfa4oAvKD/P4D4zRxpGfXQDE+qRrSc3IhSfDSsRSlm81cpsbRQbwh GrP5ee1CPKtnqTVzlD7kAkqbWrJd5usd3az5xo87JlvTf//JHoL9tzN9OFIMafqiozTb oelPETLJPiR2yGbUOAlmSvsGAWDGT6mGLWrxYuyxKEn+MY7aOAs+FhBPOcjTW3WrCvsh dKPG9msZW6VK7SI6IUPS9dZDFefmZy/GfV5IYHoOfveMx8FJxXpwLArsH1BLG1JjFmJx yD/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=NhcKZLjWrDNttxGmNBxY3JBPC1dw1l/gq6LRekbNzq8=; fh=jLN3RNhtugO34WeG+WJ9JAdcWpjdT/CzcfGRDzeF+34=; b=BfBgyWYvTJx5NvAi/XejbeErh8oiIDNB7F7uxIcceyBG3b565aDjJ7jXMwpojm6bF0 7MRRIYiS0Txg2z+kGufZ3gLmrplFDxx4fqS/PHRhpPka17Tsunzo5BuGzWO6+mBpd2VA diTQkgoBtL+HxKPi1cb2QhB/hTp/Smdo7UX78duL5vripmbFrpGwDl1DZoD94q6Notn+ zu8tb0L/bKQSSwzEU9+IWXeiyjI2hz5/Xyu+3W+ztytqwPClPX2Sj5T87/3Tj2rdo4Tj yuMyXLhwJi9v0oMrD1b8LTIQOQP/vz2xcOTjEFlWrFvlVOVT1C6us/D4zr1xjv+MqYzq exiQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b9-20020a056a0002c900b00666eacb9002si9263475pft.371.2023.06.29.08.17.15; Thu, 29 Jun 2023 08:17:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232144AbjF2PFj (ORCPT + 99 others); Thu, 29 Jun 2023 11:05:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44722 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231787AbjF2PFh (ORCPT ); Thu, 29 Jun 2023 11:05:37 -0400 Received: from mail-il1-f181.google.com (mail-il1-f181.google.com [209.85.166.181]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 27B712D7F; Thu, 29 Jun 2023 08:05:36 -0700 (PDT) Received: by mail-il1-f181.google.com with SMTP id e9e14a558f8ab-345b347196cso3220365ab.3; Thu, 29 Jun 2023 08:05:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688051135; x=1690643135; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=NhcKZLjWrDNttxGmNBxY3JBPC1dw1l/gq6LRekbNzq8=; b=kwn0AuL3li29nlMeYm4DdfkPJfNeL7MpskGf825jVkJk8N/XdnsOaqFU8xHHWiSwIE gn6XIkS0p2SahteuCJ5U/6ROcp9/Wh+cUxn2ehFVWFTXbIth7X9Sd4EOmN8gs3Nr+rt8 JSOUNfy/D06vN6QZF3eCpR9vN1fKE+dICVJdBzHa/QruaVAcGKbu9MMfUn4qKGXXvqDC +CbRkWwlLwBmZQNxQ+2GDscRKPTGxqcTtUcPA0nKuypXKWx5Y0M+WAVb8LUTa+E9AhmQ ADrJkPlHRtnf/qpI4ijEER6pNUYVcl6ayttPYQRYAOjpDIFHBXIxoH42TgvzXGUgjng4 w6ig== X-Gm-Message-State: AC+VfDyGjz0Z75ZcsvZeuQYsjs3+PJ2J45zVDdnA+hGvWWjuq3/yXCbM 2JHQfj32w5IJM+n3HihFyA== X-Received: by 2002:a92:d08a:0:b0:345:8373:4ca8 with SMTP id h10-20020a92d08a000000b0034583734ca8mr15786460ilh.27.1688051135318; Thu, 29 Jun 2023 08:05:35 -0700 (PDT) Received: from robh_at_kernel.org ([64.188.179.250]) by smtp.gmail.com with ESMTPSA id g6-20020a056638060600b0042b144abf71sm53204jar.179.2023.06.29.08.05.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Jun 2023 08:05:31 -0700 (PDT) Received: (nullmailer pid 2973007 invoked by uid 1000); Thu, 29 Jun 2023 15:05:28 -0000 Date: Thu, 29 Jun 2023 09:05:28 -0600 From: Rob Herring To: Maso Huang Cc: Liam Girdwood , Mark Brown , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Jaroslav Kysela , Takashi Iwai , Trevor Wu , Jiaxin Yu , Ren Zhijie , Allen-KH Cheng , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH v2 7/7] ASoC: dt-bindings: mediatek,mt7986-afe: add audio afe document Message-ID: <20230629150528.GA2961718-robh@kernel.org> References: <20230626023501.11120-1-maso.huang@mediatek.com> <20230626023501.11120-8-maso.huang@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230626023501.11120-8-maso.huang@mediatek.com> X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 26, 2023 at 10:35:01AM +0800, Maso Huang wrote: > Add mt7986 audio afe document. > > Signed-off-by: Maso Huang > --- > .../bindings/sound/mediatek,mt7986-afe.yaml | 89 +++++++++++++++++++ > 1 file changed, 89 insertions(+) > create mode 100644 Documentation/devicetree/bindings/sound/mediatek,mt7986-afe.yaml > > diff --git a/Documentation/devicetree/bindings/sound/mediatek,mt7986-afe.yaml b/Documentation/devicetree/bindings/sound/mediatek,mt7986-afe.yaml > new file mode 100644 > index 000000000000..257327a33ea1 > --- /dev/null > +++ b/Documentation/devicetree/bindings/sound/mediatek,mt7986-afe.yaml > @@ -0,0 +1,89 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/sound/mediatek,mt7986-afe.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: MediaTek AFE PCM controller for MT7986 > + > +maintainers: > + - Maso Huang > + > +properties: > + compatible: > + oneOf: > + - const: mediatek,mt7986-afe > + - items: > + - enum: > + - mediatek,mt7981-afe > + - mediatek,mt7988-afe > + - const: mediatek,mt7986-afe > + > + reg: > + maxItems: 1 > + > + interrupts: > + maxItems: 1 > + > + clocks: > + minItems: 5 > + items: > + - description: audio bus clock > + - description: audio 26M clock > + - description: audio intbus clock > + - description: audio hopping clock > + - description: audio pll clock > + - description: mux for pcm_mck > + - description: audio i2s/pcm mck > + > + clock-names: > + minItems: 5 > + items: > + - const: aud_bus_ck > + - const: aud_26m_ck > + - const: aud_l_ck > + - const: aud_aud_ck > + - const: aud_eg2_ck > + - const: aud_sel > + - const: aud_i2s_m 'aud_' is redundant. > + > +required: > + - compatible > + - reg > + - interrupts > + - clocks > + - clock-names > + - assigned-clocks > + - assigned-clock-parents > + > +additionalProperties: false > + > +examples: > + - | > + #include > + #include > + #include > + > + afe@11210000 { > + compatible = "mediatek,mt7986-afe"; > + reg = <0x11210000 0x9000>; > + interrupts = ; > + clocks = <&infracfg_ao CLK_INFRA_AUD_BUS_CK>, > + <&infracfg_ao CLK_INFRA_AUD_26M_CK>, > + <&infracfg_ao CLK_INFRA_AUD_L_CK>, > + <&infracfg_ao CLK_INFRA_AUD_AUD_CK>, > + <&infracfg_ao 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>; > + }; > + > +... > -- > 2.18.0 >