devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] ARM: shmobile: r8a7790: add for USB-DMAC
@ 2015-02-09  8:23 Yoshihiro Shimoda
  0 siblings, 0 replies; 7+ messages in thread
From: Yoshihiro Shimoda @ 2015-02-09  8:23 UTC (permalink / raw)
  To: horms, magnus.damm, robh+dt, pawel.moll, mark.rutland,
	ijc+devicetree, galak, linux
  Cc: devicetree, linux-usb, linux-sh, Yoshihiro Shimoda

This patch set is based on renesas.git / renesas-devel-20150202-v3.19-rc7
tag. (commit id = bcfb200689185c6f7c5357c832d1d8fcea80c80c)

This patch set is related to the usb-dmac driver. Now I submitted
some patches:
http://thread.gmane.org/gmane.linux.drivers.devicetree/109578/

Yoshihiro Shimoda (2):
  ARM: shmobile: r8a7790: add USB-DMAC device nodes
  ARM: shmobile: r8a7790: Enable DMA for HSUSB

 arch/arm/boot/dts/r8a7790.dtsi |   25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

-- 
1.7.9.5


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH 0/2] ARM: shmobile: r8a7790: add for USB-DMAC
@ 2015-02-09  8:24 Yoshihiro Shimoda
       [not found] ` <1423470279-6340-1-git-send-email-yoshihiro.shimoda.uh-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Yoshihiro Shimoda @ 2015-02-09  8:24 UTC (permalink / raw)
  To: horms-/R6kz+dDXgpPR4JQBCEnsQ, magnus.damm-Re5JQEeQqe8AvxtiuMwx3w,
	robh+dt-DgEjT+Ai2ygdnm+yROfE0A, pawel.moll-5wv7dgnIgG8,
	mark.rutland-5wv7dgnIgG8, ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg,
	galak-sgV2jX0FEOL9JmXXK+q4OQ, linux-lFZ/pmaqli7XmaaqVzeoHQ
  Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-usb-u79uwXL29TY76Z2rM5mHXA, linux-sh-u79uwXL29TY76Z2rM5mHXA,
	Yoshihiro Shimoda

This patch set is based on renesas.git / renesas-devel-20150202-v3.19-rc7
tag. (commit id = bcfb200689185c6f7c5357c832d1d8fcea80c80c)

This patch set is related to the usb-dmac driver. Now I submitted
some patches:
http://thread.gmane.org/gmane.linux.drivers.devicetree/109578/

Yoshihiro Shimoda (2):
  ARM: shmobile: r8a7791: add USB-DMAC device nodes
  ARM: shmobile: r8a7791: Enable DMA for HSUSB

 arch/arm/boot/dts/r8a7791.dtsi |   25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH 1/2] ARM: shmobile: r8a7791: add USB-DMAC device nodes
       [not found] ` <1423470279-6340-1-git-send-email-yoshihiro.shimoda.uh-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
