* [PATCH 0/4] arm64: dts: renesas: r8a77995 and draak: add USB2.0 Host
@ 2017-09-14 10:30 Yoshihiro Shimoda
2017-09-14 10:30 ` [PATCH 1/4] arm64: dts: renesas: r8a77995: Add USB2.0 PHY device node Yoshihiro Shimoda
` (3 more replies)
0 siblings, 4 replies; 15+ messages in thread
From: Yoshihiro Shimoda @ 2017-09-14 10:30 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 set is based on the renesas-drivers.git /
renesas-drivers-2017-09-05-v4.13 tag.
The R-Car D3 USB2.0 PHY binding patch is not merged yet. But, this driver
can be probed and work by using fallback compatible value.
This patch set needs the following pinctrl patch:
"[PATCH v2] pinctrl: sh-pfc: r8a77995: Add USB2.0 host support"
Otherwise, USB2.0 PHY driver cannot be probed.
Yoshihiro Shimoda (4):
arm64: dts: renesas: r8a77995: Add USB2.0 PHY device node
arm64: dts: renesas: r8a77995: add USB2.0 Host (EHCI/OHCI) device node
arm64: dts: renesas: r8a77995: draak: enable USB2.0 PHY
arm64: dts: renesas: r8a77995: draak: enable USB2.0 Host (EHCI/OHCI)
arch/arm64/boot/dts/renesas/r8a77995-draak.dts | 19 +++++++++++++
arch/arm64/boot/dts/renesas/r8a77995.dtsi | 37 ++++++++++++++++++++++++++
2 files changed, 56 insertions(+)
--
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] 15+ messages in thread
* [PATCH 1/4] arm64: dts: renesas: r8a77995: Add USB2.0 PHY device node
2017-09-14 10:30 [PATCH 0/4] arm64: dts: renesas: r8a77995 and draak: add USB2.0 Host Yoshihiro Shimoda
@ 2017-09-14 10:30 ` Yoshihiro Shimoda
2017-09-19 14:21 ` Geert Uytterhoeven
[not found] ` <1505385043-1554-1-git-send-email-yoshihiro.shimoda.uh-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
` (2 subsequent siblings)
3 siblings, 1 reply; 15+ messages in thread
From: Yoshihiro Shimoda @ 2017-09-14 10:30 UTC (permalink / raw)
To: horms, magnus.damm, robh+dt, mark.rutland
Cc: devicetree, linux-renesas-soc, Yoshihiro Shimoda
This patch adds USB2.0 PHY device node for r8a77995.
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
---
arch/arm64/boot/dts/renesas/r8a77995.dtsi | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a77995.dtsi b/arch/arm64/boot/dts/renesas/r8a77995.dtsi
index 72d04d7..59ed130 100644
--- a/arch/arm64/boot/dts/renesas/r8a77995.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a77995.dtsi
@@ -309,5 +309,17 @@
resets = <&cpg 310>;
status = "disabled";
};
+
+ usb2_phy0: usb-phy@ee080200 {
+ compatible = "renesas,usb2-phy-r8a77995",
+ "renesas,rcar-gen3-usb2-phy";
+ reg = <0 0xee080200 0 0x700>;
+ interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cpg CPG_MOD 703>;
+ power-domains = <&sysc R8A77995_PD_ALWAYS_ON>;
+ resets = <&cpg 703>;
+ #phy-cells = <0>;
+ status = "disabled";
+ };
};
};
--
1.9.1
^ permalink raw reply related [flat|nested] 15+ messages in thread
* Re: [PATCH 1/4] arm64: dts: renesas: r8a77995: Add USB2.0 PHY device node
2017-09-14 10:30 ` [PATCH 1/4] arm64: dts: renesas: r8a77995: Add USB2.0 PHY device node Yoshihiro Shimoda
@ 2017-09-19 14:21 ` Geert Uytterhoeven
2017-09-21 8:53 ` Simon Horman
0 siblings, 1 reply; 15+ messages in thread
From: Geert Uytterhoeven @ 2017-09-19 14:21 UTC (permalink / raw)
To: Yoshihiro Shimoda
Cc: Simon Horman, Magnus Damm, Rob Herring, Mark Rutland,
devicetree@vger.kernel.org, Linux-Renesas
On Thu, Sep 14, 2017 at 12:30 PM, Yoshihiro Shimoda
<yoshihiro.shimoda.uh@renesas.com> wrote:
> This patch adds USB2.0 PHY device node for r8a77995.
>
> Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH 1/4] arm64: dts: renesas: r8a77995: Add USB2.0 PHY device node
2017-09-19 14:21 ` Geert Uytterhoeven
@ 2017-09-21 8:53 ` Simon Horman
0 siblings, 0 replies; 15+ messages in thread
From: Simon Horman @ 2017-09-21 8:53 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Yoshihiro Shimoda, Magnus Damm, Rob Herring, Mark Rutland,
devicetree@vger.kernel.org, Linux-Renesas
On Tue, Sep 19, 2017 at 04:21:27PM +0200, Geert Uytterhoeven wrote:
> On Thu, Sep 14, 2017 at 12:30 PM, Yoshihiro Shimoda
> <yoshihiro.shimoda.uh@renesas.com> wrote:
> > This patch adds USB2.0 PHY device node for r8a77995.
> >
> > Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
>
> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Thanks, applied.
^ permalink raw reply [flat|nested] 15+ messages in thread
[parent not found: <1505385043-1554-1-git-send-email-yoshihiro.shimoda.uh-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>]
* [PATCH 2/4] arm64: dts: renesas: r8a77995: add USB2.0 Host (EHCI/OHCI) device node
[not found] ` <1505385043-1554-1-git-send-email-yoshihiro.shimoda.uh-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
@ 2017-09-14 10:30 ` Yoshihiro Shimoda
2017-09-19 14:22 ` Geert Uytterhoeven
0 siblings, 1 reply; 15+ messages in thread
From: Yoshihiro Shimoda @ 2017-09-14 10:30 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 adds USB2.0 Host (EHCI/OHCI) device node for r8a77995.
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
---
arch/arm64/boot/dts/renesas/r8a77995.dtsi | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a77995.dtsi b/arch/arm64/boot/dts/renesas/r8a77995.dtsi
index 59ed130..56e4292 100644
--- a/arch/arm64/boot/dts/renesas/r8a77995.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a77995.dtsi
@@ -310,6 +310,31 @@
status = "disabled";
};
+ ehci0: usb@ee080100 {
+ compatible = "generic-ehci";
+ reg = <0 0xee080100 0 0x100>;
+ interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cpg CPG_MOD 703>;
+ phys = <&usb2_phy0>;
+ phy-names = "usb";
+ companion = <&ohci0>;
+ power-domains = <&sysc R8A77995_PD_ALWAYS_ON>;
+ resets = <&cpg 703>;
+ status = "disabled";
+ };
+
+ ohci0: usb@ee080000 {
+ compatible = "generic-ohci";
+ reg = <0 0xee080000 0 0x100>;
+ interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cpg CPG_MOD 703>;
+ phys = <&usb2_phy0>;
+ phy-names = "usb";
+ power-domains = <&sysc R8A77995_PD_ALWAYS_ON>;
+ resets = <&cpg 703>;
+ status = "disabled";
+ };
+
usb2_phy0: usb-phy@ee080200 {
compatible = "renesas,usb2-phy-r8a77995",
"renesas,rcar-gen3-usb2-phy";
--
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] 15+ messages in thread
* Re: [PATCH 2/4] arm64: dts: renesas: r8a77995: add USB2.0 Host (EHCI/OHCI) device node
2017-09-14 10:30 ` [PATCH 2/4] arm64: dts: renesas: r8a77995: add USB2.0 Host (EHCI/OHCI) " Yoshihiro Shimoda
@ 2017-09-19 14:22 ` Geert Uytterhoeven
[not found] ` <CAMuHMdUT39W2ZsOiCFvfA9hB6v3_fPPY8tjVfq0NqtMeADXcqw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 15+ messages in thread
From: Geert Uytterhoeven @ 2017-09-19 14:22 UTC (permalink / raw)
To: Yoshihiro Shimoda
Cc: Simon Horman, Magnus Damm, Rob Herring, Mark Rutland,
devicetree@vger.kernel.org, Linux-Renesas
On Thu, Sep 14, 2017 at 12:30 PM, Yoshihiro Shimoda
<yoshihiro.shimoda.uh@renesas.com> wrote:
> This patch adds USB2.0 Host (EHCI/OHCI) device node for r8a77995.
>
> Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 15+ messages in thread
* [PATCH 3/4] arm64: dts: renesas: r8a77995: draak: enable USB2.0 PHY
2017-09-14 10:30 [PATCH 0/4] arm64: dts: renesas: r8a77995 and draak: add USB2.0 Host Yoshihiro Shimoda
2017-09-14 10:30 ` [PATCH 1/4] arm64: dts: renesas: r8a77995: Add USB2.0 PHY device node Yoshihiro Shimoda
[not found] ` <1505385043-1554-1-git-send-email-yoshihiro.shimoda.uh-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
@ 2017-09-14 10:30 ` Yoshihiro Shimoda
[not found] ` <1505385043-1554-4-git-send-email-yoshihiro.shimoda.uh-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
2017-09-14 10:30 ` [PATCH 4/4] arm64: dts: renesas: r8a77995: draak: enable USB2.0 Host (EHCI/OHCI) Yoshihiro Shimoda
3 siblings, 1 reply; 15+ messages in thread
From: Yoshihiro Shimoda @ 2017-09-14 10:30 UTC (permalink / raw)
To: horms, magnus.damm, robh+dt, mark.rutland
Cc: devicetree, linux-renesas-soc, Yoshihiro Shimoda
This patch enables USB2.0 PHY for R-Car D3 draak board.
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
---
arch/arm64/boot/dts/renesas/r8a77995-draak.dts | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a77995-draak.dts b/arch/arm64/boot/dts/renesas/r8a77995-draak.dts
index 9c5a790..1c55d8a 100644
--- a/arch/arm64/boot/dts/renesas/r8a77995-draak.dts
+++ b/arch/arm64/boot/dts/renesas/r8a77995-draak.dts
@@ -52,6 +52,10 @@
function = "scif2";
};
+ usb0_pins: usb0 {
+ groups = "usb0";
+ function = "usb0";
+ };
};
&avb {
@@ -76,6 +80,13 @@
status = "okay";
};
+&usb2_phy0 {
+ pinctrl-0 = <&usb0_pins>;
+ pinctrl-names = "default";
+
+ status = "okay";
+};
+
&rwdt {
timeout-sec = <60>;
status = "okay";
--
1.9.1
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [PATCH 4/4] arm64: dts: renesas: r8a77995: draak: enable USB2.0 Host (EHCI/OHCI)
2017-09-14 10:30 [PATCH 0/4] arm64: dts: renesas: r8a77995 and draak: add USB2.0 Host Yoshihiro Shimoda
` (2 preceding siblings ...)
2017-09-14 10:30 ` [PATCH 3/4] arm64: dts: renesas: r8a77995: draak: enable USB2.0 PHY Yoshihiro Shimoda
@ 2017-09-14 10:30 ` Yoshihiro Shimoda
[not found] ` <1505385043-1554-5-git-send-email-yoshihiro.shimoda.uh-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
3 siblings, 1 reply; 15+ messages in thread
From: Yoshihiro Shimoda @ 2017-09-14 10:30 UTC (permalink / raw)
To: horms, magnus.damm, robh+dt, mark.rutland
Cc: devicetree, linux-renesas-soc, Yoshihiro Shimoda
This patch enables USB2.0 Host (EHCI/OHCI) for r8a77995.
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
---
arch/arm64/boot/dts/renesas/r8a77995-draak.dts | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a77995-draak.dts b/arch/arm64/boot/dts/renesas/r8a77995-draak.dts
index 1c55d8a..7771af8 100644
--- a/arch/arm64/boot/dts/renesas/r8a77995-draak.dts
+++ b/arch/arm64/boot/dts/renesas/r8a77995-draak.dts
@@ -73,6 +73,14 @@
};
};
+&ehci0 {
+ status = "okay";
+};
+
+&ohci0 {
+ status = "okay";
+};
+
&scif2 {
pinctrl-0 = <&scif2_pins>;
pinctrl-names = "default";
--
1.9.1
^ permalink raw reply related [flat|nested] 15+ messages in thread
end of thread, other threads:[~2017-09-25 7:01 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-14 10:30 [PATCH 0/4] arm64: dts: renesas: r8a77995 and draak: add USB2.0 Host Yoshihiro Shimoda
2017-09-14 10:30 ` [PATCH 1/4] arm64: dts: renesas: r8a77995: Add USB2.0 PHY device node Yoshihiro Shimoda
2017-09-19 14:21 ` Geert Uytterhoeven
2017-09-21 8:53 ` Simon Horman
[not found] ` <1505385043-1554-1-git-send-email-yoshihiro.shimoda.uh-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
2017-09-14 10:30 ` [PATCH 2/4] arm64: dts: renesas: r8a77995: add USB2.0 Host (EHCI/OHCI) " Yoshihiro Shimoda
2017-09-19 14:22 ` Geert Uytterhoeven
[not found] ` <CAMuHMdUT39W2ZsOiCFvfA9hB6v3_fPPY8tjVfq0NqtMeADXcqw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-09-21 8:53 ` Simon Horman
2017-09-14 10:30 ` [PATCH 3/4] arm64: dts: renesas: r8a77995: draak: enable USB2.0 PHY Yoshihiro Shimoda
[not found] ` <1505385043-1554-4-git-send-email-yoshihiro.shimoda.uh-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
2017-09-19 14:28 ` Geert Uytterhoeven
2017-09-21 8:53 ` Simon Horman
2017-09-21 9:01 ` Simon Horman
2017-09-14 10:30 ` [PATCH 4/4] arm64: dts: renesas: r8a77995: draak: enable USB2.0 Host (EHCI/OHCI) Yoshihiro Shimoda
[not found] ` <1505385043-1554-5-git-send-email-yoshihiro.shimoda.uh-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
2017-09-21 8:58 ` Simon Horman
[not found] ` <20170921085803.GQ15749-/R6kz+dDXgpPR4JQBCEnsQ@public.gmane.org>
2017-09-21 9:12 ` Geert Uytterhoeven
[not found] ` <CAMuHMdUxerxm0BUzXjmQniDsgE2gxEEScCF=rBMdEVcET3EmFg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-09-25 7:01 ` 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).