From patchwork Fri May 25 11:19:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wen He X-Patchwork-Id: 10427145 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 7A29E6025B for ; Fri, 25 May 2018 11:20:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 749A3295D9 for ; Fri, 25 May 2018 11:20:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6964829644; Fri, 25 May 2018 11:20:57 +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=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID 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 0223F295D9 for ; Fri, 25 May 2018 11:20:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965964AbeEYLU4 (ORCPT ); Fri, 25 May 2018 07:20:56 -0400 Received: from mail-dm3nam03on0130.outbound.protection.outlook.com ([104.47.41.130]:4776 "EHLO NAM03-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S966232AbeEYLUz (ORCPT ); Fri, 25 May 2018 07:20:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freescale.onmicrosoft.com; s=selector1-freescale-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NmVn1O+Fxl3TcdP3sN2qPR8oLdl26R+ZC4uEoB6sps0=; b=k7sTtA27AIrKzB+B6BcfiLUeK4G1RAhNAdJf4/vW5Z8fs4+jM9YIk2nqUfUpwNceoD4VqPzvd8vLgcwze7CF9zNwvVTEPlzi53K3FbqkiZk3xAwXK/vnFk754iVlBuPtEmbRQd4WQHGbfd2eAW5R0JhCxeHjLOgFe4og8XRSXnA= Received: from MWHPR03CA0038.namprd03.prod.outlook.com (2603:10b6:301:3b::27) by CO2PR03MB2184.namprd03.prod.outlook.com (2603:10b6:102:9::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.776.11; Fri, 25 May 2018 11:20:51 +0000 Received: from BL2FFO11FD009.protection.gbl (2a01:111:f400:7c09::156) by MWHPR03CA0038.outlook.office365.com (2603:10b6:301:3b::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.776.11 via Frontend Transport; Fri, 25 May 2018 11:20:50 +0000 Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 64.157.242.222 as permitted sender) receiver=protection.outlook.com; client-ip=64.157.242.222; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (64.157.242.222) by BL2FFO11FD009.mail.protection.outlook.com (10.173.161.15) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.735.16 via Frontend Transport; Fri, 25 May 2018 11:20:49 +0000 Received: from az84smr01.freescale.net (az84smr01.freescale.net [10.64.34.197]) by tx30smr01.am.freescale.net (8.14.3/8.14.3) with ESMTP id w4PBKmQ9007715; Fri, 25 May 2018 04:20:48 -0700 Received: from titan.ap.freescale.net ([10.192.208.233]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id w4PBKcZq012285; Fri, 25 May 2018 04:20:46 -0700 From: Wen He To: , CC: , , , , , Subject: [v5 4/6] arm64: dts: ls1043a: add qdma device tree nodes Date: Fri, 25 May 2018 19:19:18 +0800 Message-ID: <20180525111920.24498-4-wen.he_1@nxp.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180525111920.24498-1-wen.he_1@nxp.com> References: <20180525111920.24498-1-wen.he_1@nxp.com> X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:64.157.242.222; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10019020)(396003)(376002)(346002)(39380400002)(39860400002)(2980300002)(1110001)(1109001)(339900001)(189003)(199004)(110136005)(6346003)(47776003)(50466002)(26005)(486006)(54906003)(77096007)(36756003)(16586007)(105606002)(48376002)(97736004)(8936002)(81156014)(81166006)(1076002)(5660300001)(356003)(305945005)(8676002)(6666003)(50226002)(86362001)(498600001)(316002)(106466001)(476003)(2616005)(11346002)(336012)(4326008)(53936002)(126002)(51416003)(8656006)(2906002)(446003)(76176011); DIR:OUT; SFP:1102; SCL:1; SRVR:CO2PR03MB2184; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; LANG:en; PTR:ErrorRetry; MX:1; A:1; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD009; 1:VOp5wzbasEQGU/tnesBGb0eE8aNPEit954VwQEJ3wan2Cca0iZ/QxPRzax5y8wBq3xgXw1lMTr4KtvSfTbiNzlWVe2vP+p+FUrjSOZlk7ZtGtLvMldDgkHfvmV0CoRe/ MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4534165)(4627221)(201703031133081)(8559017)(2017052603328); SRVR:CO2PR03MB2184; X-Microsoft-Exchange-Diagnostics: 1; CO2PR03MB2184; 3:tQ7A9njhh8b/IvSAl3RHYxyzRMSSXQRN2CcQ25/MHqL4WElwSzDkiZDI5fPq01mgqj9CTyr5qilaT3ZMMOmd41LX5KXOsi7qNdJFveojCQkA4A2UR5HLohz8BibxEhcyyk9mLR+XZhww9dP5E8LyYe5lQuY3a02kAi18FLwdg47JkD03eTw/sIBvTWxSTyjAeseSi9O0xCmQR2pcRO0gqMCCJ4+yjYpmqry3hEu1yw7EuyQDKNTUlozVcu5zQlpYDv2HRXuLRqzGUkH4JkkJLSqMX83A3MLZRhpsA49vioEMKY/8D89ylhKQFRU5lzt1sERU6ETP0PxVcUKGVFImXJ/YO+66vZyNi2mV4mgghlo=; 25:FMM2tj+ZDgFhrvU8bqhi7rMVxDjerce7grfeldUie3d29m7jL/AbegHejv7T3HB5fvKYuJC8x7SZNtUikGKWb2vAwl8uYefTCHTHe7w05iZHUA8PxTo5pAfZRmvwMxx1x14hJSu1Jc+9MK7UI+ko2Ld1/QZQboISNgoVAspIcO/2xmCKGQvHGia1pKFC5o7DI8o3lyPK9hwHZ9zjtFX763q8FXk0T/LPsfGsUQSlyoqX077vClLYqCEnsVsQs/b4Lxn33XWj0kD40+Tn2AcaruCXian5EceuIAqOmtUQQYXqCJpGAiAe5TkqUC/DepGBwLl4xpe5JWNkzZgHYH1fYQ== X-MS-TrafficTypeDiagnostic: CO2PR03MB2184: X-LD-Processed: 710a03f5-10f6-4d38-9ff4-a80b81da590d,ExtAddr X-Microsoft-Exchange-Diagnostics: 1; CO2PR03MB2184; 31:OHfUN4usMSPlW9pyxjKV/S72BwONM4CogRN1NCzITDzJYGdW4L4xIfpv7bXR61IAo24Ag7qFSB2Q6NCmx/SYjW40/p3kEI/ZwEZF6kCsTCSNkp2aGQ9VDWEF4QC1rkFV46TWGLVms6R4wnk5l4a/HjHUiwgIXrk9EjciVUt34Dj+3MT//StWU/uRva5B12pNUflE+z7wn0i56/PHe9Hv2byN4qdwoSEE5EsoebpOD+Q=; 20:CSYQ3yADdXmfTFdnWZ/ZfgHTLnXpxK/lLfpPZ8ey8B8OAjafzgeUIHigbdLsI59s9IcGGfz9GZbLv/UIVgucE7aNRWtox3jGNd0L+Z/cPnKl9Z/uALYrZ2uXmYSEi10/6xTAyevKAQEQkKHR2tEzwDo4eDdCpzYJKwnl4d4aPNxg92Arx62UM6ZioixdqyWIken8m2qe5NNYqSaEUubor0EI7glKn2C3+D1EOgCxRoiClJiqqi3fbTQ0V3aAsVT4AE7bIWGmJfZ0+P0KlUGHGjF3h5NEmUtkZyQecH8Wy2vhywiqCQ9IKyCOwmEA0d5me5w0oknBtrOuLdACjjiw0YD272lxlbdyNWhz7jWOMcEC6xCRhmRxobKts1G6EQ/nk7r+f+fb3khKCsj9p1hB/lyIW8UTCKkUazwUPaAPuP2yX2DEKRgbuaSOSAhTG7xSIWKZc6dpv+rXvNlmkcpZLMgwue8VGdd64fOinDP8eEYEob0I5aLW1XFH8fuoQAQ/MK8oWx89HiNv6MljNQGEnM8Xu6bHfTv8pf4R2XnTi3sRBeGgE/ubG2IAYS7YyauPmB4hZ6mzNyX6ffQNuUGp5gigmNUm2uUeGHYZOLnFKlc= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(788757137089); X-MS-Exchange-SenderADCheck: 0 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(8121501046)(5005006)(10201501046)(3231254)(944501410)(52105095)(3002001)(93006095)(93003095)(6055026)(149027)(6041310)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061750153)(20161123562045)(20161123564045)(20161123558120)(6072148)(201708071742011)(7699016); SRVR:CO2PR03MB2184; BCL:0; PCL:0; RULEID:; SRVR:CO2PR03MB2184; X-Microsoft-Exchange-Diagnostics: 1; CO2PR03MB2184; 4:c/OPEJxZlrsbGvU2wF+9gYBIvOvNJp9RnzvR9N7Ll+2L3yhoc8VnTFQqlFt9jMI2BFZYnDoIdUWN/mMGvWfGIIfnNVombW5xR554wAY2R2cxWgs0znf0zeOkGkvy2xGlFS3DZGmhVkOh+DPCOq/Z7b2siE0Hkpza9muCr9kSkWuwax38lr3wSwA4A8io8ibrdxJuRV1G3fwTx+vy/m4gkMt7Xy/kCR0sfImUTeaN/8ILFWtJny683DSBokQc8YmzTLcFHUY8lPFMduXyNsmbQqx6qXGCI9EiRZyDXoUlJ9MZTIDX2/UW/hdIw/BH04fiwDpIDYNs020mSOkqmp7/cQ== X-Forefront-PRVS: 06833C6A67 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CO2PR03MB2184; 23:IJNngk73YbhpS6iiEpdtAlce374HS0aVMPwPpULoE?= =?us-ascii?Q?MDoUL7RiIlyUn5/vqkODkcfJbu5drZCePIsy+/UI6YAqJulWN/T9iN4i2eqV?= =?us-ascii?Q?4OkrU6j7FZOZdXnWfpQPTNUwB8z2OPhurqdXldKH4oY1onGGY0ubyzUwcNR9?= =?us-ascii?Q?Y4FqE9h5BiAP/+fjVllqGd0wzcSUIGy6mvHLfVnXPo6CylPT6AZCqnQltXyZ?= =?us-ascii?Q?f/0Vp6JKuNWGIiyScrzNyWvQt6a4s6T2Q/JSkFVBxyWPjb0RQfWMYUwE3Spi?= =?us-ascii?Q?p3Jbd9gVWqD1PZQvozxywfIwzRI8MUcvSFixs6F/SX8REhExVef5b2weVKIE?= =?us-ascii?Q?Zo/ZSiGHRgznBRO4TQvf901ogqbzGy2yrpyKrkqPmzdD9Al9m9+mLjiYwuO7?= =?us-ascii?Q?+gNBZQdyXobwi4cNm2h8OAG3nusPJI7YIwuF9UsoWv8Yj/aIJIxkNPt1WDNR?= =?us-ascii?Q?qe3wtzcWE+7heGfolWAtKhKSZd2nZNiWUX1Soci08XbQOoUjJlNPXyCC3J8B?= =?us-ascii?Q?XLC+uJEFM0nuBgfkA53hziIsIS+meTYMxh4ntckhIFf8DL9TrlIWitBYXdRq?= =?us-ascii?Q?UDWl/Lc9mrnhRl8u1jbUVjMwjwcPbivtPnxjAb+g6OKXv1lbVmkRNHoKaFdg?= =?us-ascii?Q?LFqMAvXp0mos6mYPCdktvyo4qDlfnumeytX/fPZEysWjIyLgAgmo+upZPnGo?= =?us-ascii?Q?cEVhwYKlSuECqQgLbQ+gNZX1lPpSH089pKRq1kch7lyAObSe9C2VfFJoqve3?= =?us-ascii?Q?0wfYP5VsZNOChupru9U0ssFEHpka8f7UCRaqwkJaver7KV5LFTFuHgarcq8b?= =?us-ascii?Q?7UOlUNbfjrdnqcma2brfRf95PvdDbrNbM5nb95n7azRWJuHKhMq5biVYNVeO?= =?us-ascii?Q?iHyDGYW445ignhBJdk9xeDm76pNodzKhqs6ZekWOKghXYbZRFysGYSC26fbo?= =?us-ascii?Q?CP6XQuT4MyQd8+Udory9QoxGrUtISYeMRGX8DK9Jf7OMKkaO/EIwqCPbdPYo?= =?us-ascii?Q?4pXVa79nI71mbW13lfv0kH/N5NqJnlmUHWafsDCIt6SwzSjoA+UhWoiNtjHv?= =?us-ascii?Q?oSLCKQaQQji330P3GqVyOXFufbaMbmeAWbxtNvazl21LoWR3xCYd3dxloMp+?= =?us-ascii?Q?GXUID74KdcDhu0g0JCN8rifAthUJp86?= X-Microsoft-Antispam-Message-Info: 86KNztfinOHML86yn8GNT7EzHXLSB3gekJS2xucAm4Z4i/nRteK63mzxSbe67NSeSHcWmlrz/e0+PFiXTW6Us0CjyrD/UNxM0Vz63I+Z07X+bOMBP7XeFXNFU5QCVhBao0IxgUbJQC8XQC/3XHv2IcwTSUgpM/JPDhwutR97pgAMPEHkAT2Vc6+y9vT2/w+9 X-Microsoft-Exchange-Diagnostics: 1; CO2PR03MB2184; 6:KYqpDFEJyivRfoTAwtudTcS7cre1zXWYDqTwVFf/JE/Gs8tbpEY1bOZo/GTTEEox+0asUsppvFvHpRecwoufJclpbtf5sr7FQ9SMoPlm/u3Q6r1pb9g7Gqg1/2CyqZ2Pej6UJ/4tfFxYcXNjT7STuDcfiGFlQs9NyisVGVzpSz+TcFwIyBD3vdf13tvoJq80rISrD7+3Y3cYOdDt6jiNOkUwCIAD/BoIANAveBM/MbZ9OWy7rBGaLkv+arfdejtbvAjEl3okuB6NujrIX8zVeb1j98TGcskP6v126N39niudK5ADyTy4dc2YHaVxZvwHefMqq0fSf2sny0zaoWSSqxLRthDeShI5EdVaacjQR0qsF/64xGbuiX5pFXgao9QBn36h7h39Rw9sdXvEPLf5LjJ/94KeIKMVBeUYYPQsDhYrbQIn3puB94Z5kSkn2aSOz5cFthnS54r08TkUujpxkQ==; 5:cAkjQzQEjKEXilRK56vBuTv5eXkxrT8Kyhkn/hj2vZejaB4VjvUvMwMNVzVaczX71uf9bJ8GYMnostgJEeiFiJ51x4zlA+kKI2/kf/BDNZ6LrB8OjzyFktkHXYQwmfzsWKC4uJLd6yAZOXOcqFuOLUVkJH9sxmrcvI2NKqiiZjA=; 24:fC69Rug6pRbX3Ax4iGaPBysP7K9aZn5f+fakBi2CMFYVtw6665RVAFIOUNYqUrnvd1MuYuYravi2Uzw9r8aQW5TJgUuCECgk5ZSsaVv9OTc= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CO2PR03MB2184; 7:r2NUXml1xVUUkVry2a/LO1g4AXYngBpwDC7H1+odPi7tqkgUFVp54pFh9WwLxruHn+dJpSMPt6GBeZ6X1sec1h5vdZyP1QbB2R+4x6kFJN+GkrGMjTG5YMgczJd0gEc1RgUSkDt9rMKGyyqwg15zQ4ni3ycPk+6kKa5Dko7EHZvVM73KRApeBP0xFkKRVrUovgSh/AYcc7pSyOCt2+V7PTptKfgGSHR9J69SgglIsVzXGY/nhwVpj9Ipo5dncSsy X-MS-Office365-Filtering-Correlation-Id: 49dcf4da-ed0b-43c3-bd36-08d5c23191c5 X-OriginatorOrg: freescale.onmicrosoft.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 May 2018 11:20:49.6074 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 49dcf4da-ed0b-43c3-bd36-08d5c23191c5 X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d; Ip=[64.157.242.222]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO2PR03MB2184 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 LS1043A devices. Signed-off-by: Wen He --- change in v5: - Replace dts node variable 'queues' to 'fsl,queues' that add vendor prefix change in v4: - no arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi index 1109f22..48f9165 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi @@ -673,6 +673,21 @@ dma-coherent; }; + qdma: dma-controller@8380000 { + compatible = "fsl,ls1021a-qdma", "fsl,ls1043a-qdma"; + reg = <0x0 0x8380000 0x0 0x1000>, /* Controller regs */ + <0x0 0x8390000 0x0 0x10000>, /* Status regs */ + <0x0 0x83a0000 0x0 0x40000>; /* Block regs */ + interrupts = , + ; + interrupt-names = "qdma-error", "qdma-queue"; + dma-channels = <8>; + fsl,queues = <2>; + status-sizes = <64>; + queue-sizes = <64 64>; + big-endian; + }; + msi1: msi-controller1@1571000 { compatible = "fsl,ls1043a-msi"; reg = <0x0 0x1571000 0x0 0x8>;