All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Griffin <peter.griffin@linaro.org>
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	[thread overview]
Message-ID: <1472223413-7254-7-git-send-email-peter.griffin@linaro.org> (raw)
In-Reply-To: <1472223413-7254-1-git-send-email-peter.griffin@linaro.org>

These nodes are required to get the fdma driver working
on STiH407 based silicon.

Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
---
 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 = <GIC_SPI 5 IRQ_TYPE_NONE>;
+			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 = <GIC_SPI 7 IRQ_TYPE_NONE>;
+			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 = <GIC_SPI 9 IRQ_TYPE_NONE>;
+			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>;
+		};
 	};
 };
-- 
1.9.1

WARNING: multiple messages have this Message-ID (diff)
From: Peter Griffin <peter.griffin@linaro.org>
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: devicetree@vger.kernel.org, linux-remoteproc@vger.kernel.org,
	dri-devel@lists.freedesktop.org,
	virtualization@lists.linux-foundation.org,
	peter.griffin@linaro.org, dmaengine@vger.kernel.org,
	lee.jones@linaro.org
Subject: [PATCH v8 06/18] ARM: STi: DT: STiH407: Add FDMA driver dt nodes.
Date: Fri, 26 Aug 2016 15:56:41 +0100	[thread overview]
Message-ID: <1472223413-7254-7-git-send-email-peter.griffin@linaro.org> (raw)
In-Reply-To: <1472223413-7254-1-git-send-email-peter.griffin@linaro.org>

These nodes are required to get the fdma driver working
on STiH407 based silicon.

Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
---
 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 = <GIC_SPI 5 IRQ_TYPE_NONE>;
+			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 = <GIC_SPI 7 IRQ_TYPE_NONE>;
+			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 = <GIC_SPI 9 IRQ_TYPE_NONE>;
+			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>;
+		};
 	};
 };
-- 
1.9.1

WARNING: multiple messages have this Message-ID (diff)
From: peter.griffin@linaro.org (Peter Griffin)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v8 06/18] ARM: STi: DT: STiH407: Add FDMA driver dt nodes.
Date: Fri, 26 Aug 2016 15:56:41 +0100	[thread overview]
Message-ID: <1472223413-7254-7-git-send-email-peter.griffin@linaro.org> (raw)
In-Reply-To: <1472223413-7254-1-git-send-email-peter.griffin@linaro.org>

These nodes are required to get the fdma driver working
on STiH407 based silicon.

Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
---
 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 at 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 = <GIC_SPI 5 IRQ_TYPE_NONE>;
+			dma-channels = <16>;
+			#dma-cells = <3>;
+		};
+
+		/* fdma app */
+		fdma1: dma-controller at 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 = <GIC_SPI 7 IRQ_TYPE_NONE>;
+			dma-channels = <16>;
+			#dma-cells = <3>;
+		};
+
+		/* fdma free running */
+		fdma2: dma-controller at 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 = <GIC_SPI 9 IRQ_TYPE_NONE>;
+			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>;
+		};
 	};
 };
-- 
1.9.1

  parent reply	other threads:[~2016-08-26 14:56 UTC|newest]

