From patchwork Wed May 25 16:06: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: 68618 Delivered-To: patch@linaro.org Received: by 10.140.92.199 with SMTP id b65csp1300405qge; Wed, 25 May 2016 09:07:53 -0700 (PDT) X-Received: by 10.98.6.4 with SMTP id 4mr7042681pfg.8.1464192473718; Wed, 25 May 2016 09:07:53 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f13si12119303pff.157.2016.05.25.09.07.53; Wed, 25 May 2016 09:07:53 -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=@linaro.org; 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 dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932464AbcEYQHa (ORCPT + 30 others); Wed, 25 May 2016 12:07:30 -0400 Received: from mail-wm0-f42.google.com ([74.125.82.42]:35078 "EHLO mail-wm0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932332AbcEYQHV (ORCPT ); Wed, 25 May 2016 12:07:21 -0400 Received: by mail-wm0-f42.google.com with SMTP id a136so133992422wme.0 for ; Wed, 25 May 2016 09:07:21 -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=YUnYw5jTQeslTy+dzrUbmACmfluMa+c7l1ij1xYzyq8=; b=UYBHHLBvOQ8sFI4DNFWd7E96an4xAG6s+Sbm8W+L4sgt1mfIO9OZPy+rTXeMdvn5XN 5rrgNdGJtnNvq1i257df3eARdDT7h2i1HQg4WejrJfVE5m7YX838gYjU/E3JyDJjwZxm 9tFzLg0VErKBffTFIZlR9JByFgbQr7zuOIgFw= 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=YUnYw5jTQeslTy+dzrUbmACmfluMa+c7l1ij1xYzyq8=; b=fQSbD7djh5TG4XYvBiwInqdsQ6HpdNwEa668iYzHqkvY3axf6htH/ihksvRObnCUjr 6qj71YlYcElWwVDe63lDRIpvVzw6KXb50s9ZWzaJfhtv1eGIwTsDQkTm2OY8vy2hX9aF xO+AgJluh2CtVzCCdZ5njmn2F6HbOUlya6mDZWzpBitn1erFcAQVoH10njFVHKFAVqqF z1UbhFwCHSv2CMAIIkwYlfG1WhA5zGHdkSChDbiMD0Oq7/SlPMGYYG4fkns9Z0i33iAb 3+kMtwLmZWQk3zctqvoanVZnp2uVwkrpMvtmq+wBhYyoTQHDSW5woDDLk8xpRGjC/j5I JWaw== X-Gm-Message-State: ALyK8tJvWEoXBy2B++5Gz0ecY5zVtHoyPWlB8PqavU5Wjhh0xUJkNkbqDzyfOhXF2B9JFWs1 X-Received: by 10.194.86.200 with SMTP id r8mr4559863wjz.158.1464192440497; Wed, 25 May 2016 09:07:20 -0700 (PDT) Received: from localhost.localdomain (cpc84731-aztw28-2-0-cust112.18-1.cable.virginm.net. [82.37.67.113]) by smtp.gmail.com with ESMTPSA id k127sm10039103wmf.21.2016.05.25.09.07.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 25 May 2016 09:07:19 -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, ohad@wizery.com, bjorn.andersson@linaro.org, arnd@arndb.de Cc: peter.griffin@linaro.org, lee.jones@linaro.org, devicetree@vger.kernel.org, dmaengine@vger.kernel.org, linux-remoteproc@vger.kernel.org Subject: [PATCH v4 07/18] ARM: STi: DT: STiH407: Add FDMA driver dt nodes. Date: Wed, 25 May 2016 17:06:41 +0100 Message-Id: <1464192412-16386-9-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1464192412-16386-1-git-send-email-peter.griffin@linaro.org> References: <1464192412-16386-1-git-send-email-peter.griffin@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi index 81f8121..b423836 100644 --- a/arch/arm/boot/dts/stih407-family.dtsi +++ b/arch/arm/boot/dts/stih407-family.dtsi @@ -694,5 +694,57 @@ clocks = <&clk_sysin>; status = "okay"; }; + + /* fdma audio */ + fdma0: dma-controller@8e20000 { + compatible = "st,stih407-fdma-mpe31-11", "st,xp70-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,xp70-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,xp70-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>; + }; }; };