Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp2816098rwi; Fri, 28 Oct 2022 11:35:34 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5b2iHVkiQwikCAcJgwhQ74hJ1QuvDNP0heqtJZOzkvr9e1b6q2hN3LYmBN8UQ49n7RfBT2 X-Received: by 2002:a05:6a00:32c9:b0:56b:a54e:68be with SMTP id cl9-20020a056a0032c900b0056ba54e68bemr466260pfb.16.1666982133768; Fri, 28 Oct 2022 11:35:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666982133; cv=none; d=google.com; s=arc-20160816; b=A1LqOdVnZj1Ts48e5cpfbrZRQF2O9s+0XR1NeuAUEFz03FW7mKdKfMZFBGKu242TU9 +t3DqVLL2mIc798201w307qzgPbrs8zrWGbgv4Tt7vGDbcwMACYb1Jq/X3YhXtr6Bo7k V4nfA2ONek9vOUtK2UwE/W3+oG+rEfmuBpxJKCRFariZZWZWy73EubdgWz34UT2Phb/0 yXfLVRAGo4RnJKdEljkDFtulz2BsxkP84xjXJQOxN251p0RqU7aepmIwbXbywnKsGAFt B242jD0ERROg0wNJG4GHVsjNbWfpvXs8cTx9S1Hm6kwzmhflf+kzmhSgG3LmZiRYH/i0 Htsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=Z2rrxegvFg2FU9tdiMVnm2F7JFLebLK8/DzrkdwOia8=; b=jaHerveTJUEDhrd2w81/zsniTwX/OBuiNW2qfHfPpaNSuHvQKQ+Z/fOU21Vbi/9HV2 OrVSAB44YhEnj0CCnHnV/h4/A09jgnydgyP1CzH0ol1PYYkNTcTSW8Th+cUGfgWIHaaN Vi8N3NsBoDVORvILBUj+UBR4MwxqT7jpc/s0pnUthhGefIqwD7OFSzRu5ZnoW6HYnRZ7 spEN/Gf5JSayVcEHXD0vHS3TbZPU0Ta9XOuXuOKotsECt8X0D1CfFSrIfVroKGOLnxx1 fUq3ld4ct2TxgsDjbhvphLfJbHTKcxAP0bfc5FIs5IxS9jL7111wLALr+73J723HW9Ci FFhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fraNEttc; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z6-20020a17090ad78600b002115bc4b5casi10112623pju.86.2022.10.28.11.35.22; Fri, 28 Oct 2022 11:35:33 -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=@linaro.org header.s=google header.b=fraNEttc; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229877AbiJ1R6Y (ORCPT + 99 others); Fri, 28 Oct 2022 13:58:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56336 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229668AbiJ1R6U (ORCPT ); Fri, 28 Oct 2022 13:58:20 -0400 Received: from mail-qv1-xf2b.google.com (mail-qv1-xf2b.google.com [IPv6:2607:f8b0:4864:20::f2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B2701EB576 for ; Fri, 28 Oct 2022 10:58:19 -0700 (PDT) Received: by mail-qv1-xf2b.google.com with SMTP id u7so4527364qvn.13 for ; Fri, 28 Oct 2022 10:58:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Z2rrxegvFg2FU9tdiMVnm2F7JFLebLK8/DzrkdwOia8=; b=fraNEttcjrbsQWUwMp/J+ZIx1bUNFBiwkQcyDOQ95PrT/Ks0L8ibhqyrNNhv+O299F A6ygkQQlI+xYVk440AFZ+hE3xghWHIBwToMAOFiBqv/00BlolCA8DouG4Mu54Y9tTKh+ xlROBBFVesNR5GN94eEclsuL2A8mFYnWaSuk/1e0Q+jgACzlyq2SoWxUu0YDy6Rr9UpC lMPibTya5CqLdgxez8XUv2QadYFSuD9hDqNRnZeAWrPgM5hEjvGBBTsU1xE6tQEepu4L 4QXW0AsPMWadTl/iAoAiaK53L8EMsKWejyZGupqUJKGuH1ANvotGiMJZ3O1kVuLOan+K 7UFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Z2rrxegvFg2FU9tdiMVnm2F7JFLebLK8/DzrkdwOia8=; b=LhR9iZQp+GzzKmfGzBBeJ3iAan4BE77eaxG+xz1H3/Lwnb6zldEZKqwu5jw0yN0o56 VqT0WldOVV6mIee6SYCwqIXiIwCTcgEJlCg4oImL59WYehpXIIwbj9tv9FeWq/53coFy xjIoTw6SGklAJJv25L5gAt5fhZjqwLpDpGFN5p47ecLit2MzybMiSvug2Wf62gCOJDeq fGVS/Pivb2m6gKLAr29QiqgRm3f+6IxTPJI2lalEXscXegOx6w/hW25/zj5Z9E8c/JLi +9MhVbBU0fDMrKsoxrRi+8Xjn/h//V8iOXOmn/h5tjkQbBr5ydBpj/pA2aFtjvy9cVrr tquw== X-Gm-Message-State: ACrzQf2Gz087s9viWxszda/3mabLbCtZ1TAPvacLa6WZvtHpfi4stJD5 vfEh6Fy9VwEcjWkaG0b25ZJl0w== X-Received: by 2002:a05:6214:3005:b0:4ad:8042:128a with SMTP id ke5-20020a056214300500b004ad8042128amr545569qvb.66.1666979898742; Fri, 28 Oct 2022 10:58:18 -0700 (PDT) Received: from [192.168.1.11] ([64.57.193.93]) by smtp.gmail.com with ESMTPSA id w26-20020a05620a0e9a00b006bb82221013sm3426268qkm.0.2022.10.28.10.58.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 28 Oct 2022 10:58:18 -0700 (PDT) Message-ID: <628ac98c-0755-e6f6-e010-f1e772c4b71a@linaro.org> Date: Fri, 28 Oct 2022 13:58:10 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.1 Subject: Re: [PATCH v2 1/2] ASoC: mediatek: dt-bindings: modify machine bindings for two MICs case Content-Language: en-US To: Ajye Huang , linux-kernel@vger.kernel.org Cc: Mark Brown , 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?Q?N=c3=adcolas_F_=2e_R_=2e_A_=2e_Prado?= , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, alsa-devel@alsa-project.org References: <20221028172215.1471235-1-ajye_huang@compal.corp-partner.google.com> <20221028172215.1471235-2-ajye_huang@compal.corp-partner.google.com> From: Krzysztof Kozlowski In-Reply-To: <20221028172215.1471235-2-ajye_huang@compal.corp-partner.google.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 28/10/2022 13:22, Ajye Huang wrote: > Add a property "dmic-gpios" for switching between two MICs. Use subject prefixes matching the subsystem (git log --oneline -- ...). > > Signed-off-by: Ajye Huang > --- > .../bindings/sound/mt8186-mt6366-rt1019-rt5682s.yaml | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/Documentation/devicetree/bindings/sound/mt8186-mt6366-rt1019-rt5682s.yaml b/Documentation/devicetree/bindings/sound/mt8186-mt6366-rt1019-rt5682s.yaml > index 4fc5b045d3cf..212d2982590a 100644 > --- a/Documentation/devicetree/bindings/sound/mt8186-mt6366-rt1019-rt5682s.yaml > +++ b/Documentation/devicetree/bindings/sound/mt8186-mt6366-rt1019-rt5682s.yaml > @@ -21,6 +21,10 @@ properties: > $ref: "/schemas/types.yaml#/definitions/phandle" > description: The phandle of MT8186 ASoC platform. > > + dmic-gpios: > + maxItems: 1 > + description: GPIO for switching between DMICs Switching how? Enabling? What is the meaning of each GPIO pin value? > + > headset-codec: > type: object > additionalProperties: false > @@ -72,6 +76,8 @@ examples: > pinctrl-0 = <&aud_clk_mosi_off>; > pinctrl-1 = <&aud_clk_mosi_on>; > > + dmic-gpios = <&pio 23 0>; Use defines for flags. Best regards, Krzysztof