From patchwork Fri Aug 26 14:56:41 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 74818 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp395493qga; Fri, 26 Aug 2016 08:01:14 -0700 (PDT) X-Received: by 10.66.25.8 with SMTP id y8mr6838200paf.64.1472223648945; Fri, 26 Aug 2016 08:00:48 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o2si21628246pfg.243.2016.08.26.08.00.48; Fri, 26 Aug 2016 08:00:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; 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 devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754175AbcHZPAr (ORCPT + 7 others); Fri, 26 Aug 2016 11:00:47 -0400 Received: from mail-wm0-f48.google.com ([74.125.82.48]:35251 "EHLO mail-wm0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754112AbcHZO5Y (ORCPT ); Fri, 26 Aug 2016 10:57:24 -0400 Received: by mail-wm0-f48.google.com with SMTP id f65so281799751wmi.0 for ; Fri, 26 Aug 2016 07:57:23 -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=a/l+Qo//Lr4Wb87duG3xg/ZM2Z5YTJCBuo9TgL18cdtPNbrs4ktDJjY+ni/GmSuz3f 0r2bbghioluY61n26wXqeQVrF0NhVCVeiJtRbleXldkJK84luQTCPhjAM0+7y7zDqny0 3/SUHmZZ57M0b73oTU11k4n5h1Ff1UdR6Yruk= 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=VWQwHBw4nP0GsvefMNvuNL5BxJf2KyK4FnTdwRFS7D68xpH7SsIrjdA5pXiYWMnSzB FHVt2cfHS6aqQl/rSM77rcm2uLq269HG0Pi9j2c2PxYS43HqWNw8gz9v8LEUxgsXsrCP q3V84oWJfRlHlG8LwmaRpUjRgauIMu5Pisg5Zc2fE1TOeyEsUdfT8kMDyNW11K9TT+nl UYwHs9WWZpEpMH/fociyrJ1996Su0CDKkoH96tMrmbCCpsith6bzCjxKlHTW+3GXURN5 rDEdDHgtED7DGH95GH0jkJGKDHWr5A5sA/VWp31l6z+NXy0sGe3evOzKqF7ZMebodWyG BWng== X-Gm-Message-State: AE9vXwPiBvlWLO/+eI5aJCe9hWp7kMCxohfMVPVvqWIaRLKTNtg/UfHlxI8/0262NOaiyJhB X-Received: by 10.194.75.225 with SMTP id f1mr4511766wjw.104.1472223442777; Fri, 26 Aug 2016 07:57:22 -0700 (PDT) Received: from localhost.localdomain (cpc89244-aztw30-2-0-cust4998.18-1.cable.virginm.net. [86.31.179.135]) by smtp.gmail.com with ESMTPSA id 4sm43996176wmu.2.2016.08.26.07.57.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 26 Aug 2016 07:57:21 -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, dan.j.williams@intel.com, airlied@linux.ie, kraxel@redhat.com, ohad@wizery.com, bjorn.andersson@linaro.org Cc: peter.griffin@linaro.org, lee.jones@linaro.org, dmaengine@vger.kernel.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, virtualization@lists.linux-foundation.org, linux-remoteproc@vger.kernel.org Subject: [PATCH v8 06/18] ARM: STi: DT: STiH407: Add FDMA driver dt nodes. Date: Fri, 26 Aug 2016 15:56:41 +0100 Message-Id: <1472223413-7254-7-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1472223413-7254-1-git-send-email-peter.griffin@linaro.org> References: <1472223413-7254-1-git-send-email-peter.griffin@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.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 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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>; + }; }; };