Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp3369184rwi; Fri, 28 Oct 2022 21:09:01 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4xM0ayEJkP3iioB39Z7+SEp7t2I3//4vIKzMSe3rBcNB/xFN3cvu1qPF1VU/IX5gINAFWY X-Received: by 2002:a17:902:f708:b0:178:9b70:310b with SMTP id h8-20020a170902f70800b001789b70310bmr2463235plo.65.1667016540961; Fri, 28 Oct 2022 21:09:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667016540; cv=none; d=google.com; s=arc-20160816; b=T04VY3largSt6hUvR6DvpwLs+1BbDymbX3Thl22xnQkrmw1zc3n9NONrS6xvrsv00H DShbK9i47LTq2AAThbfpU265hAg0UHNd5LW4nbDU2uam6EeHYVJvFwkLeE9dxnH7akE6 S80kLXGFmuYfz+retUBNP4t08sjOEElPLbrbnuadEyUJycLBCXtBCZqd0fNDdmMhxg8P jr9Fb++PxrfKRNPaATL4wqUvAUjnX/+NHVday//3SvvbFNPS6mjeC7s5SzUb7KJ+zVUK KhkeIlMS1TOhrElNqLByWNbjyTb/Txppd7wm4mWZOnguO8UGwIvCtsAjN4Tqxlo0h+NK u6LQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=gz8chRT8BgwvM1bBz/hqcVOXEH6efHhKugP2b6d/KNA=; b=DIHYR1/I3X4mJ2U/fI222Sy4uOIvkGYiI0XFcioo5OcbqsmqXXRfvXjUbrvYM+66Wb xrbMJHmORqASMZxk+8/kVJXvbWEQq2uhoQqLw9mdO+LF+o8ax+vezvYYxrTV32NHJDO6 eDwiBqsPd2H/SWS75V1IssVfAbR/fIfQgyKX/GfJe2bkFRxYwJochVl7jWLUbV6vUFZi 6ApM0Z3fNA7n1Am5tYo6fp4DImIex+YbJxyxB2JWg2+NSsVqFx818Jj0F+H+sZ29BSpC +la/nVN/h1WHxfqyz4OvMJU9/mjcWlU09fvZNR4lvefAwX5kkILr6FZA6vu1mv99HWyJ qI+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=g6MMhZCm; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y190-20020a6364c7000000b004622caf9ac4si646394pgb.805.2022.10.28.21.08.49; Fri, 28 Oct 2022 21:09:00 -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; dkim=pass header.i=@google.com header.s=20210112 header.b=g6MMhZCm; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229727AbiJ2Doy (ORCPT + 99 others); Fri, 28 Oct 2022 23:44:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49432 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229522AbiJ2Dov (ORCPT ); Fri, 28 Oct 2022 23:44:51 -0400 Received: from mail-yb1-xb31.google.com (mail-yb1-xb31.google.com [IPv6:2607:f8b0:4864:20::b31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98D7C13DEF for ; Fri, 28 Oct 2022 20:44:47 -0700 (PDT) Received: by mail-yb1-xb31.google.com with SMTP id m125so8137871ybb.6 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=hnwMnLsjdtbQ5waJl2KfVh6ca9kQIZGCGVjIGq2EAkedr/aILOAtT1l+90XfwSLI7L 7UwAiljEw2tKv4JN+fQI7szRHMawo1MHhB5IqsWvzqJkjB1RBU/UdZpxdagqwZeNnv8I sweYFQydGhFk8daEqPFndD+AIY+RXGA61Mk9kCcbdnOaXBiOJO/S4JRNzm2Jsa3Z4Ans odJbeX/pbP8acaIJH71VYq1JvuqrsxWqoKwDAA9r5V62B66seJ4W24FVWxDbXsbfm/tf DhDksqJo5jvINTUuY+UnK+cNjNzaSBy88jxYExbOK/lXf1yR9DcbrI1o2lvZucbil89w XYgw== X-Gm-Message-State: ACrzQf17WFuirl4O/GyqWSwdc4aeKaQTsGzbi3LLces7I9c9gHzEJkww afrJSKqnX7l65JEJ1ZXDf95Q1Oc2YeL2uTgJI+VoFZfQa7/CUA== 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" X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE, SPF_PASS autolearn=unavailable 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 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>; }; };