Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp2983652imw; Sun, 17 Jul 2022 22:47:26 -0700 (PDT) X-Google-Smtp-Source: AGRyM1v5vxOBbOXIdWaw+jdW10MqQrzO+Qwjw2nv5IjSXQ5bt3ouV3Gmf1/OYZiyFSRH83ACAXiD X-Received: by 2002:a17:902:e850:b0:16c:41d1:19d2 with SMTP id t16-20020a170902e85000b0016c41d119d2mr26737734plg.125.1658123246651; Sun, 17 Jul 2022 22:47:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658123246; cv=none; d=google.com; s=arc-20160816; b=HQEVdPcvG5yHpZPY4HVGfD/vxChHLbAlhNqWf9fsHikh7HF8kKRP0irY6K5SQsgun6 a2HPLQdeuWxDUddxjbDMX1sEBb6l6SC3Fl7rkSEThfskmiJFNiMhkzzrijg3elVMYZmq 1jyAsA6K+7GYae8F8ch5702c6GX7AGJsigz4B7Ce/TPK1slwfIP2Nr/Hpkfij5RvQ52T iKUmtViAMG5I2cpKE1CR+3tZJ54SHbuZZt+3abUYhjMnyuXQFtT3c/QQQnj0NMwTTXF3 D4fdaL7S293i3FGzJbXseI6ptK9rElAodhdxtt8biREFX+TQedaSPIbG8Pq5Aimz/LGO xJZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=PsU8mRzq2/apZVomVOUIVUhVH99Cl81m7KknzqUpBYg=; b=K+UNOp2l/4bkI6yXkk+WemRxsDraeIoDacRv06DVYRvvHhKtMu/kkFxNfQDDudMDSn 7LLK3EoScjsNSNTbQdW6qs8GGPkQUQDVW7qkaE2moUGIY4n2m9cR7JBMpN0S6JuUgl// Ei08sPkUFzEuqD2mRwYasq8iSybNfsyV9l1QLKGCPvCe4Gt7iZ4HH+PjZQ5Yu8wZNiJn n1GhqDKgG8SD4vbIJd4y1NX/zu+nU0Y8VWBzktsRy4Uv1RG3ibEXdSvR756Fq2xbFEmT vvtmjhiLVQpNH1XFvCWbw+KjQ9uSEkjtaBa71udqtvvO+se7e5QdOKxci/m6keI0iIlg q3fA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k4-20020a170902ba8400b0016cae200f99si12998313pls.330.2022.07.17.22.47.11; Sun, 17 Jul 2022 22:47:26 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233276AbiGRFhp (ORCPT + 99 others); Mon, 18 Jul 2022 01:37:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48650 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229585AbiGRFhn (ORCPT ); Mon, 18 Jul 2022 01:37:43 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0974A13DE6 for ; Sun, 17 Jul 2022 22:37:39 -0700 (PDT) Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oDJRb-0001j5-RG; Mon, 18 Jul 2022 07:37:23 +0200 Received: from sha by ptx.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1oDJRZ-0006zq-WD; Mon, 18 Jul 2022 07:37:22 +0200 Date: Mon, 18 Jul 2022 07:37:21 +0200 From: Sascha Hauer To: Adam Ford Cc: linux-arm-kernel@lists.infradead.org, Rob Herring , Krzysztof Kozlowski , Shawn Guo , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Catalin Marinas , Will Deacon , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 4/6] arm64: dts: imx8mm-beacon: Enable Digitial Microphone Message-ID: <20220718053721.GB7333@pengutronix.de> References: <20220717181000.1186373-1-aford173@gmail.com> <20220717181000.1186373-5-aford173@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220717181000.1186373-5-aford173@gmail.com> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain User-Agent: Mutt/1.10.1 (2018-07-13) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c0 X-SA-Exim-Mail-From: sha@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, 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 Hi Adam, On Sun, Jul 17, 2022 at 01:09:58PM -0500, Adam Ford wrote: > There is a PDM microphone port on the baseboard which is connected to the > micfil controller. Create a new sound card to support this interface. > > Signed-off-by: Adam Ford > > diff --git a/arch/arm64/boot/dts/freescale/imx8mm-beacon-baseboard.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-beacon-baseboard.dtsi > index 03266bd90a06..16444954f873 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mm-beacon-baseboard.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8mm-beacon-baseboard.dtsi > @@ -98,7 +98,7 @@ reg_usdhc2_vmmc: regulator-usdhc2 { > enable-active-high; > }; > > - sound { > + sound-codec { > compatible = "fsl,imx-audio-wm8962"; > model = "wm8962-audio"; > audio-cpu = <&sai3>; > @@ -111,6 +111,18 @@ sound { > "AMIC", "MICBIAS", > "IN3R", "AMIC"; > }; > + > + sound-micfil { > + compatible = "fsl,imx-audio-card"; > + model = "imx-audio-micfil"; > + pri-dai-link { > + link-name = "micfil hifi"; > + format = "i2s"; > + cpu { > + sound-dai = <&micfil>; > + }; > + }; > + }; Note the micfil works well with the simple-audio-card driver which might be an alternative here. Sascha -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |