From patchwork Tue Dec 26 05:47:54 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wen He X-Patchwork-Id: 10132869 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id DBDAE6023A for ; Tue, 26 Dec 2017 06:07:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CED172E57B for ; Tue, 26 Dec 2017 06:07:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C38C82E58B; Tue, 26 Dec 2017 06:07:39 +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=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DEA342E594 for ; Tue, 26 Dec 2017 06:07:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750806AbdLZGHh (ORCPT ); Tue, 26 Dec 2017 01:07:37 -0500 Received: from mail-sn1nam02on0049.outbound.protection.outlook.com ([104.47.36.49]:41108 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750705AbdLZGHg (ORCPT ); Tue, 26 Dec 2017 01:07:36 -0500 Received: from BN6PR03CA0065.namprd03.prod.outlook.com (2603:10b6:404:4c::27) by SN2PR03MB2368.namprd03.prod.outlook.com (2603:10b6:804:e::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.345.14; Tue, 26 Dec 2017 06:07:35 +0000 Received: from BY2FFO11OLC014.protection.gbl (2a01:111:f400:7c0c::136) by BN6PR03CA0065.outlook.office365.com (2603:10b6:404:4c::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.345.14 via Frontend Transport; Tue, 26 Dec 2017 06:07:34 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BY2FFO11OLC014.mail.protection.outlook.com (10.1.15.48) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.345.12 via Frontend Transport; Tue, 26 Dec 2017 06:07:16 +0000 Received: from titan.ap.freescale.net ([10.192.208.233]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id vBQ67LTM012747; Mon, 25 Dec 2017 23:07:31 -0700 From: Wen He To: , CC: , , , , , Wen He Subject: [V2 6/6] arm: dts: ls1021a: add qdma device tree nodes Date: Tue, 26 Dec 2017 13:47:54 +0800 Message-ID: <20171226054754.14969-4-wen.he_1@nxp.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20171226054754.14969-1-wen.he_1@nxp.com> References: <20171226054754.14969-1-wen.he_1@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131587420364072986; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(336005)(39860400002)(396003)(39380400002)(376002)(346002)(2980300002)(1109001)(1110001)(339900001)(189003)(199004)(4326008)(6666003)(2950100002)(356003)(51416003)(8676002)(81156014)(47776003)(81166006)(105606002)(50466002)(2906002)(104016004)(8656006)(8936002)(498600001)(68736007)(85426001)(36756003)(48376002)(106466001)(50226002)(16586007)(305945005)(77096006)(54906003)(316002)(110136005)(1076002)(5660300001)(97736004)(86362001)(76176011)(53936002); DIR:OUT; SFP:1101; SCL:1; SRVR:SN2PR03MB2368; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11OLC014; 1:VfFjUfwbvH+ZPf3HX5by8H7cCTF8FSt82ZGBkcSv3dszIyUBab9Hpn3SSwDGRF73pxX6JJ9kGbh8kve41Q3kTcmQ1t9lHhlJY4KIZkAnx//PS7fIOSDvnt0xem5eBWiH MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9b0d9046-ec9e-43af-e81a-08d54c26ea2c X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(4534020)(4628075)(201703131517081)(5600026)(4604075)(2017052603307); SRVR:SN2PR03MB2368; X-Microsoft-Exchange-Diagnostics: 1; SN2PR03MB2368; 3:YHiO714H6/nADoKXhBK8YjYNlc84V1dige2ZdN44htW2AYVhVt9qJVaL+NfXDFJWL6Z4gezhnoH9y6lJTcrVrJ4B5zI7dRODioBof7DxHIETMGIUBl1pWR5VGiRinOZqWriWQyZ61m4lY0sUQF9I2vkuTpH070XRuvg67WMlCoQaQxLugleKZAoXvqGiNHTjze99CMraImb9eu+GBljcBuaMBFJoIGuxvqMVvvYMoUFxtCx7X44CyA3+mGd0xUdsXetnc3BNuoSSIZHPAWtYlHkKMbOn2O+dKEDibA5XF8l0OVKJHtC5hq3UCkydbHZrlIBCOycEiAfdWdjaYJU9J6B66x36mK80ZHakEbG9kwk=; 25:/T5x7NEOGZw4fwT0h06J2Z6DRqCW75WGyxxeRNFTP3ce8PSVWdnIXQzlTUuvl192egLGiUAGPjVbJYuGEx0cOZcVAZ8s3b0ttGtrcSVuU4YnJTDqLk/ExE9lupe75luS4CYuccn0BSy+syTWh/mzzEa82K0K6d18Vv6oIo8enfusTb/i7NX/R4IDBUabn9rb3d7Tws2RimFa9VoKw+SRh0V6+TpjvGmzHjZM5OBkER5Lau4AlIZJq5fSYjmwTnE7UhuxbUFjQTjacqx3FuqVu13lyPTcqOJ11JPoTICvuRC2JMxdbrCnAZX77zIi1NGo8simUCYWhUknnVLn91snFA== X-MS-TrafficTypeDiagnostic: SN2PR03MB2368: X-Microsoft-Exchange-Diagnostics: 1; SN2PR03MB2368; 31:dJyuahV2wo42R8XkS6hY+yP8FcgdsHAAoTQGqdnf4qog2zP7qIXqD9RZlm04pLcYNlRZbFqUmbg8MGZtqPH5Dz2l0PfPWkfFH1Te3yDb/oT5PkPfWgI1q0oazhpkdD/fH9zZqbc3NSQrhwwDh0ypyFOg4WPJlwBYhv/wlCHltDVW1GLVXDEyMAkR7q287dASy8/is9qPVtGK6jxTyxQY+hCCRIwUCywBiBVmajce6Ls=; 4:Bz3pFQLNKk6vy0t4NL9G/PchmbGvrnDYVu42Z74Y36MmYNor5g58tKdUh1wpN+vFJAIFan4eiZjO22HNLHxOZJ7VZFgeCDkVyMgrSS9l7PDgF6C1p+F96gogUPPhZ5b93mA4ZAIh7kXqQOn9S3/BStnhA/1l3DvSQGCOk+44wnUXwhpkMElDrmyozFIyPFAoo29NMk+TOhKo7Yl3jvevS+xgnpLmr1FZ6qQBVMQNWXYVqQ8MrHEm/D6IeN+2MVN945s3i+67LvfaRzX9Em/K7QRF+r06lpKUmRQ6Opc45jq+EDVA/JsB86EIat23j46d6F5qG1fE1rRT9tq044JMXA== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(788757137089); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(2401047)(8121501046)(5005006)(93006095)(93001095)(3002001)(10201501046)(3231023)(944510075)(944921075)(946801075)(946901075)(6055026)(6096035)(20161123561025)(20161123556025)(20161123563025)(20161123559100)(201703131430075)(201703131448075)(201703131433075)(201703161259150)(201703151042153)(20161123565025)(201708071742011); SRVR:SN2PR03MB2368; BCL:0; PCL:0; RULEID:(100000803101)(100110400095)(400006); SRVR:SN2PR03MB2368; X-Forefront-PRVS: 053315510E X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN2PR03MB2368; 23:4IfWO7LQZkqgIgm8tDd3dKegfMNOrxcwLRF7sdhbd?= =?us-ascii?Q?Kbxlvdu7YeqBdvbgT8F9CU74O64kAED9qL5mv9t7uX+aJUpldG/SvmL+9PfE?= =?us-ascii?Q?3NTu2LwyMnsBxrhs//GrlvBrFxeOJZ6T+5slNmKZL+KJEU/8P1SWKzBahVBB?= =?us-ascii?Q?OldJpZuH4b1UQz3LDOKxKqWyDVfmglNyKr60didAMw5EKq6l2Qu+3xs1ZFLn?= =?us-ascii?Q?QtXmGNhVQ4usKqVjFWPfvUBkmdCCbbmjNyq5583CQxXLpCMBflzdQpNJKN1G?= =?us-ascii?Q?OnEj5DA1LKnYirb4jbAWY7dLYLToDloj2mYzWHHjxbpHoen4+JozSvzjtrzc?= =?us-ascii?Q?2l7NmA4s9cd1e+R/rbQbUM1fk1bCGvD7GdM375YWoyz+EHkhEbl1aO1pT99a?= =?us-ascii?Q?1hXTj6Ddfq0e65wy/Cx/bCmcc9xVm4O13pUzOMlgNRS4IPWeh5qA463ImenO?= =?us-ascii?Q?9+I4Rr9Ep8s2de+iQNc44YULlf4NHE242qx6ff7zMwuk++A6ivATEYoNqqEi?= =?us-ascii?Q?BIEO7ceBucDUue2IsaSRvguSeG0WHuPZNCsFUXl8oyRwpt5lqE6Ufkh8oB+6?= =?us-ascii?Q?/lz7RK2HPmK+VwEKloR+bSjoqLKOtcdOctrIwk6i/kK5Oj2TE6RDWxuuc3we?= =?us-ascii?Q?Oqs4MdbQ9eGBOYVDPaYAALSk+R9e29+cWGYBl/xL1OI7jmUE/B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Mh0Y0WDFFPGVEeoYfcyrjekLmewM75Tdmnj3T8oBw2hkmYJ6+3uJKpiQonI0E+iLLyyEcfYPldsdcTROSo/xUE6jbCFpa1GQjXnoc=; 7:l/dM/pymFy8xUGn9gn2otq25WZc4fwU2h0QtWc/vY8n8q1grbfQoHlmZ9Ozpa8xGOVTusDeq1K5m20RWebboXQDVdGwvyYwtKRzSAPYZsceZ/H9x6A6oxaBenox1fc3TBOnB7Kq9PP7wBRNy512fR8pv2y4geMVlJtOmRSWrPHSTyLGlK/fyKKH466LxLZW2ICX7xvh2MfKwwIslKsB9HUZS2FvfbWe9K9qoGuA010jPyzcAnouvRC4Mx5CkYkg9 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Dec 2017 06:07:16.2044 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9b0d9046-ec9e-43af-e81a-08d54c26ea2c X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN2PR03MB2368 Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP add the qDMA device tree nodes for LS1021A devices. Signed-off-by: Wen He --- change in v2: - Add commits messages - Replace 'channels' by 'dma-channels' - Replace 'qdma@8390000' by 'dma-controller@8390000' arch/arm/boot/dts/ls1021a.dtsi | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi index 9319e1f..33f7b5c 100644 --- a/arch/arm/boot/dts/ls1021a.dtsi +++ b/arch/arm/boot/dts/ls1021a.dtsi @@ -549,6 +549,21 @@ <&clockgen 4 1>; }; + qdma: dma-controller@8390000 { + compatible = "fsl,ls1021a-qdma"; + reg = <0x0 0x8398000 0x0 0x1000>, /* Controller regs */ + <0x0 0x8399000 0x0 0x1000>, /* Status regs */ + <0x0 0x839a000 0x0 0x2000>; /* Block regs */ + interrupts = , + ; + interrupt-names = "qdma-error", "qdma-queue"; + dma-channels = <8>; + queues = <2>; + status-sizes = <64>; + queue-sizes = <64 64>; + big-endian; + }; + dcu: dcu@2ce0000 { compatible = "fsl,ls1021a-dcu"; reg = <0x0 0x2ce0000 0x0 0x10000>;