* [PATCH 0/5] arm64: dts: renesas: r8a7795: add usb2.0 for R-Car H3 ES2.0 @ 2017-07-26 11:29 Yoshihiro Shimoda 2017-07-26 11:29 ` [PATCH 1/5] arm64: dts: renesas: r8a7795: Add usb companion property in EHCI Yoshihiro Shimoda ` (3 more replies) 0 siblings, 4 replies; 7+ messages in thread From: Yoshihiro Shimoda @ 2017-07-26 11:29 UTC (permalink / raw) To: horms, magnus.damm, robh+dt, mark.rutland Cc: devicetree, linux-renesas-soc, Yoshihiro Shimoda This patch is based on the renesas-drivers.git / renesas-drivers-2017-07-18-v4.13-rc1 tag. Kazuya Mizuguchi (1): arm64: dts: renesas: r8a7795: Add usb companion property in EHCI Yoshihiro Shimoda (4): arm64: dts: renesas: r8a7795: add usb2_phy ch3 device node arm64: dts: renesas: r8a7795: add usb2.0 host ch3 device nodes arm64: dts: renesas: r8a7795: add usb-dmac ch2 and ch3 device nodes arm64: dts: renesas: r8a7795: add hsusb ch3 device node arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi | 8 +++ arch/arm64/boot/dts/renesas/r8a7795.dtsi | 85 ++++++++++++++++++++++++++++ 2 files changed, 93 insertions(+) -- 1.9.1 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 1/5] arm64: dts: renesas: r8a7795: Add usb companion property in EHCI 2017-07-26 11:29 [PATCH 0/5] arm64: dts: renesas: r8a7795: add usb2.0 for R-Car H3 ES2.0 Yoshihiro Shimoda @ 2017-07-26 11:29 ` Yoshihiro Shimoda 2017-07-26 11:29 ` [PATCH 4/5] arm64: dts: renesas: r8a7795: add usb-dmac ch2 and ch3 device nodes Yoshihiro Shimoda ` (2 subsequent siblings) 3 siblings, 0 replies; 7+ messages in thread From: Yoshihiro Shimoda @ 2017-07-26 11:29 UTC (permalink / raw) To: horms, magnus.damm, robh+dt, mark.rutland Cc: devicetree, linux-renesas-soc, Kazuya Mizuguchi, Yoshihiro Shimoda From: Kazuya Mizuguchi <kazuya.mizuguchi.ks@renesas.com> This patch adds the "companion" property in the EHCI ch0, ch1 and ch2 nodes to wait for the usb companion controller startup at resume. Signed-off-by: Kazuya Mizuguchi <kazuya.mizuguchi.ks@renesas.com> Signed-off-by: Takeshi Kihara <takeshi.kihara.df@renesas.com> [remove ch3 node and revise the commit log] Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> --- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi index 95af1e1..b8ffbc6 100644 --- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi @@ -1584,6 +1584,7 @@ clocks = <&cpg CPG_MOD 703>; phys = <&usb2_phy0>; phy-names = "usb"; + companion= <&ohci0>; power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; resets = <&cpg 703>; status = "disabled"; @@ -1596,6 +1597,7 @@ clocks = <&cpg CPG_MOD 702>; phys = <&usb2_phy1>; phy-names = "usb"; + companion= <&ohci1>; power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; resets = <&cpg 702>; status = "disabled"; @@ -1608,6 +1610,7 @@ clocks = <&cpg CPG_MOD 701>; phys = <&usb2_phy2>; phy-names = "usb"; + companion= <&ohci2>; power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; resets = <&cpg 701>; status = "disabled"; -- 1.9.1 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 4/5] arm64: dts: renesas: r8a7795: add usb-dmac ch2 and ch3 device nodes 2017-07-26 11:29 [PATCH 0/5] arm64: dts: renesas: r8a7795: add usb2.0 for R-Car H3 ES2.0 Yoshihiro Shimoda 2017-07-26 11:29 ` [PATCH 1/5] arm64: dts: renesas: r8a7795: Add usb companion property in EHCI Yoshihiro Shimoda @ 2017-07-26 11:29 ` Yoshihiro Shimoda [not found] ` <1501068580-3981-1-git-send-email-yoshihiro.shimoda.uh-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org> 2017-07-27 15:19 ` [PATCH 0/5] arm64: dts: renesas: r8a7795: add usb2.0 for R-Car H3 ES2.0 Simon Horman 3 siblings, 0 replies; 7+ messages in thread From: Yoshihiro Shimoda @ 2017-07-26 11:29 UTC (permalink / raw) To: horms, magnus.damm, robh+dt, mark.rutland Cc: devicetree, linux-renesas-soc, Yoshihiro Shimoda This patch adds support for usb-dmac ch2 and ch3 device nodes for R-Car H3 ES2.0. Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> --- arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi | 3 +++ arch/arm64/boot/dts/renesas/r8a7795.dtsi | 28 ++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi b/arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi index 1eccc7c..9743aca 100644 --- a/arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi @@ -25,6 +25,9 @@ /delete-node/ usb@ee0e0100; /delete-node/ usb@ee0e0000; + /delete-node/ dma-controller@e6460000; + /delete-node/ dma-controller@e6470000; + fcpf2: fcp@fe952000 { compatible = "renesas,fcpf"; reg = <0 0xfe952000 0 0x200>; diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi index c3b1285..d1381d9 100644 --- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi @@ -1499,6 +1499,34 @@ dma-channels = <2>; }; + usb_dmac2: dma-controller@e6460000 { + compatible = "renesas,r8a7795-usb-dmac", + "renesas,usb-dmac"; + reg = <0 0xe6460000 0 0x100>; + interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH + GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "ch0", "ch1"; + clocks = <&cpg CPG_MOD 326>; + power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; + resets = <&cpg 326>; + #dma-cells = <1>; + dma-channels = <2>; + }; + + usb_dmac3: dma-controller@e6470000 { + compatible = "renesas,r8a7795-usb-dmac", + "renesas,usb-dmac"; + reg = <0 0xe6470000 0 0x100>; + interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH + GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "ch0", "ch1"; + clocks = <&cpg CPG_MOD 329>; + power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; + resets = <&cpg 329>; + #dma-cells = <1>; + dma-channels = <2>; + }; + sdhi0: sd@ee100000 { compatible = "renesas,sdhi-r8a7795"; reg = <0 0xee100000 0 0x2000>; -- 1.9.1 ^ permalink raw reply related [flat|nested] 7+ messages in thread
[parent not found: <1501068580-3981-1-git-send-email-yoshihiro.shimoda.uh-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>]
* [PATCH 2/5] arm64: dts: renesas: r8a7795: add usb2_phy ch3 device node [not found] ` <1501068580-3981-1-git-send-email-yoshihiro.shimoda.uh-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org> @ 2017-07-26 11:29 ` Yoshihiro Shimoda 2017-07-26 11:29 ` [PATCH 3/5] arm64: dts: renesas: r8a7795: add usb2.0 host ch3 device nodes Yoshihiro Shimoda 2017-07-26 11:29 ` [PATCH 5/5] arm64: dts: renesas: r8a7795: add hsusb ch3 device node Yoshihiro Shimoda 2 siblings, 0 replies; 7+ messages in thread From: Yoshihiro Shimoda @ 2017-07-26 11: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 adds support for usb3_phy ch3 device node for R-Car H3 ES2.0. Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org> --- arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi | 2 ++ arch/arm64/boot/dts/renesas/r8a7795.dtsi | 12 ++++++++++++ 2 files changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi b/arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi index f164633..2c24943 100644 --- a/arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi @@ -21,6 +21,8 @@ status = "disabled"; }; + /delete-node/ usb-phy@ee0e0200; + fcpf2: fcp@fe952000 { compatible = "renesas,fcpf"; reg = <0 0xfe952000 0 0x200>; diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi index b8ffbc6..1b20892 100644 --- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi @@ -1577,6 +1577,18 @@ status = "disabled"; }; + usb2_phy3: usb-phy@ee0e0200 { + compatible = "renesas,usb2-phy-r8a7795", + "renesas,rcar-gen3-usb2-phy"; + reg = <0 0xee0e0200 0 0x700>; + interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 700>; + power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; + resets = <&cpg 700>; + #phy-cells = <0>; + status = "disabled"; + }; + ehci0: usb@ee080100 { compatible = "generic-ehci"; reg = <0 0xee080100 0 0x100>; -- 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] 7+ messages in thread
* [PATCH 3/5] arm64: dts: renesas: r8a7795: add usb2.0 host ch3 device nodes [not found] ` <1501068580-3981-1-git-send-email-yoshihiro.shimoda.uh-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org> 2017-07-26 11:29 ` [PATCH 2/5] arm64: dts: renesas: r8a7795: add usb2_phy ch3 device node Yoshihiro Shimoda @ 2017-07-26 11:29 ` Yoshihiro Shimoda 2017-07-26 11:29 ` [PATCH 5/5] arm64: dts: renesas: r8a7795: add hsusb ch3 device node Yoshihiro Shimoda 2 siblings, 0 replies; 7+ messages in thread From: Yoshihiro Shimoda @ 2017-07-26 11: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 adds support for usb2.0 host ch3 device nodes for R-Car H3 ES2.0. Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org> --- arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi | 2 ++ arch/arm64/boot/dts/renesas/r8a7795.dtsi | 25 +++++++++++++++++++++++++ 2 files changed, 27 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi b/arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi index 2c24943..1eccc7c 100644 --- a/arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi @@ -22,6 +22,8 @@ }; /delete-node/ usb-phy@ee0e0200; + /delete-node/ usb@ee0e0100; + /delete-node/ usb@ee0e0000; fcpf2: fcp@fe952000 { compatible = "renesas,fcpf"; diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi index 1b20892..c3b1285 100644 --- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi @@ -1628,6 +1628,19 @@ status = "disabled"; }; + ehci3: usb@ee0e0100 { + compatible = "generic-ehci"; + reg = <0 0xee0e0100 0 0x100>; + interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 700>; + phys = <&usb2_phy3>; + phy-names = "usb"; + companion= <&ohci3>; + power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; + resets = <&cpg 700>; + status = "disabled"; + }; + ohci0: usb@ee080000 { compatible = "generic-ohci"; reg = <0 0xee080000 0 0x100>; @@ -1664,6 +1677,18 @@ status = "disabled"; }; + ohci3: usb@ee0e0000 { + compatible = "generic-ohci"; + reg = <0 0xee0e0000 0 0x100>; + interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 700>; + phys = <&usb2_phy3>; + phy-names = "usb"; + power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; + resets = <&cpg 700>; + status = "disabled"; + }; + hsusb: usb@e6590000 { compatible = "renesas,usbhs-r8a7795", "renesas,rcar-gen3-usbhs"; -- 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] 7+ messages in thread
* [PATCH 5/5] arm64: dts: renesas: r8a7795: add hsusb ch3 device node [not found] ` <1501068580-3981-1-git-send-email-yoshihiro.shimoda.uh-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org> 2017-07-26 11:29 ` [PATCH 2/5] arm64: dts: renesas: r8a7795: add usb2_phy ch3 device node Yoshihiro Shimoda 2017-07-26 11:29 ` [PATCH 3/5] arm64: dts: renesas: r8a7795: add usb2.0 host ch3 device nodes Yoshihiro Shimoda @ 2017-07-26 11:29 ` Yoshihiro Shimoda 2 siblings, 0 replies; 7+ messages in thread From: Yoshihiro Shimoda @ 2017-07-26 11: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 adds support for hsusb ch3 device nodes for R-Car H3 ES2.0. Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org> --- arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi | 1 + arch/arm64/boot/dts/renesas/r8a7795.dtsi | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi b/arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi index 9743aca..aaa5e67 100644 --- a/arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi @@ -24,6 +24,7 @@ /delete-node/ usb-phy@ee0e0200; /delete-node/ usb@ee0e0100; /delete-node/ usb@ee0e0000; + /delete-node/ usb@e659c000; /delete-node/ dma-controller@e6460000; /delete-node/ dma-controller@e6470000; diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi index d1381d9..b9213e2 100644 --- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi @@ -1734,6 +1734,23 @@ status = "disabled"; }; + hsusb3: usb@e659c000 { + compatible = "renesas,usbhs-r8a7795", + "renesas,rcar-gen3-usbhs"; + reg = <0 0xe659c000 0 0x100>; + interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 705>; + dmas = <&usb_dmac2 0>, <&usb_dmac2 1>, + <&usb_dmac3 0>, <&usb_dmac3 1>; + dma-names = "ch0", "ch1", "ch2", "ch3"; + renesas,buswait = <11>; + phys = <&usb2_phy3>; + phy-names = "usb"; + power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; + resets = <&cpg 705>; + status = "disabled"; + }; + pciec0: pcie@fe000000 { compatible = "renesas,pcie-r8a7795", "renesas,pcie-rcar-gen3"; -- 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] 7+ messages in thread
* Re: [PATCH 0/5] arm64: dts: renesas: r8a7795: add usb2.0 for R-Car H3 ES2.0 2017-07-26 11:29 [PATCH 0/5] arm64: dts: renesas: r8a7795: add usb2.0 for R-Car H3 ES2.0 Yoshihiro Shimoda ` (2 preceding siblings ...) [not found] ` <1501068580-3981-1-git-send-email-yoshihiro.shimoda.uh-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org> @ 2017-07-27 15:19 ` Simon Horman 3 siblings, 0 replies; 7+ messages in thread From: Simon Horman @ 2017-07-27 15:19 UTC (permalink / raw) To: Yoshihiro Shimoda Cc: magnus.damm, robh+dt, mark.rutland, devicetree, linux-renesas-soc On Wed, Jul 26, 2017 at 08:29:35PM +0900, Yoshihiro Shimoda wrote: > This patch is based on the renesas-drivers.git / > renesas-drivers-2017-07-18-v4.13-rc1 tag. > > Kazuya Mizuguchi (1): > arm64: dts: renesas: r8a7795: Add usb companion property in EHCI > > Yoshihiro Shimoda (4): > arm64: dts: renesas: r8a7795: add usb2_phy ch3 device node > arm64: dts: renesas: r8a7795: add usb2.0 host ch3 device nodes > arm64: dts: renesas: r8a7795: add usb-dmac ch2 and ch3 device nodes > arm64: dts: renesas: r8a7795: add hsusb ch3 device node Thanks Shimoda-san, I have applied these for v4.14. ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2017-07-27 15:19 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2017-07-26 11:29 [PATCH 0/5] arm64: dts: renesas: r8a7795: add usb2.0 for R-Car H3 ES2.0 Yoshihiro Shimoda 2017-07-26 11:29 ` [PATCH 1/5] arm64: dts: renesas: r8a7795: Add usb companion property in EHCI Yoshihiro Shimoda 2017-07-26 11:29 ` [PATCH 4/5] arm64: dts: renesas: r8a7795: add usb-dmac ch2 and ch3 device nodes Yoshihiro Shimoda [not found] ` <1501068580-3981-1-git-send-email-yoshihiro.shimoda.uh-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org> 2017-07-26 11:29 ` [PATCH 2/5] arm64: dts: renesas: r8a7795: add usb2_phy ch3 device node Yoshihiro Shimoda 2017-07-26 11:29 ` [PATCH 3/5] arm64: dts: renesas: r8a7795: add usb2.0 host ch3 device nodes Yoshihiro Shimoda 2017-07-26 11:29 ` [PATCH 5/5] arm64: dts: renesas: r8a7795: add hsusb ch3 device node Yoshihiro Shimoda 2017-07-27 15:19 ` [PATCH 0/5] arm64: dts: renesas: r8a7795: add usb2.0 for R-Car H3 ES2.0 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).