From patchwork Mon Aug 1 17:10:43 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 73115 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp2808679qga; Mon, 1 Aug 2016 10:14:40 -0700 (PDT) X-Received: by 10.98.17.83 with SMTP id z80mr98371678pfi.38.1470071680045; Mon, 01 Aug 2016 10:14:40 -0700 (PDT) Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id q4si35831027pag.287.2016.08.01.10.14.39 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 Aug 2016 10:14:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for 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; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) smtp.mailfrom=linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bUGmO-0001Xd-TK; Mon, 01 Aug 2016 17:13:28 +0000 Received: from mail-wm0-x229.google.com ([2a00:1450:400c:c09::229]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bUGkY-0000CS-Dt for linux-arm-kernel@lists.infradead.org; Mon, 01 Aug 2016 17:11:36 +0000 Received: by mail-wm0-x229.google.com with SMTP id f65so378266354wmi.0 for ; Mon, 01 Aug 2016 10:11:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=56MITvkJ+xRLkJ4JMjrUNb/z+wwXEhpkYaUTAJeDASM=; b=UyBMAocgQPCyjnJT7pwSpCETaWKcP2mMqmlzk5gN5+DA8bcPSqVKWI7cMbuS6RR0sA pKEw6LiVbAtt/86VRWrVJ7Wt9XPruVqGyj1RjmC+AfSXyqqmJWpQV7sf5vB4Jmgky0zm HO2IRGmQbmvcyeO5Ht++/Sp4t0QhUyWdRyJXE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=56MITvkJ+xRLkJ4JMjrUNb/z+wwXEhpkYaUTAJeDASM=; b=NcqECMtEcE962umZlX6QGTuNtMcYpzLjdyRAcli+/t0bjhrwtquxphhC2ZJDnPbi0l wYfGSHXvlQqQPHrolPSlvNmEOAkZXj88JBuhuACZWlroMwWlcpMHImehykoa0Z4zz1AO 7SRQxLuVnmYPVDu9MJkjxWLStqY2FgdnVrzxRyn2QM+dXzBsXk7dDsHIe+qH5kvwUjlN gaPng43ZxkuzLtadOzDMA3495Mxzur0b7IMgaO7kCk1B/UzjtL0JJ1PiqCa2mR98b8oT SvP135HJ/jNizQY4EcLznvOfL3svW9Aon7WAmJxkOFRmky1tAkrVGT96uBzGz69KtsTJ G7Ag== X-Gm-Message-State: AEkoouvT978eoD41Mj2Z5dzUhbKF6nZTnSgAszGkwmH2X4NfEdXIE8d63p2ewieRV7zgpYxU X-Received: by 10.28.215.81 with SMTP id o78mr15384036wmg.42.1470071472560; Mon, 01 Aug 2016 10:11:12 -0700 (PDT) Received: from localhost.localdomain (cpc89244-aztw30-2-0-cust5583.18-1.cable.virginm.net. [86.31.181.208]) by smtp.gmail.com with ESMTPSA id q23sm17974749wme.17.2016.08.01.10.11.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 01 Aug 2016 10:11:11 -0700 (PDT) From: Peter Griffin To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@stlinux.com, vinod.koul@intel.com, patrice.chotard@st.com, ohad@wizery.com, bjorn.andersson@linaro.org Subject: [PATCH v7 06/16] ARM: STi: DT: STiH407: Add FDMA driver dt nodes. Date: Mon, 1 Aug 2016 18:10:43 +0100 Message-Id: <1470071453-10730-7-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1470071453-10730-1-git-send-email-peter.griffin@linaro.org> References: <1470071453-10730-1-git-send-email-peter.griffin@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160801_101134_902621_AC023521 X-CRM114-Status: GOOD ( 10.69 ) X-Spam-Score: -2.0 (--) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-2.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 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, linux-remoteproc@vger.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 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 | 52 +++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) -- 1.9.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi index d294e82..45cab30 100644 --- a/arch/arm/boot/dts/stih407-family.dtsi +++ b/arch/arm/boot/dts/stih407-family.dtsi @@ -821,5 +821,57 @@ clock-frequency = <600000000>; st,syscfg = <&syscfg_core 0x224>; }; + + /* fdma audio */ + fdma0: dma-controller@8e20000 { + compatible = "st,stih407-fdma-mpe31-11", "st,slim-rproc"; + reg = <0x8e20000 0x8000>, + <0x8e30000 0x3000>, + <0x8e37000 0x1000>, + <0x8e38000 0x8000>; + reg-names = "slimcore", "dmem", "peripherals", "imem"; + 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>; + interrupts = ; + dma-channels = <16>; + #dma-cells = <3>; + }; + + /* fdma app */ + fdma1: dma-controller@8e40000 { + compatible = "st,stih407-fdma-mpe31-12", "st,slim-rproc"; + reg = <0x8e40000 0x8000>, + <0x8e50000 0x3000>, + <0x8e57000 0x1000>, + <0x8e58000 0x8000>; + reg-names = "slimcore", "dmem", "peripherals", "imem"; + 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>; + + interrupts = ; + dma-channels = <16>; + #dma-cells = <3>; + }; + + /* fdma free running */ + fdma2: dma-controller@8e60000 { + compatible = "st,stih407-fdma-mpe31-13", "st,slim-rproc"; + reg = <0x8e60000 0x8000>, + <0x8e70000 0x3000>, + <0x8e77000 0x1000>, + <0x8e78000 0x8000>; + reg-names = "slimcore", "dmem", "peripherals", "imem"; + interrupts = ; + dma-channels = <16>; + #dma-cells = <3>; + 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>; + }; }; };