dmaengine Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH 0/8] R8A7742 add support for HSUSB and USB2.0/3.0
@ 2020-05-24 21:37 Lad Prabhakar
  2020-05-24 21:37 ` [PATCH 1/8] dt-bindings: phy: rcar-gen2: Add r8a7742 support Lad Prabhakar
                   ` (8 more replies)
  0 siblings, 9 replies; 25+ messages in thread
From: Lad Prabhakar @ 2020-05-24 21:37 UTC (permalink / raw)
  To: Geert Uytterhoeven, Vinod Koul, Rob Herring, Bjorn Helgaas,
	Kishon Vijay Abraham I, Greg Kroah-Hartman, Magnus Damm
  Cc: dmaengine, linux-pci, linux-usb, linux-renesas-soc, devicetree,
	linux-kernel, Prabhakar, Lad Prabhakar

Hi All,

This patch series adds support for HSUSB, USB2.0 and USB3.0 to
R8A7742 SoC DT.

This patch series applies on-top of [1].

[1] https://patchwork.kernel.org/project/linux-renesas-soc/list/?series=288491

Cheers,
Prabhakar

Lad Prabhakar (8):
  dt-bindings: phy: rcar-gen2: Add r8a7742 support
  dt-bindings: PCI: pci-rcar-gen2: Add device tree support for r8a7742
  dt-bindings: usb: renesas,usbhs: Add support for r8a7742
  dt-bindings: dmaengine: renesas,usb-dmac: Add binding for r8a7742
  dt-bindings: usb: usb-xhci: Document r8a7742 support
  ARM: dts: r8a7742: Add USB 2.0 host support
  ARM: dts: r8a7742: Add USB-DMAC and HSUSB device nodes
  ARM: dts: r8a7742: Add xhci support

 .../devicetree/bindings/dma/renesas,usb-dmac.yaml  |   1 +
 .../devicetree/bindings/pci/pci-rcar-gen2.txt      |   3 +-
 .../devicetree/bindings/phy/rcar-gen2-phy.txt      |   3 +-
 .../devicetree/bindings/usb/renesas,usbhs.yaml     |   1 +
 Documentation/devicetree/bindings/usb/usb-xhci.txt |   1 +
 arch/arm/boot/dts/r8a7742.dtsi                     | 173 +++++++++++++++++++++
 6 files changed, 180 insertions(+), 2 deletions(-)

-- 
2.7.4


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

* [PATCH 1/8] dt-bindings: phy: rcar-gen2: Add r8a7742 support
  2020-05-24 21:37 [PATCH 0/8] R8A7742 add support for HSUSB and USB2.0/3.0 Lad Prabhakar
@ 2020-05-24 21:37 ` Lad Prabhakar
  2020-05-25 10:01   ` Geert Uytterhoeven
  2020-05-28 23:43   ` Rob Herring
  2020-05-24 21:37 ` [PATCH 2/8] dt-bindings: PCI: pci-rcar-gen2: Add device tree support for r8a7742 Lad Prabhakar
                   ` (7 subsequent siblings)
  8 siblings, 2 replies; 25+ messages in thread
From: Lad Prabhakar @ 2020-05-24 21:37 UTC (permalink / raw)
  To: Geert Uytterhoeven, Vinod Koul, Rob Herring, Bjorn Helgaas,
	Kishon Vijay Abraham I, Greg Kroah-Hartman, Magnus Damm
  Cc: dmaengine, linux-pci, linux-usb, linux-renesas-soc, devicetree,
	linux-kernel, Prabhakar, Lad Prabhakar

Add USB PHY support for r8a7742 SoC. Renesas RZ/G1H (R8A7742)
USB PHY is identical to the R-Car Gen2 family.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>
---
 Documentation/devicetree/bindings/phy/rcar-gen2-phy.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/phy/rcar-gen2-phy.txt b/Documentation/devicetree/bindings/phy/rcar-gen2-phy.txt
index ac96d64..a3bd1c4 100644
--- a/Documentation/devicetree/bindings/phy/rcar-gen2-phy.txt
+++ b/Documentation/devicetree/bindings/phy/rcar-gen2-phy.txt
@@ -4,7 +4,8 @@ This file provides information on what the device node for the R-Car generation
 2 USB PHY contains.
 
 Required properties:
-- compatible: "renesas,usb-phy-r8a7743" if the device is a part of R8A7743 SoC.
+- compatible: "renesas,usb-phy-r8a7742" if the device is a part of R8A7742 SoC.
+	      "renesas,usb-phy-r8a7743" if the device is a part of R8A7743 SoC.
 	      "renesas,usb-phy-r8a7744" if the device is a part of R8A7744 SoC.
 	      "renesas,usb-phy-r8a7745" if the device is a part of R8A7745 SoC.
 	      "renesas,usb-phy-r8a77470" if the device is a part of R8A77470 SoC.
-- 
2.7.4


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

* [PATCH 2/8] dt-bindings: PCI: pci-rcar-gen2: Add device tree support for r8a7742
  2020-05-24 21:37 [PATCH 0/8] R8A7742 add support for HSUSB and USB2.0/3.0 Lad Prabhakar
  2020-05-24 21:37 ` [PATCH 1/8] dt-bindings: phy: rcar-gen2: Add r8a7742 support Lad Prabhakar
