From patchwork Sun Aug 27 02:31:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 13366820 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BC55DC6FA8F for ; Sun, 27 Aug 2023 02:33:45 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id E880D886; Sun, 27 Aug 2023 04:32:52 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz E880D886 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1693103623; bh=ERjUgwSYeFdskFgJLOFIN4Bd16MGNrDbQDtCGmGYpWo=; h=From:To:Cc:Subject:Date:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=DyxGPYahUs3qhRioGWnwCmHxV1eWJ7SSzLr2US7SyXdhZrxlM2a69U51ZuxLFKPk5 Z68hd8BVrUMkYiocaspqfRTxsbIMzLie1DJZJq1m9AWHY921PBw77XnZb2GiZiqZsQ U8kDAlT0h3jp9eV3ijG494gJa1BDjF4yoR9GTBMQ= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 69C43F80155; Sun, 27 Aug 2023 04:32:24 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id E4DE0F80074; Sun, 27 Aug 2023 04:32:23 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 9E900F8023B; Sun, 27 Aug 2023 04:32:17 +0200 (CEST) Received: from mail-il1-x12c.google.com (mail-il1-x12c.google.com [IPv6:2607:f8b0:4864:20::12c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id A4295F80074 for ; Sun, 27 Aug 2023 04:32:08 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz A4295F80074 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20221208 header.b=PvFJv7DE Received: by mail-il1-x12c.google.com with SMTP id e9e14a558f8ab-34ca07ea55dso7210475ab.2 for ; Sat, 26 Aug 2023 19:32:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693103526; x=1693708326; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ApeSjM7hw/lG6tW2IMrrknm0IVFEfBtJMdeIIJl4q+Q=; b=PvFJv7DEd1JHac6VnvYdrQq9eNmK4cH2NHSseTh4VxMV4wpUJxwtFwAC7lWr6k1x1I /SKDR8ny/Jz6m9FjH0T4IruqOrpi/jD+kU8xlAW9LOp7uXRef/jCFGzoDZB4RY5GZ8xq zgf9jEaBzyuIxhfcJG3I5lDdA8R6y48h07JPnw7rdGgh6mOgPbukw/o0wCDmV+5daXQz RU++xsHclF2B2F4okWRXbL1EB7OD2MxsZ6XpgU2+r9h54qk2ZiscHRV4hZsBriGS43pD Wko3azTms95mvDdn/QNYzatzvfh2VlOjwgE/TlXz1mz8FaQt6aV5JFuFAsxYnJ2AHahA vuKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693103526; x=1693708326; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ApeSjM7hw/lG6tW2IMrrknm0IVFEfBtJMdeIIJl4q+Q=; b=KJaBQh4PwBAINmg9eRhlnAr1OoofkiFq1FuSMr5aqbJ1X1tE+CQzcyEZ81DAGr21oX pq9qQGhHvHKchItUNB0QcvOJtVGE1Gk5hClxxljyt+AyAzrTnNV5aOMI5E4MFhu2hcwp tboXy4LlHVYwgSB959SZUAdTH9SML7M0Ppdezr/BHFo9rFdIVb2jTdOeofCS5hFD4Ps/ uVz+63o8QcHPW/4Lni6si1i7ifrVQPCODZoB8VOEjGUzeCqfTF04PQx9EYbzn90vViMB Lg1R1enW61dRulsHBgRqXl5l5c7BIHUpiE4I4s/JoQZoY5VrlO18PTiP5lTJG0GEy1Xu B9xg== X-Gm-Message-State: AOJu0YwcjXqkf8XxgUTGwtOw+xZVAcGo18tZPwzBFQwAmUYX0XkWUDuI /AjAEfKjCNS4Yeo4rKFdBdM= X-Google-Smtp-Source: AGHT+IF9EVO8eUJZilq7N7KAL3LWOobH19T0XMaJmOkjuahDbmBpbwBT4CoIif1djlm2lsBZ5/NWbQ== X-Received: by 2002:a05:6e02:1646:b0:348:add7:f8e1 with SMTP id v6-20020a056e02164600b00348add7f8e1mr15709100ilu.30.1693103526337; Sat, 26 Aug 2023 19:32:06 -0700 (PDT) Received: from aford-B741.lan ([2601:447:d001:897f:80ee:1859:87ec:6d31]) by smtp.gmail.com with ESMTPSA id n18-20020a056e0208f200b0034202d05fadsm1581533ilt.72.2023.08.26.19.32.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Aug 2023 19:32:05 -0700 (PDT) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Cc: aford@beaconembedded.com, Adam Ford , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Shengjiu Wang , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH V2 1/3] ASoC: dt-bindings: fsl_easrc: Add support for imx8mp-easrc Date: Sat, 26 Aug 2023 21:31:53 -0500 Message-Id: <20230827023155.467807-1-aford173@gmail.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Message-ID-Hash: 5RERVRZUFOBZC4MOQHPEV57SFCOKCGTD X-Message-ID-Hash: 5RERVRZUFOBZC4MOQHPEV57SFCOKCGTD X-MailFrom: aford173@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: <> List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: The i.MX8MP appears to have the same easrc support as the Nano, so add imx8mp as an option with a fallback to imx8mn. Signed-off-by: Adam Ford Reviewed-by: Krzysztof Kozlowski Acked-by: Conor Dooley --- V2: Fixed errors: ['fsl,imx8mn-easrc'] is too short 'fsl,imx8mn-easrc' is not one of ['fsl,imx8mp-easrc'] diff --git a/Documentation/devicetree/bindings/sound/fsl,easrc.yaml b/Documentation/devicetree/bindings/sound/fsl,easrc.yaml index bdde68a1059c..a680d7aff237 100644 --- a/Documentation/devicetree/bindings/sound/fsl,easrc.yaml +++ b/Documentation/devicetree/bindings/sound/fsl,easrc.yaml @@ -14,7 +14,13 @@ properties: pattern: "^easrc@.*" compatible: - const: fsl,imx8mn-easrc + oneOf: + - enum: + - fsl,imx8mn-easrc + - items: + - enum: + - fsl,imx8mp-easrc + - const: fsl,imx8mn-easrc reg: maxItems: 1 From patchwork Sun Aug 27 02:31:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 13366822 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6B746C6FA8F for ; Sun, 27 Aug 2023 02:34:16 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 5416BDF1; Sun, 27 Aug 2023 04:33:24 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 5416BDF1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1693103654; bh=mGhtWSzoPTusRWci884ej+oSaEZ8ctuPjimuqlXXMJI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=bctKNOSgqMZRgg4goXlQU2WTZOzpWgr3ZvL0rTiLKos2dv1mhNFXGQcpWQeztLNlJ pV4KPHmfXwjEkjFvityiErqS1uRmKz967phfmR+aPnn+1AUaEd51pyEcmyYM2OP0s1 mSEvG8v36wkUDUeyghNWUjTyTdNu+aHf2MhFfP7s= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 56E53F80567; Sun, 27 Aug 2023 04:32:28 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id C4169F80564; Sun, 27 Aug 2023 04:32:27 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id F3AA8F80158; Sun, 27 Aug 2023 04:32:21 +0200 (CEST) Received: from mail-io1-xd2d.google.com (mail-io1-xd2d.google.com [IPv6:2607:f8b0:4864:20::d2d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id DD6A7F80155 for ; Sun, 27 Aug 2023 04:32:10 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz DD6A7F80155 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20221208 header.b=lo9ZFtZg Received: by mail-io1-xd2d.google.com with SMTP id ca18e2360f4ac-77a62a84855so76417439f.1 for ; Sat, 26 Aug 2023 19:32:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693103528; x=1693708328; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=E6JljaP6ydDpiKUAUEr2HJLofyqFW0MhNueQ/UlFehE=; b=lo9ZFtZglKjl08HKkE5t0WneBOqBkXhXzXR2N778Blp7gbLP1XcXlyM4hoSYaQwg9H jhiTL1MUwwo6IDuqSdhw1lTCA7YuQP/qjtmKjXsJ9uTKgvLZVW/ynSbudpOhq2nuexJJ Q8LCxVUg0XTp3hx7uQL8K2rOXFXiHwH1S7W/HBw1KjJegELDdErKqDdf5CBjsQzFc1MR 7266uEIsBXOMz1QLbq2L/ok+QJ7TF5Xny/ed/31KrvO9D8dJKZiiBw2iVWpJRV+m6M/U piKEifYVVVblXXC6TGJI+ltxrq/jqsopS1UA48bDufRMq8TMQ1kPRo4v/1u1ZQYLW8cj iz8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693103528; x=1693708328; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=E6JljaP6ydDpiKUAUEr2HJLofyqFW0MhNueQ/UlFehE=; b=KbCr7onmmm5EEQr5Xoh1+JZIb1WpDbJgVXosiCHN0crSYzY9FRZcKU+zqlaVBYUjPS kGgeTHFmRmIIOimMWHFBH7QJaQBCkZhox3HuJgpKILPxTrB0Lu71kqgK3YVsj31ps67S tJZKH9Mf1ETlYkW/ucn/j7k9GNmes6BbT8Cp0hyGTMk+RmeGQroelbaNtk8LUyOVoA9r cuenmq2xuS3zr2WBerxtlN+Dton5BjzKbBblYq5NY2AOQguI2GHeiDTEn0Hd9vCVptMB P+6T6J1RPRgFREp7ulJduWT3Cg3zipiJvzvmc4BVl9Pv1kDW0RUO4IEgMdfsXNe21gkM rh1Q== X-Gm-Message-State: AOJu0Yx68hSHiN6u21zeBZvyiv+mKG+9a26tG4ZNiDufFEd4xHxfSGR8 JxXJv3sPB46z14Cg+CwQ1j0= X-Google-Smtp-Source: AGHT+IFHmtefwiknYqi7kY+GlLeufxz2ZPziMtQjJxWIMqW4V/Lw28aZlw4f8ngVDEGD8Ckeq39R/Q== X-Received: by 2002:a05:6e02:ca7:b0:34b:b024:a07c with SMTP id 7-20020a056e020ca700b0034bb024a07cmr11373658ilg.5.1693103528163; Sat, 26 Aug 2023 19:32:08 -0700 (PDT) Received: from aford-B741.lan ([2601:447:d001:897f:80ee:1859:87ec:6d31]) by smtp.gmail.com with ESMTPSA id n18-20020a056e0208f200b0034202d05fadsm1581533ilt.72.2023.08.26.19.32.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Aug 2023 19:32:07 -0700 (PDT) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Cc: aford@beaconembedded.com, Adam Ford , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Shengjiu Wang , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH V2 2/3] arm64: dts: imx8mp: Add easrc node Date: Sat, 26 Aug 2023 21:31:54 -0500 Message-Id: <20230827023155.467807-2-aford173@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230827023155.467807-1-aford173@gmail.com> References: <20230827023155.467807-1-aford173@gmail.com> MIME-Version: 1.0 Message-ID-Hash: E2I46JAEFHM6HELOITBNU27U4OC73WAY X-Message-ID-Hash: E2I46JAEFHM6HELOITBNU27U4OC73WAY X-MailFrom: aford173@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: The i.MX8MP has an asynchronous sample rate converter which seems to be the same as what is available on the i.MX8M Nano. Signed-off-by: Adam Ford --- V2: No change diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi index 6f2f50e1639c..79cdd4c066c8 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -1453,6 +1453,26 @@ sai7: sai@30c80000 { interrupts = ; status = "disabled"; }; + + easrc: easrc@30c90000 { + compatible = "fsl,imx8mp-easrc", "fsl,imx8mn-easrc"; + reg = <0x30c90000 0x10000>; + interrupts = ; + clocks = <&audio_blk_ctrl IMX8MP_CLK_AUDIOMIX_ASRC_IPG>; + clock-names = "mem"; + dmas = <&sdma2 16 23 0> , <&sdma2 17 23 0>, + <&sdma2 18 23 0> , <&sdma2 19 23 0>, + <&sdma2 20 23 0> , <&sdma2 21 23 0>, + <&sdma2 22 23 0> , <&sdma2 23 23 0>; + dma-names = "ctx0_rx", "ctx0_tx", + "ctx1_rx", "ctx1_tx", + "ctx2_rx", "ctx2_tx", + "ctx3_rx", "ctx3_tx"; + firmware-name = "imx/easrc/easrc-imx8mn.bin"; + fsl,asrc-rate = <8000>; + fsl,asrc-format = <2>; + status = "disabled"; + }; }; sdma3: dma-controller@30e00000 { From patchwork Sun Aug 27 02:31:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 13366821 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E5708C83F01 for ; Sun, 27 Aug 2023 02:34:07 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id A4B34A4D; Sun, 27 Aug 2023 04:33:15 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz A4B34A4D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1693103645; bh=mlCIGyNtd+1jW4y7BtLv/AGrAgPDY4P5R3A2Z2JVywQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=IrJDAh79eIJ0lTitXS637jZijerXc8T2jV7UAAP9aZ74KXHSbrxBUviX1WTu3E0Un KO/a2jJUUZt5CENV5ZmUfAZGhb/VQz/SEo14oxibA1zMdruWz6aOi7MdnwUQUVeGHO tWaAdybMr3vGIU5JMt65Z5aA+2OuhM5lyJMvJGbo= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 12CE9F804F3; Sun, 27 Aug 2023 04:32:27 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 5138FF80536; Sun, 27 Aug 2023 04:32:26 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id EA131F800D1; Sun, 27 Aug 2023 04:32:19 +0200 (CEST) Received: from mail-il1-x136.google.com (mail-il1-x136.google.com [IPv6:2607:f8b0:4864:20::136]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 124D6F80158 for ; Sun, 27 Aug 2023 04:32:11 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 124D6F80158 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20221208 header.b=XuMQgGVJ Received: by mail-il1-x136.google.com with SMTP id e9e14a558f8ab-34bb72ffb1fso7543075ab.3 for ; Sat, 26 Aug 2023 19:32:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693103530; x=1693708330; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=4D/qWo3eeniEHWUOvOQr5eDGJa7jMw5uJueo9l6EPmM=; b=XuMQgGVJ1bqauAc29S++ga38hDlTJkjWGKU5uK0vFROrjXgvz9scsjtDUwpHBBMQ6a MuGOdH8THZn5bnzaMKPan1vSCIruCZbbZl9OWsJlQWAP1DrLad7YplPuLKgaOI8bVKwq wchpegxIqKyH6hgv4nG4kuPstffzGut0tC7Jrgj0U2sRjA9EvNz0azn6J6iQ80HS3KdH MK3SIZUxYkJnYjOLsxDj93yVZ4mN1PmneXbG2H5STLZ8sIHN3+gY0l48qpZJxwbVAaFp iEa6sO8BWmmbkark8C+NOVzSYTdIgvprZLaN3HC7GkFXHhcGGKOYrHFJB83pJumLMU3F KZCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693103530; x=1693708330; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4D/qWo3eeniEHWUOvOQr5eDGJa7jMw5uJueo9l6EPmM=; b=I2UiURWrfqK/mC8AldN+E4L0v+sO9YWGg4WGjvdqF3G4qnys7d59QZ4jXLxsu6Dw9p mq0m2Qs43oXgYWQkGtXEYdulrHmjdamIzmxU94TZfFgVCPfdqs9xNqL6kp3t5+N8m/vD w+OGzmj9lnUGkWakPlvzkJrNduHNK490jRdOQlah8yP2HRsIsASBSBNlOYqgqezgmkFE GTIW7D6Mxz6D81sCmYXlpJIn6LuAi8bxDf40Qqci7KCsdVdTWqxM8p9Wg6QYGEekwoTM X88ULrjcvUfCpf0W1hqMIO2x4mLj/6hzb8lghw3mADrorRzkCldWsMudWG7pudL2Tpug SIag== X-Gm-Message-State: AOJu0YxYcV5lriNPj5TqWz3aB+ozRXx2ulRh0H84VhgxOPV49ADTANcQ BijtH1TV31ULAxHtg+eloi8= X-Google-Smtp-Source: AGHT+IEpnvztJJ7HO3LB7tD86lnw5g8Py4biZ+7rJUaPiHU4q1Ub+9TbQ2YansqORcIItaDYEv3juw== X-Received: by 2002:a92:505:0:b0:34c:cee5:4bf5 with SMTP id q5-20020a920505000000b0034ccee54bf5mr10148093ile.5.1693103529979; Sat, 26 Aug 2023 19:32:09 -0700 (PDT) Received: from aford-B741.lan ([2601:447:d001:897f:80ee:1859:87ec:6d31]) by smtp.gmail.com with ESMTPSA id n18-20020a056e0208f200b0034202d05fadsm1581533ilt.72.2023.08.26.19.32.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Aug 2023 19:32:09 -0700 (PDT) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Cc: aford@beaconembedded.com, Adam Ford , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Shengjiu Wang , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH V2 3/3] arm64: dts: imx8mp: Add micfil node Date: Sat, 26 Aug 2023 21:31:55 -0500 Message-Id: <20230827023155.467807-3-aford173@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230827023155.467807-1-aford173@gmail.com> References: <20230827023155.467807-1-aford173@gmail.com> MIME-Version: 1.0 Message-ID-Hash: EGRV5HJVVZRXIHUE4J6F7HGPF7RYUTIE X-Message-ID-Hash: EGRV5HJVVZRXIHUE4J6F7HGPF7RYUTIE X-MailFrom: aford173@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: The i.MX8MP has a micfil controller which is used for interfacing with a pulse density microphone. Add the node and mark it as disabled by default. Signed-off-by: Adam Ford --- V2: No Change diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi index 79cdd4c066c8..b44851a2f579 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -1473,6 +1473,27 @@ easrc: easrc@30c90000 { fsl,asrc-format = <2>; status = "disabled"; }; + + micfil: audio-controller@30ca0000 { + compatible = "fsl,imx8mp-micfil"; + reg = <0x30ca0000 0x10000>; + #sound-dai-cells = <0>; + interrupts = , + , + , + ; + clocks = <&audio_blk_ctrl IMX8MP_CLK_AUDIOMIX_PDM_IPG>, + <&audio_blk_ctrl IMX8MP_CLK_AUDIOMIX_PDM_ROOT>, + <&clk IMX8MP_AUDIO_PLL1_OUT>, + <&clk IMX8MP_AUDIO_PLL2_OUT>, + <&clk IMX8MP_CLK_EXT3>; + clock-names = "ipg_clk", "ipg_clk_app", + "pll8k", "pll11k", "clkext3"; + dmas = <&sdma2 24 25 0x80000000>; + dma-names = "rx"; + status = "disabled"; + }; + }; sdma3: dma-controller@30e00000 {