From patchwork Sat Nov 7 11:58:05 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 11888881 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.5 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 21D99C388F9 for ; Sat, 7 Nov 2020 11:59:00 +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 C309F20888 for ; Sat, 7 Nov 2020 11:58:59 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="sWt1ZhFt"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="KCYwk2/M" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C309F20888 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+linux-arm-kernel=archiver.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:References:In-Reply-To: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:List-Owner; bh=C9CSkntr/SJuaR7TaIWq0EtPLjBY5xcegrHg4pOzpdI=; b=sWt1ZhFt46Jpr2817YYKvxeBp Unh/JOog3k08AAtGVejWnm+lAF/KozmB5pNTWt3SB7sVtE0vkDI6oX+GxjRhvDva9LgTXZqZaeYFO koZmVm8IANYNDf309SBm3uQ4O8d4RisPR/g79Wge//38m+ai4W9O1xYcmzTz1gjD4IV/+nLIdQT5G 62I5TpB3TfbkEG97M5C1JBexT+dpvTNvNvLFnpgV6uw4/buX3DW5bwpQfO0c2Wq3q5N4toD3KEyDL jMetGZ0hzEAck8i0HwIsnMlnpEH1OnGCVGCQZRw0O9F91cixmxTqWQl+fboElL4jNTgWc4T6FOJ9Q vVTTgDdcA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kbMra-0004Vf-2v; Sat, 07 Nov 2020 11:58:34 +0000 Received: from mail-io1-xd43.google.com ([2607:f8b0:4864:20::d43]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kbMrU-0004TP-8h for linux-arm-kernel@lists.infradead.org; Sat, 07 Nov 2020 11:58:29 +0000 Received: by mail-io1-xd43.google.com with SMTP id o11so4506917ioo.11 for ; Sat, 07 Nov 2020 03:58:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=O70bHm0na7N+R6ZrEDBYfrsG/JlIHa6hFDJz5Nqlhro=; b=KCYwk2/M2tRs7qRUzGRbnvHL0A1ZDIDY+OhRZf+3ru6OyHDv4wzGvQWMcIQAW+KUXp O4ZJcRMSDskXugAO9XyBh7TikOnq/1UXrEdI+TcEim1zBM2XA/A6Z3PdYxMoWWPhco0V MSs7Y2whsbBWXuuyYg71j6Q3cf9y+F00Bf1VYnyqg5Cr5+SaxFQXopswtERvXH5144SH NudAFBVUCpoAL0VPSrfQZiJyygFuqxgbdXdiUelNOUCOSgSh8y/Abwgzxrb0zSPy5HbF lxKq11kCbueDBzyX9T8hzt4Q22Hyj7BR23udJnvQWpQsyW+A8CpvsJQhE/2Z/0KVipvi gNEA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=O70bHm0na7N+R6ZrEDBYfrsG/JlIHa6hFDJz5Nqlhro=; b=sUiScPjqWaRzH04wN/1tLpVP64ODxZE01XjFp827A66U3/OvIhndZqfwBI4zz+IdaI Wz8vDzQvwRMAKBJip3pbpWX+Vg+lquc3M0CpWuqP7ggO4vqlNG6qMxzxgjkps2V/VqVV +JZlwpOlvCfHrn97VlKDee4eAl0ImQoquYLTuzMbSnzaQe2BwxLToOaHUI2L5cU8S6my qxJwynLJNiHihPBhcNKI/e9XD5pH8UyDKYPCeF6xbKb5AbQjMUF/CCZmxRY3Dsm1Sc/q X/MR5z3oyQODuuUu2Upg3f/2FKkRm+on/fXk0GfVFYDJZ0b2yFKCwTf1yPXBAMYJVHZc Lfuw== X-Gm-Message-State: AOAM531Kf0s/IZHnL//HXzsvhZxPYajqrGd+Jo0+ODin1OrJBcEo8113 4JfRRDS2vaFionJAMqUzfJWxc3VoAYUWfg== X-Google-Smtp-Source: ABdhPJx7n9VNpMJ4n0HbrNXF8EXyBcvEWBHsG2akmaBz0Da5SbbOPVEjvFE2fU95jSvoTOZGGAUGLA== X-Received: by 2002:a5d:9ada:: with SMTP id x26mr4618669ion.132.1604750305935; Sat, 07 Nov 2020 03:58:25 -0800 (PST) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:5d9e:32b:1062:f8cd]) by smtp.gmail.com with ESMTPSA id n1sm2920671ile.86.2020.11.07.03.58.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Nov 2020 03:58:25 -0800 (PST) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Subject: [PATCH V4 2/5] arm64: dts: imx8mn: Enable Asynchronous Sample Rate Converter Date: Sat, 7 Nov 2020 05:58:05 -0600 Message-Id: <20201107115809.1866131-2-aford173@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201107115809.1866131-1-aford173@gmail.com> References: <20201107115809.1866131-1-aford173@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201107_065828_340329_AAA6C586 X-CRM114-Status: GOOD ( 13.41 ) 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 , Adam Ford , Sascha Hauer , aford@beaconembedded.com, linux-kernel@vger.kernel.org, Rob Herring , NXP Linux Team , Pengutronix Kernel Team , Shawn Guo Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The driver exists for the Enhanced Asynchronous Sample Rate Converter (EASRC) Controller, but there isn't a device tree entry for it. On the vendor kernel, they put this on a spba-bus for SDMA support. Add the node for the spba-bus with the easrc node inside. Signed-off-by: Adam Ford --- V4: No change V3: Change spba-bus@30000000 to spba: bus@30000000 V2: Make the DT node more in-line with the dt binding and remove vendor customizations that are not applicable. arch/arm64/boot/dts/freescale/imx8mn.dtsi | 28 +++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freescale/imx8mn.dtsi index a06d2a6268e6..61560c083300 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn.dtsi @@ -253,6 +253,34 @@ aips1: bus@30000000 { #size-cells = <1>; ranges; + spba: bus@30000000 { + compatible = "fsl,spba-bus", "simple-bus"; + #address-cells = <1>; + #size-cells = <1>; + reg = <0x30000000 0x100000>; + ranges; + + easrc: easrc@300c0000 { + compatible = "fsl,imx8mn-easrc"; + reg = <0x300c0000 0x10000>; + interrupts = ; + clocks = <&clk IMX8MN_CLK_ASRC_ROOT>; + 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"; + }; + }; + gpio1: gpio@30200000 { compatible = "fsl,imx8mn-gpio", "fsl,imx35-gpio"; reg = <0x30200000 0x10000>; From patchwork Sat Nov 7 11:58:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 11888879 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.5 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0C66AC388F9 for ; Sat, 7 Nov 2020 12:00:09 +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 A5D29206F4 for ; Sat, 7 Nov 2020 12:00:08 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="iHddinYJ"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="GdeEIth7" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A5D29206F4 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+linux-arm-kernel=archiver.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:References:In-Reply-To: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:List-Owner; bh=mxUo28Jx/ZPtg/px8jmpdDjKKy8yyHjNw0+x3GJhDlQ=; b=iHddinYJmaIHm9HGS9iOiZCnx /QNEHqKF8f4cW0Nak+Am+DByNXqkTFfS9FusPFwg2EL37NDFQIhRx75LK5Qqpm0mlPBeHq4DQnlWe qfHC1vctt5Ag7ISGNB2pQhW+C952f7HxTMd37oegmaJ2VT9M0j7BXlwu1p5bdJ7ij9KIrlArQ2ma8 Jtq5UCjfUP1Dz2E9RjvUkQS+CYr8IL9VT3rMOmulcJFEwmarPdyPPptr4lFU+NpDYs2aeINIfRu8w s86ZqouC38mPFTOIS4etGl7UHK6vNUNsPMTDuieYU3KvfFiPQxnEsEu0ydgIA5HXC8tS4ytdVngH4 Qz3NrSluQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kbMre-0004Wt-BM; Sat, 07 Nov 2020 11:58:38 +0000 Received: from mail-il1-x143.google.com ([2607:f8b0:4864:20::143]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kbMrW-0004U1-1N for linux-arm-kernel@lists.infradead.org; Sat, 07 Nov 2020 11:58:30 +0000 Received: by mail-il1-x143.google.com with SMTP id p10so3627650ile.3 for ; Sat, 07 Nov 2020 03:58:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=6q/+UA3/ES9qIvz2cc7bn+hbgGh/XaEahG2SGfUaAWM=; b=GdeEIth70T5fI3u2L468tYJdQLlNcPvHCRb2iUpenleuX0wep5L0mub0gNDIEVpvSN Ht420w5/QDSdG45xEnxLvKZZpJ5WOGsu/841gFVlKtgNPvVRJsrasJffZGQw0hgdjL2L oCALigvaMyO2zwiQULiepqOBO5de1uOUX4GoPYAyV7ldtriIws9K57AcjttfSajlHjbs gxJpYsSzf9M60lRTH9NOonODHXWQJ0eXprnLmSbPQByQmG38fvK5M/LbTnwwOzKUby8A 6M02CoU4yH6Rdg/9F0f9ALh1mOm33ros8zdrqcOd6CATZ0essTyLM8HhwWa2PSxmzX0I jyUA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=6q/+UA3/ES9qIvz2cc7bn+hbgGh/XaEahG2SGfUaAWM=; b=Ev6u448SyGjiE2qWlTXeBvzbTZOOAMFh9FDcfYMdAY7/pe8K1mxzdafCuc+xeH/ryi JUevEqTxUB+AdN5YaH+JYdp50ioWNT8LDpw2b+dP8fB6e+U7q6ktUug86N3NezAIRks+ 6ME8Chq9Z1UiAfgFVis6Ps90LGz0ZIRc4qv+LKsl+f8tyruNir+rWlB8oHpGVEsG+Njm ZbwuJYjPFLmt/3ujxwerdJtcO20lBI0NBo6g7jcZPu1Yj8ArwD6Pju+UeNbsoqxTAFfi 49g9CmdsTnGRwPm4KmT+JhaGUOo4AUR6VbAh/T+EOAoo5rahc5hn/u5n3A4LQ1ixe2f/ Vv2g== X-Gm-Message-State: AOAM533crG+vbL1a/Zz4ShL2JMToKCFyEPVJwXAUGXOhrgHb7Vptbk2C DhVJ25GRM8BUtAQZW8rKW26f2kDhYRSLdA== X-Google-Smtp-Source: ABdhPJyie9W74bpOjsiqPY9J/9iin31rvRjQY73cQi4EHo8S7wM+GoYU2bG3jEkuRr4zjE/Qdnor2w== X-Received: by 2002:a92:ba14:: with SMTP id o20mr4488896ili.76.1604750307609; Sat, 07 Nov 2020 03:58:27 -0800 (PST) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:5d9e:32b:1062:f8cd]) by smtp.gmail.com with ESMTPSA id n1sm2920671ile.86.2020.11.07.03.58.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Nov 2020 03:58:26 -0800 (PST) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Subject: [PATCH V4 3/5] arm64: dts: imx8mn: Add SAI nodes Date: Sat, 7 Nov 2020 05:58:06 -0600 Message-Id: <20201107115809.1866131-3-aford173@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201107115809.1866131-1-aford173@gmail.com> References: <20201107115809.1866131-1-aford173@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201107_065830_120591_EA2DD9A0 X-CRM114-Status: GOOD ( 12.02 ) 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 , Adam Ford , Sascha Hauer , aford@beaconembedded.com, linux-kernel@vger.kernel.org, Rob Herring , NXP Linux Team , Pengutronix Kernel Team , Shawn Guo Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The i.MX8M Nano has several SAI nodes available to it. Enable them. Signed-off-by: Adam Ford --- V4: No Change V3: No Change V2: No Change arch/arm64/boot/dts/freescale/imx8mn.dtsi | 72 +++++++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freescale/imx8mn.dtsi index 61560c083300..6ea0d43a78a3 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn.dtsi @@ -260,6 +260,78 @@ spba: bus@30000000 { reg = <0x30000000 0x100000>; ranges; + sai2: sai@30020000 { + compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai"; + reg = <0x30020000 0x10000>; + interrupts = ; + clocks = <&clk IMX8MN_CLK_SAI2_IPG>, + <&clk IMX8MN_CLK_DUMMY>, + <&clk IMX8MN_CLK_SAI2_ROOT>, + <&clk IMX8MN_CLK_DUMMY>, <&clk IMX8MN_CLK_DUMMY>; + clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3"; + dmas = <&sdma2 2 2 0>, <&sdma2 3 2 0>; + dma-names = "rx", "tx"; + status = "disabled"; + }; + + sai3: sai@30030000 { + compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai"; + reg = <0x30030000 0x10000>; + interrupts = ; + clocks = <&clk IMX8MN_CLK_SAI3_IPG>, + <&clk IMX8MN_CLK_DUMMY>, + <&clk IMX8MN_CLK_SAI3_ROOT>, + <&clk IMX8MN_CLK_DUMMY>, <&clk IMX8MN_CLK_DUMMY>; + clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3"; + dmas = <&sdma2 4 2 0>, <&sdma2 5 2 0>; + dma-names = "rx", "tx"; + status = "disabled"; + }; + + sai5: sai@30050000 { + compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai"; + reg = <0x30050000 0x10000>; + interrupts = ; + clocks = <&clk IMX8MN_CLK_SAI5_IPG>, + <&clk IMX8MN_CLK_DUMMY>, + <&clk IMX8MN_CLK_SAI5_ROOT>, + <&clk IMX8MN_CLK_DUMMY>, <&clk IMX8MN_CLK_DUMMY>; + clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3"; + dmas = <&sdma2 8 2 0>, <&sdma2 9 2 0>; + dma-names = "rx", "tx"; + fsl,shared-interrupt; + fsl,dataline = <0 0xf 0xf>; + status = "disabled"; + }; + + sai6: sai@30060000 { + compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai"; + reg = <0x30060000 0x10000>; + interrupts = ; + clocks = <&clk IMX8MN_CLK_SAI6_IPG>, + <&clk IMX8MN_CLK_DUMMY>, + <&clk IMX8MN_CLK_SAI6_ROOT>, + <&clk IMX8MN_CLK_DUMMY>, <&clk IMX8MN_CLK_DUMMY>; + clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3"; + dmas = <&sdma2 10 2 0>, <&sdma2 11 2 0>; + dma-names = "rx", "tx"; + status = "disabled"; + }; + + sai7: sai@300b0000 { + compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai"; + reg = <0x300b0000 0x10000>; + interrupts = ; + clocks = <&clk IMX8MN_CLK_SAI7_IPG>, + <&clk IMX8MN_CLK_DUMMY>, + <&clk IMX8MN_CLK_SAI7_ROOT>, + <&clk IMX8MN_CLK_DUMMY>, <&clk IMX8MN_CLK_DUMMY>; + clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3"; + dmas = <&sdma2 12 2 0>, <&sdma2 13 2 0>; + dma-names = "rx", "tx"; + status = "disabled"; + }; + easrc: easrc@300c0000 { compatible = "fsl,imx8mn-easrc"; reg = <0x300c0000 0x10000>; From patchwork Sat Nov 7 11:58:07 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 11888877 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.5 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1A23CC388F9 for ; Sat, 7 Nov 2020 11:59:04 +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 A81D420719 for ; Sat, 7 Nov 2020 11:59:03 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ehjgJnzI"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="rj4ovlkH" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A81D420719 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+linux-arm-kernel=archiver.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:References:In-Reply-To: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:List-Owner; bh=t3dg13QAyxnQte0MPAy24v2T0qcuJ0nVRkHNtLKtj8g=; b=ehjgJnzIaFOh+a2/3NU55nWui tZliK08nJuSUP0nN7GzcC4O3LOxlvHDQ/l49PM0GS2ijyGKaIcsczQr29TbFBDcYuGJW/FOG/nWxR CApuBz0BP+09Auj/CJzLkEYFveJ1i2r0N0jKIL8FZVx6tnu1sJsobW6sFw7z1A3qoHODiVOjclP0e NzoqjOFBxzqVG5V8Km33u8Kznfl9uEJWzAUNas+QVRg44Qy8M56rnw+tiS3gTEdW6aHKeMYAwjnss q7IRd16GDmo/P4jY4/HAzfIzDM8+0IAg6ZbqSUB2XrdxNFVuRS8mg0oUTRMyrvNrY5xzFP8QAFq/j 5CnJXuZsg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kbMrj-0004YQ-5V; Sat, 07 Nov 2020 11:58:43 +0000 Received: from mail-io1-xd44.google.com ([2607:f8b0:4864:20::d44]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kbMrW-0004UG-Ti for linux-arm-kernel@lists.infradead.org; Sat, 07 Nov 2020 11:58:31 +0000 Received: by mail-io1-xd44.google.com with SMTP id p7so4521182ioo.6 for ; Sat, 07 Nov 2020 03:58:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=8TYaQhPWhE2R8SN/6kXesrx9+2H5np1CaC8Ta2eDNVk=; b=rj4ovlkHkI6QKRVvdjhEe570EgQctiw8Z5Owy1UDBhh162gk3fu2FYDMm0XMTf/whB C6/zqqCZtUiaTua7ASzVjciwMuPzD1InB3arceiwhvnc2u+hE5V91rOyK5l2TLXCZEdR uqYV5QLaSCkX+jwr3PAQpxJQ9eMFkHSjX3J3hbfHqMoqJpjQ50DKnwz+3Uh5/gTrkinY B/PttwMl4+OA945+1/1OfrAF3fa9tFeybGO75sOXwq9zWMqn8/FoseDaTmBMikyEfCo/ IbxNcy5+viPdNJ2dCXsud/FgslYE3088bHBLCHNs65S8KtitQ15epyhTsIKADm7rzs6p 7K0w== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=8TYaQhPWhE2R8SN/6kXesrx9+2H5np1CaC8Ta2eDNVk=; b=quPSUYDURotMz436dsPDuJggErNae3yrzqD1IRt+mtVQ3RkFYRYNmVD/h5YG0kB9a8 0dsAaSCJZk08pugOTFqxkXomJYBqNWqynt+K9w/nE3C39xeE9Bbkmf6/PiNHaaC/qWx2 /ll9wWsxutiq70YzCpQ9kjJIiGmFCHLBhWe88k/d5IJggm3d9w3HJxbiWDOT5oOxhi1M hqQt6gnRIJFrIVMYNOih1tbc9EJwJACpvqkG26ZQCyIH1n3hapJNXb5aHnBmqxaAzyI3 0j4mU6iFf8KEo4+NDnt6b+t1CILMIKxc+Glpv0I2LfQnk0SrZNoxYhzxAmM93uJl/D6L YCxA== X-Gm-Message-State: AOAM531vzYxw82WTPz7eHB2dUJohIP7XaZJUFXvPV933wPLVDPirVXqz DmKWVkWnG+b74YZLCt2m9Ib3e+mFdNgwhA== X-Google-Smtp-Source: ABdhPJyY5Tbb3OWFmVsJp53JHxUlFvlR1sTIUcsrK+I9NWsmLE+FonU4MONfgm+V3KLAZD9WKOCTmA== X-Received: by 2002:a6b:7a02:: with SMTP id h2mr4658314iom.171.1604750309145; Sat, 07 Nov 2020 03:58:29 -0800 (PST) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:5d9e:32b:1062:f8cd]) by smtp.gmail.com with ESMTPSA id n1sm2920671ile.86.2020.11.07.03.58.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Nov 2020 03:58:28 -0800 (PST) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Subject: [PATCH V4 4/5] arm64: dts: imx8mn: Add support for micfil Date: Sat, 7 Nov 2020 05:58:07 -0600 Message-Id: <20201107115809.1866131-4-aford173@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201107115809.1866131-1-aford173@gmail.com> References: <20201107115809.1866131-1-aford173@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201107_065831_002230_1B3BCFA5 X-CRM114-Status: GOOD ( 13.34 ) 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 , Adam Ford , Sascha Hauer , aford@beaconembedded.com, linux-kernel@vger.kernel.org, Rob Herring , NXP Linux Team , Pengutronix Kernel Team , Shawn Guo Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The i.MX8M Nano 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. Add the micfil node. Signed-off-by: Adam Ford --- V4: No Change V3: No Change V2: Change micfil@30080000 to audio-controller@30080000 arch/arm64/boot/dts/freescale/imx8mn.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freescale/imx8mn.dtsi index 6ea0d43a78a3..aa3f1eb391bd 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn.dtsi @@ -318,6 +318,25 @@ sai6: sai@30060000 { status = "disabled"; }; + micfil: audio-controller@30080000 { + compatible = "fsl,imx8mm-micfil"; + reg = <0x30080000 0x10000>; + interrupts = , + , + , + ; + clocks = <&clk IMX8MN_CLK_PDM_IPG>, + <&clk IMX8MN_CLK_PDM_ROOT>, + <&clk IMX8MN_AUDIO_PLL1_OUT>, + <&clk IMX8MN_AUDIO_PLL2_OUT>, + <&clk IMX8MN_CLK_EXT3>; + clock-names = "ipg_clk", "ipg_clk_app", + "pll8k", "pll11k", "clkext3"; + dmas = <&sdma2 24 25 0x80000000>; + dma-names = "rx"; + status = "disabled"; + }; + sai7: sai@300b0000 { compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai"; reg = <0x300b0000 0x10000>;