From patchwork Fri Sep 11 05:53:53 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: yao yuan X-Patchwork-Id: 7157591 Return-Path: X-Original-To: patchwork-dmaengine@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 3B372BEEC1 for ; Fri, 11 Sep 2015 06:00:26 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6619420686 for ; Fri, 11 Sep 2015 06:00:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D130D20685 for ; Fri, 11 Sep 2015 06:00:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751499AbbIKF74 (ORCPT ); Fri, 11 Sep 2015 01:59:56 -0400 Received: from mail-bn1on0134.outbound.protection.outlook.com ([157.56.110.134]:12208 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751111AbbIKF7t (ORCPT ); Fri, 11 Sep 2015 01:59:49 -0400 Received: from BN3PR0301CA0065.namprd03.prod.outlook.com (10.160.152.161) by BL2PR03MB482.namprd03.prod.outlook.com (10.141.92.142) with Microsoft SMTP Server (TLS) id 15.1.262.15; Fri, 11 Sep 2015 05:59:47 +0000 Received: from BN1AFFO11FD030.protection.gbl (2a01:111:f400:7c10::145) by BN3PR0301CA0065.outlook.office365.com (2a01:111:e400:401e::33) with Microsoft SMTP Server (TLS) id 15.1.268.17 via Frontend Transport; Fri, 11 Sep 2015 05:59:46 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=freescale.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=freescale.com; Received-SPF: Fail (protection.outlook.com: domain of freescale.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BN1AFFO11FD030.mail.protection.outlook.com (10.58.52.168) with Microsoft SMTP Server (TLS) id 15.1.262.18 via Frontend Transport; Fri, 11 Sep 2015 05:59:46 +0000 Received: from titan.ap.freescale.net ([10.192.208.233]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id t8B5xciF003831; Thu, 10 Sep 2015 22:59:43 -0700 From: Yuan Yao To: , CC: , , , , Subject: [PATCH 2/2] dma: dts: Add Freescale qDMA engine driver support Date: Fri, 11 Sep 2015 13:53:53 +0800 Message-ID: <1441950833-27684-2-git-send-email-yao.yuan@freescale.com> X-Mailer: git-send-email 2.1.0.27.g96db324 In-Reply-To: <1441950833-27684-1-git-send-email-yao.yuan@freescale.com> References: <1441950833-27684-1-git-send-email-yao.yuan@freescale.com> X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD030; 1:5pZ0G966c8WU/HXRVvIdoU5yzmf8HJzne0zbeEEn95ZD256Ah+/09TenPpbDjYI4q7/9q1P5bv/KLDWE9vvUaQ2S41s5vG1nmS0YDu0tAAZe5dTw0iHknZZi50vkwms9fsZVCKYaZ7vaUPzqHbR78JDnN5kndLahsda9Qk9RPx+6GF+dwaSWCHiuFN7DvpO5zu5IgtgmTSORBpKVbWcTXDg9TAhhMOg+JdTi82SV+kuX012lb+KnDUWc/GD7IRTshGoJes2L0gYOASubs29IxNsPgpnLp2+SCB7Z6trMdVeAm65Ewiq0MBrwW3yp5aws2cj/HmlHoMDA2nlTNQVySTnNtTJ+VzVp0wggDjw0m8nreoAtWp8iFrsy/19pWlmA6HvXg8T8dOtZBqW22Va+nQ== X-Forefront-Antispam-Report: CIP:192.88.158.2; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(6806004)(69596002)(87936001)(19580395003)(19580405001)(81156007)(4001540100001)(189998001)(97736004)(5001960100002)(5001770100001)(5001830100001)(5001860100001)(86362001)(48376002)(64706001)(47776003)(85426001)(50226001)(76176999)(50986999)(50466002)(229853001)(62966003)(106466001)(2950100001)(77156002)(33646002)(104016003)(5007970100001)(11100500001)(46102003)(92566002)(68736005)(77096005)(5003940100001)(36756003)(105606002); DIR:OUT; SFP:1102; SCL:1; SRVR:BL2PR03MB482; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; BL2PR03MB482; 2:6hw1NfdRwcDBNQfFyGGom1rwTTWgUQeaGoSvEDiA1k6PSD1pOHJ8E/Xe79zMR1fn4Fptf7grA/LMuLBWl4fJjVgNtOcyQkfp9aYVNK5wieVn9m66NzpZsZgyMqMI+XavSXAmLlwApFebdVyFkHuNHKG749kP5QKmF5vH+o/ghSo=; 3:6Kc4nBlSQUk/xNmH46xBsWVWN+JQ/UixTfELhw5QqA7wTgbScEE44tGSCN+uKg8W7qCxxeXyrMNImoYSkXEV9skuMPX4/TQA6Qwa9EbXpxc94t3D4lZsf2lR1x0LwmtuRfI1z0j/pYaKh7Rg/R6ilAenzJUk817YOPap6e7HWiDC+JC/iomTlHH4dF/LGE5kBS+HHbTEO6nugmACXqaPv5hMEa4PdasfqU+f7feacnI=; 25:wX+GB9gsnaPa1FHO0dXO5ytxFBGa3y32r+BKr/ShX1qtCysxFo6n4ODqZ41V5tVtC5EavSdVq0XjwMIT2MkxsttptUSM0TY91pc4E3zL9iUMzuuhLrevDS0hSHZdToDBEX2CLarfJbEJu56S9ZY6J8mP4Gq9j6aZNEJLwYlWrVlOI0zFm6Etuum6v3vvNdciXhsop2Pc3vWkoiuYMMngsX3fVgS4oaQsq6xbyAuL2rjuQBrT3AHLDKyrUO60+dCsF3XYVDSTNa5NRnG9RMrcyA== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BL2PR03MB482; X-Microsoft-Exchange-Diagnostics: 1; BL2PR03MB482; 20:V8iXMimkUcE0BklqqWeRmcIWMNelGrVcIY/bE/a1nh9PexU/dI0a8D+Z+qqWXETleQ9jl3t4h4ER0YSYp8W5ALpZ3gK/q18Im1nwT0ojdxvV3UPzv4FI+/tOVJBxPLRJM6qrN9tsNgzKdcY4kVipWmC2q7+kCtcZU3Lhzn9VI5wkokAl3VF+/fz/y2GEWs+bcCuTBpS9Tkmz1APipivk4IK1dSjT9BshatWfKyuXKlagmThVnZym0s2F5GQhGFBxsG1+sqYrU88oC0gUaPFwLepIK+Zt7Mw/SX5fqgKP2TIJ70CCAfyE+3e4Muj8vZpM7kHcihCsPEtUo4ShfA5JD0+EZVwr/bvSqEobFCNIiI4=; 4:6cdfeXq/c4PbW/vF9v0u/k/zdygCqGzVSWVHAdXjcjBtvagilMeATX2Jll2aWFplOjBOutp71EEVr/8yvBLfBdADeOdMux0UjSaqYnMREWZrwhOEXphvRwV9p6juoIe7Xp66nXk7l7UMGqn9Rm0oB4po72nx342GJlEqP//cnzD9hBQWG+n86uhNCpkNvfvjzcdduwHJL27wcoHHAPTkjk6Q839ZLUAi5dOKjw10h5Vc0OGiKrAqmvZEiQcQ0xqPIazQTEjIaPfA+AiS1eGmQN2rpDTBnk0BGHqkHgarSXMMAilV8+Ri0EIemwx/Lha0 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006)(8121501046)(3002001); SRVR:BL2PR03MB482; BCL:0; PCL:0; RULEID:; SRVR:BL2PR03MB482; X-Forefront-PRVS: 06968FD8C4 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BL2PR03MB482; 23:GiLEqNVI+w4RxSO3+XfM3NVRpS3WEmUhJa+DuPModu?= =?us-ascii?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LFJFZxk?= =?us-ascii?Q?mw2QD6C8Ch/iaLZlgmY/buqBGt8b5CXOofaP2nu8aQVq5uyks+nhpGCaQ6r+?= =?us-ascii?Q?iONANYDPsyqzZbCT6+slwldxERiirQa0vO8J3yp57eXEpNvnEk4kmpJMCp+4?= =?us-ascii?Q?LfBMK9vGA6HfcZpTYFTyBmrRerRJ1oohZ4/frfH8p3FUNNrg/qABEu/Dd7t0?= =?us-ascii?Q?AOygQq5vxd63tKiX2iDG1JrgV8uM0IoQGShEHUzgf9ysU2WkCH6NmPKbO+q0?= =?us-ascii?Q?O81/4d0+yiyTa3HtouMqg+lC6baXEbeNOKEQrf17rfEueUUsCxu+RRiA=3D?= =?us-ascii?Q?=3D?= X-Microsoft-Exchange-Diagnostics: 1; BL2PR03MB482; 5:S6U0GG/Zl5jqOQdhTo9xKJjNICJosK8cC+xsJ9CLuG04CdjCec3O1SroSIA6/T9jJU2IzujX42+F0PNZusuaCiJO41mA80hgG2SdsDYVxvFBRonXY07+g30lgpMu/atxnMwQ6EnIKLBNkaH3tD4fdQ==; 24:5RZcvm2mjDd15eI+LfPIbq59jFC0ZDYYlSd6gwTeYOn34Cb+SbhUs718cfO+1wMWZjjoUSP90GwT1zpqmeol1P4O1nsUIlGvhdmCwp66It4=; 20:w9gzjkw4B3CW/wWfoVvBbRghKcbgiuPJ76sr0fqOGdUCa0kh1iNgGQ6IGFcZ1zXwwrAX7ggyLCTAbUlDBO5h3A== SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Sep 2015 05:59:46.6654 (UTC) X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL2PR03MB482 Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add Freescale Queue Direct Memory Access(qDMA) controller support. This module can be found on LS-1 and LS-2 SoCs. This add the legacy mode support for qDMA. Signed-off-by: Yuan Yao --- arch/arm/boot/dts/ls1021a.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi index 973a496..fa82dae 100644 --- a/arch/arm/boot/dts/ls1021a.dtsi +++ b/arch/arm/boot/dts/ls1021a.dtsi @@ -388,6 +388,16 @@ <&platform_clk 1>; }; + qdma: qdma@8389000 { + compatible = "fsl,ls-qdma"; + reg = <0x0 0x8389000 0x0 0x20000>; + interrupts = , + ; + interrupt-names = "qdma-tx", "qdma-err"; + channels = <1>; + big-endian; + }; + mdio0: mdio@2d24000 { compatible = "gianfar"; device_type = "mdio";