From patchwork Fri Oct 23 01:59:13 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: yao yuan X-Patchwork-Id: 7469531 Return-Path: X-Original-To: patchwork-linux-arm@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 74153BEEA4 for ; Fri, 23 Oct 2015 02:08:24 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9C1EC207BF for ; Fri, 23 Oct 2015 02:08:23 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C2B37207BE for ; Fri, 23 Oct 2015 02:08:22 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZpRkr-00048Y-N5; Fri, 23 Oct 2015 02:06:53 +0000 Received: from mail-bl2on0103.outbound.protection.outlook.com ([65.55.169.103] helo=na01-bl2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZpRkE-0003nz-OK for linux-arm-kernel@lists.infradead.org; Fri, 23 Oct 2015 02:06:16 +0000 Received: from BLUPR0301CA0014.namprd03.prod.outlook.com (10.162.113.152) by BL2PR03MB322.namprd03.prod.outlook.com (10.141.68.17) with Microsoft SMTP Server (TLS) id 15.1.300.14; Fri, 23 Oct 2015 02:05:50 +0000 Received: from BN1BFFO11FD005.protection.gbl (2a01:111:f400:7c10::1:174) by BLUPR0301CA0014.outlook.office365.com (2a01:111:e400:5259::24) with Microsoft SMTP Server (TLS) id 15.1.306.13 via Frontend Transport; Fri, 23 Oct 2015 02:05:50 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=freescale.com; lists.infradead.org; dkim=none (message not signed) header.d=none;lists.infradead.org; dmarc=none action=none header.from=freescale.com; Received-SPF: Fail (protection.outlook.com: domain of freescale.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 BN1BFFO11FD005.mail.protection.outlook.com (10.58.144.68) with Microsoft SMTP Server (TLS) id 15.1.306.13 via Frontend Transport; Fri, 23 Oct 2015 02:05:50 +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 t9N25g8X018012; Thu, 22 Oct 2015 19:05:48 -0700 From: Yuan Yao To: , Subject: [PATCH v2 3/3] dma: dts: Add Freescale qDMA engine driver support Date: Fri, 23 Oct 2015 09:59:13 +0800 Message-ID: <1445565553-1141-3-git-send-email-yao.yuan@freescale.com> X-Mailer: git-send-email 2.1.0.27.g96db324 In-Reply-To: <1445565553-1141-1-git-send-email-yao.yuan@freescale.com> References: <1445565553-1141-1-git-send-email-yao.yuan@freescale.com> X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD005; 1:mqMOlfDYJ8tbF9peB7pH29UxRsNVUnhFaplpwfwLsm1gZ6UXbz8lF7j2jQHNIFPccReftun83Wz/+gf9krny3UKAWvJq4h2HZjc/zdzqvkVf9iekXVhvkn0jRm5uyMC2r/l8v40YS0L+k6LugoabXZijekEpKI/dRhUltGe+SAeH2Rf6n7htE4a7vK0388SDgLshAcZ/HuxzgfU+yeIqrbuLn2NzD9KJDKJ8JAKbC4TYoyLaSsO0oDJvmufnkxe2UQ1z+DWHyBGS9dBSrywc+501ovKi0kB5EXOiHiznRAu9ykCi4nUFjPjX5icNFCY5HVgbzPQGHtpxl0B7i7qUDOeQmel67wUhGQ04m/VGlRxgwecQUUFIMIIfui8KLUgmXfLtWfk4V0lIaGOB4h0wuA== X-Forefront-Antispam-Report: CIP:192.88.168.50; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(2950100001)(189998001)(5001960100002)(85426001)(5001770100001)(81156007)(97736004)(86362001)(47776003)(5003940100001)(48376002)(19580405001)(50466002)(33646002)(77096005)(19580395003)(87936001)(6806005)(11100500001)(5008740100001)(104016004)(50226001)(92566002)(5007970100001)(76176999)(36756003)(50986999)(106466001)(229853001)(105606002); DIR:OUT; SFP:1102; SCL:1; SRVR:BL2PR03MB322; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; BL2PR03MB322; 2:bAAQBp0pUwhrAjV87mdCjEQLFtYnUOfMTA8GegF666K6PflycQhQP4aUToU9keE0dNknFno4CFmdmi3AVokWPHNbHvd7kxXqLAHQau2O14j7Gya7kPeaKMU2x8AXNHrToeuCFgM5M0kAE+fV5sobvXewd66WERUJHDRTQOGCsIA=; 3:cdBi4DBIVACWgJAFpjCrinzDRKOqTnG1wkS5REZ07axXsb8m3xqzkiRJg3W+qTDTAl9GLK2UMsZXgK+I4jzlqIWZJYtyz/o/7ioap1rwHBMSp++/H9pKEuAFM9ivpkRfFLtmoeN/aPNijQI/y1HO4DCdElDVh2xwr37V5upsGd26tzEFqvS9VcIvodZ2DGAV7GKwafDw7BNKXHi/NWl+fhOD8HQiL+p+zS1uA5LeH30=; 25:sHi9clBz+txU44aTPBEscx3+gEUhA8e3jnvCLiDZq2sU6D6rRxBUSMYnnR9TT0G/p/pH+JrNjbkWoQlc5ZyHJVy+Ps/9hA9d7cV3ih4rCTqUTYB/IjktfdmDkZuRW6Z7QfLEafQAah/CYVXMl0RI1U+J2RqeKrTzl4ze2x0DdGlZHRKoYfnTSGPxp8jyG5XxAozkR45uAC9zEjVuC4NbLpBxfvFHxihB/7ied1lY7wm+tO+ajzBODU253lO9cnF/Jw3rCgOYiGKQjsvce7NIPQ== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BL2PR03MB322; X-Microsoft-Exchange-Diagnostics: 1; BL2PR03MB322; 20:AveAof5qF6U9HWjJnjR9EwXMScbCWxZwjDrTfcmYYwy+rA8RcrxVpNYHeP0nKZUATK1uaywBxHAy9AkzT4hFm+gG2vsFlVTS0vp5/hpCC2qGKXmSdajxaJKkcwUnKh3+/k49EMM0br4rrFfY2Qwt82YLO1wxjg0CrEUCAIeyzIUbhGuCA9pdisG88DX8cf2Wzswr9W2+YAAWNsUBV3oTCgO1JoVtoeXdYFwahym0/pVdHO/ziqZiwCDVXHZWuoKcGS7GVjOMsR+tmqMXqvu+XjWnPeXTO/c3eC631DsWk8dP8OdQuY8IFoFmF42KKFydbAkGxW81aS5XfBM+ujpJly59RsdV7MwkEsli6fHFr7Y=; 4:xQBwayTZ1Y9M2y2KdbR5Uk+pvZfGDSd5fxXko9PKqvi/5xap0sQIOgWrzHiQPFG6KAR0svsyyt/b5Fhe0xv+pp5ebkqJWrY6CX0VyLs3v4MS+eqvogIWF7RkzdZrp9Q6G7sBSWXkoairbWdqWNvcjElbojCvoOOc8GMKf2JCtTPHu8DxipMBC3e8kg0+b+wZnS+wstq/WuzhoRwq24RTsC+SfngtXnpLpQGyWdwZ5U/IyAJqJkRw9TdoxyxATrCAh/4xBf+ZfcIKE20NIC9hL9cBIHwYt7JPYB4SaLSLq04qPF6sU/QrGGpEd0z3SBcoBhPCOEtd13+yF8qgM4cMU6/BAJtcjkAmRgs9CAA5MJRpTpTulUFbeg5thXM3ZwEp X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(101931422205132); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(520078)(5005006)(8121501046)(3002001)(102215026); SRVR:BL2PR03MB322; BCL:0; PCL:0; RULEID:; SRVR:BL2PR03MB322; X-Forefront-PRVS: 0738AF4208 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BL2PR03MB322; 23:/jeH40tP/qt4Q+tikVVMwkoAaLY9LAI2AlQYwa0K/p?= =?us-ascii?Q?pXrktTRiY2XeMkMovAXwVXrr/0rZ4QT5TdYZHpqI4dxA5iatBCPI8Vi4u7e0?= =?us-ascii?Q?J0IWR9p2SavgIq1d1R7sODRU6LzUW4CC4G7OCwOq7677aYBwZJOrTmhbp3Lr?= =?us-ascii?Q?02I5y8iiaRCsIqY1we6p9RoMkMf/mHqBbD/I/LuY+i4Mz5tb7q6tqbDnRC82?= =?us-ascii?Q?8VFJOVJEsSRW/QGPgM08gSIRBiMnoXLkJ5Hm6lgPSJnSteBCKcQGvHy2TlyS?= =?us-ascii?Q?/GJZuTk05T4he6WosXs3DK1QKb2dSqa5snm1y5+CQycC+jW0XNxM/twguHw3?= =?us-ascii?Q?3OHVN4aXZS3joSa0ecRbC75VWRaksSpFVbGhxQWiOtGwn7kvHOzfsJY46TX6?= =?us-ascii?Q?0u6MmX0lgK5VlrN0F+lgD0dTNHWlhyT2YBiUvFbWfCrnzqcer6Ytk0/kl6+e?= =?us-ascii?Q?q4SqZ0p90tHhRUaNXztrYUz/WhpmIsIRW1BdficBIwStRcrpVNI/9j5ft86g?= =?us-ascii?Q?bqY4R3qhIEg+oJ4nE3mrxPv1gbo5oD5e4oW8oGjM2xI24ecsjdLt2K3+Zbqx?= =?us-ascii?Q?GJ/nlwpdwhiaMQBbGxNquZmR+B6YxTEFGnuPLIpFR09/NXPOLs5hYj3gCS4Q?= =?us-ascii?Q?d2Q2mAQBESphfE4bwDxyRHlfeS0u2qp23aHsMwdOW7KMAmd5FRSztJ+/9l+g?= =?us-ascii?Q?hKuByWZi1m0awbhXNR9rDJfDZGq2hmoZnuBCs9aY0VrtCQ8+/mgRZySeQ2Ah?= =?us-ascii?Q?jNl1kQ/cgc4VenfujDEyZPP4vp8Ij/25/vOyyb8+9AJ/qjdhrt4HXjTquu7a?= =?us-ascii?Q?G7A+RVQ2PHBYmxKvOQcjPTDWvFX54xbh3IP2Ew3GsqLtCad/+2cW1CtOSRbF?= =?us-ascii?Q?GtmRia6ZTl/a4We1sVRmlb7/S1oMExDY+V4qSXQWDE0w3NfCynQOefd7LcmC?= =?us-ascii?Q?ZvPM9VsLJ4vOJRgOgEChgiKci98UbApQXi93BQoDTII5SHCf96u6gb5IKw1Q?= =?us-ascii?Q?e8+W0SAh0in5lQ7i3/Zu1DobfOugTjgyudNw+kFTxntA=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; BL2PR03MB322; 5:ZYjogGhIPO4YANdcDdANBGWdqjzuVPa6fBc04ows+uJNgenrZ0zPZsJQsyuoF2vW1i5NNDHCkdX+i/6xkxrSOG/535erSXgDs0GxjMleqjDacTzrz0Vk6EMpX/g1XpyWa08PNuFyA97L/KH5ZI+pgw==; 24:dCg9Qzbz2QK1f57iwLG/+gdGODJQBCybUBxUf8lpUrXi3YhT7h4y75iO16GowJdSZBvyAU1Kpqe71s4gqWJGH4OItBse+awo6lIq7kU0vQo=; 20:FMy3S3SO2kl2VLO7yeeFZ5Qg7NzGCleF1bE85a+49K9EBlxY8e/49UEDTXzI3Xee76iHW08aIiaU/3KHosaO8g== SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Oct 2015 02:05:50.5121 (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.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL2PR03MB322 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151022_190615_143170_2EB7291E X-CRM114-Status: GOOD ( 17.60 ) X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: dan.j.williams@intel.com, linux-kernel@vger.kernel.org, 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-Spam-Status: No, score=-4.2 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_MED, 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 9430a99..9d7073b 100644 --- a/arch/arm/boot/dts/ls1021a.dtsi +++ b/arch/arm/boot/dts/ls1021a.dtsi @@ -428,6 +428,16 @@ <&platform_clk 1>; }; + qdma: qdma@8389000 { + compatible = "fsl,ls1021a-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";