Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4626243iob; Sun, 8 May 2022 19:43:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwVZbpbiz+oeYnSn3WOYFce7fA2b4ay9VmjJrUgKJlO1diPCWZ3b72qh1nYjFaUdFMt9Gr4 X-Received: by 2002:a65:5247:0:b0:382:9715:44fe with SMTP id q7-20020a655247000000b00382971544femr11483930pgp.577.1652064185930; Sun, 08 May 2022 19:43:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652064185; cv=none; d=google.com; s=arc-20160816; b=CoAFgU+BULrr9QyzE+aDt6vVCMSD7KM7rxuik7mgoEjmmGeAMKpxVynHU4/85fdchA QZcDtlW1DDWNinXHE9PrEUa+EMyPFpty3r/IfKBSICbdms0eA5alZGaE28F7ZgRKYKqr cbHckGdOdjaeoCJwBZbcnn/ymUMVYjw7Zn6hSMneGnqOzmyGYeGifyN559lDE/N3Vo43 IAezHG5HiewiLHk5pNFqTDrQG6erhcja7jKCeX33DpDG2dRl75a0bL8jt9a7H66gOK8U 2PXjDo1n9bvERaIhg2EsDh4JxlOhtvPUXd1JowS5JaLSBwqb50SjBbNuWkKgvrZMiMzF tEnA== 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=yMedw+wvGD75Y/5q11S4FnYbTRS78o5oT3fbaY2yFCY=; b=cKwIRpe7lGEbXHzIdnp0/9kMCFrCuItrW3nj5lC/9b3MhHoe91QPH9W82nSa4QcAA2 OLSNbi91qL0SpCZXmD4utGx/FJxKQjyOD268cvMCmOakFX6R5yHGyLasjXVmKHylAMRv Z96aHq+uZO53SBYDRrT4mFP/FSuuu5WaIcv62YdYRKMnDg30eA5Lk9PU+jHYkuK3t9Hp wqhTMASP8+LpcHNOxBve6Jv+JcA4L3aJwepomI57USXNMU46JtPUyfpJ5vNJ8sr34dCU rgcY7ZlSekwAk05obq0q2itl2F5Tn9HQNFU0vwwaclzE6lVqcmpI+fvIk6ge7LI7sNID +KAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=S8Y4NKxo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id nk19-20020a17090b195300b001bd14e01f2asi17424110pjb.24.2022.05.08.19.43.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 May 2022 19:43:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=S8Y4NKxo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id AF66E22BDB; Sun, 8 May 2022 19:42:24 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1356725AbiEEPFT (ORCPT + 99 others); Thu, 5 May 2022 11:05:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233555AbiEEPFR (ORCPT ); Thu, 5 May 2022 11:05:17 -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 DF0F622280; Thu, 5 May 2022 08:01:36 -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 99E5DB82B7A; Thu, 5 May 2022 15:01:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 14047C385A4; Thu, 5 May 2022 15:01:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1651762894; bh=UUh4IAYvnUeRl0+FGz9aUqMk1V1C/5Mv1s6gce1m4PY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=S8Y4NKxoe5tibidDLQ1YsIqidmaB/VrEldK+Y9cbMH5jS/+MM5rgrPY10yHnZuKpA Vx9PHYyx0ctjGVYN0AW2U+dj9sQF9nYeW19rmlBAaro91ZcvrnCEvQGSa4AOhWe4F+ AORKwgkynESpVtUsLkKVDuj91k0fG9nqnFkW+X74VADC85jI/SoExoUCj45dBUkPpw Xi936/6T6rBsBBkB/rBLDpE8NcvgzDUFSfZGqCKN4nIruGHpACikgCGzflWOu6DwGI kpfzOf2U/DAZwBv3TrR1gbINOSQxTB6NUvESyu3p4jsN3Y180ej0joxdrI7Y7frWDd SCwA7xo4UFLIw== Date: Thu, 5 May 2022 16:01:28 +0100 From: Mark Brown To: Codrin.Ciubotariu@microchip.com Cc: Nicolas.Ferre@microchip.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, lars@metafoo.de, perex@perex.cz, tiwai@suse.com, robh+dt@kernel.org Subject: Re: [PATCH v3 6/6] ARM: configs: at91: sama7_defconfig: add MCHP PDMC and DMIC drivers Message-ID: References: <20220307122202.2251639-1-codrin.ciubotariu@microchip.com> <20220307122202.2251639-7-codrin.ciubotariu@microchip.com> <77c2b348-b7a6-458d-21b6-68c54efc317f@microchip.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="V6OcCftqYTAkRMmU" Content-Disposition: inline In-Reply-To: <77c2b348-b7a6-458d-21b6-68c54efc317f@microchip.com> X-Cookie: Real programs don't eat cache. X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE 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 --V6OcCftqYTAkRMmU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, May 05, 2022 at 02:47:04PM +0000, Codrin.Ciubotariu@microchip.com w= rote: > On 05.05.2022 16:58, Nicolas Ferre wrote: > > I'm fine with that, but I see that some Kconfig entries "select" this= =20 > > SND_SOC_DMIC directly (amd, intel, mediatek, stm). > > If it's absolutely needed for PDMC to work, what about doing the same a= s=20 > > it would prevent some broken configurations? > The only way it makes sense to me to have this driver selected somewhere= =20 > is in a sound card driver, used for a specific board, which we know it=20 > has PDM microphones. Since, for now, we use the simple sound card for=20 > our audio interfaces, we have no place to add this select. > The reason I do not like to add this select under the controller driver,= =20 > as some of the vendors did, is because, in the future, we might have=20 > different PDM microphones that might not work with SND_SOC_DMIC and=20 > might need a different driver. > I don't have a strong opinion on this. If you think I am overthinking,=20 > please let me know and I will change this. It's unlikely but possible that there could be some other device connected (eg, you could have a DSP or something that generates PDM output). If the driver doesn't directly instantiate the DMIC itself then it's probably reasonable for it to be user controllable if the DMIC driver is there. --V6OcCftqYTAkRMmU Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmJz5scACgkQJNaLcl1U h9BoAQf/RxATTm9oBfzFYiQDmMZnY6nSvVtROk9XiCIp4BRvt4ezstNodFEGlLKQ fWhTWfMmr7rGF9Syj1Zb6W/2Fahc/R04bml6dXcDHBKeW5a9Tnslg4U0brWHd2oT SeE9ZVLQzoFgUcCh6DrwxpYIkfbPrZwrBS0YNHHgjw3LAc2voYJiNm8njcOXop9i +kpz1RZs60mULxSPGoNOr/9HNfNc2H3lZcSG6ZkdjkiXMJ4TjedzB5YpaOFGrYLN hCy9jHw/mzCFq9EnV8ubaTI05RFwIusQd0doLtRxlgrrS94+mwNqHggZLnFK95Z/ BnnQHFiY+49FUwRU4NPZhfcFayakzQ== =TVpY -----END PGP SIGNATURE----- --V6OcCftqYTAkRMmU--