@ 2015-02-09  8:24   ` Yoshihiro Shimoda
  2015-02-09  8:24   ` [PATCH 2/2] ARM: shmobile: r8a7791: Enable DMA for HSUSB Yoshihiro Shimoda
  2015-02-09  8:41   ` [PATCH 0/2] ARM: shmobile: r8a7790: add for USB-DMAC yoshihiro shimoda
  2 siblings, 0 replies; 7+ messages in thread
From: Yoshihiro Shimoda @ 2015-02-09  8:24 UTC (permalink / raw)
  To: horms-/R6kz+dDXgpPR4JQBCEnsQ, magnus.damm-Re5JQEeQqe8AvxtiuMwx3w,
	robh+dt-DgEjT+Ai2ygdnm+yROfE0A, pawel.moll-5wv7dgnIgG8,
	mark.rutland-5wv7dgnIgG8, ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg,
	galak-sgV2jX0FEOL9JmXXK+q4OQ, linux-lFZ/pmaqli7XmaaqVzeoHQ
  Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-usb-u79uwXL29TY76Z2rM5mHXA, linux-sh-u79uwXL29TY76Z2rM5mHXA,
	Yoshihiro Shimoda

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
---
 arch/arm/boot/dts/r8a7791.dtsi |   22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7791.dtsi b/arch/arm/boot/dts/r8a7791.dtsi
index afba8af..9343548 100644
--- a/arch/arm/boot/dts/r8a7791.dtsi
+++ b/arch/arm/boot/dts/r8a7791.dtsi
@@ -364,6 +364,28 @@
 		reg = <0 0xec740000 0 0x200>;
 	};
 
+	usb_dmac0: dma-controller@e65a0000 {
+		compatible = "renesas,usb-dmac";
+		reg = <0 0xe65a0000 0 0x100>;
+		interrupts = <0 109 IRQ_TYPE_LEVEL_HIGH
+			      0 109 IRQ_TYPE_LEVEL_HIGH>;
+		interrupt-names = "ch0", "ch1";
+		clocks = <&mstp3_clks R8A7791_CLK_USBDMAC0>;
+		#dma-cells = <1>;
+		dma-channels = <2>;
+	};
+
+	usb_dmac1: dma-controller@e65b0000 {
+		compatible = "renesas,usb-dmac";
+		reg = <0 0xe65b0000 0 0x100>;
+		interrupts = <0 110 IRQ_TYPE_LEVEL_HIGH
+			      0 110 IRQ_TYPE_LEVEL_HIGH>;
+		interrupt-names = "ch0", "ch1";
+		clocks = <&mstp3_clks R8A7791_CLK_USBDMAC1>;
+		#dma-cells = <1>;
+		dma-channels = <2>;
+	};
+
 	/* The memory map in the User's Manual maps the cores to bus numbers */
 	i2c0: i2c@e6508000 {
 		#address-cells = <1>;
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH 2/2] ARM: shmobile: r8a7791: Enable DMA for HSUSB
       [not found] ` <1423470279-6340-1-git-send-email-yoshihiro.shimoda.uh-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
  2015-02-09  8:24   ` [PATCH 1/2] ARM: shmobile: r8a7791: add USB-DMAC device nodes Yoshihiro Shimoda
@ 2015-02-09  8:24   ` Yoshihiro Shimoda
  2015-02-09  8:41   ` [PATCH 0/2] ARM: shmobile: r8a7790: add for USB-DMAC yoshihiro shimoda
  2 siblings, 0 replies; 7+ messages in thread
From: Yoshihiro Shimoda @ 2015-02-09  8:24 UTC (permalink / raw)
  To: horms-/R6kz+dDXgpPR4JQBCEnsQ, magnus.damm-Re5JQEeQqe8AvxtiuMwx3w,
	robh+dt-DgEjT+Ai2ygdnm+yROfE0A, pawel.moll-5wv7dgnIgG8,
	mark.rutland-5wv7dgnIgG8, ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg,
	galak-sgV2jX0FEOL9JmXXK+q4OQ, linux-lFZ/pmaqli7XmaaqVzeoHQ
  Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-usb-u79uwXL29TY76Z2rM5mHXA, linux-sh-u79uwXL29TY76Z2rM5mHXA,
	Yoshihiro Shimoda

Add DMA properties to the HSUSB node.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
---
 arch/arm/boot/dts/r8a7791.dtsi |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7791.dtsi b/arch/arm/boot/dts/r8a7791.dtsi
index 9343548..9c6d174 100644
--- a/arch/arm/boot/dts/r8a7791.dtsi
+++ b/arch/arm/boot/dts/r8a7791.dtsi
@@ -723,6 +723,9 @@
 		renesas,buswait = <4>;
 		phys = <&usb0 1>;
 		phy-names = "usb";
+		dmas = <&usb_dmac0 0>, <&usb_dmac0 1>,
+		       <&usb_dmac1 0>, <&usb_dmac1 1>;
+		dma-names = "rx0", "tx1", "rx2", "tx3";
 		status = "disabled";
 	};
 
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* RE: [PATCH 0/2] ARM: shmobile: r8a7790: add for USB-DMAC
       [not found] ` <1423470279-6340-1-git-send-email-yoshihiro.shimoda.uh-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
  2015-02-09  8:24   ` [PATCH 1/2] ARM: shmobile: r8a7791: add USB-DMAC device nodes Yoshihiro Shimoda
  2015-02-09  8:24   ` [PATCH 2/2] ARM: shmobile: r8a7791: Enable DMA for HSUSB Yoshihiro Shimoda
@ 2015-02-09  8:41   ` yoshihiro shimoda
  2015-02-10  0:12     ` Simon Horman
  2 siblings, 1 reply; 7+ messages in thread