@ 2020-05-24 21:37 ` Lad Prabhakar
  2020-05-25 10:03   ` Geert Uytterhoeven
  2020-05-28 23:43   ` Rob Herring
  2020-05-24 21:37 ` [PATCH 3/8] dt-bindings: usb: renesas,usbhs: Add " Lad Prabhakar
                   ` (6 subsequent siblings)
  8 siblings, 2 replies; 25+ messages in thread
From: Lad Prabhakar @ 2020-05-24 21:37 UTC (permalink / raw)
  To: Geert Uytterhoeven, Vinod Koul, Rob Herring, Bjorn Helgaas,
	Kishon Vijay Abraham I, Greg Kroah-Hartman, Magnus Damm
  Cc: dmaengine, linux-pci, linux-usb, linux-renesas-soc, devicetree,
	linux-kernel, Prabhakar, Lad Prabhakar

Add internal PCI bridge support for r8a7742 SoC. The Renesas RZ/G1H
(R8A7742) internal PCI bridge is identical to the R-Car Gen2 family.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>
---
 Documentation/devicetree/bindings/pci/pci-rcar-gen2.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/pci/pci-rcar-gen2.txt b/Documentation/devicetree/bindings/pci/pci-rcar-gen2.txt
index b94078f..aeba38f 100644
--- a/Documentation/devicetree/bindings/pci/pci-rcar-gen2.txt
+++ b/Documentation/devicetree/bindings/pci/pci-rcar-gen2.txt
@@ -6,7 +6,8 @@ AHB. There is one bridge instance per USB port connected to the internal
 OHCI and EHCI controllers.
 
 Required properties:
-- compatible: "renesas,pci-r8a7743" for the R8A7743 SoC;
+- compatible: "renesas,pci-r8a7742" for the R8A7742 SoC;
+	      "renesas,pci-r8a7743" for the R8A7743 SoC;
 	      "renesas,pci-r8a7744" for the R8A7744 SoC;
 	      "renesas,pci-r8a7745" for the R8A7745 SoC;
 	      "renesas,pci-r8a7790" for the R8A7790 SoC;
-- 
2.7.4


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

* [PATCH 3/8] dt-bindings: usb: renesas,usbhs: Add support for r8a7742
  2020-05-24 21:37 [PATCH 0/8] R8A7742 add support for HSUSB and USB2.0/3.0 Lad Prabhakar
  2020-05-24 21:37 ` [PATCH 1/8] dt-bindings: phy: rcar-gen2: Add r8a7742 support Lad Prabhakar
  2020-05-24 21:37 ` [PATCH 2/8] dt-bindings: PCI: pci-rcar-gen2: Add device tree support for r8a7742 Lad Prabhakar
@ 2020-05-24 21:37 ` Lad Prabhakar
  2020-05-25 10:04   ` Geert Uytterhoeven
  2020-05-28 23:44   ` Rob Herring
  2020-05-24 21:37 ` [PATCH 4/8] dt-bindings: dmaengine: renesas,usb-dmac: Add binding " Lad Prabhakar
                   ` (5 subsequent siblings)
  8 siblings, 2 replies; 25+ messages in thread
From: Lad Prabhakar @ 2020-05-24 21:37 UTC (permalink / raw)
  To: Geert Uytterhoeven, Vinod Koul, Rob Herring, Bjorn Helgaas,
	Kishon Vijay Abraham I, Greg Kroah-Hartman, Magnus Damm
  Cc: dmaengine, linux-pci, linux-usb, linux-renesas-soc, devicetree,
	linux-kernel, Prabhakar, Lad Prabhakar

Document support for RZ/G1H (R8A7742) SoC.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>
---
 Documentation/devicetree/bindings/usb/renesas,usbhs.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/usb/renesas,usbhs.yaml b/Documentation/devicetree/bindings/usb/renesas,usbhs.yaml
index 469affa..32ade41 100644
--- a/Documentation/devicetree/bindings/usb/renesas,usbhs.yaml
+++ b/Documentation/devicetree/bindings/usb/renesas,usbhs.yaml
@@ -22,6 +22,7 @@ properties:
 
       - items:
           - enum:
+              - renesas,usbhs-r8a7742  # RZ/G1H
               - renesas,usbhs-r8a7743  # RZ/G1M
               - renesas,usbhs-r8a7744  # RZ/G1N
               - renesas,usbhs-r8a7745  # RZ/G1E
-- 
2.7.4


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

* [PATCH 4/8] dt-bindings: dmaengine: renesas,usb-dmac: Add binding for r8a7742
  2020-05-24 21:37 [PATCH 0/8] R8A7742 add support for HSUSB and USB2.0/3.0 Lad Prabhakar
                   ` (2 preceding siblings ...)
  2020-05-24 21:37 ` [PATCH 3/8] dt-bindings: usb: renesas,usbhs: Add " Lad Prabhakar
@ 2020-05-24 21:37 ` Lad Prabhakar
  2020-05-25 10:05   ` Geert Uytterhoeven
                     ` (2 more replies)
  2020-05-24 21:37 ` [PATCH 5/8] dt-bindings: usb: usb-xhci: Document r8a7742 support Lad Prabhakar
                   ` (4 subsequent siblings)
  8 siblings, 3 replies; 25+ messages in thread
From: Lad Prabhakar @ 2020-05-24 21:37 UTC (permalink / raw)
  To: Geert Uytterhoeven, Vinod Koul, Rob Herring, Bjorn Helgaas,
	Kishon Vijay Abraham I, Greg Kroah-Hartman, Magnus Damm
  Cc: dmaengine, linux-pci, linux-usb, linux-renesas-soc, devicetree,
	linux-kernel, Prabhakar, Lad Prabhakar

Document RZ/G1H (R8A7742) SoC bindings.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>
---
 Documentation/devicetree/bindings/dma/renesas,usb-dmac.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/dma/renesas,usb-dmac.yaml b/Documentation/devicetree/bindings/dma/renesas,usb-dmac.yaml
index 9ca6d8d..03aea6a 100644
--- a/Documentation/devicetree/bindings/dma/renesas,usb-dmac.yaml
+++ b/Documentation/devicetree/bindings/dma/renesas,usb-dmac.yaml
@@ -16,6 +16,7 @@ properties:
   compatible:
     items:
       - enum:
+          - renesas,r8a7742-usb-dmac  # RZ/G1H
           - renesas,r8a7743-usb-dmac  # RZ/G1M
           - renesas,r8a7744-usb-dmac  # RZ/G1N
           - renesas,r8a7745-usb-dmac  # RZ/G1E
-- 
2.7.4


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

* [PATCH 5/8] dt-bindings: usb: usb-xhci: Document r8a7742 support
  2020-05-24 21:37 [PATCH 0/8] R8A7742 add support for HSUSB and USB2.0/3.0 Lad Prabhakar
                   ` (3 preceding siblings ...)
  2020-05-24 21:37 ` [PATCH 4/8] dt-bindings: dmaengine: renesas,usb-dmac: Add binding " Lad Prabhakar
@ 2020-05-24 21:37 ` Lad Prabhakar
  2020-05-25 10:18   ` Geert Uytterhoeven
  2020-05-28 23:46   ` Rob Herring
  2020-05-24 21:37 ` [PATCH 6/8] ARM: dts: r8a7742: Add USB 2.0 host support Lad Prabhakar
                   ` (3 subsequent siblings)
  8 siblings, 2 replies; 25+ messages in thread
