From patchwork Mon Jun 16 03:50:33 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Emilio_L=C3=B3pez?= X-Patchwork-Id: 4356001 Return-Path: X-Original-To: patchwork-dmaengine@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 2D4539F1C4 for ; Mon, 16 Jun 2014 03:53:14 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4AF9B2020E for ; Mon, 16 Jun 2014 03:53:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 70D402015D for ; Mon, 16 Jun 2014 03:53:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753273AbaFPDxM (ORCPT ); Sun, 15 Jun 2014 23:53:12 -0400 Received: from yotta.elopez.com.ar ([31.220.24.173]:58441 "EHLO yotta.elopez.com.ar" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753000AbaFPDxL (ORCPT ); Sun, 15 Jun 2014 23:53:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=elopez.com.ar; s=mail; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From; bh=r1Ix5Vuh4HXvjcpYH9hBgMbGPwZJXICT1UBYBwfNC0Y=; b=jmcqJ5K36yt/rRDmRYskRuclda8dTr2dWCT45ABZg1EbHsAorS97w0S+gPfPGOXzmWgFGUjhk1ITqMQbUBRpT4QIoUQf5yWW8VxOTyQHykeLDYeH8t2Q/OYlaUJ266qTKCvUk/7A4wNlOgtgbryGdYjkSXDOpUqmMuF7AJ8TakHXU4MUdWZp6f5wFc8Gx3XDqLC96AvzWEvrgR+fJsUXia8gubgK1NpiMHZMf1aLMSj9WNCB5+6zKfHGoQEND7M9Kjs/jV8nMMixMdj6AG8fmagMgk1pPQ3+l02exZxyHcb1l5huuTHvipdlwY5BjPa7CkLqnacpZM4/u/5Dg1rF+w==; Received: from 200-122-75-123.cab.prima.net.ar ([200.122.75.123] helo=desktop.lan) by yotta.elopez.com.ar with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_CBC_SHA256:128) (Exim 4.82_1-5b7a7c0-XX) id 1WwNym-0005L1-Lt; Mon, 16 Jun 2014 00:53:08 -0300 From: =?UTF-8?q?Emilio=20L=C3=B3pez?= To: Maxime Ripard , vinod.koul@intel.com, dan.j.williams@intel.com Cc: Ezequiel Garcia , , , shuge@allwinnertech.com, sunny@allwinnertech.com, kevin.z.m.zh@gmail.com, zhuzhenhua@allwinnertech.com, =?UTF-8?q?Emilio=20L=C3=B3pez?= Subject: [PATCH 08/10] ARM: sun7i: add DMA properties to UARTs Date: Mon, 16 Jun 2014 00:50:33 -0300 Message-Id: <1402890635-12342-9-git-send-email-emilio@elopez.com.ar> X-Mailer: git-send-email 2.0.0 In-Reply-To: <1402890635-12342-1-git-send-email-emilio@elopez.com.ar> References: <1402890635-12342-1-git-send-email-emilio@elopez.com.ar> MIME-Version: 1.0 Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham 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 Our UARTs also support DMA transfers, let's enable them for the sake of testing. Signed-off-by: Emilio López --- arch/arm/boot/dts/sun7i-a20.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi index c054ad3..3a33e62 100644 --- a/arch/arm/boot/dts/sun7i-a20.dtsi +++ b/arch/arm/boot/dts/sun7i-a20.dtsi @@ -712,6 +712,8 @@ reg-shift = <2>; reg-io-width = <4>; clocks = <&apb1_gates 16>; + dmas = <&dma 0 8>, <&dma 0 8>; + dma-names = "rx", "tx"; status = "disabled"; }; @@ -722,6 +724,8 @@ reg-shift = <2>; reg-io-width = <4>; clocks = <&apb1_gates 17>; + dmas = <&dma 0 9>, <&dma 0 9>; + dma-names = "rx", "tx"; status = "disabled"; }; @@ -732,6 +736,8 @@ reg-shift = <2>; reg-io-width = <4>; clocks = <&apb1_gates 18>; + dmas = <&dma 0 10>, <&dma 0 10>; + dma-names = "rx", "tx"; status = "disabled"; }; @@ -742,6 +748,8 @@ reg-shift = <2>; reg-io-width = <4>; clocks = <&apb1_gates 19>; + dmas = <&dma 0 11>, <&dma 0 11>; + dma-names = "rx", "tx"; status = "disabled"; }; @@ -752,6 +760,8 @@ reg-shift = <2>; reg-io-width = <4>; clocks = <&apb1_gates 20>; + dmas = <&dma 0 12>, <&dma 0 12>; + dma-names = "rx", "tx"; status = "disabled"; }; @@ -762,6 +772,8 @@ reg-shift = <2>; reg-io-width = <4>; clocks = <&apb1_gates 21>; + dmas = <&dma 0 13>, <&dma 0 13>; + dma-names = "rx", "tx"; status = "disabled"; }; @@ -772,6 +784,8 @@ reg-shift = <2>; reg-io-width = <4>; clocks = <&apb1_gates 22>; + dmas = <&dma 0 14>, <&dma 0 14>; + dma-names = "rx", "tx"; status = "disabled"; }; @@ -782,6 +796,8 @@ reg-shift = <2>; reg-io-width = <4>; clocks = <&apb1_gates 23>; + dmas = <&dma 0 15>, <&dma 0 15>; + dma-names = "rx", "tx"; status = "disabled"; };