From patchwork Tue Mar 26 09:43:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Baluta X-Patchwork-Id: 10870785 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1863615AC for ; Tue, 26 Mar 2019 09:43:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EF186290EC for ; Tue, 26 Mar 2019 09:43:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E2D3C290F1; Tue, 26 Mar 2019 09:43:40 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 621EE290EC for ; Tue, 26 Mar 2019 09:43:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: 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=IXthsLixpueOr8EmwsKr9oyKnVNKbUdzLf3Nvzpp7oE=; b=mFOAV5o8F25GaF Uzko9fqTqT2EhikVD/gaeid/7n7GdMVCfEWihzZvwfuOSdpnV7TbrLVjddc8skhdvmnIWKotyLAPw auHRd7A6/VpnQrii8TFmkkAj/ovJOGHGWbgdaQaiuUto+4encWUSoae/dsjiSXxd9uQpinDaBFfOW AlpB+Dzw7C62RpuOOjkyUo36O9+LZZUiba98ohnQhRyVrlA/c9kOFHMbJ9CdKDHLwMilPjMKX0Bn+ rI0LTVA4gceYxNpWgJuWqTpu7ChjcexHUqcbiEbCKHvM3SLrIeKa4H9Q4mIzpnhi2x9ROSB/98kQQ pZWlMIaII6dsa37zT9mQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h8icG-0002tX-O1; Tue, 26 Mar 2019 09:43:32 +0000 Received: from mail-eopbgr30045.outbound.protection.outlook.com ([40.107.3.45] helo=EUR03-AM5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h8ibx-0002Rj-Px for linux-arm-kernel@lists.infradead.org; Tue, 26 Mar 2019 09:43:17 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vYoz2NR5FxGxesMwqRYEwbXGwvIn+88o32QCYgOBmmQ=; b=ZqlK5KwN6o0YmKGKv7btjqudnbSGxxv9ULAJlaem/ff9aUgKCxUp2I51zP/L9nEB0NlsvX2Kmkc5oyYViBAQI+LbeCnRjnhlJ0z2+HXPg6lSq0Y4YK3PvyIA98yBVkHQpZ+dLLOc4MdMLlHNg97xUbJHEoh1BLFEhEgr2U+d/4g= Received: from VI1PR0402MB3357.eurprd04.prod.outlook.com (52.134.1.18) by VI1PR0402MB3693.eurprd04.prod.outlook.com (52.134.15.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1730.18; Tue, 26 Mar 2019 09:43:01 +0000 Received: from VI1PR0402MB3357.eurprd04.prod.outlook.com ([fe80::ddb1:9613:3e6d:eac5]) by VI1PR0402MB3357.eurprd04.prod.outlook.com ([fe80::ddb1:9613:3e6d:eac5%3]) with mapi id 15.20.1730.019; Tue, 26 Mar 2019 09:43:01 +0000 From: Daniel Baluta To: "shawnguo@kernel.org" Subject: [PATCH 2/2] arm64: dts: imx8qxp: Add EDMA0/EDMA1 nodes Thread-Topic: [PATCH 2/2] arm64: dts: imx8qxp: Add EDMA0/EDMA1 nodes Thread-Index: AQHU47hNNps50UbnM0mW6a12KOqBSg== Date: Tue, 26 Mar 2019 09:43:01 +0000 Message-ID: <20190326094239.5910-3-daniel.baluta@nxp.com> References: <20190326094239.5910-1-daniel.baluta@nxp.com> In-Reply-To: <20190326094239.5910-1-daniel.baluta@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1PR07CA0235.eurprd07.prod.outlook.com (2603:10a6:802:58::38) To VI1PR0402MB3357.eurprd04.prod.outlook.com (2603:10a6:803:2::18) authentication-results: spf=none (sender IP is ) smtp.mailfrom=daniel.baluta@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.17.1 x-originating-ip: [212.146.100.6] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d20061b9-fbaf-4785-a4cb-08d6b1cf6fe8 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1PR0402MB3693; x-ms-traffictypediagnostic: VI1PR0402MB3693: x-ms-exchange-purlcount: 1 x-microsoft-antispam-prvs: x-forefront-prvs: 09888BC01D x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(979002)(376002)(366004)(396003)(346002)(39860400002)(136003)(199004)(189003)(81166006)(6506007)(4326008)(1730700003)(25786009)(81156014)(966005)(66066001)(102836004)(76176011)(86362001)(5660300002)(2351001)(105586002)(1076003)(478600001)(8676002)(6512007)(14454004)(3846002)(99286004)(52116002)(6116002)(68736007)(50226002)(106356001)(6306002)(8936002)(36756003)(256004)(26005)(53936002)(5640700003)(44832011)(97736004)(7736002)(386003)(6436002)(2501003)(446003)(316002)(2616005)(6486002)(54906003)(476003)(6916009)(486006)(11346002)(71200400001)(305945005)(186003)(71190400001)(2906002)(32563001)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0402MB3693; H:VI1PR0402MB3357.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: FWOnUyOfi8cvTGRAiWmD8smN/dTGmAw6Hzdc2MQZ7fbcKP/kcl6vPgr7uoQJDXF8Ce1v5hq6UhSu4wQqgPWoVDtrVmERKkCPK/fcvZIPv+OwuQW7mXh+ZaF7erG8+YsHQj2Wk12yjBL/7Wygo5xdMUxWkcruCXRz0ivVLmnXvtXugO92wjKRF8jIfLc/lPlu6xew978FCaoOEYw7XWaK7Cxvwcp7wz/lmfwlr7weR45rS+LQwT/qB8sKNX634Ezb7QRNrxP9yuw0RRApKL7nqVn18FbXIcJE5OOIS8ENqjWt6HK/Bm3Trlf136HJBC/n855GtxKW6to+79zCGJiJpSLEg1sIQb2g2LQ+bu3Jp4WgSpyapjjh1xoS7NcuQGhHg3XIhoB7uGdPAz+Ybmoyiii6K+BtHkEOEmqa7xkHpRA= MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d20061b9-fbaf-4785-a4cb-08d6b1cf6fe8 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Mar 2019 09:43:01.6250 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB3693 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190326_024313_919345_FCD3CD58 X-CRM114-Status: GOOD ( 12.17 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "mark.rutland@arm.com" , Aisheng Dong , Peng Fan , Anson Huang , "devicetree@vger.kernel.org" , Teo Hall , Daniel Baluta , "s.hauer@pengutronix.de" , "linux-kernel@vger.kernel.org" , "robh+dt@kernel.org" , dl-linux-imx , "kernel@pengutronix.de" , "festevam@gmail.com" , "S.j. Wang" , "linux-arm-kernel@lists.infradead.org" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP i.MX8QXP contains a total of 4 EDMA controllers of which two are primarily for audio components and the other two are for non-audio periperhals. This patch adds the EDMA0/EDMA1 nodes used by audio peripherals. EDMA0 contains channels for: * ASRC0 * ESAI0 * SPDIF0 * SAI0, SAI1, SAI2, SAI3 EDMA1 contains channels for: * ASRC1 * SAI4, SAI5 See chapter Audio DMA Memory Maps (2.2.3) from i.MX8QXP RM [1] This patch is based on the dtsi file initially submitted by Teo Hall in i.MX NXP internal tree. [1] https://www.nxp.com/docs/en/reference-manual/IMX8DQXPRM.pdf Cc: Teo Hall Signed-off-by: Daniel Baluta --- arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 72 ++++++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi index 0cb939861a60..9e959deb2499 100644 --- a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi @@ -182,6 +182,78 @@ #clock-cells = <1>; }; + edma0: dma-controller@591f0000 { + compatible = "fsl,imx8qm-edma"; + reg = <0x59200000 0x10000>, /* asrc0 pair A input req */ + <0x59210000 0x10000>, /* asrc0 pair B input req */ + <0x59220000 0x10000>, /* asrc0 pair C input req */ + <0x59230000 0x10000>, /* asrc0 pair A output req */ + <0x59240000 0x10000>, /* asrc0 pair B output req */ + <0x59250000 0x10000>, /* asrc0 pair C output req */ + <0x59260000 0x10000>, /* esai0 rx */ + <0x59270000 0x10000>, /* esai0 tx */ + <0x59280000 0x10000>, /* spdif0 rx */ + <0x59290000 0x10000>, /* spdif0 tx */ + <0x592c0000 0x10000>, /* sai0 rx */ + <0x592d0000 0x10000>, /* sai0 tx */ + <0x592e0000 0x10000>, /* sai1 rx */ + <0x592f0000 0x10000>, /* sai1 tx */ + #dma-cells = <3>; + shared-interrupt; + dma-channels = <14>; + interrupts = , /* asrc 0 */ + , + , + , + , + , + , /* esai0 */ + , + , /* spdif0 */ + , + , /* sai0 */ + , + , /* sai1 */ + , + interrupt-names = "edma0-chan0-rx", "edma0-chan1-rx", /* asrc0 */ + "edma0-chan2-rx", "edma0-chan3-tx", + "edma0-chan4-tx", "edma0-chan5-tx", + "edma0-chan6-rx", "edma0-chan7-tx", /* esai0 */ + "edma0-chan8-rx", "edma0-chan9-tx", /* spdif0 */ + "edma0-chan12-rx", "edma0-chan13-tx", /* sai0 */ + "edma0-chan14-rx", "edma0-chan15-tx", /* sai1 */ + }; + + edma1: dma-controller@599F0000 { + compatible = "fsl,imx8qm-edma"; + reg = <0x0 0x59A00000 0x0 0x10000>, /* asrc1 */ + <0x0 0x59A10000 0x0 0x10000>, + <0x0 0x59A20000 0x0 0x10000>, + <0x0 0x59A30000 0x0 0x10000>, + <0x0 0x59A40000 0x0 0x10000>, + <0x0 0x59A50000 0x0 0x10000>, + <0x0 0x59A80000 0x0 0x10000>, /* sai4 rx */ + <0x0 0x59A90000 0x0 0x10000>, /* sai4 tx */ + <0x0 0x59AA0000 0x0 0x10000>; /* sai5 tx */ + #dma-cells = <3>; + shared-interrupt; + dma-channels = <9>; + interrupts = , /* asrc 1 */ + , + , + , + , + , + , /* sai4 */ + , + ; /* sai5 */ + interrupt-names = "edma1-chan0-rx", "edma1-chan1-rx", /* asrc1 */ + "edma1-chan2-rx", "edma1-chan3-tx", + "edma1-chan4-tx", "edma1-chan5-tx", + "edma1-chan8-rx", "edma1-chan9-tx", /* sai4 */ + "edma1-chan10-tx"; /* sai5 */ + }; + adma_lpuart0: serial@5a060000 { compatible = "fsl,imx8qxp-lpuart", "fsl,imx7ulp-lpuart"; reg = <0x5a060000 0x1000>;