From: Lad Prabhakar @ 2020-05-24 21:37 UTC (permalink / raw)
  To: Geert Uytterhoeven, Vinod Koul, Rob Herring, Bjorn Helgaas,
	Kishon Vijay Abraham I, Greg Kroah-Hartman, Magnus Damm
  Cc: dmaengine, linux-pci, linux-usb, linux-renesas-soc, devicetree,
	linux-kernel, Prabhakar, Lad Prabhakar

Document r8a7742 xhci support. The driver will use the fallback
compatible string "renesas,rcar-gen2-xhci", therefore no driver
change is needed.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>
---
 Documentation/devicetree/bindings/usb/usb-xhci.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/usb/usb-xhci.txt b/Documentation/devicetree/bindings/usb/usb-xhci.txt
index 3f37895..ce54791 100644
--- a/Documentation/devicetree/bindings/usb/usb-xhci.txt
+++ b/Documentation/devicetree/bindings/usb/usb-xhci.txt
@@ -7,6 +7,7 @@ Required properties:
     - "marvell,armada3700-xhci" for Armada 37xx SoCs
     - "marvell,armada-375-xhci" for Armada 375 SoCs
     - "marvell,armada-380-xhci" for Armada 38x SoCs
+    - "renesas,xhci-r8a7742" for r8a7742 SoC
     - "renesas,xhci-r8a7743" for r8a7743 SoC
     - "renesas,xhci-r8a7744" for r8a7744 SoC
     - "renesas,xhci-r8a774a1" for r8a774a1 SoC
-- 
2.7.4


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

* [PATCH 6/8] ARM: dts: r8a7742: Add USB 2.0 host support
  2020-05-24 21:37 [PATCH 0/8] R8A7742 add support for HSUSB and USB2.0/3.0 Lad Prabhakar
                   ` (4 preceding siblings ...)
  2020-05-24 21:37 ` [PATCH 5/8] dt-bindings: usb: usb-xhci: Document r8a7742 support Lad Prabhakar
@ 2020-05-24 21:37 ` Lad Prabhakar
  2020-05-25 10:20   ` Geert Uytterhoeven
  2020-05-24 21:37 ` [PATCH 7/8] ARM: dts: r8a7742: Add USB-DMAC and HSUSB device nodes Lad Prabhakar
                   ` (2 subsequent siblings)
  8 siblings, 1 reply; 25+ messages in thread
From: Lad Prabhakar @ 2020-05-24 21:37 UTC (permalink / raw)
  To: Geert Uytterhoeven, Vinod Koul, Rob Herring, Bjorn Helgaas,
	Kishon Vijay Abraham I, Greg Kroah-Hartman, Magnus Damm
  Cc: dmaengine, linux-pci, linux-usb, linux-renesas-soc, devicetree,
	linux-kernel, Prabhakar, Lad Prabhakar

Describe internal PCI bridge devices, USB phy device and
link PCI USB devices to USB phy.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>
---
 arch/arm/boot/dts/r8a7742.dtsi | 115 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 115 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7742.dtsi b/arch/arm/boot/dts/r8a7742.dtsi
index df914da..5be3da7 100644
--- a/arch/arm/boot/dts/r8a7742.dtsi
+++ b/arch/arm/boot/dts/r8a7742.dtsi
@@ -505,6 +505,28 @@
 			status = "disabled";
 		};
 
+		usbphy: usb-phy@e6590100 {
+			compatible = "renesas,usb-phy-r8a7742",
+				     "renesas,rcar-gen2-usb-phy";
+			reg = <0 0xe6590100 0 0x100>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+			clocks = <&cpg CPG_MOD 704>;
+			clock-names = "usbhs";
+			power-domains = <&sysc R8A7742_PD_ALWAYS_ON>;
+			resets = <&cpg 704>;
+			status = "disabled";
+
+			usb0: usb-channel@0 {
+				reg = <0>;
+				#phy-cells = <1>;
+			};
+			usb2: usb-channel@2 {
+				reg = <2>;
+				#phy-cells = <1>;
+			};
+		};
+
 		dmac0: dma-controller@e6700000 {
 			compatible = "renesas,dmac-r8a7742",
 				     "renesas,rcar-dmac";
@@ -754,6 +776,99 @@
 			status = "disabled";
 		};
 
