From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DB354C433FE for ; Sat, 29 Oct 2022 03:44:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229681AbiJ2Dov (ORCPT ); Fri, 28 Oct 2022 23:44:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49422 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229457AbiJ2Dou (ORCPT ); Fri, 28 Oct 2022 23:44:50 -0400 Received: from mail-yb1-xb32.google.com (mail-yb1-xb32.google.com [IPv6:2607:f8b0:4864:20::b32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 96D7813D79 for ; Fri, 28 Oct 2022 20:44:47 -0700 (PDT) Received: by mail-yb1-xb32.google.com with SMTP id 185so8177224ybc.3 for ; Fri, 28 Oct 2022 20:44:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=gz8chRT8BgwvM1bBz/hqcVOXEH6efHhKugP2b6d/KNA=; b=g6MMhZCmMEfh5a1DNSkgtctHLoc0Zxx78dPchuD8LfuYJuM5a1iKBrVY3MzEJpWdSU St2AbaMMDtRXzuN7Q9fGU5SuwvRBV8GtPCtMKFew5Jgeo3SqAp3VI2Uff9lQ4/h7Xgjv e87BsOqWIITvxqZrgqybtQZCsPPTDd+GZ/aDgY1yOHLKqOuhxyFLlNxRFYJbUVplgX/b Nr1A7IKy/E9utSKzdSQGIo8zwRASo1XvlR14JZTP3iaAwE60u+5pauhotsJQew5rfIhz o07M4q7QLt1ZdhZ2j+qK4jcCgzprDxNjmdyBOeBCztLzR3zFNw+3a/w8RQH3ndmDNtaW h3rA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=gz8chRT8BgwvM1bBz/hqcVOXEH6efHhKugP2b6d/KNA=; b=shUsDvL2HdLa/Bwp7hjF/9YFkru6qr+azguMfzQRJgUV5xoJREVrcmcWApPAm3j+ZX sxsUZyFa/7VKZE1olHxhJwkKkcBzOLcLJTT4RiYu+MFlimVSFznoBjUm81nJUBUDIcSI SyKZOzCFH6Bz6OF1CQEeLqruU/3aYFa8KxmGx9tSEkmcbnOfRwAnRezSCZL+vfiV/p/m cFwnjtFC5byDhupdax86BN4vlYPeZ6mEvKS6QB1D468z3R1mLlvfxNjDV8yTcqG01crV rc9J4VGfcqxafY5kZNZYxzIEp9d/14eE44eJLHgacJ3989oyusSEKdWGSu9DX6JYEpEb SaBg== X-Gm-Message-State: ACrzQf1PYd31ru8+moEQISqqyHyq1FXAvv3QaXQwcnRBOpUISkMygsZP am39nEpRPPmrf0UTBzfRITbvGdVJ4bYH06fMaQPPNw== X-Google-Smtp-Source: AMsMyM66Ody47i2fsJ1hG0H/GOy1qXYYvmBtbpesojjIICAXjadL3JpiUK2chgxERuVe2gXSvIE968uC4fCiiR0bu24= X-Received: by 2002:a25:420e:0:b0:6ca:2d9b:bdcb with SMTP id p14-20020a25420e000000b006ca2d9bbdcbmr2339348yba.453.1667015086809; Fri, 28 Oct 2022 20:44:46 -0700 (PDT) MIME-Version: 1.0 References: <20221028172215.1471235-1-ajye_huang@compal.corp-partner.google.com> <20221028172215.1471235-2-ajye_huang@compal.corp-partner.google.com> <628ac98c-0755-e6f6-e010-f1e772c4b71a@linaro.org> In-Reply-To: From: Ajye Huang Date: Sat, 29 Oct 2022 11:44:41 +0800 Message-ID: Subject: Re: [PATCH v2 1/2] ASoC: mediatek: dt-bindings: modify machine bindings for two MICs case To: Mark Brown Cc: Krzysztof Kozlowski , linux-kernel@vger.kernel.org, Liam Girdwood , Krzysztof Kozlowski , Rob Herring , linux-mediatek@lists.infradead.org, "chunxu . li" , Takashi Iwai , Jaroslav Kysela , Jiaxin Yu , Matthias Brugger , AngeloGioacchino Del Regno , =?UTF-8?B?TsOtY29sYXMgRiAuIFIgLiBBIC4gUHJhZG8=?= , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, alsa-devel@alsa-project.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Hi Mark Brown, On Sat, Oct 29, 2022 at 2:44 AM Mark Brown wrote: > > There was my thing about putting the names in DT too. > @@ -72,6 +76,8 @@ examples: > pinctrl-0 = <&aud_clk_mosi_off>; > pinctrl-1 = <&aud_clk_mosi_on>; > > + dmic-gpios = <&pio 23 0>; I think I added the pinctrl-name and pinctrl id in its example, to make it easier for the user to understand , like below, what do you think? thanks examples: - | sound: mt8186-sound { compatible = "mediatek,mt8186-mt6366-rt1019-rt5682s-sound"; mediatek,platform = <&afe>; pinctrl-names = "aud_clk_mosi_off", "aud_clk_mosi_on"; + "aud_gpio_dmic_sec"; pinctrl-0 = <&aud_clk_mosi_off>; pinctrl-1 = <&aud_clk_mosi_on>; + pinctrl-2 = <&aud_gpio_dmic_sec>; + dmic-gpios = <&pio 23 GPIO_ACTIVE_HIGH>; headset-codec { sound-dai = <&rt5682s>; }; playback-codecs { sound-dai = <&it6505dptx>, <&rt1019p>; }; };