Thread overview: 160+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-26 14:56 [PATCH v8 00/18] Add support for FDMA DMA controller and slim core rproc found on STi chipsets Peter Griffin
2016-08-26 14:56 ` Peter Griffin
2016-08-26 14:56 ` Peter Griffin
2016-08-26 14:56 ` [PATCH v8 01/18] remoteproc: st_slim_rproc: add a slimcore rproc driver Peter Griffin
2016-08-26 14:56 ` Peter Griffin
2016-08-26 14:56   ` Peter Griffin
2016-08-30 12:34   ` Lee Jones
2016-08-30 12:34   ` Lee Jones
2016-08-30 12:34     ` Lee Jones
2016-08-30 12:34     ` Lee Jones
2016-08-30 15:44     ` Peter Griffin
2016-08-30 15:44     ` Peter Griffin
2016-08-30 15:44       ` Peter Griffin
2016-08-30 15:44       ` Peter Griffin
2016-08-31 11:24       ` Lee Jones
2016-08-31 11:24       ` Lee Jones
2016-08-31 11:24         ` Lee Jones
2016-08-31 11:24         ` Lee Jones
2016-08-30 16:54     ` Bjorn Andersson
2016-08-30 16:54     ` Bjorn Andersson
2016-08-30 16:54       ` Bjorn Andersson
2016-08-30 16:54       ` Bjorn Andersson
2016-08-31 11:11       ` Peter Griffin
2016-08-31 11:11         ` Peter Griffin
2016-08-31 11:11         ` Peter Griffin
2016-08-26 14:56 ` [PATCH v8 02/18] MAINTAINERS: Add st slim core rproc driver to STi section Peter Griffin
2016-08-26 14:56   ` Peter Griffin
2016-08-26 14:56   ` Peter Griffin
2016-08-30 10:27   ` Lee Jones
2016-08-30 10:27   ` Lee Jones
2016-08-30 10:27     ` Lee Jones
2016-08-30 10:27     ` Lee Jones
2016-08-26 14:56 ` Peter Griffin
2016-08-26 14:56 ` [PATCH v8 03/18] dmaengine: st_fdma: Add STMicroelectronics FDMA DT binding documentation Peter Griffin
2016-08-26 14:56 ` Peter Griffin
2016-08-26 14:56   ` Peter Griffin
2016-08-26 14:56   ` Peter Griffin
2016-08-26 14:56 ` [PATCH v8 04/18] dmaengine: st_fdma: Add STMicroelectronics FDMA driver header file Peter Griffin
2016-08-26 14:56 ` Peter Griffin
2016-08-26 14:56   ` Peter Griffin
2016-08-26 14:56   ` Peter Griffin
2016-08-26 14:56 ` [PATCH v8 05/18] dmaengine: st_fdma: Add STMicroelectronics FDMA engine driver support Peter Griffin
2016-08-26 14:56   ` Peter Griffin
2016-08-26 14:56   ` Peter Griffin
2016-08-30 16:30   ` Vinod Koul
2016-08-30 16:30     ` Vinod Koul
2016-09-01 10:06     ` Peter Griffin
2016-09-01 10:06       ` Peter Griffin
2016-09-01 10:06       ` Peter Griffin
2016-09-01 10:06     ` Peter Griffin
2016-08-30 16:30   ` Vinod Koul
2016-08-26 14:56 ` Peter Griffin
2016-08-26 14:56 ` [PATCH v8 06/18] ARM: STi: DT: STiH407: Add FDMA driver dt nodes Peter Griffin
2016-08-26 14:56 ` Peter Griffin [this message]
2016-08-26 14:56   ` Peter Griffin
2016-08-26 14:56   ` Peter Griffin
2016-08-30 10:26   ` Lee Jones
2016-08-30 10:26     ` Lee Jones
2016-08-30 10:26     ` Lee Jones
2016-08-26 14:56 ` [PATCH v8 07/18] MAINTAINERS: Add FDMA driver files to STi section Peter Griffin
2016-08-26 14:56 ` Peter Griffin
2016-08-26 14:56   ` Peter Griffin
2016-08-26 14:56 ` [PATCH v8 08/18] ARM: multi_v7_defconfig: Enable STi FDMA driver Peter Griffin
2016-08-26 14:56   ` Peter Griffin
2016-08-26 14:56   ` Peter Griffin
2016-08-26 14:56 ` Peter Griffin
2016-08-26 14:56 ` [PATCH v8 09/18] ARM: multi_v7_defconfig: Enable STi and simple-card drivers Peter Griffin
2016-08-26 14:56   ` Peter Griffin
2016-08-30 10:25   ` Lee Jones
2016-08-30 10:25     ` Lee Jones
2016-08-30 10:25     ` Lee Jones
2016-08-26 14:56 ` Peter Griffin
2016-08-26 14:56 ` [PATCH v8 10/18] ARM: DT: STiH407: Add i2s_out pinctrl configuration Peter Griffin
2016-08-26 14:56 ` Peter Griffin
2016-08-26 14:56   ` Peter Griffin
2016-08-26 14:56   ` Peter Griffin
2016-08-30 10:24   ` Lee Jones
2016-08-30 10:24     ` Lee Jones
2016-08-30 10:24     ` Lee Jones
2016-08-30 10:24   ` Lee Jones
2016-08-26 14:56 ` [PATCH v8 11/18] ARM: DT: STiH407: Add i2s_in " Peter Griffin
2016-08-26 14:56 ` Peter Griffin
2016-08-26 14:56   ` Peter Griffin
2016-08-30 10:23   ` Lee Jones
2016-08-30 10:23     ` Lee Jones
2016-08-30 10:23     ` Lee Jones
2016-08-30 10:23   ` Lee Jones
2016-08-26 14:56 ` [PATCH v8 12/18] ARM: DT: STiH407: Add spdif_out pinctrl config Peter Griffin
2016-08-26 14:56 ` Peter Griffin
2016-08-26 14:56   ` Peter Griffin
2016-08-26 14:56   ` Peter Griffin
2016-08-30 10:22   ` Lee Jones
2016-08-30 10:22   ` Lee Jones
2016-08-30 10:22     ` Lee Jones
2016-08-30 10:22     ` Lee Jones
2016-08-26 14:56 ` [PATCH v8 13/18] ARM: STi: DT: STiH407: Add sti-sasg-codec dt node Peter Griffin
2016-08-26 14:56 ` Peter Griffin
2016-08-26 14:56   ` Peter Griffin
2016-08-30 10:03   ` Lee Jones
2016-08-30 10:03     ` Lee Jones
2016-08-30 10:03     ` Lee Jones
2016-08-30 10:03   ` Lee Jones
2016-08-26 14:56 ` [PATCH v8 14/18] ARM: STi: DT: STiH407: Add uniperif player dt nodes Peter Griffin
2016-08-26 14:56   ` Peter Griffin
2016-08-30 10:02   ` Lee Jones
2016-08-30 10:02   ` Lee Jones
2016-08-30 10:02     ` Lee Jones
2016-08-30 10:02     ` Lee Jones
2016-08-30 10:03     ` Lee Jones
2016-08-30 10:03     ` Lee Jones
2016-08-30 10:03       ` Lee Jones
2016-08-30 10:03       ` Lee Jones
2016-08-26 14:56 ` Peter Griffin
2016-08-26 14:56 ` [PATCH v8 15/18] ARM: STi: DT: STiH407: Add uniperif reader " Peter Griffin
2016-08-26 14:56   ` Peter Griffin
2016-08-30 10:01   ` Lee Jones
2016-08-30 10:01   ` Lee Jones
2016-08-30 10:01     ` Lee Jones
2016-08-30 10:01     ` Lee Jones
2016-08-30 14:21     ` Peter Griffin
2016-08-30 14:21       ` Peter Griffin
2016-08-30 14:21       ` Peter Griffin
2016-08-31 11:28       ` Lee Jones
2016-08-31 11:28         ` Lee Jones
2016-08-31 11:28         ` Lee Jones
2016-09-05 12:20         ` Arnaud Pouliquen
2016-09-05 12:20         ` Arnaud Pouliquen
2016-09-05 12:20           ` Arnaud Pouliquen
2016-09-05 12:20           ` Arnaud Pouliquen
2016-09-05 12:20           ` Arnaud Pouliquen
2016-09-05 15:42           ` Lee Jones
2016-09-05 15:42           ` Lee Jones
2016-09-05 15:42             ` Lee Jones
2016-09-05 15:42             ` Lee Jones
2016-08-26 14:56 ` Peter Griffin
2016-08-26 14:56 ` [PATCH v8 16/18] ARM: DT: STi: stihxxx-b2120: Add DT nodes for STi audio card Peter Griffin
2016-08-26 14:56 ` Peter Griffin
2016-08-26 14:56   ` Peter Griffin
2016-08-26 14:56   ` Peter Griffin
2016-08-30  9:56   ` Lee Jones
2016-08-30  9:56   ` Lee Jones
2016-08-30  9:56     ` Lee Jones
2016-08-30  9:56     ` Lee Jones
2016-08-26 14:56 ` [PATCH v8 17/18] drm/virtio: kconfig: Fix recursive dependency Peter Griffin
2016-08-26 14:56   ` Peter Griffin
2016-08-30  9:55   ` Lee Jones
2016-08-30  9:55   ` Lee Jones
2016-08-30  9:55     ` Lee Jones
2016-08-26 14:56 ` Peter Griffin
2016-08-26 14:56 ` [PATCH v8 18/18] drm/virtio: kconfig: Fixup white space Peter Griffin
2016-08-26 14:56 ` Peter Griffin
2016-08-26 14:56   ` Peter Griffin
2016-08-30  9:54   ` Lee Jones
2016-08-30  9:54     ` Lee Jones
2016-08-30  9:54     ` Lee Jones
2016-08-30  9:57     ` Lee Jones
2016-08-30  9:57       ` Lee Jones
2016-08-30  9:57       ` Lee Jones
2016-08-30  9:57     ` Lee Jones
2016-08-30  9:54   ` Lee Jones

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1472223413-7254-7-git-send-email-peter.griffin@linaro.org \
    --to=peter.griffin@linaro.org \
    --cc=airlied@linux.ie \
    --cc=bjorn.andersson@linaro.org \
    --cc=dan.j.williams@intel.com \
    --cc=devicetree@vger.kernel.org \
    --cc=dmaengine@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=kernel@stlinux.com \
    --cc=kraxel@redhat.com \
    --cc=lee.jones@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-remoteproc@vger.kernel.org \
    --cc=ohad@wizery.com \
    --cc=patrice.chotard@st.com \
    --cc=vinod.koul@intel.com \
    --cc=virtualization@lists.linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.