+		pci0: pci@ee090000 {
+			compatible = "renesas,pci-r8a7742",
+				     "renesas,pci-rcar-gen2";
+			device_type = "pci";
+			reg = <0 0xee090000 0 0xc00>,
+			      <0 0xee080000 0 0x1100>;
+			interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 703>;
+			power-domains = <&sysc R8A7742_PD_ALWAYS_ON>;
+			resets = <&cpg 703>;
+			status = "disabled";
+
+			bus-range = <0 0>;
+			#address-cells = <3>;
+			#size-cells = <2>;
+			#interrupt-cells = <1>;
+			ranges = <0x02000000 0 0xee080000 0 0xee080000 0 0x00010000>;
+			interrupt-map-mask = <0xf800 0 0 0x7>;
+			interrupt-map = <0x0000 0 0 1 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
+					<0x0800 0 0 1 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
+					<0x1000 0 0 2 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
+
+			usb@1,0 {
+				reg = <0x800 0 0 0 0>;
+				phys = <&usb0 0>;
+				phy-names = "usb";
+			};
+
+			usb@2,0 {
+				reg = <0x1000 0 0 0 0>;
+				phys = <&usb0 0>;
+				phy-names = "usb";
+			};
+		};
+
+		pci1: pci@ee0b0000 {
+			compatible = "renesas,pci-r8a7742",
+				     "renesas,pci-rcar-gen2";
+			device_type = "pci";
+			reg = <0 0xee0b0000 0 0xc00>,
+			      <0 0xee0a0000 0 0x1100>;
+			interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 703>;
+			power-domains = <&sysc R8A7742_PD_ALWAYS_ON>;
+			resets = <&cpg 703>;
+			status = "disabled";
+
+			bus-range = <1 1>;
+			#address-cells = <3>;
+			#size-cells = <2>;
+			#interrupt-cells = <1>;
+			ranges = <0x02000000 0 0xee0a0000 0 0xee0a0000 0 0x00010000>;
+			interrupt-map-mask = <0xf800 0 0 0x7>;
+			interrupt-map = <0x0000 0 0 1 &gic GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
+					<0x0800 0 0 1 &gic GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
+					<0x1000 0 0 2 &gic GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
+		};
+
+		pci2: pci@ee0d0000 {
+			compatible = "renesas,pci-r8a7742",
+				     "renesas,pci-rcar-gen2";
+			device_type = "pci";
+			clocks = <&cpg CPG_MOD 703>;
+			power-domains = <&sysc R8A7742_PD_ALWAYS_ON>;
+			resets = <&cpg 703>;
+			reg = <0 0xee0d0000 0 0xc00>,
+			      <0 0xee0c0000 0 0x1100>;
+			interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
+			status = "disabled";
+
+			bus-range = <2 2>;
+			#address-cells = <3>;
+			#size-cells = <2>;
+			#interrupt-cells = <1>;
+			ranges = <0x02000000 0 0xee0c0000 0 0xee0c0000 0 0x00010000>;
+			interrupt-map-mask = <0xf800 0 0 0x7>;
+			interrupt-map = <0x0000 0 0 1 &gic GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
+					<0x0800 0 0 1 &gic GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
+					<0x1000 0 0 2 &gic GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
+
+			usb@1,0 {
+				reg = <0x20800 0 0 0 0>;
+				phys = <&usb2 0>;
+				phy-names = "usb";
+			};
+
+			usb@2,0 {
+				reg = <0x21000 0 0 0 0>;
+				phys = <&usb2 0>;
+				phy-names = "usb";
+			};
+		};
+
 		sdhi0: sd@ee100000 {
 			compatible = "renesas,sdhi-r8a7742",
 				     "renesas,rcar-gen2-sdhi";
-- 
2.7.4


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

* [PATCH 7/8] ARM: dts: r8a7742: Add USB-DMAC and HSUSB device nodes
  2020-05-24 21:37 [PATCH 0/8] R8A7742 add support for HSUSB and USB2.0/3.0 Lad Prabhakar
                   ` (5 preceding siblings ...)
  2020-05-24 21:37 ` [PATCH 6/8] ARM: dts: r8a7742: Add USB 2.0 host support Lad Prabhakar
@ 2020-05-24 21:37 ` Lad Prabhakar
  2020-05-25 10:20   ` Geert Uytterhoeven
  2020-05-24 21:37 ` [PATCH 8/8] ARM: dts: r8a7742: Add xhci support Lad Prabhakar
  2020-05-28 14:21 ` [PATCH 0/8] R8A7742 add support for HSUSB and USB2.0/3.0 Lorenzo Pieralisi
  8 siblings, 1 reply; 25+ messages in thread
From: Lad Prabhakar @ 2020-05-24 21:37 UTC (permalink / raw)
  To: Geert Uytterhoeven, Vinod Koul, Rob Herring, Bjorn Helgaas,
	Kishon Vijay Abraham I, Greg Kroah-Hartman, Magnus Damm
  Cc: dmaengine, linux-pci, linux-usb, linux-renesas-soc, devicetree,
	linux-kernel, Prabhakar, Lad Prabhakar

Add usb dmac and hsusb device nodes on RZ/G1H SoC dtsi.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>
---
 arch/arm/boot/dts/r8a7742.dtsi | 45 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7742.dtsi b/arch/arm/boot/dts/r8a7742.dtsi
index 5be3da7..cbf3d85 100644
--- a/arch/arm/boot/dts/r8a7742.dtsi
+++ b/arch/arm/boot/dts/r8a7742.dtsi
@@ -505,6 +505,23 @@
 			status = "disabled";
 		};
 
+		hsusb: usb@e6590000 {
+			compatible = "renesas,usbhs-r8a7742",
+				     "renesas,rcar-gen2-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";
+			power-domains = <&sysc R8A7742_PD_ALWAYS_ON>;
+			resets = <&cpg 704>;
+			renesas,buswait = <4>;
+			phys = <&usb0 1>;
+			phy-names = "usb";
+			status = "disabled";
+		};
+
 		usbphy: usb-phy@e6590100 {
 			compatible = "renesas,usb-phy-r8a7742",
 				     "renesas,rcar-gen2-usb-phy";
@@ -527,6 +544,34 @@
 			};
 		};
 
