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: 9254637 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E2B9D6048B for ; Mon, 1 Aug 2016 17:15:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CCA1C2843C for ; Mon, 1 Aug 2016 17:15:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C0727284AE; Mon, 1 Aug 2016 17:15:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 57FC02843C for ; Mon, 1 Aug 2016 17:15:01 +0000 (UTC) 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-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+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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(+) 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>; + }; }; };