* [PATCH 0/2] arm64: dts: r8a7796: add USB-DMAC and HSUSB device nodes
@ 2017-08-03 12:29 Yoshihiro Shimoda
2017-08-03 12:29 ` [PATCH 2/2] arm64: dts: r8a7796: Add HSUSB device node Yoshihiro Shimoda
[not found] ` <1501763357-26075-1-git-send-email-yoshihiro.shimoda.uh-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
0 siblings, 2 replies; 5+ messages in thread
From: Yoshihiro Shimoda @ 2017-08-03 12:29 UTC (permalink / raw)
To: horms-/R6kz+dDXgpPR4JQBCEnsQ, magnus.damm-Re5JQEeQqe8AvxtiuMwx3w,
robh+dt-DgEjT+Ai2ygdnm+yROfE0A, mark.rutland-5wv7dgnIgG8
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-renesas-soc-u79uwXL29TY76Z2rM5mHXA, Yoshihiro Shimoda
This patch is based on the renesas.git / renesas-devel-20170731v2-v4.13-rc3 tag.
For usb-dmac, we should wait for the following patch (even if we don't apply
the patch, the usb-dmac driver can be probed correctly though.)
https://patchwork.kernel.org/patch/9876639/
For hsusb, we need the "arm64: dts: r8a7796: add usb host device nodes" patch
set for using usb2_phy0.
Yoshihiro Shimoda (2):
arm64: dts: r8a7796: Add USB-DMAC device nodes
arm64: dts: r8a7796: Add HSUSB device node
arch/arm64/boot/dts/renesas/r8a7796.dtsi | 43 +++++++++++++++++++++++++++++++-
1 file changed, 42 insertions(+), 1 deletion(-)
--
1.9.1
--
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] 5+ messages in thread
* [PATCH 1/2] arm64: dts: r8a7796: Add USB-DMAC device nodes
[not found] ` <1501763357-26075-1-git-send-email-yoshihiro.shimoda.uh-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
@ 2017-08-03 12:29 ` Yoshihiro Shimoda
2017-08-04 11:00 ` [PATCH 0/2] arm64: dts: r8a7796: add USB-DMAC and HSUSB " Simon Horman
1 sibling, 0 replies; 5+ messages in thread
From: Yoshihiro Shimoda @ 2017-08-03 12:29 UTC (permalink / raw)
To: horms-/R6kz+dDXgpPR4JQBCEnsQ, magnus.damm-Re5JQEeQqe8AvxtiuMwx3w,
robh+dt-DgEjT+Ai2ygdnm+yROfE0A, mark.rutland-5wv7dgnIgG8
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-renesas-soc-u79uwXL29TY76Z2rM5mHXA, Yoshihiro Shimoda
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
---
arch/arm64/boot/dts/renesas/r8a7796.dtsi | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a7796.dtsi b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
index ef1120f..445a3d9 100644
--- a/arch/arm64/boot/dts/renesas/r8a7796.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
@@ -1223,6 +1223,34 @@
dma-channels = <16>;
};
+ usb_dmac0: dma-controller@e65a0000 {
+ compatible = "renesas,r8a7796-usb-dmac",
+ "renesas,usb-dmac";
+ reg = <0 0xe65a0000 0 0x100>;
+ interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH
+ GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-names = "ch0", "ch1";
+ clocks = <&cpg CPG_MOD 330>;
+ power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
+ resets = <&cpg 330>;
+ #dma-cells = <1>;
+ dma-channels = <2>;
+ };
+
+ usb_dmac1: dma-controller@e65b0000 {
+ compatible = "renesas,r8a7796-usb-dmac",
+ "renesas,usb-dmac";
+ reg = <0 0xe65b0000 0 0x100>;
+ interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH
+ GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-names = "ch0", "ch1";
+ clocks = <&cpg CPG_MOD 331>;
+ power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
+ resets = <&cpg 331>;
+ #dma-cells = <1>;
+ dma-channels = <2>;
+ };
+
hsusb: usb@e6590000 {
/* placeholder */
};
--
1.9.1
--
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] 5+ messages in thread
* [PATCH 2/2] arm64: dts: r8a7796: Add HSUSB device node
2017-08-03 12:29 [PATCH 0/2] arm64: dts: r8a7796: add USB-DMAC and HSUSB device nodes Yoshihiro Shimoda
@ 2017-08-03 12:29 ` Yoshihiro Shimoda
[not found] ` <1501763357-26075-1-git-send-email-yoshihiro.shimoda.uh-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
1 sibling, 0 replies; 5+ messages in thread
From: Yoshihiro Shimoda @ 2017-08-03 12:29 UTC (permalink / raw)
To: horms, magnus.damm, robh+dt, mark.rutland
Cc: devicetree, linux-renesas-soc, Yoshihiro Shimoda
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
---
arch/arm64/boot/dts/renesas/r8a7796.dtsi | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/renesas/r8a7796.dtsi b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
index 445a3d9..d738d4b 100644
--- a/arch/arm64/boot/dts/renesas/r8a7796.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
@@ -1252,7 +1252,20 @@
};
hsusb: usb@e6590000 {
- /* placeholder */
+ compatible = "renesas,usbhs-r8a7796",
+ "renesas,rcar-gen3-usbhs";
+ reg = <0 0xe6590000 0 0x100>;
+ interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cpg CPG_MOD 704>;
+ dmas = <&usb_dmac0 0>, <&usb_dmac0 1>,
+ <&usb_dmac1 0>, <&usb_dmac1 1>;
+ dma-names = "ch0", "ch1", "ch2", "ch3";
+ renesas,buswait = <11>;
+ phys = <&usb2_phy0>;
+ phy-names = "usb";
+ power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
+ resets = <&cpg 704>;
+ status = "disabled";
};
xhci0: usb@ee000000 {
--
1.9.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 0/2] arm64: dts: r8a7796: add USB-DMAC and HSUSB device nodes
[not found] ` <1501763357-26075-1-git-send-email-yoshihiro.shimoda.uh-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
2017-08-03 12:29 ` [PATCH 1/2] arm64: dts: r8a7796: Add USB-DMAC device nodes Yoshihiro Shimoda
@ 2017-08-04 11:00 ` Simon Horman
2017-08-17 8:25 ` Simon Horman
1 sibling, 1 reply; 5+ messages in thread
From: Simon Horman @ 2017-08-04 11:00 UTC (permalink / raw)
To: Yoshihiro Shimoda
Cc: magnus.damm-Re5JQEeQqe8AvxtiuMwx3w,
robh+dt-DgEjT+Ai2ygdnm+yROfE0A, mark.rutland-5wv7dgnIgG8,
devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-renesas-soc-u79uwXL29TY76Z2rM5mHXA
On Thu, Aug 03, 2017 at 09:29:15PM +0900, Yoshihiro Shimoda wrote:
> This patch is based on the renesas.git / renesas-devel-20170731v2-v4.13-rc3 tag.
>
> For usb-dmac, we should wait for the following patch (even if we don't apply
> the patch, the usb-dmac driver can be probed correctly though.)
> https://patchwork.kernel.org/patch/9876639/
>
> For hsusb, we need the "arm64: dts: r8a7796: add usb host device nodes" patch
> set for using usb2_phy0.
Thanks, I am marking this series as deferred pending acceptance of
the dependencies of "arm64: dts: r8a7796: add usb host device nodes".
Please repost this series or otherwise ping me once those
dependencies are in place.
--
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] 5+ messages in thread
* Re: [PATCH 0/2] arm64: dts: r8a7796: add USB-DMAC and HSUSB device nodes
2017-08-04 11:00 ` [PATCH 0/2] arm64: dts: r8a7796: add USB-DMAC and HSUSB " Simon Horman
@ 2017-08-17 8:25 ` Simon Horman
0 siblings, 0 replies; 5+ messages in thread
From: Simon Horman @ 2017-08-17 8:25 UTC (permalink / raw)
To: Yoshihiro Shimoda
Cc: magnus.damm, robh+dt, mark.rutland, devicetree, linux-renesas-soc
On Fri, Aug 04, 2017 at 01:00:27PM +0200, Simon Horman wrote:
> On Thu, Aug 03, 2017 at 09:29:15PM +0900, Yoshihiro Shimoda wrote:
> > This patch is based on the renesas.git / renesas-devel-20170731v2-v4.13-rc3 tag.
> >
> > For usb-dmac, we should wait for the following patch (even if we don't apply
> > the patch, the usb-dmac driver can be probed correctly though.)
> > https://patchwork.kernel.org/patch/9876639/
> >
> > For hsusb, we need the "arm64: dts: r8a7796: add usb host device nodes" patch
> > set for using usb2_phy0.
>
> Thanks, I am marking this series as deferred pending acceptance of
> the dependencies of "arm64: dts: r8a7796: add usb host device nodes".
> Please repost this series or otherwise ping me once those
> dependencies are in place.
The dependency is now in place and I have applied this series.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-08-17 8:25 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-03 12:29 [PATCH 0/2] arm64: dts: r8a7796: add USB-DMAC and HSUSB device nodes Yoshihiro Shimoda
2017-08-03 12:29 ` [PATCH 2/2] arm64: dts: r8a7796: Add HSUSB device node Yoshihiro Shimoda
[not found] ` <1501763357-26075-1-git-send-email-yoshihiro.shimoda.uh-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
2017-08-03 12:29 ` [PATCH 1/2] arm64: dts: r8a7796: Add USB-DMAC device nodes Yoshihiro Shimoda
2017-08-04 11:00 ` [PATCH 0/2] arm64: dts: r8a7796: add USB-DMAC and HSUSB " Simon Horman
2017-08-17 8:25 ` Simon Horman
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).