+		usb_dmac0: dma-controller@e65a0000 {
+			compatible = "renesas,r8a7742-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 R8A7742_PD_ALWAYS_ON>;
+			resets = <&cpg 330>;
+			#dma-cells = <1>;
+			dma-channels = <2>;
+		};
+
+		usb_dmac1: dma-controller@e65b0000 {
+			compatible = "renesas,r8a7742-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 R8A7742_PD_ALWAYS_ON>;
+			resets = <&cpg 331>;
+			#dma-cells = <1>;
+			dma-channels = <2>;
+		};
+
 		dmac0: dma-controller@e6700000 {
 			compatible = "renesas,dmac-r8a7742",
 				     "renesas,rcar-dmac";
-- 
2.7.4


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

* [PATCH 8/8] ARM: dts: r8a7742: Add xhci support
  2020-05-24 21:37 [PATCH 0/8] R8A7742 add support for HSUSB and USB2.0/3.0 Lad Prabhakar
                   ` (6 preceding siblings ...)
  2020-05-24 21:37 ` [PATCH 7/8] ARM: dts: r8a7742: Add USB-DMAC and HSUSB device nodes Lad Prabhakar
@ 2020-05-24 21:37 ` Lad Prabhakar
  2020-05-25 10:21   ` Geert Uytterhoeven
  2020-05-28 14:21 ` [PATCH 0/8] R8A7742 add support for HSUSB and USB2.0/3.0 Lorenzo Pieralisi
  8 siblings, 1 reply; 25+ messages in thread
From: Lad Prabhakar @ 2020-05-24 21:37 UTC (permalink / raw)
  To: Geert Uytterhoeven, Vinod Koul, Rob Herring, Bjorn Helgaas,
	Kishon Vijay Abraham I, Greg Kroah-Hartman, Magnus Damm
  Cc: dmaengine, linux-pci, linux-usb, linux-renesas-soc, devicetree,
	linux-kernel, Prabhakar, Lad Prabhakar

Add xhci support to R8A7742 SoC DT.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>
---
 arch/arm/boot/dts/r8a7742.dtsi | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7742.dtsi b/arch/arm/boot/dts/r8a7742.dtsi
index cbf3d85..3a9c67b 100644
--- a/arch/arm/boot/dts/r8a7742.dtsi
+++ b/arch/arm/boot/dts/r8a7742.dtsi
@@ -821,6 +821,19 @@
 			status = "disabled";
 		};
 
+		xhci: usb@ee000000 {
+			compatible = "renesas,xhci-r8a7742",
+				     "renesas,rcar-gen2-xhci";
+			reg = <0 0xee000000 0 0xc00>;
+			interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 328>;
+			power-domains = <&sysc R8A7742_PD_ALWAYS_ON>;
+			resets = <&cpg 328>;
+			phys = <&usb2 1>;
+			phy-names = "usb";
+			status = "disabled";
+		};
+
 		pci0: pci@ee090000 {
 			compatible = "renesas,pci-r8a7742",
 				     "renesas,pci-rcar-gen2";
-- 
2.7.4


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

* Re: [PATCH 1/8] dt-bindings: phy: rcar-gen2: Add r8a7742 support
  2020-05-24 21:37 ` [PATCH 1/8] dt-bindings: phy: rcar-gen2: Add r8a7742 support Lad Prabhakar
@ 2020-05-25 10:01   ` Geert Uytterhoeven
  2020-05-28 23:43   ` Rob Herring
  1 sibling, 0 replies; 25+ messages in thread
From: Geert Uytterhoeven @ 2020-05-25 10:01 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: Vinod Koul, Rob Herring, Bjorn Helgaas, Kishon Vijay Abraham I,
	Greg Kroah-Hartman, Magnus Damm, dmaengine, linux-pci, USB list,
	Linux-Renesas,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Linux Kernel Mailing List, Prabhakar

On Sun, May 24, 2020 at 11:38 PM Lad Prabhakar
<prabhakar.mahadev-lad.rj@bp.renesas.com> wrote:
> Add USB PHY support for r8a7742 SoC. Renesas RZ/G1H (R8A7742)
> USB PHY is identical to the R-Car Gen2 family.
>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.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] 25+ messages in thread

* Re: [PATCH 2/8] dt-bindings: PCI: pci-rcar-gen2: Add device tree support for r8a7742
  2020-05-24 21:37 ` [PATCH 2/8] dt-bindings: PCI: pci-rcar-gen2: Add device tree support for r8a7742 Lad Prabhakar
@ 2020-05-25 10:03   ` Geert Uytterhoeven
  2020-05-28 23:43   ` Rob Herring
  1 sibling, 0 replies; 25+ messages in thread
From: Geert Uytterhoeven @ 2020-05-25 10:03 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: Vinod Koul, Rob Herring, Bjorn Helgaas, Kishon Vijay Abraham I,
	Greg Kroah-Hartman, Magnus Damm, dmaengine, linux-pci, USB list,
	Linux-Renesas,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Linux Kernel Mailing List, Prabhakar

On Sun, May 24, 2020 at 11:39 PM Lad Prabhakar
<prabhakar.mahadev-lad.rj@bp.renesas.com> wrote:
> Add internal PCI bridge support for r8a7742 SoC. The Renesas RZ/G1H
> (R8A7742) internal PCI bridge is identical to the R-Car Gen2 family.
>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.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] 25+ messages in thread

* Re: [PATCH 3/8] dt-bindings: usb: renesas,usbhs: Add support for r8a7742
  2020-05-24 21:37 ` [PATCH 3/8] dt-bindings: usb: renesas,usbhs: Add " Lad Prabhakar
@ 2020-05-25 10:04   ` Geert Uytterhoeven
  2020-05-28 23:44   ` Rob Herring
  1 sibling, 0 replies; 25+ messages in thread
From: Geert Uytterhoeven @ 2020-05-25 10:04 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: Vinod Koul, Rob Herring, Bjorn Helgaas, Kishon Vijay Abraham I,
	Greg Kroah-Hartman, Magnus Damm, dmaengine, linux-pci, USB list,
	Linux-Renesas,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Linux Kernel Mailing List, Prabhakar

On Sun, May 24, 2020 at 11:39 PM Lad Prabhakar
<prabhakar.mahadev-lad.rj@bp.renesas.com> wrote:
> Document support for RZ/G1H (R8A7742) SoC.
>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.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] 25+ messages in thread

* Re: [PATCH 4/8] dt-bindings: dmaengine: renesas,usb-dmac: Add binding for r8a7742
  2020-05-24 21:37 ` [PATCH 4/8] dt-bindings: dmaengine: renesas,usb-dmac: Add binding " Lad Prabhakar
@ 2020-05-25 10:05   ` Geert Uytterhoeven
  2020-05-28 23:45   ` Rob Herring
  2020-06-16 15:50   ` Vinod Koul
  2 siblings, 0 replies; 25+ messages in thread
From: Geert Uytterhoeven @ 2020-05-25 10:05 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: Vinod Koul, Rob Herring, Bjorn Helgaas, Kishon Vijay Abraham I,
	Greg Kroah-Hartman, Magnus Damm, dmaengine, linux-pci, USB list,
	Linux-Renesas,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Linux Kernel Mailing List, Prabhakar

On Sun, May 24, 2020 at 11:40 PM Lad Prabhakar
<prabhakar.mahadev-lad.rj@bp.renesas.com> wrote:
> Document RZ/G1H (R8A7742) SoC bindings.
>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.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] 25+ messages in thread

* Re: [PATCH 5/8] dt-bindings: usb: usb-xhci: Document r8a7742 support
  2020-05-24 21:37 ` [PATCH 5/8] dt-bindings: usb: usb-xhci: Document r8a7742 support Lad Prabhakar
@ 2020-05-25 10:18   ` Geert Uytterhoeven
  2020-05-28 23:46   ` Rob Herring
  1 sibling, 0 replies; 25+ messages in thread
From: Geert Uytterhoeven @ 2020-05-25 10:18 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: Vinod Koul, Rob Herring, Bjorn Helgaas, Kishon Vijay Abraham I,
	Greg Kroah-Hartman, Magnus Damm, dmaengine, linux-pci, USB list,
	Linux-Renesas,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Linux Kernel Mailing List, Prabhakar

On Sun, May 24, 2020 at 11:40 PM Lad Prabhakar
<prabhakar.mahadev-lad.rj@bp.renesas.com> wrote:
> Document r8a7742 xhci support. The driver will use the fallback
> compatible string "renesas,rcar-gen2-xhci", therefore no driver
> change is needed.
>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.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] 25+ messages in thread

* Re: [PATCH 6/8] ARM: dts: r8a7742: Add USB 2.0 host support
  2020-05-24 21:37 ` [PATCH 6/8] ARM: dts: r8a7742: Add USB 2.0 host support Lad Prabhakar
