From patchwork Thu Oct 8 21:27:04 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 11824605 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 435111580 for ; Thu, 8 Oct 2020 21:29:21 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id F08AA22203 for ; Thu, 8 Oct 2020 21:29:20 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="NJpqctjY"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="lpxUukZH" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F08AA22203 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=mSlfUAHApOb+CynUryVpnboKFuSUy1tg++suht/AG8M=; b=NJpqctjYuwpBraRnzADo8K9BNg JooUUbrOyWEtl5WfM7ulCWQzOlxiz+ZxQN1zkjM+Du9Gc0jw3D8yWlrBKOWIamCKJF7Ph50UEq1o1 JpjDIqlJs5cZnKeH2PwhnLhCmrtZ2Kg5xScgRhlltJqjuqROpwvzsTbWLPLcdFPoi0K5U4AvQSePg dkGAAiDaVVz0U9inJsnucemP9RIEcdAX4tw8VdWQ96AvgD9YGU1pORhkFoBk26EKKKf2EQDk3PVtA aiACTJ1ahsamcow7DEuLcWXSrKhO1FfWV9YpzlEyJx8Qgxjnup7eWghO5sJcb2J/34tWyCOr6JOyE MKpsKhnw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kQdRs-0005Gv-7B; Thu, 08 Oct 2020 21:27:40 +0000 Received: from mail-io1-xd41.google.com ([2607:f8b0:4864:20::d41]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kQdRq-0005GM-2k for linux-arm-kernel@lists.infradead.org; Thu, 08 Oct 2020 21:27:38 +0000 Received: by mail-io1-xd41.google.com with SMTP id r4so349747ioh.0 for ; Thu, 08 Oct 2020 14:27:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=sUwlSr28IICIPzmhkTTd4goR+XOu/pSZVwbvatvP54o=; b=lpxUukZHbJqdLgf5ohQdAWHoKmY/ZXmdKcgHvIsH1LNMjao5p+A6CIb10YHmUm0cE7 TZPG2biRm8Hiva+ZTDbhlljPwXwk0PVjQnvDB4j6Hgsf3EcyiHIWMzzyVYdc/tRaJ2q7 kXnC5NT9dJBjuC632oO53Ba51E2Cd7emvupQO2c85ltakyOibUAzTGV/8hQQaJaczQch cx2pUMa7rYf8Q/ALxMZncdCn0pbE5XD6vsAPQpRNMXGIkSom3efMESZELu+WG0EU1Gqv CwJtm78AZY9wPXBSUdjD9MNWhXd3eJnP2N1+hDAGuUNXirH3rvBiFmV8uTVkbqERY7O3 cTmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=sUwlSr28IICIPzmhkTTd4goR+XOu/pSZVwbvatvP54o=; b=kgRsQmhOZk2Kmwo5LnkwcRMtf1cXgk7CFnYFhpvwvOfFGjtNfaJz8/A8+GeHpKb1rH fxRG5sMqKD0wGiGS7E4K81gX67qfNh6OxBF6m6B+L6nPet+7m08lzygiZT7TZPxvSjai bGD118VQjL1gdv1ge2/C7c3/G9zF6yR+XBYjLsGPJK1/a544Sbr2+MYwocNY7s0KF7b/ 30Bz22RNHTkegxREOl6Eyl2SSCGNrZyHTKocxk9n05QV9DPSthQ7XOHjZ8dFQISLVK6f 7Ly5m046olDhlD/v7u+RU8d5KebeUcZJIc11wpw6MBgfDUpmV3ZGKAw6g9oBPBcTWEDf 8iyQ== X-Gm-Message-State: AOAM533XDY/aPmnzhsMC6HWGqmRIx46mJ8kNr+OxuD464bPH4dSm9Rxn Z6iRovNskEaLzMZxL6CXGsD5oWEYiBFvJ0sd X-Google-Smtp-Source: ABdhPJxF/WcUgOK6RQRHznO47V2RGmNflJEjbUzrArXMyhwE0a9K8sq5NhmI3y5Z8I19p9I1E7jnJA== X-Received: by 2002:a6b:760c:: with SMTP id g12mr7376891iom.150.1602192455903; Thu, 08 Oct 2020 14:27:35 -0700 (PDT) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:7c62:dd9d:b755:cfbd]) by smtp.gmail.com with ESMTPSA id o72sm3067090ilb.6.2020.10.08.14.27.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Oct 2020 14:27:35 -0700 (PDT) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/3] arm64: dts: imx8mm: Add support for micfil Date: Thu, 8 Oct 2020 16:27:04 -0500 Message-Id: <20201008212706.870115-1-aford173@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201008_172738_122980_C6DA2C52 X-CRM114-Status: GOOD ( 12.69 ) X-Spam-Score: 0.1 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (0.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:d41 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [aford173[at]gmail.com] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit [aford173[at]gmail.com] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Fabio Estevam , Will Deacon , Adam Ford , Sascha Hauer , aford@beaconembedded.com, linux-kernel@vger.kernel.org, Rob Herring , NXP Linux Team , Pengutronix Kernel Team , Catalin Marinas , Shawn Guo Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org The i.MX8M Mini has supports the MICFIL digital interface. It's a 16-bit audio signal from a PDM microphone bitstream. The driver is already in the kernel, but the node is missing. This patch adds the micfil node. Signed-off-by: Adam Ford diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi b/arch/arm64/boot/dts/freescale/imx8mm.dtsi index b83f400def8b..fad1f9cdb241 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm.dtsi @@ -339,6 +339,25 @@ sai6: sai@30060000 { status = "disabled"; }; + micfil: audio-controller@30080000 { + compatible = "fsl,imx8mm-micfil"; + reg = <0x30080000 0x10000>; + interrupts = , + , + , + ; + clocks = <&clk IMX8MM_CLK_PDM_IPG>, + <&clk IMX8MM_CLK_PDM_ROOT>, + <&clk IMX8MM_AUDIO_PLL1_OUT>, + <&clk IMX8MM_AUDIO_PLL2_OUT>, + <&clk IMX8MM_CLK_EXT3>; + clock-names = "ipg_clk", "ipg_clk_app", + "pll8k", "pll11k", "clkext3"; + dmas = <&sdma2 24 25 0x80000000>; + dma-names = "rx"; + status = "disabled"; + }; + gpio1: gpio@30200000 { compatible = "fsl,imx8mm-gpio", "fsl,imx35-gpio"; reg = <0x30200000 0x10000>;