Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3079074iog; Mon, 20 Jun 2022 10:44:58 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vnK7oE+kUFh13IY3KVegqdURnk6qoS/vNmCGUYR2C1jDO9wf+o5ry9m1vyD+UaXkR5NGQs X-Received: by 2002:a17:90a:fe16:b0:1ec:a69e:d135 with SMTP id ck22-20020a17090afe1600b001eca69ed135mr7469056pjb.31.1655747098463; Mon, 20 Jun 2022 10:44:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655747098; cv=none; d=google.com; s=arc-20160816; b=UT4X4oFmj1Ts4E9BafprPziBzt6vqdbxurmETT9DEJK6pz7Nsx3phWodRc5wIkSowe WUNB2IzWA4pPY57VamXggfWlCgLU3BdBjwa4oiUIOVVzS/QDWRL6b+QR9yCtq+3AF1sz VRlIE6oMJBcbVtx6qPH/WT2tWShoHvtyX7wy+brFQO34nztsoCAmPUlv6U/HJrVKBbZj Tmjx+Vdjlx+RWp7oIQ+yU+xZ5+pZsFvPNJwJH6f72jVbjL8hMJfvqMbMlYPaam44CuQt mUXTIaSepSVUuB0JSZFkQG5vAqCLpLB6FeSclxcddQv3eKOwfDkJhpuhwLnBtqA4rHZY wxEw== 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=WZh460uaOieXqu43dhrf+z7sDMHVLG7zQBW+VRJ3Azc=; b=y00zUF5l1LHfoM6y3xB6grwcCMi86NwC0AcI8XGBTcsuTNYNiBZzx8yh7/uwlFQwkd G0ZcHUztbTShlCS7s2ti9ynja/Je2L4Y/YLW4EZ+ySXok5IJdlR0msw2KuuKQvrwRiGd hvn0BrUsVrbLCQATqseaVWn51LfeN9bAZNcuSVWJx2Nq3QHKK2C1Brw1B6u22Nd200Gm t/vKOsyYwtfFi0w/c/Bj+EZLpGkpH0XR3UMMMVScsWewC7Ye6uRv79ReecCefq0FVX0E GSnqc3WtPelnVJYliT3PI4WAFrpUEhyJ6EVYgUstenGEckdlguDRChbvEIBnBrncBYSO kFXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=a2q2bkio; 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 k20-20020a056a00169400b0051bc3a3670bsi19511388pfc.245.2022.06.20.10.44.45; Mon, 20 Jun 2022 10:44:58 -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=a2q2bkio; 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 S243230AbiFTRjA (ORCPT + 99 others); Mon, 20 Jun 2022 13:39:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59824 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243005AbiFTRi7 (ORCPT ); Mon, 20 Jun 2022 13:38:59 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 766BBB1C8; Mon, 20 Jun 2022 10:38:57 -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 ams.source.kernel.org (Postfix) with ESMTPS id 35B13B812AA; Mon, 20 Jun 2022 17:38:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 84FF1C3411B; Mon, 20 Jun 2022 17:38:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1655746734; bh=jCwwSbElt83m1PQ7z2IHVu8qIm0sTyIZfWwdyaDXEQY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=a2q2bkioPo6HKogBWHFyliQxaUyYq4YadB4+we/O/kmjDp2ubf8jEByZzv2C1QZeg hrO8b1Tzg74CpGc68N9s8iDq6ieZyCQT1QkyAMjcBQZ4Y3DAKcu7akqiN6I+fn/U86 NTHNCRCwRQwl8V9dLT2oQ0VoUib8vhdriDganxqrsl10KvsvypFY4QO1+j1AurQ62U 56raSyAcpfFlQk4E7TbEJSGMydpmzHHI68czU4V/IoOWkyuupgdgnBVNShYSda2idy Gqum8+7O+1hv8lzELpb3UQQ+2fMw9sWBn0h5KgZEnHECBVoIldbeAxre/5y3xmJKUu OrcId64AICnaw== Date: Mon, 20 Jun 2022 18:38:48 +0100 From: Mark Brown To: Pierluigi Passaro Cc: Alifer Willians de Moraes , "linux-kernel@vger.kernel.org" , "alsa-devel@alsa-project.org" , "devicetree@vger.kernel.org" , Eran Matityahu , "festevam@gmail.com" , "lgirdwood@gmail.com" , "linuxppc-dev@lists.ozlabs.org" , "nicoleotsuka@gmail.com" , "patches@opensource.cirrus.com" , "perex@perex.cz" , "robh+dt@kernel.org" , "shengjiu.wang@gmail.com" , "tiwai@suse.com" , "Xiubo.Lee@gmail.com" Subject: Re: [PATCH 4/4] ASoC: wm8904: add DMIC support Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="fom1qi4IkRF41iWN" Content-Disposition: inline In-Reply-To: X-Cookie: Good day to avoid cops. Crawl to work. X-Spam-Status: No, score=-7.7 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,T_SCC_BODY_TEXT_LINE 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 --fom1qi4IkRF41iWN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Jun 20, 2022 at 03:30:45PM +0000, Pierluigi Passaro wrote: > Just for my understanding, are you suggesting to set a device tree property to force a fixed behavior in the driver ? Yes. > WM8904 allows using both a DMIC and LINEIN, switching between one or the other and this is how we currently use it. > Why the user should not be allowed to switch between DMIC and LINEIN ? The device shares pins between the line inputs and the DMIC inputs so at least some of the configuration is going to be determinted at system design time, that will fix the usable values of at least one of the controls which ought to be reflected in the runtime behaviour. Please fix your mail client to word wrap within paragraphs at something substantially less than 80 columns. Doing this makes your messages much easier to read and reply to. --fom1qi4IkRF41iWN Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmKwsKcACgkQJNaLcl1U h9CUdwf+JtglBbVYwWNdDwBJD3f6LDH+Nl/J2ZnnHyJ6UdOmqtk7L+sj0nDb4Q/U 2syrbcHJ/dHoJMRrdT/UXGhbeWCeZ4eQIbkY8hR8cRZQUteNZI73B9ccXbhMDAhf GHiJAE4dQWqj0ziFIGLbR9uhsOL26AYd65dgKRDOnSvA1kyWM6f+UwvGH3Xs2Rfd I8Ni+NwD2VBKJCzINFsEFqecPl7885vtD95jTnqu2eeDysBbEQ/Iuyh8h2G407gv gSy6lMRRQUAHu8lX5vOOWKgAXi/5rv9jy+gI89b8iehRkMreEZ78kBHtIU6FnCMf RPkRUcBSL7sTTTErsDGRhSUDVJmYBw== =1FAH -----END PGP SIGNATURE----- --fom1qi4IkRF41iWN--