@ 2020-05-25 10:20   ` Geert Uytterhoeven
  0 siblings, 0 replies; 25+ messages in thread
From: Geert Uytterhoeven @ 2020-05-25 10:20 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: Vinod Koul, Rob Herring, Bjorn Helgaas, Kishon Vijay Abraham I,
	Greg Kroah-Hartman, Magnus Damm, dmaengine, linux-pci, USB list,
	Linux-Renesas,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Linux Kernel Mailing List, Prabhakar

On Sun, May 24, 2020 at 11:40 PM Lad Prabhakar
<prabhakar.mahadev-lad.rj@bp.renesas.com> wrote:
> Describe internal PCI bridge devices, USB phy device and
> link PCI USB devices to USB phy.
>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
i.e. will queue in renesas-devel for v5.9.

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] 25+ messages in thread

* Re: [PATCH 7/8] ARM: dts: r8a7742: Add USB-DMAC and HSUSB device nodes
  2020-05-24 21:37 ` [PATCH 7/8] ARM: dts: r8a7742: Add USB-DMAC and HSUSB device nodes Lad Prabhakar
@ 2020-05-25 10:20   ` Geert Uytterhoeven
  0 siblings, 0 replies; 25+ messages in thread
From: Geert Uytterhoeven @ 2020-05-25 10:20 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: Vinod Koul, Rob Herring, Bjorn Helgaas, Kishon Vijay Abraham I,
	Greg Kroah-Hartman, Magnus Damm, dmaengine, linux-pci, USB list,
	Linux-Renesas,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Linux Kernel Mailing List, Prabhakar

On Sun, May 24, 2020 at 11:40 PM Lad Prabhakar
<prabhakar.mahadev-lad.rj@bp.renesas.com> wrote:
> Add usb dmac and hsusb device nodes on RZ/G1H SoC dtsi.
>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
i.e. will queue in renesas-devel for v5.9.

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] 25+ messages in thread

* Re: [PATCH 8/8] ARM: dts: r8a7742: Add xhci support
  2020-05-24 21:37 ` [PATCH 8/8] ARM: dts: r8a7742: Add xhci support Lad Prabhakar
@ 2020-05-25 10:21   ` Geert Uytterhoeven
  0 siblings, 0 replies; 25+ messages in thread
From: Geert Uytterhoeven @ 2020-05-25 10:21 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: Vinod Koul, Rob Herring, Bjorn Helgaas, Kishon Vijay Abraham I,
	Greg Kroah-Hartman, Magnus Damm, dmaengine, linux-pci, USB list,
	Linux-Renesas,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Linux Kernel Mailing List, Prabhakar

On Sun, May 24, 2020 at 11:40 PM Lad Prabhakar
<prabhakar.mahadev-lad.rj@bp.renesas.com> wrote:
> Add xhci support to R8A7742 SoC DT.
>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
i.e. will queue in renesas-devel for v5.9.

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] 25+ messages in thread

* Re: [PATCH 0/8] R8A7742 add support for HSUSB and USB2.0/3.0
  2020-05-24 21:37 [PATCH 0/8] R8A7742 add support for HSUSB and USB2.0/3.0 Lad Prabhakar
                   ` (7 preceding siblings ...)
  2020-05-24 21:37 ` [PATCH 8/8] ARM: dts: r8a7742: Add xhci support Lad Prabhakar
@ 2020-05-28 14:21 ` Lorenzo Pieralisi
  2020-05-28 15:33   ` Geert Uytterhoeven
  8 siblings, 1 reply; 25+ messages in thread
From: Lorenzo Pieralisi @ 2020-05-28 14:21 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: Geert Uytterhoeven, Vinod Koul, Rob Herring, Bjorn Helgaas,
	Kishon Vijay Abraham I, Greg Kroah-Hartman, Magnus Damm,
	dmaengine, linux-pci, linux-usb, linux-renesas-soc, devicetree,
	linux-kernel, Prabhakar

On Sun, May 24, 2020 at 10:37:49PM +0100, Lad Prabhakar wrote:
> Hi All,
> 
> This patch series adds support for HSUSB, USB2.0 and USB3.0 to
> R8A7742 SoC DT.
> 
> This patch series applies on-top of [1].
> 
> [1] https://patchwork.kernel.org/project/linux-renesas-soc/list/?series=288491

I think Geert will pull this series, so I'd drop it from the PCI
patchwork unless there is a reason I should not, please let me know.

Thanks,
Lorenzo

> Cheers,
> Prabhakar
> 
> Lad Prabhakar (8):
>   dt-bindings: phy: rcar-gen2: Add r8a7742 support
>   dt-bindings: PCI: pci-rcar-gen2: Add device tree support for r8a7742
>   dt-bindings: usb: renesas,usbhs: Add support for r8a7742
>   dt-bindings: dmaengine: renesas,usb-dmac: Add binding for r8a7742
>   dt-bindings: usb: usb-xhci: Document r8a7742 support
>   ARM: dts: r8a7742: Add USB 2.0 host support
>   ARM: dts: r8a7742: Add USB-DMAC and HSUSB device nodes
>   ARM: dts: r8a7742: Add xhci support
> 
>  .../devicetree/bindings/dma/renesas,usb-dmac.yaml  |   1 +
>  .../devicetree/bindings/pci/pci-rcar-gen2.txt      |   3 +-
>  .../devicetree/bindings/phy/rcar-gen2-phy.txt      |   3 +-
>  .../devicetree/bindings/usb/renesas,usbhs.yaml     |   1 +
>  Documentation/devicetree/bindings/usb/usb-xhci.txt |   1 +
>  arch/arm/boot/dts/r8a7742.dtsi                     | 173 +++++++++++++++++++++
>  6 files changed, 180 insertions(+), 2 deletions(-)
> 
> -- 
> 2.7.4
> 

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

* Re: [PATCH 0/8] R8A7742 add support for HSUSB and USB2.0/3.0
  2020-05-28 14:21 ` [PATCH 0/8] R8A7742 add support for HSUSB and USB2.0/3.0 Lorenzo Pieralisi
