Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3824513imm; Sat, 21 Jul 2018 04:09:31 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdDPHYNc4sGT4ldT1p0bkbG0rB22yMCVyitqZeHhKVlr0K1jit34UnJi3yNVTho9bdDJi7X X-Received: by 2002:aa7:8713:: with SMTP id b19-v6mr5648343pfo.151.1532171371618; Sat, 21 Jul 2018 04:09:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532171371; cv=none; d=google.com; s=arc-20160816; b=bj7Y+D67oLUwMQLlNG9BEeeLoFVIoR9MW9tANyKUaZMkaMKiMyQdRUFD6CpnyNQFgN ZspZf2HnN18aFKTqatSRqhuhunfxCEOVHveC5LjLfHKQHg+63Osnu+yj7o3ZI6DqxkX4 qZpMKgCrD7xQNtgDSdlpgDzvJgM3+npdxY6oMK0kPAcbhLvFi1zk6L2FBKW7Sj6l3II1 VTqQSwFhbT0ttPy1S2NAWk7XkZrgxMg+x4IL3ee8knH0h7J58r8rpQ3MCCmtJXcpO83C 6bbTIcARWwt6x/wboigNOFIozgxt8AmPlnHNVWAhyWmpud0YwHy7rXc35gkZyA/7mluE 2cyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:references:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=xKabxHq47Tnw4oKQmiUwuAKoZHoPrm81bUlFaE/PwR0=; b=G8+/4WKNBCTwQ/J7bfuZakmTcoQXpTpq4yWg/eHp8Par/TIWtOhAUSFugXKDlbPW2M E9no4g+b5PjYb3w7/gYYwK+huy25x7CWKp36wlPJKjC3ZzTTWPMRTcqH4kNrU/PAv4lL cWZbenyaJifYBvZSL1YntD54VoP0gfKDj25QWrm6OOERxm7PfyxXA1iuf/QR81RccFaD 4V0VlOruAPRPkuJSyVNe4b977cVHOO3vC/9FatTZIwGpMxAmyC22rt5LbOBigdWZ4Vsp twF9fTBVpEzUewjxMbnK93dEi4yWHW7sYq42nceiG0qfBvK9GQgXa0ZiVxE7eoFgm4Ia BRyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@crapouillou.net header.s=mail header.b=VrMOyjTL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g131-v6si3738048pgc.204.2018.07.21.04.09.04; Sat, 21 Jul 2018 04:09:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@crapouillou.net header.s=mail header.b=VrMOyjTL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729584AbeGUMA1 (ORCPT + 99 others); Sat, 21 Jul 2018 08:00:27 -0400 Received: from outils.crapouillou.net ([89.234.176.41]:43548 "EHLO crapouillou.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729135AbeGUMAX (ORCPT ); Sat, 21 Jul 2018 08:00:23 -0400 From: Paul Cercueil To: Vinod Koul , Rob Herring , Mark Rutland , Ralf Baechle , Paul Burton , James Hogan , Zubair Lutfullah Kakakhel Cc: Mathieu Malaterre , Daniel Silsby , Paul Cercueil , dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@linux-mips.org Subject: [PATCH v3 18/18] MIPS: JZ4740: DTS: Add DMA nodes Date: Sat, 21 Jul 2018 13:06:43 +0200 Message-Id: <20180721110643.19624-19-paul@crapouillou.net> In-Reply-To: <20180721110643.19624-1-paul@crapouillou.net> References: <20180721110643.19624-1-paul@crapouillou.net> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1532171282; bh=xKabxHq47Tnw4oKQmiUwuAKoZHoPrm81bUlFaE/PwR0=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=VrMOyjTLioYFJr1+GwqBjNRH66oIWgzTv9Kkn3K3C2Q/nAxgTLgaTN11hAU0omDOJtVPEjq78SORx6Jtr/4KgVUrnaBcP+b9DyYzIhXiK/+/SY4nsdJ0HA+ZR+jBe0q/VUqhtyxLI+ASy7oxEBYHyTgDfdd8FnaB99Av7R152Sk= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the devicetree nodes for the DMA core of the JZ4740 SoC, disabled by default, as currently there are no clients for the DMA driver (until the MMC driver and/or others get a devicetree node). Signed-off-by: Paul Cercueil Tested-by: Mathieu Malaterre --- arch/mips/boot/dts/ingenic/jz4740.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) v2: New patch in this series v3: Modify node to comply with devicetree specification diff --git a/arch/mips/boot/dts/ingenic/jz4740.dtsi b/arch/mips/boot/dts/ingenic/jz4740.dtsi index 26c6b561d6f7..6fb16fd24035 100644 --- a/arch/mips/boot/dts/ingenic/jz4740.dtsi +++ b/arch/mips/boot/dts/ingenic/jz4740.dtsi @@ -154,6 +154,21 @@ clock-names = "baud", "module"; }; + dmac: dma-controller@13020000 { + compatible = "ingenic,jz4740-dma"; + reg = <0x13020000 0xbc + 0x13020300 0x14>; + #dma-cells = <2>; + + interrupt-parent = <&intc>; + interrupts = <29>; + + clocks = <&cgu JZ4740_CLK_DMA>; + + /* Disable dmac until we have something that uses it */ + status = "disabled"; + }; + uhc: uhc@13030000 { compatible = "ingenic,jz4740-ohci", "generic-ohci"; reg = <0x13030000 0x1000>; -- 2.11.0