From patchwork Mon Aug 4 20:09:59 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: 4673541 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.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 998FBC033A for ; Mon, 4 Aug 2014 20:12:27 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C03B62014A for ; Mon, 4 Aug 2014 20:12:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4215820160 for ; Mon, 4 Aug 2014 20:12:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751628AbaHDUMS (ORCPT ); Mon, 4 Aug 2014 16:12:18 -0400 Received: from yotta.elopez.com.ar ([31.220.24.173]:53755 "EHLO yotta.elopez.com.ar" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751495AbaHDUMR (ORCPT ); Mon, 4 Aug 2014 16:12:17 -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=WgSYpgtUlyhUzTwl4GUYDBILDr8ev/BbH13Du2hNVug=; b=BhieykPKo6tUBSOPkCR3vN+/U+JuJwjO33f5dpkOF0PxYLbSCOGtWg3N0/mnQorWktNj3uxo/ORFtm6ABRDSLBY0dtTwFWU3jwHpXal3GY3wYrzN0bHaPCa9f+KFAem4rlyn66+vfnoRKQIeKopIp7nsvaKn+qWXD+oJxWa2MXU98O95w/xokAXu8t3WvGgY53FA57KUFCJ+Pfmw5Rb57BGLf+04ACBYvwzf1yN7hc4pZ19Xyn7NIxlvzGYbRx8y+y7jsCmCDbMq2kDZhwvYqk9zPYhH/qjyVQJOL2bcWgeaZFhh7XZX4CvFwPEPjt6gOnmQKVFFBganTBOB3EcucQ==; Received: from [181.164.71.8] (helo=desktop.lan) by yotta.elopez.com.ar with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_CBC_SHA256:128) (Exim 4.83) id 1XEObf-0007yF-6i; Mon, 04 Aug 2014 17:11:43 -0300 From: =?UTF-8?q?Emilio=20L=C3=B3pez?= To: Maxime Ripard , vinod.koul@intel.com, dan.j.williams@intel.com, broonie@kernel.org Cc: , , , sunny@allwinnertech.com, kevin.z.m.zh@gmail.com, shuge@allwinnertech.com, zhuzhenhua@allwinnertech.com, =?UTF-8?q?Emilio=20L=C3=B3pez?= Subject: [PATCH v3 5/8] ARM: sun7i: dt: Add node to represent the DMA controller Date: Mon, 4 Aug 2014 17:09:59 -0300 Message-Id: <1407183002-29420-6-git-send-email-emilio@elopez.com.ar> X-Mailer: git-send-email 2.0.4 In-Reply-To: <1407183002-29420-1-git-send-email-emilio@elopez.com.ar> References: <1407183002-29420-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.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,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 The A20 SoC has a sun4i-compatible DMA controller. Let's add a node to represent it on the device tree. Signed-off-by: Emilio López Reviewed-by: Chen-Yu Tsai --- Changes from v2: * Fix whitespace * Collect tag from Chen-Yu arch/arm/boot/dts/sun7i-a20.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi index 01e9466..510b5a8 100644 --- a/arch/arm/boot/dts/sun7i-a20.dtsi +++ b/arch/arm/boot/dts/sun7i-a20.dtsi @@ -423,6 +423,14 @@ interrupts = <0 0 4>; }; + dma: dma-controller@01c02000 { + compatible = "allwinner,sun4i-a10-dma"; + reg = <0x01c02000 0x1000>; + interrupts = <0 27 4>; + clocks = <&ahb_gates 6>; + #dma-cells = <2>; + }; + spi0: spi@01c05000 { compatible = "allwinner,sun4i-a10-spi"; reg = <0x01c05000 0x1000>;