@ 2020-05-28 15:33   ` Geert Uytterhoeven
  0 siblings, 0 replies; 25+ messages in thread
From: Geert Uytterhoeven @ 2020-05-28 15:33 UTC (permalink / raw)
  To: Lorenzo Pieralisi
  Cc: Lad Prabhakar, Geert Uytterhoeven, Vinod Koul, Rob Herring,
	Bjorn Helgaas, Kishon Vijay Abraham I, Greg Kroah-Hartman,
	Magnus Damm, dmaengine, linux-pci, USB list, Linux-Renesas,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Linux Kernel Mailing List, Prabhakar

Hi Lorenzo,

On Thu, May 28, 2020 at 4:21 PM Lorenzo Pieralisi
<lorenzo.pieralisi@arm.com> wrote:
> On Sun, May 24, 2020 at 10:37:49PM +0100, Lad Prabhakar wrote:
> > This patch series adds support for HSUSB, USB2.0 and USB3.0 to
> > R8A7742 SoC DT.
> >
> > This patch series applies on-top of [1].
> >
> > [1] https://patchwork.kernel.org/project/linux-renesas-soc/list/?series=288491
>
> I think Geert will pull this series, so I'd drop it from the PCI
> patchwork unless there is a reason I should not, please let me know.

I'll take the DTS patches only.

You may want to take 2/8, or leave it to Rob.

> > Lad Prabhakar (8):
> >   dt-bindings: phy: rcar-gen2: Add r8a7742 support
> >   dt-bindings: PCI: pci-rcar-gen2: Add device tree support for r8a7742
> >   dt-bindings: usb: renesas,usbhs: Add support for r8a7742
> >   dt-bindings: dmaengine: renesas,usb-dmac: Add binding for r8a7742
> >   dt-bindings: usb: usb-xhci: Document r8a7742 support
> >   ARM: dts: r8a7742: Add USB 2.0 host support
> >   ARM: dts: r8a7742: Add USB-DMAC and HSUSB device nodes
> >   ARM: dts: r8a7742: Add xhci support
> >
> >  .../devicetree/bindings/dma/renesas,usb-dmac.yaml  |   1 +
> >  .../devicetree/bindings/pci/pci-rcar-gen2.txt      |   3 +-
> >  .../devicetree/bindings/phy/rcar-gen2-phy.txt      |   3 +-
> >  .../devicetree/bindings/usb/renesas,usbhs.yaml     |   1 +
> >  Documentation/devicetree/bindings/usb/usb-xhci.txt |   1 +
> >  arch/arm/boot/dts/r8a7742.dtsi                     | 173 +++++++++++++++++++++
> >  6 files changed, 180 insertions(+), 2 deletions(-)

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] 25+ messages in thread

* Re: [PATCH 1/8] dt-bindings: phy: rcar-gen2: Add r8a7742 support
  2020-05-24 21:37 ` [PATCH 1/8] dt-bindings: phy: rcar-gen2: Add r8a7742 support Lad Prabhakar
  2020-05-25 10:01   ` Geert Uytterhoeven
@ 2020-05-28 23:43   ` Rob Herring
  1 sibling, 0 replies; 25+ messages in thread
From: Rob Herring @ 2020-05-28 23:43 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: Rob Herring, linux-usb, linux-pci, Prabhakar, Vinod Koul,
	Bjorn Helgaas, Kishon Vijay Abraham I, Greg Kroah-Hartman,
	devicetree, linux-renesas-soc, linux-kernel, Magnus Damm,
	dmaengine, Geert Uytterhoeven

On Sun, 24 May 2020 22:37:50 +0100, Lad Prabhakar wrote:
> Add USB PHY support for r8a7742 SoC. Renesas RZ/G1H (R8A7742)
> USB PHY is identical to the R-Car Gen2 family.
> 
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>
> ---
>  Documentation/devicetree/bindings/phy/rcar-gen2-phy.txt | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 

Applied, thanks!

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

* Re: [PATCH 2/8] dt-bindings: PCI: pci-rcar-gen2: Add device tree support for r8a7742
  2020-05-24 21:37 ` [PATCH 2/8] dt-bindings: PCI: pci-rcar-gen2: Add device tree support for r8a7742 Lad Prabhakar
  2020-05-25 10:03   ` Geert Uytterhoeven
@ 2020-05-28 23:43   ` Rob Herring
  1 sibling, 0 replies; 25+ messages in thread
From: Rob Herring @ 2020-05-28 23:43 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: devicetree, linux-pci, linux-usb, Rob Herring, Magnus Damm,
	linux-renesas-soc, Geert Uytterhoeven, Bjorn Helgaas, Prabhakar,
	Vinod Koul, Kishon Vijay Abraham I, dmaengine, linux-kernel,
	Greg Kroah-Hartman

On Sun, 24 May 2020 22:37:51 +0100, Lad Prabhakar wrote:
> Add internal PCI bridge support for r8a7742 SoC. The Renesas RZ/G1H
> (R8A7742) internal PCI bridge is identical to the R-Car Gen2 family.
> 
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>
> ---
>  Documentation/devicetree/bindings/pci/pci-rcar-gen2.txt | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 

Applied, thanks!

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

* Re: [PATCH 3/8] dt-bindings: usb: renesas,usbhs: Add support for r8a7742
  2020-05-24 21:37 ` [PATCH 3/8] dt-bindings: usb: renesas,usbhs: Add " Lad Prabhakar
  2020-05-25 10:04   ` Geert Uytterhoeven
@ 2020-05-28 23:44   ` Rob Herring
  1 sibling, 0 replies; 25+ messages in thread
From: Rob Herring @ 2020-05-28 23:44 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: devicetree, Rob Herring, Geert Uytterhoeven, linux-pci,
	Kishon Vijay Abraham I, dmaengine, Bjorn Helgaas, linux-kernel,
	Greg Kroah-Hartman, Prabhakar, linux-renesas-soc, Magnus Damm,
	Vinod Koul, linux-usb

