Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp2282266rwi; Fri, 28 Oct 2022 05:23:13 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7qcLsxvTNUmk+8BeZDY+jU+KF3t+oQKkvvXQAlhuqOeChLtC8WC5AT/MWkCjrIbNySrJxg X-Received: by 2002:a05:6402:550e:b0:456:f79f:2bed with SMTP id fi14-20020a056402550e00b00456f79f2bedmr51396035edb.106.1666959704816; Fri, 28 Oct 2022 05:21:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666959704; cv=none; d=google.com; s=arc-20160816; b=TUX4RGQT7LGIfHqcS3rPj6aw179CrpvjNtv2maqKVxQPLSubAotGlL2kX9lzM30tJD jxHU6Yv4oYVmdzKxeSwyn4WDwZNycxY+eBQzG+B4Hy6xS7mfFGV+rJnGUXEzH/QIbzDb j2zBrZcO9fvchz3XF02nWSmU+u4rhoHaUoQOoIhW/5jHI8xhQMMNcPUjw2ddzUsYpqaO rBVjoaljgNmGurXhOlX/6oxysApWKLpQ/FK92oVbUKdtEDZcdSdL/Llc968BM0tthcSe dT4ygdXcZETjGl80BUiZd8BO9m+NuZWUuKfFEXBrMZS+u9aokXkAaXpI+g4hx2Bc0rSU +jlg== 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:dkim-signature; bh=4eD2xL87O8gjTYMyEitjhjWWqrZAh2HNcrrJ+P8vUJ4=; b=YAfzXdtqv3jjKzHvsApNJdVpPHY7mgR5M/uQzZPtOYCXC5pJyXLjWkByG+IDCm1pvY N/V3IFNBpzHB8xihusZ1N+Ezo7e1sPozZKpIZE9lZDHtvKSPi01vCZzgGebGWE8MjUea 487t68l1HUD6DXOhmc8f2drVsRxIFP7wVe5N7cgqKjm01o/7a6aAh60PFuUWPrXziAx6 KU9p63xK2/tGiFHIlbp0H4ZF2M6Na/B66PGdT1so1iuAFoOlQNaeEn1DzOsPT0MGWP5o gjU1KI9WA3m1ysAMoTYL+4UAp198dLHIq0Tur+u0T9NyFU/pDewH1QJ67Z3UFwdYXWSA m5Tg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="AE0J/FU2"; 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 hr31-20020a1709073f9f00b00788166eaab6si136961ejc.745.2022.10.28.05.21.19; Fri, 28 Oct 2022 05:21:44 -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=@kernel.org header.s=k20201202 header.b="AE0J/FU2"; 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 S230096AbiJ1L40 (ORCPT + 99 others); Fri, 28 Oct 2022 07:56:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57574 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229519AbiJ1L4Y (ORCPT ); Fri, 28 Oct 2022 07:56:24 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B96F1C8D48; Fri, 28 Oct 2022 04:56:23 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 351F86268C; Fri, 28 Oct 2022 11:56:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AB70CC433C1; Fri, 28 Oct 2022 11:56:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666958182; bh=GajkIQuzrXIIDnBsaZvhN+ecuRXsqOWV5zsQ+wIwrZw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=AE0J/FU24uj2MBHn9UKB06iauoLTCYWYWPC81msDpshmPXPB1LYtdXl7XVj+je7Yq DP27Q6rkf7r2lxMHPbGNAIMajkevaZ8CCXnVsYDBri2b0fKA4SRJpaNzwYoESzV0KP 6nntRtx11lz4UmsbkZP7v11aLyKiCzKvzNgmuYcf6Gkt2QULmMor4SwKdS72vmSUpG +IxnnVOR1glgwyjZ1kyD/RVVRMDrsCzSwQxCfEcuc00fgMQGCW2jWpN1fZEVq5WnE0 waVTUbiny3BfTG59K91selF+MDJPuov8GFSFskn2PCd+OUJvLWucAc/6vXv9E1efk7 BW8uFfueYPmwQ== Date: Fri, 28 Oct 2022 12:56:16 +0100 From: Mark Brown To: Ajye Huang Cc: linux-kernel@vger.kernel.org, Liam Girdwood , Krzysztof Kozlowski , Rob Herring , robh@kernel.org, Shengjiu Wang , Charles Keepax , Takashi Iwai , Jaroslav Kysela , Arnaud Pouliquen , angelogioacchino.delregno@collabora.corp-partner.google.com, devicetree@vger.kernel.org, alsa-devel@alsa-project.org Subject: Re: [PATCH v1 1/2] ASoC: dt-bindings: Document dmic_sel-gpios optional prop for two DMICs case Message-ID: References: <20221028102450.1161382-1-ajye_huang@compal.corp-partner.google.com> <20221028102450.1161382-2-ajye_huang@compal.corp-partner.google.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="M+JJnzUDip9rx8JE" Content-Disposition: inline In-Reply-To: <20221028102450.1161382-2-ajye_huang@compal.corp-partner.google.com> X-Cookie: Life -- Love It or Leave It. X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 --M+JJnzUDip9rx8JE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Oct 28, 2022 at 06:24:49PM +0800, Ajye Huang wrote: > Document dmic_sel-gpios optional prop for switching between two DMICs. > Ex, the GPIO can control a MUX to select Front or Rear dmic. > + dmic_sel-gpios: > + maxItems: 1 > + description: GPIO for switching between DMICs, ex Front/Rear dmic > + If we're going to do this we should also allow the bindings to label the mics appropriately so that the control presented can reflect the actual hardware. It does feel like it might fit better to do this separately to the DMIC driver as a mux between the DMIC and the DAI it's connected to but equally with the way things are at the minute that feels like it's probably disproportionate effort. --M+JJnzUDip9rx8JE Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmNbw18ACgkQJNaLcl1U h9A7JQf+MkRMavqrw/+lt93KD/xfx0zvIziXhJJ3+MlsSpvWpJmxEX1nDEEu2I2g C3wW4SWf4Um/Y1k/eHZYy/KpGJe0ceGE3pmMdrZynpXT2CIWFnGAyLkZAtlRajY9 3wn7V68sQ/A+py5pQOPY1/uDrOkQH2NwHjR9lLvUE8uT/yF1fKmDSMfQTPqHXIVJ osuU/f+QuIC6JRvu1KcLLk4k0e+Urkm8Y6rck9P3qmbSFM2JqvTm7ZGIIFnmIakd U4r5I/ex9DN8Qnc002dKHTVM+1Q3AmE6TCnrtnh6F009WvQV7XFLiFQck1b7P5HQ CIoF98dhQQ/K07h+K2mhTr9xu1ScjQ== =QJF2 -----END PGP SIGNATURE----- --M+JJnzUDip9rx8JE--