From: yoshihiro shimoda @ 2015-02-09  8:41 UTC (permalink / raw)
  To: horms-/R6kz+dDXgpPR4JQBCEnsQ@public.gmane.org,
	magnus.damm-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
	robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
	pawel.moll-5wv7dgnIgG8@public.gmane.org,
	mark.rutland-5wv7dgnIgG8@public.gmane.org,
	ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org,
	galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org,
	linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org
  Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-sh-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

> Subject: [PATCH 0/2] ARM: shmobile: r8a7790: add for USB-DMAC

Oops, I mistook this subject of cover-letter.
However, actual patches are correct.

Best regards,
Yoshihiro Shimoda

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 0/2] ARM: shmobile: r8a7790: add for USB-DMAC
  2015-02-09  8:41   ` [PATCH 0/2] ARM: shmobile: r8a7790: add for USB-DMAC yoshihiro shimoda
@ 2015-02-10  0:12     ` Simon Horman
       [not found]       ` <20150210001221.GA32167-/R6kz+dDXgpPR4JQBCEnsQ@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Simon Horman @ 2015-02-10  0:12 UTC (permalink / raw)
  To: yoshihiro shimoda
  Cc: magnus.damm@gmail.com, robh+dt@kernel.org, pawel.moll@arm.com,
	mark.rutland@arm.com, ijc+devicetree@hellion.org.uk,
	galak@codeaurora.org, linux@arm.linux.org.uk,
	devicetree@vger.kernel.org, linux-usb@vger.kernel.org,
	linux-sh@vger.kernel.org

On Mon, Feb 09, 2015 at 08:41:18AM +0000, yoshihiro shimoda wrote:
> > Subject: [PATCH 0/2] ARM: shmobile: r8a7790: add for USB-DMAC
> 
> Oops, I mistook this subject of cover-letter.
> However, actual patches are correct.

Thanks,

I think it would be best if you resubmitted this series, which is for the
r8a7791, and the other similar series for the r8a7790 once the relevant
driver changes have been accepted by their subsystem maintainer.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: [PATCH 0/2] ARM: shmobile: r8a7790: add for USB-DMAC
       [not found]       ` <20150210001221.GA32167-/R6kz+dDXgpPR4JQBCEnsQ@public.gmane.org>
@ 2015-02-10  2:11         ` yoshihiro shimoda
  0 siblings, 0 replies; 7+ messages in thread
From: yoshihiro shimoda @ 2015-02-10  2:11 UTC (permalink / raw)
  To: Simon Horman
  Cc: magnus.damm-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
	robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
	pawel.moll-5wv7dgnIgG8@public.gmane.org,
	mark.rutland-5wv7dgnIgG8@public.gmane.org,
	ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org,
	galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org,
	linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-sh-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

Hi Simon-san,

> 
> On Mon, Feb 09, 2015 at 08:41:18AM +0000, yoshihiro shimoda wrote:
> > > Subject: [PATCH 0/2] ARM: shmobile: r8a7790: add for USB-DMAC
> >
> > Oops, I mistook this subject of cover-letter.
> > However, actual patches are correct.
> 
> Thanks,
> 
> I think it would be best if you resubmitted this series, which is for the
> r8a7791, and the other similar series for the r8a7790 once the relevant
> driver changes have been accepted by their subsystem maintainer.

Thank you for the reply. I got it.

Best regards,
Yoshihiro Shimoda

> --
> To unsubscribe from this list: send the line "unsubscribe devicetree" in
> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-02-10  2:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-09  8:24 [PATCH 0/2] ARM: shmobile: r8a7790: add for USB-DMAC Yoshihiro Shimoda
     [not found] ` <1423470279-6340-1-git-send-email-yoshihiro.shimoda.uh-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
2015-02-09  8:24   ` [PATCH 1/2] ARM: shmobile: r8a7791: add USB-DMAC device nodes Yoshihiro Shimoda
2015-02-09  8:24   ` [PATCH 2/2] ARM: shmobile: r8a7791: Enable DMA for HSUSB Yoshihiro Shimoda
2015-02-09  8:41   ` [PATCH 0/2] ARM: shmobile: r8a7790: add for USB-DMAC yoshihiro shimoda
2015-02-10  0:12     ` Simon Horman
     [not found]       ` <20150210001221.GA32167-/R6kz+dDXgpPR4JQBCEnsQ@public.gmane.org>
2015-02-10  2:11         ` yoshihiro shimoda
  -- strict thread matches above, loose matches on Subject: below --
2015-02-09  8:23 Yoshihiro Shimoda

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).