On Sun, 24 May 2020 22:37:52 +0100, Lad Prabhakar wrote:
> Document support for RZ/G1H (R8A7742) SoC.
> 
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>
> ---
>  Documentation/devicetree/bindings/usb/renesas,usbhs.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 

Applied, thanks!

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

* Re: [PATCH 4/8] dt-bindings: dmaengine: renesas,usb-dmac: Add binding for r8a7742
  2020-05-24 21:37 ` [PATCH 4/8] dt-bindings: dmaengine: renesas,usb-dmac: Add binding " Lad Prabhakar
  2020-05-25 10:05   ` Geert Uytterhoeven
@ 2020-05-28 23:45   ` Rob Herring
  2020-06-16 15:50   ` Vinod Koul
  2 siblings, 0 replies; 25+ messages in thread
From: Rob Herring @ 2020-05-28 23:45 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: Geert Uytterhoeven, devicetree, Rob Herring, dmaengine,
	Vinod Koul, linux-renesas-soc, Kishon Vijay Abraham I,
	Magnus Damm, linux-kernel, Prabhakar, Greg Kroah-Hartman,
	linux-pci, linux-usb, Bjorn Helgaas

On Sun, 24 May 2020 22:37:53 +0100, Lad Prabhakar wrote:
> Document RZ/G1H (R8A7742) SoC bindings.
> 
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>
> ---
>  Documentation/devicetree/bindings/dma/renesas,usb-dmac.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 

Doesn't apply to my tree, so

Acked-by: Rob Herring <robh@kernel.org>

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

* Re: [PATCH 5/8] dt-bindings: usb: usb-xhci: Document r8a7742 support
  2020-05-24 21:37 ` [PATCH 5/8] dt-bindings: usb: usb-xhci: Document r8a7742 support Lad Prabhakar
  2020-05-25 10:18   ` Geert Uytterhoeven
@ 2020-05-28 23:46   ` Rob Herring
  1 sibling, 0 replies; 25+ messages in thread
From: Rob Herring @ 2020-05-28 23:46 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: Kishon Vijay Abraham I, Geert Uytterhoeven, linux-renesas-soc,
	Prabhakar, Greg Kroah-Hartman, linux-kernel, devicetree,
	linux-pci, linux-usb, dmaengine, Bjorn Helgaas, Magnus Damm,
	Rob Herring, Vinod Koul

On Sun, 24 May 2020 22:37:54 +0100, Lad Prabhakar wrote:
> Document r8a7742 xhci support. The driver will use the fallback
> compatible string "renesas,rcar-gen2-xhci", therefore no driver
> change is needed.
> 
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>
> ---
>  Documentation/devicetree/bindings/usb/usb-xhci.txt | 1 +
>  1 file changed, 1 insertion(+)
> 

Applied, thanks!

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

* Re: [PATCH 4/8] dt-bindings: dmaengine: renesas,usb-dmac: Add binding for r8a7742
  2020-05-24 21:37 ` [PATCH 4/8] dt-bindings: dmaengine: renesas,usb-dmac: Add binding " Lad Prabhakar
  2020-05-25 10:05   ` Geert Uytterhoeven
  2020-05-28 23:45   ` Rob Herring
@ 2020-06-16 15:50   ` Vinod Koul
  2 siblings, 0 replies; 25+ messages in thread
From: Vinod Koul @ 2020-06-16 15:50 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: Geert Uytterhoeven, Rob Herring, Bjorn Helgaas,
	Kishon Vijay Abraham I, Greg Kroah-Hartman, Magnus Damm,
	dmaengine, linux-pci, linux-usb, linux-renesas-soc, devicetree,
	linux-kernel, Prabhakar

On 24-05-20, 22:37, Lad Prabhakar wrote:
> Document RZ/G1H (R8A7742) SoC bindings.

Applied, thanks

-- 
~Vinod

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

end of thread, back to index

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-24 21:37 [PATCH 0/8] R8A7742 add support for HSUSB and USB2.0/3.0 Lad Prabhakar
2020-05-24 21:37 ` [PATCH 1/8] dt-bindings: phy: rcar-gen2: Add r8a7742 support Lad Prabhakar
2020-05-25 10:01   ` Geert Uytterhoeven
2020-05-28 23:43   ` Rob Herring
2020-05-24 21:37 ` [PATCH 2/8] dt-bindings: PCI: pci-rcar-gen2: Add device tree support for r8a7742 Lad Prabhakar
2020-05-25 10:03   ` Geert Uytterhoeven
2020-05-28 23:43   ` Rob Herring
2020-05-24 21:37 ` [PATCH 3/8] dt-bindings: usb: renesas,usbhs: Add " Lad Prabhakar
2020-05-25 10:04   ` Geert Uytterhoeven
2020-05-28 23:44   ` Rob Herring
2020-05-24 21:37 ` [PATCH 4/8] dt-bindings: dmaengine: renesas,usb-dmac: Add binding " Lad Prabhakar
2020-05-25 10:05   ` Geert Uytterhoeven
2020-05-28 23:45   ` Rob Herring
2020-06-16 15:50   ` Vinod Koul
2020-05-24 21:37 ` [PATCH 5/8] dt-bindings: usb: usb-xhci: Document r8a7742 support Lad Prabhakar
2020-05-25 10:18   ` Geert Uytterhoeven
2020-05-28 23:46   ` Rob Herring
2020-05-24 21:37 ` [PATCH 6/8] ARM: dts: r8a7742: Add USB 2.0 host support Lad Prabhakar
2020-05-25 10:20   ` Geert Uytterhoeven
2020-05-24 21:37 ` [PATCH 7/8] ARM: dts: r8a7742: Add USB-DMAC and HSUSB device nodes Lad Prabhakar
2020-05-25 10:20   ` Geert Uytterhoeven
2020-05-24 21:37 ` [PATCH 8/8] ARM: dts: r8a7742: Add xhci support Lad Prabhakar
2020-05-25 10:21   ` Geert Uytterhoeven
2020-05-28 14:21 ` [PATCH 0/8] R8A7742 add support for HSUSB and USB2.0/3.0 Lorenzo Pieralisi
2020-05-28 15:33   ` Geert Uytterhoeven

dmaengine Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/dmaengine/0 dmaengine/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dmaengine dmaengine/ https://lore.kernel.org/dmaengine \
		dmaengine@vger.kernel.org
	public-inbox-index dmaengine

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.dmaengine


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git