From patchwork Fri Sep 11 14:14:29 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 53479 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f199.google.com (mail-wi0-f199.google.com [209.85.212.199]) by patches.linaro.org (Postfix) with ESMTPS id 8193222B26 for ; Fri, 11 Sep 2015 14:16:51 +0000 (UTC) Received: by wicgb1 with SMTP id gb1sf19124626wic.3 for ; Fri, 11 Sep 2015 07:16:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:subject:date:message-id :in-reply-to:references:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:cc:mime-version :content-type:content-transfer-encoding:sender:errors-to :x-original-sender:x-original-authentication-results:mailing-list; bh=X/KulaHqHnHQ/0mhQt2UEppbfcNNY0uWJNh7eTShET0=; b=JWVOLdPYohBvJztMXSlnx7rE5tkPIR/5z7wZ2/mlJR0/gSrOlRXXRQv81fwgWfG2DE 5QmGiCgsmXNvcPgUCuFY3C7Chd9G8xKaob4xmXkb8wvexfnA85vCoCf5AjQ7tcghvY5Q mFDCIc12bqMt4Nk/Tf96Bj0V3zS/r+oqEUMk7io0sq815zJOPwJQsx4kHYtmDknTtr1j lNBGqM/6SHq2PyiDWKLh1WCobPWqB0CGb3nIxtGuDZ+qa8ZySRgPyiJbXieQVRD4OYkZ QWUsoXOUpahGPZaMMW+1OcHh4kmebfdyJ3k8ncQVeH37jJ7XS0e3qIn/V5VQgFOBeQ// Hp/w== X-Gm-Message-State: ALoCoQkSmhTvaXENQxVAzyplW4F91UWgMD+4dPbjsqwWgv5AO0SOL6uR0gR1kHCcwuDWAsUIlbSy X-Received: by 10.180.35.132 with SMTP id h4mr2486447wij.5.1441981010811; Fri, 11 Sep 2015 07:16:50 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.36.70 with SMTP id o6ls369793laj.2.gmail; Fri, 11 Sep 2015 07:16:50 -0700 (PDT) X-Received: by 10.152.2.227 with SMTP id 3mr2979649lax.54.1441981010641; Fri, 11 Sep 2015 07:16:50 -0700 (PDT) Received: from mail-la0-f47.google.com (mail-la0-f47.google.com. [209.85.215.47]) by mx.google.com with ESMTPS id c2si380482lac.65.2015.09.11.07.16.50 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 Sep 2015 07:16:50 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.47 as permitted sender) client-ip=209.85.215.47; Received: by lamp12 with SMTP id p12so48073094lam.0 for ; Fri, 11 Sep 2015 07:16:50 -0700 (PDT) X-Received: by 10.112.72.97 with SMTP id c1mr28396334lbv.86.1441981002631; Fri, 11 Sep 2015 07:16:42 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp1627983lbq; Fri, 11 Sep 2015 07:16:41 -0700 (PDT) X-Received: by 10.50.62.81 with SMTP id w17mr4555523igr.0.1441981001156; Fri, 11 Sep 2015 07:16:41 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id m10si719422igx.40.2015.09.11.07.16.40 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 Sep 2015 07:16:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) client-ip=2001:1868:205::9; 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 1ZaP70-0003O0-Cc; Fri, 11 Sep 2015 14:15:34 +0000 Received: from merlin.infradead.org ([2001:4978:20e::2]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZaP6Y-0002me-TP for linux-arm-kernel@bombadil.infradead.org; Fri, 11 Sep 2015 14:15:06 +0000 Received: from mail-wi0-f169.google.com ([209.85.212.169]) by merlin.infradead.org with esmtps (Exim 4.85 #2 (Red Hat Linux)) id 1ZaP6X-0004sT-Nk for linux-arm-kernel@lists.infradead.org; Fri, 11 Sep 2015 14:15:06 +0000 Received: by wiclk2 with SMTP id lk2so60011187wic.1 for ; Fri, 11 Sep 2015 07:14:47 -0700 (PDT) X-Received: by 10.194.60.115 with SMTP id g19mr61290953wjr.29.1441980887520; Fri, 11 Sep 2015 07:14:47 -0700 (PDT) Received: from localhost.localdomain (cpc14-aztw22-2-0-cust189.18-1.cable.virginm.net. [82.45.1.190]) by smtp.gmail.com with ESMTPSA id i6sm577236wje.33.2015.09.11.07.14.46 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 11 Sep 2015 07:14:46 -0700 (PDT) From: Peter Griffin To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, srinivas.kandagatla@gmail.com, maxime.coquelin@st.com, patrice.chotard@st.com, vinod.koul@intel.com Subject: [PATCH v2 7/9] ARM: STi: DT: STiH407: Add FDMA driver dt nodes. Date: Fri, 11 Sep 2015 15:14:29 +0100 Message-Id: <1441980871-24475-8-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1441980871-24475-1-git-send-email-peter.griffin@linaro.org> References: <1441980871-24475-1-git-send-email-peter.griffin@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150911_101505_888192_C1E4AE8D X-CRM114-Status: GOOD ( 11.96 ) X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.4.1 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.212.169 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.212.169 listed in wl.mailspike.net] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 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: peter.griffin@linaro.org, dmaengine@vger.kernel.org, robh+dt@kernel.org, lee.jones@linaro.org, devicetree@vger.kernel.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: peter.griffin@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.47 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 These nodes are required to get the fdma driver working on STiH407 based silicon. Signed-off-by: Peter Griffin --- arch/arm/boot/dts/stih407-family.dtsi | 51 +++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi index 838b812..da07474b 100644 --- a/arch/arm/boot/dts/stih407-family.dtsi +++ b/arch/arm/boot/dts/stih407-family.dtsi @@ -565,5 +565,56 @@ <&phy_port2 PHY_TYPE_USB3>; }; }; + + fdma0: fdma0-audio@8e20000 { + compatible = "st,stih407-fdma-mpe31"; + reg = <0x8e20000 0x20000>; + interrupts = ; + dma-channels = <16>; + #dma-cells = <3>; + st,fdma-id = <0>; + clocks = <&clk_s_c0_flexgen CLK_FDMA>, + <&clk_s_c0_flexgen CLK_EXT2F_A9>, + <&clk_s_c0_flexgen CLK_EXT2F_A9>, + <&clk_s_c0_flexgen CLK_EXT2F_A9>; + clock-names = "fdma_slim", + "fdma_hi", + "fdma_low", + "fdma_ic"; + }; + + fdma1: fdma1-app@8e40000 { + compatible = "st,stih407-fdma-mpe31"; + reg = <0x8e40000 0x20000>; + interrupts = ; + dma-channels = <16>; + #dma-cells = <3>; + st,fdma-id = <1>; + clocks = <&clk_s_c0_flexgen CLK_FDMA>, + <&clk_s_c0_flexgen CLK_TX_ICN_DMU>, + <&clk_s_c0_flexgen CLK_TX_ICN_DMU>, + <&clk_s_c0_flexgen CLK_EXT2F_A9>; + clock-names = "fdma_slim", + "fdma_hi", + "fdma_low", + "fdma_ic"; + }; + + fdma2: fdma2-free_running@8e60000 { + compatible = "st,stih407-fdma-mpe31"; + reg = <0x8e60000 0x20000>; + interrupts = ; + dma-channels = <16>; + #dma-cells = <3>; + st,fdma-id = <2>; + clocks = <&clk_s_c0_flexgen CLK_FDMA>, + <&clk_s_c0_flexgen CLK_EXT2F_A9>, + <&clk_s_c0_flexgen CLK_TX_ICN_DISP_0>, + <&clk_s_c0_flexgen CLK_EXT2F_A9>; + clock-names = "fdma_slim", + "fdma_hi", + "fdma_low", + "fdma_ic"; + }; }; };