Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp2823419rwi; Fri, 28 Oct 2022 11:42:21 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4m5emTLVMUDKOsoZMmGHN3ng0g15rub6pKMsqP5Qt+vAJTtiHq/kjEwbi/mNcbY4ykFexC X-Received: by 2002:a17:90a:748c:b0:213:854f:f78a with SMTP id p12-20020a17090a748c00b00213854ff78amr639807pjk.41.1666982541110; Fri, 28 Oct 2022 11:42:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666982541; cv=none; d=google.com; s=arc-20160816; b=J+m0VULDq1GRDZaBpuFTPj43oqa2eS6MQUAg+kR0gQDAll8mEl4ANGLmycx5o97nmd 1OOtO9uU/gAZjJ/wiD08+jXjr7Tnz9wfkQPamUS8US20+Ss83KAfVUtSrkrECtAIt5eO PHcTuURhbixmgc6bZHV+dt30VovYBmat2Kn7AisXUMPI2s6c+uLbYhlFDigclNutOzJW QJaO7gj1j58691CrQOBpZuVa4SJzhIc/qki5BluGk6Ky+GReIhRoEJ4joSGY71pws+ed RNa64RZYROA/HFpov19+TxcnS+KCnWUDhHt77ht3KkPZp06IfGjNoSSea9FRo7ycM0gl aAbA== 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=j5EifIBTTA4Q9MeGr5GuWpo/RfwKB+MeKNIB/9GceQo=; b=tG74Qu2hZoqYI+mV0vFWwylXeh/jh6Jga0SalX/iwWdMYPMIarXob0EZUox1IPdZQP /s5YTGTJJXdJq5CiSFbu4GPYPAENLVGuJT0OGr3dsF+JsJP9BcPvx+d9MBXAICOdfwpT 2Wa9QF0/Zjvnl+AHb96RgUlBTm+EK7mZwPPYRFzs6nSPZ6q1NzLpMuMl4Rvs6L1aOLv0 psumyi3a5XNPy+VT3vpGZr68PExJ0lz0WNJ3q5vu0HN03PD/o/ytivGWNGXLsI1/+SF+ VQgS3eVejR2D3lHRsril6QznbxT/YJBTO8u/IH4cYAoeVFTM8qh046H6MplwjhdAIKLG ZkJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=YUvbU1Pp; 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 z6-20020a17090ad78600b002115bc4b5casi10112623pju.86.2022.10.28.11.42.09; Fri, 28 Oct 2022 11:42:21 -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=YUvbU1Pp; 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 S229956AbiJ1S0k (ORCPT + 99 others); Fri, 28 Oct 2022 14:26:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229950AbiJ1S0i (ORCPT ); Fri, 28 Oct 2022 14:26:38 -0400 Received: from mail-yw1-x112b.google.com (mail-yw1-x112b.google.com [IPv6:2607:f8b0:4864:20::112b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 141331DC085 for ; Fri, 28 Oct 2022 11:26:38 -0700 (PDT) Received: by mail-yw1-x112b.google.com with SMTP id 00721157ae682-3691e040abaso54723117b3.9 for ; Fri, 28 Oct 2022 11:26:38 -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=j5EifIBTTA4Q9MeGr5GuWpo/RfwKB+MeKNIB/9GceQo=; b=YUvbU1PpsyUC0xVCXSieAxZ6vYr4VEA8nHXSk5P4lFHIX6oEJWc5mCr/kQzfazyxZD GXNWik6tau12kCTYEtG1jEVTFeQ8x2qsmTErDuLDS3JTMIFWDf8nxG1b/6dipQTGLJDZ Vmh5w9sxSDqx20AH76/n/mZCllNsxjdto+XjXyH2pLBkhk5AAyNVtb82L74Zrfh8BQ9j 5I5JyxrW5aKRKrFTZL09I9LT2rrVoBduaQRJ6UoFj7kE4yZFAnImYiKzm68Y07t0xrIr GURnBWhN2u0b90BaMv1cNUkOopljZM/G4Od+GmpmM0L+7JizDwTdNnOGIZa1IUmsjlA5 GcHw== 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=j5EifIBTTA4Q9MeGr5GuWpo/RfwKB+MeKNIB/9GceQo=; b=4ixONf4uPXDaqCB0oeuCZG5QJVjq4M18pFRACjRhx/hsd/rLSfKLnurkWmAGxasXG6 DsZfehlq1OnCUSzKRiD8eWkwzaS8fXANYsJk5260BzqZPdTR7csI5p8veX2ySCpIvDk3 JPWCNXjiMfMItHMmKYt2FrZxmyQlPO2P7pi3i/9fwCOAmcTtyKxeWI2h80ouHlDbFgqj 0hr9RiOuikRAZFWkY/9c8jIpSOZXOUodvlANLG8av2T+XYy80EMG6VbQTxCNEJ2T1yuM LpIXZOu2IXrQzlGO0DD78pAwbXGuY6CPAZfx3lAm5qDXjrU+Shd1Ba87q0Mqux3nw2+N 6kDQ== X-Gm-Message-State: ACrzQf1DbrPsVL+qbKXXKyMU7lpJ2qNWq7wXeLFyh18j9reTJNYAU2TY Ajnr18CNWYSTLhtR11QWevG0NnX7ixShbo+jxJmj6A== X-Received: by 2002:a81:164b:0:b0:36f:ced7:985f with SMTP id 72-20020a81164b000000b0036fced7985fmr773896yww.360.1666981597226; Fri, 28 Oct 2022 11:26:37 -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: <628ac98c-0755-e6f6-e010-f1e772c4b71a@linaro.org> From: Ajye Huang Date: Sat, 29 Oct 2022 02:26:30 +0800 Message-ID: Subject: Re: [PATCH v2 1/2] ASoC: mediatek: dt-bindings: modify machine bindings for two MICs case To: Krzysztof Kozlowski Cc: linux-kernel@vger.kernel.org, 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?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=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 Sat, Oct 29, 2022 at 1:58 AM Krzysztof Kozlowski wrote: > > > > + dmic-gpios: > > + maxItems: 1 > > + description: GPIO for switching between DMICs > > Switching how? Enabling? What is the meaning of each GPIO pin value? > I think I should add more like an example, description: dmic-gpios optional prop for switching between two DMICs. Ex, the GPIO can control a MUX HW component to select dmic clk and data form a Front or Rear dmic. Do you agree with that or have other suggestions? If do, I will send the v3 patch for you to check, thanks > > > > + dmic-gpios = <&pio 23 0>; > > Use defines for flags. Yes, you are right, I will change it to dmic-gpios = <&pio 23 GPIO_ACTIVE_HIGH>;