cip-dev.lists.cip-project.org archive mirror
 help / color / mirror / Atom feed
* [cip-dev] [PATCH 4.19.y-cip 00/35] Renesas RZ/G2 extend peripheral support
@ 2020-02-05 20:38 Lad Prabhakar
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 01/35] dt-bindings: can: rcar_can: document r8a774b1 support Lad Prabhakar
                   ` (36 more replies)
  0 siblings, 37 replies; 46+ messages in thread
From: Lad Prabhakar @ 2020-02-05 20:38 UTC (permalink / raw)
  To: cip-dev

This patch series adds supports for following peripherals supported by RZ/G2N
a] CAN and CANFD
b] IPMMU/FCPF/FCPV/VSP
c] USB
d] DU/LVDS/HDMI/FDP1/PWM

This patch series is based on top of series [1] all the patches 
in this series are cherry-picked from upstream.

[1] https://patchwork.kernel.org/project/cip-dev/list/?series=235707&submitter=&state=*&q=&archive=both&delegate=

Biju Das (21):
  dt-bindings: iommu: ipmmu-vmsa: Add r8a774b1 support
  iommu/ipmmu-vmsa: Hook up r8a774b1 DT matching code
  arm64: dts: renesas: r8a774b1: Add IPMMU device nodes
  arm64: dts: renesas: r8a774b1: Add FCPF and FCPV instances
  arm64: dts: renesas: r8a774b1: Add VSP instances
  arm64: dts: renesas: r8a774b1: Tie SYS-DMAC to IPMMU-DS0/1
  arm64: dts: renesas: r8a774b1: Connect Ethernet-AVB to IPMMU-DS0
  arm64: dts: renesas: hihope-common: Move du clk properties out of
    common dtsi
  drm: rcar-du: Add R8A774B1 support
  arm64: dts: renesas: r8a774b1: Add DU device to DT
  arm64: dts: renesas: r8a774b1: Add HDMI encoder instance
  arm64: dts: renesas: r8a774b1-hihope-rzg2n: Add display clock
    properties
  arm64: dts: renesas: r8a774b1: Add FDP1 device nodes
  arm64: dts: renesas: r8a774b1: Add PWM device nodes
  arm64: dts: renesas: hihope-rzg2-ex: Enable backlight
  drm: rcar-du: lvds: Add r8a774b1 support
  arm64: dts: renesas: hihope-rzg2-ex: Add LVDS support
  arm64: dts: renesas: Add support for Advantech idk-1110wr LVDS panel
  arm64: dts: renesas: r8a774a1: Remove audio port node
  ASoC: rsnd: Document r8a774b1 bindings
  arm64: dts: renesas: r8a774b1: Add Sound and Audio DMAC device nodes

Fabrizio Castro (12):
  dt-bindings: can: rcar_can: document r8a774b1 support
  dt-bindings: can: rcar_canfd: document r8a774b1 support
  arm64: dts: renesas: r8a774b1: Add CAN and CAN FD support
  dt-bindings: rcar-gen3-phy-usb2: Add r8a774b1 support
  dt-bindings: dmaengine: usb-dmac: Add binding for r8a774b1
  dt-bindings: usb: renesas_usbhs: Add r8a774b1 support
  dt-bindings: rcar-gen3-phy-usb3: Add r8a774b1 support
  dt-bindings: usb-xhci: Add r8a774b1 support
  dt-bindings: usb: renesas_usb3: Document r8a774b1 support
  arm64: dts: renesas: r8a774b1: Add USB2.0 phy and host (EHCI/OHCI)
    device nodes
  arm64: dts: renesas: r8a774b1: Add USB-DMAC and HSUSB device nodes
  arm64: dts: renesas: r8a774b1: Add USB3.0 device nodes

Simon Horman (2):
  dt-bindings: usb: renesas_usbhs: Rename bindings documentation file
  dt-bindings: usb: renesas_gen3: Rename bindings documentation file to
    reflect IP block

 .../devicetree/bindings/dma/renesas,usb-dmac.txt   |   1 +
 .../bindings/iommu/renesas,ipmmu-vmsa.txt          |   1 +
 .../devicetree/bindings/net/can/rcar_can.txt       |   3 +-
 .../devicetree/bindings/net/can/rcar_canfd.txt     |   7 +-
 .../devicetree/bindings/phy/rcar-gen3-phy-usb2.txt |   2 +
 .../devicetree/bindings/phy/rcar-gen3-phy-usb3.txt |   2 +
 .../devicetree/bindings/sound/renesas,rsnd.txt     |   1 +
 .../devicetree/bindings/usb/renesas,usb3-peri.txt  |  41 +
 .../devicetree/bindings/usb/renesas,usbhs.txt      |  53 ++
 .../devicetree/bindings/usb/renesas_usb3.txt       |  40 -
 .../devicetree/bindings/usb/renesas_usbhs.txt      |  52 --
 Documentation/devicetree/bindings/usb/usb-xhci.txt |   1 +
 arch/arm64/boot/dts/renesas/hihope-common.dtsi     |  28 +-
 arch/arm64/boot/dts/renesas/hihope-rzg2-ex.dtsi    |  49 ++
 .../boot/dts/renesas/r8a774a1-hihope-rzg2m.dts     |  11 +
 .../boot/dts/renesas/r8a774b1-hihope-rzg2n.dts     |  11 +
 arch/arm64/boot/dts/renesas/r8a774b1.dtsi          | 959 ++++++++++++++++++++-
 .../renesas/rzg2-advantech-idk-1110wr-panel.dtsi   |  41 +
 drivers/gpu/drm/rcar-du/rcar_du_drv.c              |  30 +
 drivers/gpu/drm/rcar-du/rcar_lvds.c                |   1 +
 drivers/iommu/ipmmu-vmsa.c                         |   5 +
 21 files changed, 1201 insertions(+), 138 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/usb/renesas,usb3-peri.txt
 create mode 100644 Documentation/devicetree/bindings/usb/renesas,usbhs.txt
 delete mode 100644 Documentation/devicetree/bindings/usb/renesas_usb3.txt
 delete mode 100644 Documentation/devicetree/bindings/usb/renesas_usbhs.txt
 create mode 100644 arch/arm64/boot/dts/renesas/rzg2-advantech-idk-1110wr-panel.dtsi

-- 
2.7.4

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

* [cip-dev] [PATCH 4.19.y-cip 01/35] dt-bindings: can: rcar_can: document r8a774b1 support
  2020-02-05 20:38 [cip-dev] [PATCH 4.19.y-cip 00/35] Renesas RZ/G2 extend peripheral support Lad Prabhakar
@ 2020-02-05 20:38 ` Lad Prabhakar
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 02/35] dt-bindings: can: rcar_canfd: " Lad Prabhakar
                   ` (35 subsequent siblings)
  36 siblings, 0 replies; 46+ messages in thread
From: Lad Prabhakar @ 2020-02-05 20:38 UTC (permalink / raw)
  To: cip-dev

From: Fabrizio Castro <fabrizio.castro@bp.renesas.com>

commit b32bfbc98a747e82d30cc8fd6e4b173a48c01530 upstream.

Document RZ/G2N (r8a774b1) SoC specific bindings.

Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Acked-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/1570717560-7431-2-git-send-email-fabrizio.castro at bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
 Documentation/devicetree/bindings/net/can/rcar_can.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/net/can/rcar_can.txt b/Documentation/devicetree/bindings/net/can/rcar_can.txt
index aede950..b22bec8 100644
--- a/Documentation/devicetree/bindings/net/can/rcar_can.txt
+++ b/Documentation/devicetree/bindings/net/can/rcar_can.txt
@@ -5,6 +5,7 @@ Required properties:
 - compatible: "renesas,can-r8a7743" if CAN controller is a part of R8A7743 SoC.
 	      "renesas,can-r8a7745" if CAN controller is a part of R8A7745 SoC.
 	      "renesas,can-r8a774a1" if CAN controller is a part of R8A774A1 SoC.
+	      "renesas,can-r8a774b1" if CAN controller is a part of R8A774B1 SoC.
 	      "renesas,can-r8a774c0" if CAN controller is a part of R8A774C0 SoC.
 	      "renesas,can-r8a7778" if CAN controller is a part of R8A7778 SoC.
 	      "renesas,can-r8a7779" if CAN controller is a part of R8A7779 SoC.
@@ -31,7 +32,7 @@ Required properties:
 - pinctrl-0: pin control group to be used for this controller.
 - pinctrl-names: must be "default".
 
-Required properties for R8A774A1, R8A774C0, R8A7795, and R8A7796:
+Required properties for R8A774A1, R8A774B1, R8A774C0, R8A7795, and R8A7796:
 For the denoted SoCs, "clkp2" can be CANFD clock. This is a div6 clock and can
 be used by both CAN and CAN FD controller at the same time. It needs to be
 scaled to maximum frequency if any of these controllers use it. This is done
-- 
2.7.4

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

* [cip-dev] [PATCH 4.19.y-cip 02/35] dt-bindings: can: rcar_canfd: document r8a774b1 support
  2020-02-05 20:38 [cip-dev] [PATCH 4.19.y-cip 00/35] Renesas RZ/G2 extend peripheral support Lad Prabhakar
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 01/35] dt-bindings: can: rcar_can: document r8a774b1 support Lad Prabhakar
@ 2020-02-05 20:38 ` Lad Prabhakar
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 03/35] arm64: dts: renesas: r8a774b1: Add CAN and CAN FD support Lad Prabhakar
                   ` (34 subsequent siblings)
  36 siblings, 0 replies; 46+ messages in thread
From: Lad Prabhakar @ 2020-02-05 20:38 UTC (permalink / raw)
  To: cip-dev

From: Fabrizio Castro <fabrizio.castro@bp.renesas.com>

commit 837b7deb364c3cf927f922d88b6131c8a4f81d0e upstream.

Document the support for rcar_canfd on R8A774B1 SoC devices.

Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Acked-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/1570717560-7431-3-git-send-email-fabrizio.castro at bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
 Documentation/devicetree/bindings/net/can/rcar_canfd.txt | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/Documentation/devicetree/bindings/net/can/rcar_canfd.txt b/Documentation/devicetree/bindings/net/can/rcar_canfd.txt
index fecd6db..769f01b 100644
--- a/Documentation/devicetree/bindings/net/can/rcar_canfd.txt
+++ b/Documentation/devicetree/bindings/net/can/rcar_canfd.txt
@@ -5,6 +5,7 @@ Required properties:
 - compatible: Must contain one or more of the following:
   - "renesas,rcar-gen3-canfd" for R-Car Gen3 and RZ/G2 compatible controllers.
   - "renesas,r8a774a1-canfd" for R8A774A1 (RZ/G2M) compatible controller.
+  - "renesas,r8a774b1-canfd" for R8A774B1 (RZ/G2N) compatible controller.
   - "renesas,r8a774c0-canfd" for R8A774C0 (RZ/G2E) compatible controller.
   - "renesas,r8a7795-canfd" for R8A7795 (R-Car H3) compatible controller.
   - "renesas,r8a7796-canfd" for R8A7796 (R-Car M3-W) compatible controller.
@@ -30,9 +31,9 @@ enable/disable the respective channel.
 
 Required properties for "renesas,r8a774c0-canfd", "renesas,r8a7795-canfd" and
 "renesas,r8a7796-canfd" compatible:
-In R8A774A1, R8A774C0, R8A7795 and R8A7796 SoCs, canfd clock is a div6 clock
-and can beused by both CAN and CAN FD controller at the same time. It needs
-to be scaled to maximum frequency if any of these controllers use it. This
+In R8A774A1, R8A774B1, R8A774C0, R8A7795 and R8A7796 SoCs, canfd clock is a div6
+clock and can beused by both CAN and CAN FD controller at the same time. It
+needs to be scaled to maximum frequency if any of these controllers use it. This
 is done using the below properties:
 
 - assigned-clocks: phandle of canfd clock.
-- 
2.7.4

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

* [cip-dev] [PATCH 4.19.y-cip 03/35] arm64: dts: renesas: r8a774b1: Add CAN and CAN FD support
  2020-02-05 20:38 [cip-dev] [PATCH 4.19.y-cip 00/35] Renesas RZ/G2 extend peripheral support Lad Prabhakar
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 01/35] dt-bindings: can: rcar_can: document r8a774b1 support Lad Prabhakar
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 02/35] dt-bindings: can: rcar_canfd: " Lad Prabhakar
@ 2020-02-05 20:38 ` Lad Prabhakar
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 04/35] dt-bindings: iommu: ipmmu-vmsa: Add r8a774b1 support Lad Prabhakar
                   ` (33 subsequent siblings)
  36 siblings, 0 replies; 46+ messages in thread
From: Lad Prabhakar @ 2020-02-05 20:38 UTC (permalink / raw)
  To: cip-dev

From: Fabrizio Castro <fabrizio.castro@bp.renesas.com>

commit 3fa08cbb0662acc6cbd1a481956570a52dba8875 upstream.

Add CAN and CAN FD support to the RZ/G2N SoC specific dtsi.

Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Link: https://lore.kernel.org/r/1570717560-7431-4-git-send-email-fabrizio.castro at bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
 arch/arm64/boot/dts/renesas/r8a774b1.dtsi | 48 +++++++++++++++++++++++++++++--
 1 file changed, 45 insertions(+), 3 deletions(-)

diff --git a/arch/arm64/boot/dts/renesas/r8a774b1.dtsi b/arch/arm64/boot/dts/renesas/r8a774b1.dtsi
index 65d39ae..a8ed475 100644
--- a/arch/arm64/boot/dts/renesas/r8a774b1.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a774b1.dtsi
@@ -849,18 +849,60 @@
 		};
 
 		can0: can at e6c30000 {
+			compatible = "renesas,can-r8a774b1",
+				     "renesas,rcar-gen3-can";
 			reg = <0 0xe6c30000 0 0x1000>;
-			/* placeholder */
+			interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 916>,
+				 <&cpg CPG_CORE R8A774B1_CLK_CANFD>,
+				 <&can_clk>;
+			clock-names = "clkp1", "clkp2", "can_clk";
+			assigned-clocks = <&cpg CPG_CORE R8A774B1_CLK_CANFD>;
+			assigned-clock-rates = <40000000>;
+			power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
+			resets = <&cpg 916>;
+			status = "disabled";
 		};
 
 		can1: can at e6c38000 {
+			compatible = "renesas,can-r8a774b1",
+				     "renesas,rcar-gen3-can";
 			reg = <0 0xe6c38000 0 0x1000>;
-			/* placeholder */
+			interrupts = <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 915>,
+				 <&cpg CPG_CORE R8A774B1_CLK_CANFD>,
+				 <&can_clk>;
+			clock-names = "clkp1", "clkp2", "can_clk";
+			assigned-clocks = <&cpg CPG_CORE R8A774B1_CLK_CANFD>;
+			assigned-clock-rates = <40000000>;
+			power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
+			resets = <&cpg 915>;
+			status = "disabled";
 		};
 
 		canfd: can at e66c0000 {
+			compatible = "renesas,r8a774b1-canfd",
+				     "renesas,rcar-gen3-canfd";
 			reg = <0 0xe66c0000 0 0x8000>;
-			/* placeholder */
+			interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>,
+				   <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 914>,
+				 <&cpg CPG_CORE R8A774B1_CLK_CANFD>,
+				 <&can_clk>;
+			clock-names = "fck", "canfd", "can_clk";
+			assigned-clocks = <&cpg CPG_CORE R8A774B1_CLK_CANFD>;
+			assigned-clock-rates = <40000000>;
+			power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
+			resets = <&cpg 914>;
+			status = "disabled";
+
+			channel0 {
+				status = "disabled";
+			};
+
+			channel1 {
+				status = "disabled";
+			};
 		};
 
 		scif0: serial at e6e60000 {
-- 
2.7.4

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

* [cip-dev] [PATCH 4.19.y-cip 04/35] dt-bindings: iommu: ipmmu-vmsa: Add r8a774b1 support
  2020-02-05 20:38 [cip-dev] [PATCH 4.19.y-cip 00/35] Renesas RZ/G2 extend peripheral support Lad Prabhakar
                   ` (2 preceding siblings ...)
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 03/35] arm64: dts: renesas: r8a774b1: Add CAN and CAN FD support Lad Prabhakar
@ 2020-02-05 20:38 ` Lad Prabhakar
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 05/35] iommu/ipmmu-vmsa: Hook up r8a774b1 DT matching code Lad Prabhakar
                   ` (32 subsequent siblings)
  36 siblings, 0 replies; 46+ messages in thread
From: Lad Prabhakar @ 2020-02-05 20:38 UTC (permalink / raw)
  To: cip-dev

From: Biju Das <biju.das@bp.renesas.com>

commit d0635ebf85aa2cbc17a5b83eaa65f20fa71bf388 upstream.

Document RZ/G2N (R8A774B1) SoC bindings.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
 Documentation/devicetree/bindings/iommu/renesas,ipmmu-vmsa.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/iommu/renesas,ipmmu-vmsa.txt b/Documentation/devicetree/bindings/iommu/renesas,ipmmu-vmsa.txt
index 7b2cf8d..56faf8d 100644
--- a/Documentation/devicetree/bindings/iommu/renesas,ipmmu-vmsa.txt
+++ b/Documentation/devicetree/bindings/iommu/renesas,ipmmu-vmsa.txt
@@ -14,6 +14,7 @@ Required Properties:
     - "renesas,ipmmu-r8a7743" for the R8A7743 (RZ/G1M) IPMMU.
     - "renesas,ipmmu-r8a7745" for the R8A7745 (RZ/G1E) IPMMU.
     - "renesas,ipmmu-r8a774a1" for the R8A774A1 (RZ/G2M) IPMMU.
+    - "renesas,ipmmu-r8a774b1" for the R8A774B1 (RZ/G2N) IPMMU.
     - "renesas,ipmmu-r8a774c0" for the R8A774C0 (RZ/G2E) IPMMU.
     - "renesas,ipmmu-r8a7790" for the R8A7790 (R-Car H2) IPMMU.
     - "renesas,ipmmu-r8a7791" for the R8A7791 (R-Car M2-W) IPMMU.
-- 
2.7.4

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

* [cip-dev] [PATCH 4.19.y-cip 05/35] iommu/ipmmu-vmsa: Hook up r8a774b1 DT matching code
  2020-02-05 20:38 [cip-dev] [PATCH 4.19.y-cip 00/35] Renesas RZ/G2 extend peripheral support Lad Prabhakar
                   ` (3 preceding siblings ...)
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 04/35] dt-bindings: iommu: ipmmu-vmsa: Add r8a774b1 support Lad Prabhakar
@ 2020-02-05 20:38 ` Lad Prabhakar
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 06/35] arm64: dts: renesas: r8a774b1: Add IPMMU device nodes Lad Prabhakar
                   ` (31 subsequent siblings)
  36 siblings, 0 replies; 46+ messages in thread
From: Lad Prabhakar @ 2020-02-05 20:38 UTC (permalink / raw)
  To: cip-dev

From: Biju Das <biju.das@bp.renesas.com>

commit 757f26a3a9ec2c072fdd1b14ec93daf1e4cfed8c upstream.

Support RZ/G2N (R8A774B1) IPMMU.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
 drivers/iommu/ipmmu-vmsa.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/iommu/ipmmu-vmsa.c b/drivers/iommu/ipmmu-vmsa.c
index 6797ddc..ea4d19d 100644
--- a/drivers/iommu/ipmmu-vmsa.c
+++ b/drivers/iommu/ipmmu-vmsa.c
@@ -759,6 +759,7 @@ static int ipmmu_init_platform_device(struct device *dev,
 
 static const struct soc_device_attribute soc_rcar_gen3[] = {
 	{ .soc_id = "r8a774a1", },
+	{ .soc_id = "r8a774b1", },
 	{ .soc_id = "r8a774c0", },
 	{ .soc_id = "r8a7795", },
 	{ .soc_id = "r8a7796", },
@@ -769,6 +770,7 @@ static const struct soc_device_attribute soc_rcar_gen3[] = {
 };
 
 static const struct soc_device_attribute soc_rcar_gen3_whitelist[] = {
+	{ .soc_id = "r8a774b1", },
 	{ .soc_id = "r8a774c0", },
 	{ .soc_id = "r8a7795", .revision = "ES3.*" },
 	{ .soc_id = "r8a77965", },
@@ -968,6 +970,9 @@ static const struct of_device_id ipmmu_of_ids[] = {
 		.compatible = "renesas,ipmmu-r8a774a1",
 		.data = &ipmmu_features_rcar_gen3,
 	}, {
+		.compatible = "renesas,ipmmu-r8a774b1",
+		.data = &ipmmu_features_rcar_gen3,
+	}, {
 		.compatible = "renesas,ipmmu-r8a774c0",
 		.data = &ipmmu_features_rcar_gen3,
 	}, {
-- 
2.7.4

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

* [cip-dev] [PATCH 4.19.y-cip 06/35] arm64: dts: renesas: r8a774b1: Add IPMMU device nodes
  2020-02-05 20:38 [cip-dev] [PATCH 4.19.y-cip 00/35] Renesas RZ/G2 extend peripheral support Lad Prabhakar
                   ` (4 preceding siblings ...)
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 05/35] iommu/ipmmu-vmsa: Hook up r8a774b1 DT matching code Lad Prabhakar
@ 2020-02-05 20:38 ` Lad Prabhakar
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 07/35] arm64: dts: renesas: r8a774b1: Add FCPF and FCPV instances Lad Prabhakar
                   ` (30 subsequent siblings)
  36 siblings, 0 replies; 46+ messages in thread
From: Lad Prabhakar @ 2020-02-05 20:38 UTC (permalink / raw)
  To: cip-dev

From: Biju Das <biju.das@bp.renesas.com>

commit 63093a8e58be0723f62fa11dd85cd751e062f99c upstream.

Add RZ/G2N (R8A774B1) IPMMU nodes.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Link: https://lore.kernel.org/r/1569313375-53428-4-git-send-email-biju.das at bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
 arch/arm64/boot/dts/renesas/r8a774b1.dtsi | 73 +++++++++++++++++++++++++++++++
 1 file changed, 73 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a774b1.dtsi b/arch/arm64/boot/dts/renesas/r8a774b1.dtsi
index a8ed475..2e02d4f 100644
--- a/arch/arm64/boot/dts/renesas/r8a774b1.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a774b1.dtsi
@@ -803,6 +803,79 @@
 			dma-channels = <16>;
 		};
 
+		ipmmu_ds0: mmu at e6740000 {
+			compatible = "renesas,ipmmu-r8a774b1";
+			reg = <0 0xe6740000 0 0x1000>;
+			renesas,ipmmu-main = <&ipmmu_mm 0>;
+			power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
+			#iommu-cells = <1>;
+		};
+
+		ipmmu_ds1: mmu at e7740000 {
+			compatible = "renesas,ipmmu-r8a774b1";
+			reg = <0 0xe7740000 0 0x1000>;
+			renesas,ipmmu-main = <&ipmmu_mm 1>;
+			power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
+			#iommu-cells = <1>;
+		};
+
+		ipmmu_hc: mmu at e6570000 {
+			compatible = "renesas,ipmmu-r8a774b1";
+			reg = <0 0xe6570000 0 0x1000>;
+			renesas,ipmmu-main = <&ipmmu_mm 2>;
+			power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
+			#iommu-cells = <1>;
+		};
+
+		ipmmu_mm: mmu at e67b0000 {
+			compatible = "renesas,ipmmu-r8a774b1";
+			reg = <0 0xe67b0000 0 0x1000>;
+			interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;
+			power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
+			#iommu-cells = <1>;
+		};
+
+		ipmmu_mp: mmu at ec670000 {
+			compatible = "renesas,ipmmu-r8a774b1";
+			reg = <0 0xec670000 0 0x1000>;
+			renesas,ipmmu-main = <&ipmmu_mm 4>;
+			power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
+			#iommu-cells = <1>;
+		};
+
+		ipmmu_pv0: mmu at fd800000 {
+			compatible = "renesas,ipmmu-r8a774b1";
+			reg = <0 0xfd800000 0 0x1000>;
+			renesas,ipmmu-main = <&ipmmu_mm 6>;
+			power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
+			#iommu-cells = <1>;
+		};
+
+		ipmmu_vc0: mmu at fe6b0000 {
+			compatible = "renesas,ipmmu-r8a774b1";
+			reg = <0 0xfe6b0000 0 0x1000>;
+			renesas,ipmmu-main = <&ipmmu_mm 12>;
+			power-domains = <&sysc R8A774B1_PD_A3VC>;
+			#iommu-cells = <1>;
+		};
+
+		ipmmu_vi0: mmu at febd0000 {
+			compatible = "renesas,ipmmu-r8a774b1";
+			reg = <0 0xfebd0000 0 0x1000>;
+			renesas,ipmmu-main = <&ipmmu_mm 14>;
+			power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
+			#iommu-cells = <1>;
+		};
+
+		ipmmu_vp0: mmu at fe990000 {
+			compatible = "renesas,ipmmu-r8a774b1";
+			reg = <0 0xfe990000 0 0x1000>;
+			renesas,ipmmu-main = <&ipmmu_mm 16>;
+			power-domains = <&sysc R8A774B1_PD_A3VP>;
+			#iommu-cells = <1>;
+		};
+
 		avb: ethernet at e6800000 {
 			compatible = "renesas,etheravb-r8a774b1",
 				     "renesas,etheravb-rcar-gen3";
-- 
2.7.4

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

* [cip-dev] [PATCH 4.19.y-cip 07/35] arm64: dts: renesas: r8a774b1: Add FCPF and FCPV instances
  2020-02-05 20:38 [cip-dev] [PATCH 4.19.y-cip 00/35] Renesas RZ/G2 extend peripheral support Lad Prabhakar
                   ` (5 preceding siblings ...)
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 06/35] arm64: dts: renesas: r8a774b1: Add IPMMU device nodes Lad Prabhakar
@ 2020-02-05 20:38 ` Lad Prabhakar
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 08/35] arm64: dts: renesas: r8a774b1: Add VSP instances Lad Prabhakar
                   ` (29 subsequent siblings)
  36 siblings, 0 replies; 46+ messages in thread
From: Lad Prabhakar @ 2020-02-05 20:38 UTC (permalink / raw)
  To: cip-dev

From: Biju Das <biju.das@bp.renesas.com>

commit 955ceb563c7998ee82eca70b4aeffc98aaf4f703 upstream.

Add FCPF and FCPV instances to the r8a774b1 dtsi.

Based on the work done for r8a77965 SoC.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Link: https://lore.kernel.org/r/1569313375-53428-5-git-send-email-biju.das at bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
 arch/arm64/boot/dts/renesas/r8a774b1.dtsi | 40 +++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a774b1.dtsi b/arch/arm64/boot/dts/renesas/r8a774b1.dtsi
index 2e02d4f..efaea16 100644
--- a/arch/arm64/boot/dts/renesas/r8a774b1.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a774b1.dtsi
@@ -1320,6 +1320,46 @@
 			status = "disabled";
 		};
 
+		fcpf0: fcp at fe950000 {
+			compatible = "renesas,fcpf";
+			reg = <0 0xfe950000 0 0x200>;
+			clocks = <&cpg CPG_MOD 615>;
+			power-domains = <&sysc R8A774B1_PD_A3VP>;
+			resets = <&cpg 615>;
+		};
+
+		fcpvb0: fcp at fe96f000 {
+			compatible = "renesas,fcpv";
+			reg = <0 0xfe96f000 0 0x200>;
+			clocks = <&cpg CPG_MOD 607>;
+			power-domains = <&sysc R8A774B1_PD_A3VP>;
+			resets = <&cpg 607>;
+		};
+
+		fcpvd0: fcp at fea27000 {
+			compatible = "renesas,fcpv";
+			reg = <0 0xfea27000 0 0x200>;
+			clocks = <&cpg CPG_MOD 603>;
+			power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
+			resets = <&cpg 603>;
+		};
+
+		fcpvd1: fcp at fea2f000 {
+			compatible = "renesas,fcpv";
+			reg = <0 0xfea2f000 0 0x200>;
+			clocks = <&cpg CPG_MOD 602>;
+			power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
+			resets = <&cpg 602>;
+		};
+
+		fcpvi0: fcp at fe9af000 {
+			compatible = "renesas,fcpv";
+			reg = <0 0xfe9af000 0 0x200>;
+			clocks = <&cpg CPG_MOD 611>;
+			power-domains = <&sysc R8A774B1_PD_A3VP>;
+			resets = <&cpg 611>;
+		};
+
 		hdmi0: hdmi at fead0000 {
 			reg = <0 0xfead0000 0 0x10000>;
 
-- 
2.7.4

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

* [cip-dev] [PATCH 4.19.y-cip 08/35] arm64: dts: renesas: r8a774b1: Add VSP instances
  2020-02-05 20:38 [cip-dev] [PATCH 4.19.y-cip 00/35] Renesas RZ/G2 extend peripheral support Lad Prabhakar
                   ` (6 preceding siblings ...)
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 07/35] arm64: dts: renesas: r8a774b1: Add FCPF and FCPV instances Lad Prabhakar
@ 2020-02-05 20:38 ` Lad Prabhakar
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 09/35] arm64: dts: renesas: r8a774b1: Tie SYS-DMAC to IPMMU-DS0/1 Lad Prabhakar
                   ` (28 subsequent siblings)
  36 siblings, 0 replies; 46+ messages in thread
From: Lad Prabhakar @ 2020-02-05 20:38 UTC (permalink / raw)
  To: cip-dev

From: Biju Das <biju.das@bp.renesas.com>

commit 966607b847142dc9866a59af9e657f09b5fdef0f upstream.

The r8a774b1 has 4 VSP instances.

Based on the work done for r8a77965 SoC.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Link: https://lore.kernel.org/r/1569313375-53428-6-git-send-email-biju.das at bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
 arch/arm64/boot/dts/renesas/r8a774b1.dtsi | 44 +++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a774b1.dtsi b/arch/arm64/boot/dts/renesas/r8a774b1.dtsi
index efaea16..138ddb8 100644
--- a/arch/arm64/boot/dts/renesas/r8a774b1.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a774b1.dtsi
@@ -1328,6 +1328,50 @@
 			resets = <&cpg 615>;
 		};
 
+		vspb: vsp at fe960000 {
+			compatible = "renesas,vsp2";
+			reg = <0 0xfe960000 0 0x8000>;
+			interrupts = <GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 626>;
+			power-domains = <&sysc R8A774B1_PD_A3VP>;
+			resets = <&cpg 626>;
+
+			renesas,fcp = <&fcpvb0>;
+		};
+
+		vspi0: vsp at fe9a0000 {
+			compatible = "renesas,vsp2";
+			reg = <0 0xfe9a0000 0 0x8000>;
+			interrupts = <GIC_SPI 444 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 631>;
+			power-domains = <&sysc R8A774B1_PD_A3VP>;
+			resets = <&cpg 631>;
+
+			renesas,fcp = <&fcpvi0>;
+		};
+
+		vspd0: vsp at fea20000 {
+			compatible = "renesas,vsp2";
+			reg = <0 0xfea20000 0 0x5000>;
+			interrupts = <GIC_SPI 466 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 623>;
+			power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
+			resets = <&cpg 623>;
+
+			renesas,fcp = <&fcpvd0>;
+		};
+
+		vspd1: vsp at fea28000 {
+			compatible = "renesas,vsp2";
+			reg = <0 0xfea28000 0 0x5000>;
+			interrupts = <GIC_SPI 467 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 622>;
+			power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
+			resets = <&cpg 622>;
+
+			renesas,fcp = <&fcpvd1>;
+		};
+
 		fcpvb0: fcp at fe96f000 {
 			compatible = "renesas,fcpv";
 			reg = <0 0xfe96f000 0 0x200>;
-- 
2.7.4

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

* [cip-dev] [PATCH 4.19.y-cip 09/35] arm64: dts: renesas: r8a774b1: Tie SYS-DMAC to IPMMU-DS0/1
  2020-02-05 20:38 [cip-dev] [PATCH 4.19.y-cip 00/35] Renesas RZ/G2 extend peripheral support Lad Prabhakar
                   ` (7 preceding siblings ...)
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 08/35] arm64: dts: renesas: r8a774b1: Add VSP instances Lad Prabhakar
@ 2020-02-05 20:38 ` Lad Prabhakar
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 10/35] arm64: dts: renesas: r8a774b1: Connect Ethernet-AVB to IPMMU-DS0 Lad Prabhakar
                   ` (27 subsequent siblings)
  36 siblings, 0 replies; 46+ messages in thread
From: Lad Prabhakar @ 2020-02-05 20:38 UTC (permalink / raw)
  To: cip-dev

From: Biju Das <biju.das@bp.renesas.com>

commit c65588936f4957bfca291093958bd33882c33d07 upstream.

Hook up r8a774b1 DMAC nodes to the IPMMUs. In particular SYS-DMAC0
gets tied to IPMMU-DS0, and SYS-DMAC1 and SYS-DMAC2 get tied to IPMMU-DS1.

Based on work for the r8a7796 by Magnus Damm.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Link: https://lore.kernel.org/r/1569313375-53428-7-git-send-email-biju.das at bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
 arch/arm64/boot/dts/renesas/r8a774b1.dtsi | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a774b1.dtsi b/arch/arm64/boot/dts/renesas/r8a774b1.dtsi
index 138ddb8..e562e89 100644
--- a/arch/arm64/boot/dts/renesas/r8a774b1.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a774b1.dtsi
@@ -733,6 +733,14 @@
 			resets = <&cpg 219>;
 			#dma-cells = <1>;
 			dma-channels = <16>;
+			iommus = <&ipmmu_ds0 0>, <&ipmmu_ds0 1>,
+			       <&ipmmu_ds0 2>, <&ipmmu_ds0 3>,
+			       <&ipmmu_ds0 4>, <&ipmmu_ds0 5>,
+			       <&ipmmu_ds0 6>, <&ipmmu_ds0 7>,
+			       <&ipmmu_ds0 8>, <&ipmmu_ds0 9>,
+			       <&ipmmu_ds0 10>, <&ipmmu_ds0 11>,
+			       <&ipmmu_ds0 12>, <&ipmmu_ds0 13>,
+			       <&ipmmu_ds0 14>, <&ipmmu_ds0 15>;
 		};
 
 		dmac1: dma-controller at e7300000 {
@@ -767,6 +775,14 @@
 			resets = <&cpg 218>;
 			#dma-cells = <1>;
 			dma-channels = <16>;
+			iommus = <&ipmmu_ds1 0>, <&ipmmu_ds1 1>,
+			       <&ipmmu_ds1 2>, <&ipmmu_ds1 3>,
+			       <&ipmmu_ds1 4>, <&ipmmu_ds1 5>,
+			       <&ipmmu_ds1 6>, <&ipmmu_ds1 7>,
+			       <&ipmmu_ds1 8>, <&ipmmu_ds1 9>,
+			       <&ipmmu_ds1 10>, <&ipmmu_ds1 11>,
+			       <&ipmmu_ds1 12>, <&ipmmu_ds1 13>,
+			       <&ipmmu_ds1 14>, <&ipmmu_ds1 15>;
 		};
 
 		dmac2: dma-controller at e7310000 {
@@ -801,6 +817,14 @@
 			resets = <&cpg 217>;
 			#dma-cells = <1>;
 			dma-channels = <16>;
+			iommus = <&ipmmu_ds1 16>, <&ipmmu_ds1 17>,
+			       <&ipmmu_ds1 18>, <&ipmmu_ds1 19>,
+			       <&ipmmu_ds1 20>, <&ipmmu_ds1 21>,
+			       <&ipmmu_ds1 22>, <&ipmmu_ds1 23>,
+			       <&ipmmu_ds1 24>, <&ipmmu_ds1 25>,
+			       <&ipmmu_ds1 26>, <&ipmmu_ds1 27>,
+			       <&ipmmu_ds1 28>, <&ipmmu_ds1 29>,
+			       <&ipmmu_ds1 30>, <&ipmmu_ds1 31>;
 		};
 
 		ipmmu_ds0: mmu at e6740000 {
-- 
2.7.4

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

* [cip-dev] [PATCH 4.19.y-cip 10/35] arm64: dts: renesas: r8a774b1: Connect Ethernet-AVB to IPMMU-DS0
  2020-02-05 20:38 [cip-dev] [PATCH 4.19.y-cip 00/35] Renesas RZ/G2 extend peripheral support Lad Prabhakar
                   ` (8 preceding siblings ...)
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 09/35] arm64: dts: renesas: r8a774b1: Tie SYS-DMAC to IPMMU-DS0/1 Lad Prabhakar
@ 2020-02-05 20:38 ` Lad Prabhakar
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 11/35] arm64: dts: renesas: hihope-common: Move du clk properties out of common dtsi Lad Prabhakar
                   ` (26 subsequent siblings)
  36 siblings, 0 replies; 46+ messages in thread
From: Lad Prabhakar @ 2020-02-05 20:38 UTC (permalink / raw)
  To: cip-dev

From: Biju Das <biju.das@bp.renesas.com>

commit 79718f9d5471783c3ea8468587e85729c85c11b3 upstream.

Add IPMMU-DS0 to the Ethernet-AVB device node.

Based on work by Magnus Damm for the r8a7795.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Link: https://lore.kernel.org/r/1569313375-53428-8-git-send-email-biju.das at bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
 arch/arm64/boot/dts/renesas/r8a774b1.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a774b1.dtsi b/arch/arm64/boot/dts/renesas/r8a774b1.dtsi
index e562e89..7ad4a95 100644
--- a/arch/arm64/boot/dts/renesas/r8a774b1.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a774b1.dtsi
@@ -940,6 +940,7 @@
 			power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
 			resets = <&cpg 812>;
 			phy-mode = "rgmii";
+			iommus = <&ipmmu_ds0 16>;
 			#address-cells = <1>;
 			#size-cells = <0>;
 			status = "disabled";
-- 
2.7.4

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

* [cip-dev] [PATCH 4.19.y-cip 11/35] arm64: dts: renesas: hihope-common: Move du clk properties out of common dtsi
  2020-02-05 20:38 [cip-dev] [PATCH 4.19.y-cip 00/35] Renesas RZ/G2 extend peripheral support Lad Prabhakar
                   ` (9 preceding siblings ...)
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 10/35] arm64: dts: renesas: r8a774b1: Connect Ethernet-AVB to IPMMU-DS0 Lad Prabhakar
@ 2020-02-05 20:38 ` Lad Prabhakar
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 12/35] drm: rcar-du: Add R8A774B1 support Lad Prabhakar
                   ` (25 subsequent siblings)
  36 siblings, 0 replies; 46+ messages in thread
From: Lad Prabhakar @ 2020-02-05 20:38 UTC (permalink / raw)
  To: cip-dev

From: Biju Das <biju.das@bp.renesas.com>

commit fbdcdb9c86218a917174892aa7e9aac7cc498ca1 upstream.

RZ/G2N board is pin compatible with RZ/G2M board. However on the SoC
side RZ/G2N uses DU3 where as RZ/G2M uses DU2 for the DPAD. In order to
reuse the common dtsi for both the boards, it is required to move du clock
properties from common dtsi to board specific dts.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://lore.kernel.org/r/1570029619-43238-2-git-send-email-biju.das at bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
 arch/arm64/boot/dts/renesas/hihope-common.dtsi        |  8 --------
 arch/arm64/boot/dts/renesas/r8a774a1-hihope-rzg2m.dts | 11 +++++++++++
 2 files changed, 11 insertions(+), 8 deletions(-)

diff --git a/arch/arm64/boot/dts/renesas/hihope-common.dtsi b/arch/arm64/boot/dts/renesas/hihope-common.dtsi
index 3e376d2..355d0a2 100644
--- a/arch/arm64/boot/dts/renesas/hihope-common.dtsi
+++ b/arch/arm64/boot/dts/renesas/hihope-common.dtsi
@@ -142,14 +142,6 @@
 };
 
 &du {
-	clocks = <&cpg CPG_MOD 724>,
-		 <&cpg CPG_MOD 723>,
-		 <&cpg CPG_MOD 722>,
-		 <&versaclock5 1>,
-		 <&x302_clk>,
-		 <&versaclock5 2>;
-	clock-names = "du.0", "du.1", "du.2",
-		      "dclkin.0", "dclkin.1", "dclkin.2";
 	status = "okay";
 };
 
diff --git a/arch/arm64/boot/dts/renesas/r8a774a1-hihope-rzg2m.dts b/arch/arm64/boot/dts/renesas/r8a774a1-hihope-rzg2m.dts
index 93ca973..96f2fb0 100644
--- a/arch/arm64/boot/dts/renesas/r8a774a1-hihope-rzg2m.dts
+++ b/arch/arm64/boot/dts/renesas/r8a774a1-hihope-rzg2m.dts
@@ -24,3 +24,14 @@
 		reg = <0x6 0x00000000 0x0 0x80000000>;
 	};
 };
+
+&du {
+	clocks = <&cpg CPG_MOD 724>,
+		 <&cpg CPG_MOD 723>,
+		 <&cpg CPG_MOD 722>,
+		 <&versaclock5 1>,
+		 <&x302_clk>,
+		 <&versaclock5 2>;
+	clock-names = "du.0", "du.1", "du.2",
+		      "dclkin.0", "dclkin.1", "dclkin.2";
+};
-- 
2.7.4

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

* [cip-dev] [PATCH 4.19.y-cip 12/35] drm: rcar-du: Add R8A774B1 support
  2020-02-05 20:38 [cip-dev] [PATCH 4.19.y-cip 00/35] Renesas RZ/G2 extend peripheral support Lad Prabhakar
                   ` (10 preceding siblings ...)
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 11/35] arm64: dts: renesas: hihope-common: Move du clk properties out of common dtsi Lad Prabhakar
@ 2020-02-05 20:38 ` Lad Prabhakar
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 13/35] arm64: dts: renesas: r8a774b1: Add DU device to DT Lad Prabhakar
                   ` (24 subsequent siblings)
  36 siblings, 0 replies; 46+ messages in thread
From: Lad Prabhakar @ 2020-02-05 20:38 UTC (permalink / raw)
  To: cip-dev

From: Biju Das <biju.das@bp.renesas.com>

commit 47968ea96af335b56a0db6c305146e720363558c upstream.

Add support for the R8A774B1 DU (which is very similar to the R8A77965 DU
except that it lacks TCON and CMM); it has one RGB output, one LVDS output
and one HDMI output.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
 drivers/gpu/drm/rcar-du/rcar_du_drv.c | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/drivers/gpu/drm/rcar-du/rcar_du_drv.c b/drivers/gpu/drm/rcar-du/rcar_du_drv.c
index d22b381..d881a27 100644
--- a/drivers/gpu/drm/rcar-du/rcar_du_drv.c
+++ b/drivers/gpu/drm/rcar-du/rcar_du_drv.c
@@ -109,6 +109,35 @@ static const struct rcar_du_device_info rcar_du_r8a774a1_info = {
 	.dpll_mask =  BIT(1),
 };
 
+static const struct rcar_du_device_info rcar_du_r8a774b1_info = {
+	.gen = 3,
+	.features = RCAR_DU_FEATURE_CRTC_IRQ_CLOCK
+		  | RCAR_DU_FEATURE_VSP1_SOURCE
+		  | RCAR_DU_FEATURE_INTERLACED
+		  | RCAR_DU_FEATURE_TVM_SYNC,
+	.channels_mask = BIT(3) | BIT(1) | BIT(0),
+	.routes = {
+		/*
+		 * R8A774B1 has one RGB output, one LVDS output and one HDMI
+		 * output.
+		 */
+		[RCAR_DU_OUTPUT_DPAD0] = {
+			.possible_crtcs = BIT(2),
+			.port = 0,
+		},
+		[RCAR_DU_OUTPUT_HDMI0] = {
+			.possible_crtcs = BIT(1),
+			.port = 1,
+		},
+		[RCAR_DU_OUTPUT_LVDS0] = {
+			.possible_crtcs = BIT(0),
+			.port = 2,
+		},
+	},
+	.num_lvds = 1,
+	.dpll_mask =  BIT(1),
+};
+
 static const struct rcar_du_device_info rcar_du_r8a774c0_info = {
 	.gen = 3,
 	.features = RCAR_DU_FEATURE_CRTC_IRQ_CLOCK
@@ -365,6 +394,7 @@ static const struct of_device_id rcar_du_of_table[] = {
 	{ .compatible = "renesas,du-r8a7743", .data = &rzg1_du_r8a7743_info },
 	{ .compatible = "renesas,du-r8a7745", .data = &rzg1_du_r8a7745_info },
 	{ .compatible = "renesas,du-r8a774a1", .data = &rcar_du_r8a774a1_info },
+	{ .compatible = "renesas,du-r8a774b1", .data = &rcar_du_r8a774b1_info },
 	{ .compatible = "renesas,du-r8a774c0", .data = &rcar_du_r8a774c0_info },
 	{ .compatible = "renesas,du-r8a7779", .data = &rcar_du_r8a7779_info },
 	{ .compatible = "renesas,du-r8a7790", .data = &rcar_du_r8a7790_info },
-- 
2.7.4

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

* [cip-dev] [PATCH 4.19.y-cip 13/35] arm64: dts: renesas: r8a774b1: Add DU device to DT
  2020-02-05 20:38 [cip-dev] [PATCH 4.19.y-cip 00/35] Renesas RZ/G2 extend peripheral support Lad Prabhakar
                   ` (11 preceding siblings ...)
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 12/35] drm: rcar-du: Add R8A774B1 support Lad Prabhakar
@ 2020-02-05 20:38 ` Lad Prabhakar
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 14/35] arm64: dts: renesas: r8a774b1: Add HDMI encoder instance Lad Prabhakar
                   ` (23 subsequent siblings)
  36 siblings, 0 replies; 46+ messages in thread
From: Lad Prabhakar @ 2020-02-05 20:38 UTC (permalink / raw)
  To: cip-dev

From: Biju Das <biju.das@bp.renesas.com>

commit 04e4bad30adb4e49d2f9997e7697a734ba9fc66a upstream.

Add the DU device to r8a774b1 SoC DT.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://lore.kernel.org/r/1570029619-43238-3-git-send-email-biju.das at bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
 arch/arm64/boot/dts/renesas/r8a774b1.dtsi | 38 +++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a774b1.dtsi b/arch/arm64/boot/dts/renesas/r8a774b1.dtsi
index 7ad4a95..2fc9f8d 100644
--- a/arch/arm64/boot/dts/renesas/r8a774b1.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a774b1.dtsi
@@ -1448,7 +1448,18 @@
 		};
 
 		du: display at feb00000 {
+			compatible = "renesas,du-r8a774b1";
 			reg = <0 0xfeb00000 0 0x80000>;
+			interrupts = <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 270 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 724>,
+				 <&cpg CPG_MOD 723>,
+				 <&cpg CPG_MOD 721>;
+			clock-names = "du.0", "du.1", "du.3";
+			status = "disabled";
+
+			vsps = <&vspd0 0>, <&vspd1 0>, <&vspd0 1>;
 
 			ports {
 				#address-cells = <1>;
@@ -1467,6 +1478,33 @@
 				port at 2 {
 					reg = <2>;
 					du_out_lvds0: endpoint {
+						remote-endpoint = <&lvds0_in>;
+					};
+				};
+			};
+		};
+
+		lvds0: lvds at feb90000 {
+			compatible = "renesas,r8a774b1-lvds";
+			reg = <0 0xfeb90000 0 0x14>;
+			clocks = <&cpg CPG_MOD 727>;
+			power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
+			resets = <&cpg 727>;
+			status = "disabled";
+
+			ports {
+				#address-cells = <1>;
+				#size-cells = <0>;
+
+				port at 0 {
+					reg = <0>;
+					lvds0_in: endpoint {
+						remote-endpoint = <&du_out_lvds0>;
+					};
+				};
+				port at 1 {
+					reg = <1>;
+					lvds0_out: endpoint {
 					};
 				};
 			};
-- 
2.7.4

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

* [cip-dev] [PATCH 4.19.y-cip 14/35] arm64: dts: renesas: r8a774b1: Add HDMI encoder instance
  2020-02-05 20:38 [cip-dev] [PATCH 4.19.y-cip 00/35] Renesas RZ/G2 extend peripheral support Lad Prabhakar
                   ` (12 preceding siblings ...)
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 13/35] arm64: dts: renesas: r8a774b1: Add DU device to DT Lad Prabhakar
@ 2020-02-05 20:38 ` Lad Prabhakar
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 15/35] arm64: dts: renesas: r8a774b1-hihope-rzg2n: Add display clock properties Lad Prabhakar
                   ` (22 subsequent siblings)
  36 siblings, 0 replies; 46+ messages in thread
From: Lad Prabhakar @ 2020-02-05 20:38 UTC (permalink / raw)
  To: cip-dev

From: Biju Das <biju.das@bp.renesas.com>

commit 3a02555a4d06519aae74c8732287ed5378a9848f upstream.

Add the HDMI encoder to the R8A774B1 DT in disabled state.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://lore.kernel.org/r/1570029619-43238-4-git-send-email-biju.das at bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
 arch/arm64/boot/dts/renesas/r8a774b1.dtsi | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a774b1.dtsi b/arch/arm64/boot/dts/renesas/r8a774b1.dtsi
index 2fc9f8d..a2e6059 100644
--- a/arch/arm64/boot/dts/renesas/r8a774b1.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a774b1.dtsi
@@ -1430,7 +1430,16 @@
 		};
 
 		hdmi0: hdmi at fead0000 {
+			compatible = "renesas,r8a774b1-hdmi",
+				     "renesas,rcar-gen3-hdmi";
 			reg = <0 0xfead0000 0 0x10000>;
+			interrupts = <GIC_SPI 389 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 729>,
+				 <&cpg CPG_CORE R8A774B1_CLK_HDMI>;
+			clock-names = "iahb", "isfr";
+			power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
+			resets = <&cpg 729>;
+			status = "disabled";
 
 			ports {
 				#address-cells = <1>;
@@ -1439,11 +1448,16 @@
 				port at 0 {
 					reg = <0>;
 					dw_hdmi0_in: endpoint {
+						remote-endpoint = <&du_out_hdmi0>;
 					};
 				};
 				port at 1 {
 					reg = <1>;
 				};
+				port at 2 {
+					/* HDMI sound */
+					reg = <2>;
+				};
 			};
 		};
 
@@ -1473,6 +1487,7 @@
 				port at 1 {
 					reg = <1>;
 					du_out_hdmi0: endpoint {
+						remote-endpoint = <&dw_hdmi0_in>;
 					};
 				};
 				port at 2 {
-- 
2.7.4

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

* [cip-dev] [PATCH 4.19.y-cip 15/35] arm64: dts: renesas: r8a774b1-hihope-rzg2n: Add display clock properties
  2020-02-05 20:38 [cip-dev] [PATCH 4.19.y-cip 00/35] Renesas RZ/G2 extend peripheral support Lad Prabhakar
                   ` (13 preceding siblings ...)
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 14/35] arm64: dts: renesas: r8a774b1: Add HDMI encoder instance Lad Prabhakar
@ 2020-02-05 20:38 ` Lad Prabhakar
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 16/35] arm64: dts: renesas: r8a774b1: Add FDP1 device nodes Lad Prabhakar
                   ` (21 subsequent siblings)
  36 siblings, 0 replies; 46+ messages in thread
From: Lad Prabhakar @ 2020-02-05 20:38 UTC (permalink / raw)
  To: cip-dev

From: Biju Das <biju.das@bp.renesas.com>

commit fdf130155fa05fdce7f975c68c9e8882c05ca45c upstream.

Add display clock properties for the HiHope RZ/G2N board.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://lore.kernel.org/r/1570029619-43238-5-git-send-email-biju.das at bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
 arch/arm64/boot/dts/renesas/r8a774b1-hihope-rzg2n.dts | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a774b1-hihope-rzg2n.dts b/arch/arm64/boot/dts/renesas/r8a774b1-hihope-rzg2n.dts
index c9e2119..9910c1a 100644
--- a/arch/arm64/boot/dts/renesas/r8a774b1-hihope-rzg2n.dts
+++ b/arch/arm64/boot/dts/renesas/r8a774b1-hihope-rzg2n.dts
@@ -25,6 +25,17 @@
 	};
 };
 
+&du {
+	clocks = <&cpg CPG_MOD 724>,
+		 <&cpg CPG_MOD 723>,
+		 <&cpg CPG_MOD 721>,
+		 <&versaclock5 1>,
+		 <&x302_clk>,
+		 <&versaclock5 2>;
+	clock-names = "du.0", "du.1", "du.3",
+		      "dclkin.0", "dclkin.1", "dclkin.3";
+};
+
 &sdhi3 {
 	mmc-hs400-1_8v;
 };
-- 
2.7.4

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

* [cip-dev] [PATCH 4.19.y-cip 16/35] arm64: dts: renesas: r8a774b1: Add FDP1 device nodes
  2020-02-05 20:38 [cip-dev] [PATCH 4.19.y-cip 00/35] Renesas RZ/G2 extend peripheral support Lad Prabhakar
                   ` (14 preceding siblings ...)
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 15/35] arm64: dts: renesas: r8a774b1-hihope-rzg2n: Add display clock properties Lad Prabhakar
@ 2020-02-05 20:38 ` Lad Prabhakar
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 17/35] arm64: dts: renesas: r8a774b1: Add PWM " Lad Prabhakar
                   ` (20 subsequent siblings)
  36 siblings, 0 replies; 46+ messages in thread
From: Lad Prabhakar @ 2020-02-05 20:38 UTC (permalink / raw)
  To: cip-dev

From: Biju Das <biju.das@bp.renesas.com>

commit ab46816a38a49a2bbebe73251268c7792596dc94 upstream.

The r8a774b1 has a single FDP1 instance.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://lore.kernel.org/r/1570029619-43238-6-git-send-email-biju.das at bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
 arch/arm64/boot/dts/renesas/r8a774b1.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a774b1.dtsi b/arch/arm64/boot/dts/renesas/r8a774b1.dtsi
index a2e6059..ed349f0 100644
--- a/arch/arm64/boot/dts/renesas/r8a774b1.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a774b1.dtsi
@@ -1345,6 +1345,16 @@
 			status = "disabled";
 		};
 
+		fdp1 at fe940000 {
+			compatible = "renesas,fdp1";
+			reg = <0 0xfe940000 0 0x2400>;
+			interrupts = <GIC_SPI 262 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 119>;
+			power-domains = <&sysc R8A774B1_PD_A3VP>;
+			resets = <&cpg 119>;
+			renesas,fcp = <&fcpf0>;
+		};
+
 		fcpf0: fcp at fe950000 {
 			compatible = "renesas,fcpf";
 			reg = <0 0xfe950000 0 0x200>;
-- 
2.7.4

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

* [cip-dev] [PATCH 4.19.y-cip 17/35] arm64: dts: renesas: r8a774b1: Add PWM device nodes
  2020-02-05 20:38 [cip-dev] [PATCH 4.19.y-cip 00/35] Renesas RZ/G2 extend peripheral support Lad Prabhakar
                   ` (15 preceding siblings ...)
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 16/35] arm64: dts: renesas: r8a774b1: Add FDP1 device nodes Lad Prabhakar
@ 2020-02-05 20:38 ` Lad Prabhakar
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 18/35] arm64: dts: renesas: hihope-rzg2-ex: Enable backlight Lad Prabhakar
                   ` (19 subsequent siblings)
  36 siblings, 0 replies; 46+ messages in thread
From: Lad Prabhakar @ 2020-02-05 20:38 UTC (permalink / raw)
  To: cip-dev

From: Biju Das <biju.das@bp.renesas.com>

commit 68f627511fed928b4ddf26419733edc01525173d upstream.

This patch adds PWM device nodes to r8a774b1 SoC DT.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://lore.kernel.org/r/1570029619-43238-7-git-send-email-biju.das at bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
 arch/arm64/boot/dts/renesas/r8a774b1.dtsi | 70 +++++++++++++++++++++++++++++++
 1 file changed, 70 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a774b1.dtsi b/arch/arm64/boot/dts/renesas/r8a774b1.dtsi
index ed349f0..faee99e 100644
--- a/arch/arm64/boot/dts/renesas/r8a774b1.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a774b1.dtsi
@@ -1003,6 +1003,76 @@
 			};
 		};
 
+		pwm0: pwm at e6e30000 {
+			compatible = "renesas,pwm-r8a774b1", "renesas,pwm-rcar";
+			reg = <0 0xe6e30000 0 0x8>;
+			#pwm-cells = <2>;
+			clocks = <&cpg CPG_MOD 523>;
+			resets = <&cpg 523>;
+			power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
+			status = "disabled";
+		};
+
+		pwm1: pwm at e6e31000 {
+			compatible = "renesas,pwm-r8a774b1", "renesas,pwm-rcar";
+			reg = <0 0xe6e31000 0 0x8>;
+			#pwm-cells = <2>;
+			clocks = <&cpg CPG_MOD 523>;
+			resets = <&cpg 523>;
+			power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
+			status = "disabled";
+		};
+
+		pwm2: pwm at e6e32000 {
+			compatible = "renesas,pwm-r8a774b1", "renesas,pwm-rcar";
+			reg = <0 0xe6e32000 0 0x8>;
+			#pwm-cells = <2>;
+			clocks = <&cpg CPG_MOD 523>;
+			resets = <&cpg 523>;
+			power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
+			status = "disabled";
+		};
+
+		pwm3: pwm at e6e33000 {
+			compatible = "renesas,pwm-r8a774b1", "renesas,pwm-rcar";
+			reg = <0 0xe6e33000 0 0x8>;
+			#pwm-cells = <2>;
+			clocks = <&cpg CPG_MOD 523>;
+			resets = <&cpg 523>;
+			power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
+			status = "disabled";
+		};
+
+		pwm4: pwm at e6e34000 {
+			compatible = "renesas,pwm-r8a774b1", "renesas,pwm-rcar";
+			reg = <0 0xe6e34000 0 0x8>;
+			#pwm-cells = <2>;
+			clocks = <&cpg CPG_MOD 523>;
+			resets = <&cpg 523>;
+			power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
+			status = "disabled";
+		};
+
+		pwm5: pwm at e6e35000 {
+			compatible = "renesas,pwm-r8a774b1", "renesas,pwm-rcar";
+			reg = <0 0xe6e35000 0 0x8>;
+			#pwm-cells = <2>;
+			clocks = <&cpg CPG_MOD 523>;
+			resets = <&cpg 523>;
+			power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
+			status = "disabled";
+		};
+
+		pwm6: pwm at e6e36000 {
+			compatible = "renesas,pwm-r8a774b1", "renesas,pwm-rcar";
+			reg = <0 0xe6e36000 0 0x8>;
+			#pwm-cells = <2>;
+			clocks = <&cpg CPG_MOD 523>;
+			resets = <&cpg 523>;
+			power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
+			status = "disabled";
+		};
+
 		scif0: serial at e6e60000 {
 			compatible = "renesas,scif-r8a774b1",
 				     "renesas,rcar-gen3-scif", "renesas,scif";
-- 
2.7.4

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

* [cip-dev] [PATCH 4.19.y-cip 18/35] arm64: dts: renesas: hihope-rzg2-ex: Enable backlight
  2020-02-05 20:38 [cip-dev] [PATCH 4.19.y-cip 00/35] Renesas RZ/G2 extend peripheral support Lad Prabhakar
                   ` (16 preceding siblings ...)
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 17/35] arm64: dts: renesas: r8a774b1: Add PWM " Lad Prabhakar
@ 2020-02-05 20:38 ` Lad Prabhakar
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 19/35] drm: rcar-du: lvds: Add r8a774b1 support Lad Prabhakar
                   ` (18 subsequent siblings)
  36 siblings, 0 replies; 46+ messages in thread
From: Lad Prabhakar @ 2020-02-05 20:38 UTC (permalink / raw)
  To: cip-dev

From: Biju Das <biju.das@bp.renesas.com>

commit 31222abb669c45afe472a6fb9c605d31b2309066 upstream.

This patch enables backlight support.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://lore.kernel.org/r/1570029619-43238-8-git-send-email-biju.das at bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
 arch/arm64/boot/dts/renesas/hihope-rzg2-ex.dtsi | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/hihope-rzg2-ex.dtsi b/arch/arm64/boot/dts/renesas/hihope-rzg2-ex.dtsi
index 6870e22..31c3520 100644
--- a/arch/arm64/boot/dts/renesas/hihope-rzg2-ex.dtsi
+++ b/arch/arm64/boot/dts/renesas/hihope-rzg2-ex.dtsi
@@ -13,6 +13,14 @@
 	chosen {
 		bootargs = "ignore_loglevel rw root=/dev/nfs ip=on";
 	};
+
+	backlight {
+		compatible = "pwm-backlight";
+		pwms = <&pwm0 0 50000>;
+
+		brightness-levels = <0 2 8 16 32 64 128 255>;
+		default-brightness-level = <6>;
+	};
 };
 
 &avb {
@@ -78,4 +86,16 @@
 		groups = "can1_data";
 		function = "can1";
 	};
+
+	pwm0_pins: pwm0 {
+		groups = "pwm0";
+		function = "pwm0";
+	};
+};
+
+&pwm0 {
+	pinctrl-0 = <&pwm0_pins>;
+	pinctrl-names = "default";
+
+	status = "okay";
 };
-- 
2.7.4

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

* [cip-dev] [PATCH 4.19.y-cip 19/35] drm: rcar-du: lvds: Add r8a774b1 support
  2020-02-05 20:38 [cip-dev] [PATCH 4.19.y-cip 00/35] Renesas RZ/G2 extend peripheral support Lad Prabhakar
                   ` (17 preceding siblings ...)
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 18/35] arm64: dts: renesas: hihope-rzg2-ex: Enable backlight Lad Prabhakar
@ 2020-02-05 20:38 ` Lad Prabhakar
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 20/35] arm64: dts: renesas: hihope-rzg2-ex: Add LVDS support Lad Prabhakar
                   ` (17 subsequent siblings)
  36 siblings, 0 replies; 46+ messages in thread
From: Lad Prabhakar @ 2020-02-05 20:38 UTC (permalink / raw)
  To: cip-dev

From: Biju Das <biju.das@bp.renesas.com>

commit cfbcf6eb67e1cebe46978b1dd76116948bdeb7db upstream.

The LVDS encoders on RZ/G2N SoC is similar to R-Car M3-N. Add support for
RZ/G2N (R8A774B1) SoC to the LVDS encoder driver.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
 drivers/gpu/drm/rcar-du/rcar_lvds.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/rcar-du/rcar_lvds.c b/drivers/gpu/drm/rcar-du/rcar_lvds.c
index 3b5884a..25b6267 100644
--- a/drivers/gpu/drm/rcar-du/rcar_lvds.c
+++ b/drivers/gpu/drm/rcar-du/rcar_lvds.c
@@ -861,6 +861,7 @@ static const struct rcar_lvds_device_info rcar_lvds_r8a77995_info = {
 static const struct of_device_id rcar_lvds_of_table[] = {
 	{ .compatible = "renesas,r8a7743-lvds", .data = &rcar_lvds_gen2_info },
 	{ .compatible = "renesas,r8a774a1-lvds", .data = &rcar_lvds_gen3_info },
+	{ .compatible = "renesas,r8a774b1-lvds", .data = &rcar_lvds_gen3_info },
 	{ .compatible = "renesas,r8a774c0-lvds", .data = &rcar_lvds_r8a77990_info },
 	{ .compatible = "renesas,r8a7790-lvds", .data = &rcar_lvds_r8a7790_info },
 	{ .compatible = "renesas,r8a7791-lvds", .data = &rcar_lvds_gen2_info },
-- 
2.7.4

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

* [cip-dev] [PATCH 4.19.y-cip 20/35] arm64: dts: renesas: hihope-rzg2-ex: Add LVDS support
  2020-02-05 20:38 [cip-dev] [PATCH 4.19.y-cip 00/35] Renesas RZ/G2 extend peripheral support Lad Prabhakar
                   ` (18 preceding siblings ...)
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 19/35] drm: rcar-du: lvds: Add r8a774b1 support Lad Prabhakar
@ 2020-02-05 20:38 ` Lad Prabhakar
  2020-02-07 13:10   ` Pavel Machek
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 21/35] arm64: dts: renesas: Add support for Advantech idk-1110wr LVDS panel Lad Prabhakar
                   ` (16 subsequent siblings)
  36 siblings, 1 reply; 46+ messages in thread
From: Lad Prabhakar @ 2020-02-05 20:38 UTC (permalink / raw)
  To: cip-dev

From: Biju Das <biju.das@bp.renesas.com>

commit 642a33259bdfd5aebca24a4b7b05681239873157 upstream.

This patch adds LVDS support for RZ/G2[MN] boards.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://lore.kernel.org/r/1570029619-43238-9-git-send-email-biju.das at bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
 arch/arm64/boot/dts/renesas/hihope-rzg2-ex.dtsi | 29 +++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/hihope-rzg2-ex.dtsi b/arch/arm64/boot/dts/renesas/hihope-rzg2-ex.dtsi
index 31c3520..28fe17e 100644
--- a/arch/arm64/boot/dts/renesas/hihope-rzg2-ex.dtsi
+++ b/arch/arm64/boot/dts/renesas/hihope-rzg2-ex.dtsi
@@ -51,6 +51,35 @@
 	status = "okay";
 };
 
+&gpio1 {
+	/*
+	 * When GP1_20 is LOW LVDS0 is connected to the LVDS connector
+	 * When GP1_20 is HIGH LVDS0 is connected to the LT8918L
+	 */
+	lvds-connector-en-gpio {
+		gpio-hog;
+		gpios = <20 GPIO_ACTIVE_HIGH>;
+		output-low;
+		line-name = "lvds-connector-en-gpio";
+	};
+};
+
+&lvds0 {
+	/*
+	 * Please include the LVDS panel .dtsi file and uncomment the below line
+	 * to enable LVDS panel connected to RZ/G2[MN] boards.
+	 */
+
+	/* status = "okay"; */
+
+	ports {
+		port at 1 {
+			lvds_connector: endpoint {
+			};
+		};
+	};
+};
+
 &pciec0 {
 	status = "okay";
 };
-- 
2.7.4

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

* [cip-dev] [PATCH 4.19.y-cip 21/35] arm64: dts: renesas: Add support for Advantech idk-1110wr LVDS panel
  2020-02-05 20:38 [cip-dev] [PATCH 4.19.y-cip 00/35] Renesas RZ/G2 extend peripheral support Lad Prabhakar
                   ` (19 preceding siblings ...)
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 20/35] arm64: dts: renesas: hihope-rzg2-ex: Add LVDS support Lad Prabhakar
@ 2020-02-05 20:38 ` Lad Prabhakar
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 22/35] arm64: dts: renesas: r8a774a1: Remove audio port node Lad Prabhakar
                   ` (15 subsequent siblings)
  36 siblings, 0 replies; 46+ messages in thread
From: Lad Prabhakar @ 2020-02-05 20:38 UTC (permalink / raw)
  To: cip-dev

From: Biju Das <biju.das@bp.renesas.com>

commit b6bb8a108d0b4f4097ef63020a51b1a9dd3dd41d upstream.

This patch adds support for Advantech idk-1110wr LVDS panel.
The HiHope RZ/G2[MN] is advertised as compatible with panel
idk-1110wr from Advantech, however the panel isn't sold alongside
the board.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://lore.kernel.org/r/1570029619-43238-10-git-send-email-biju.das at bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
 .../renesas/rzg2-advantech-idk-1110wr-panel.dtsi   | 41 ++++++++++++++++++++++
 1 file changed, 41 insertions(+)
 create mode 100644 arch/arm64/boot/dts/renesas/rzg2-advantech-idk-1110wr-panel.dtsi

diff --git a/arch/arm64/boot/dts/renesas/rzg2-advantech-idk-1110wr-panel.dtsi b/arch/arm64/boot/dts/renesas/rzg2-advantech-idk-1110wr-panel.dtsi
new file mode 100644
index 0000000..bcc2117
--- /dev/null
+++ b/arch/arm64/boot/dts/renesas/rzg2-advantech-idk-1110wr-panel.dtsi
@@ -0,0 +1,41 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Device Tree Source for the Advantech idk-1110wr LVDS panel connected
+ * to RZ/G2 boards
+ *
+ * Copyright (C) 2019 Renesas Electronics Corp.
+ */
+
+/ {
+	panel-lvds {
+		compatible = "advantech,idk-1110wr", "panel-lvds";
+
+		width-mm = <223>;
+		height-mm = <125>;
+
+		data-mapping = "jeida-24";
+
+		panel-timing {
+			/* 1024x600 @60Hz */
+			clock-frequency = <51200000>;
+			hactive = <1024>;
+			vactive = <600>;
+			hsync-len = <240>;
+			hfront-porch = <40>;
+			hback-porch = <40>;
+			vfront-porch = <15>;
+			vback-porch = <10>;
+			vsync-len = <10>;
+		};
+
+		port {
+			panel_in: endpoint {
+				remote-endpoint = <&lvds_connector>;
+			};
+		};
+	};
+};
+
+&lvds_connector {
+	remote-endpoint = <&panel_in>;
+};
-- 
2.7.4

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

* [cip-dev] [PATCH 4.19.y-cip 22/35] arm64: dts: renesas: r8a774a1: Remove audio port node
  2020-02-05 20:38 [cip-dev] [PATCH 4.19.y-cip 00/35] Renesas RZ/G2 extend peripheral support Lad Prabhakar
                   ` (20 preceding siblings ...)
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 21/35] arm64: dts: renesas: Add support for Advantech idk-1110wr LVDS panel Lad Prabhakar
@ 2020-02-05 20:38 ` Lad Prabhakar
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 23/35] ASoC: rsnd: Document r8a774b1 bindings Lad Prabhakar
                   ` (14 subsequent siblings)
  36 siblings, 0 replies; 46+ messages in thread
From: Lad Prabhakar @ 2020-02-05 20:38 UTC (permalink / raw)
  To: cip-dev

From: Biju Das <biju.das@bp.renesas.com>

commit a381325812691f57aece60aaee76938ac8fc6619 upstream.

This patch removes audio port node from SoC device tree and
fixes the below dtb warning

    Warning (unit_address_vs_reg): /soc/sound at ec500000/ports/port at 0: node has a unit name, but no reg property

Fixes: e2f04248fcd4 ("arm64: dts: renesas: r8a774a1: Add audio support")
Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Link: https://lore.kernel.org/r/1570200761-884-1-git-send-email-biju.das at bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
(dropped deleting ports node from r8a774a1.dtsi as it doesnt exist)
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
 arch/arm64/boot/dts/renesas/hihope-common.dtsi | 20 +++++++++-----------
 1 file changed, 9 insertions(+), 11 deletions(-)

diff --git a/arch/arm64/boot/dts/renesas/hihope-common.dtsi b/arch/arm64/boot/dts/renesas/hihope-common.dtsi
index 355d0a2..2c942a7 100644
--- a/arch/arm64/boot/dts/renesas/hihope-common.dtsi
+++ b/arch/arm64/boot/dts/renesas/hihope-common.dtsi
@@ -86,7 +86,7 @@
 
 		label = "rcar-sound";
 
-		dais = <&rsnd_port0>;
+		dais = <&rsnd_port>;
 	};
 
 	vbus0_usb2: regulator-vbus0-usb2 {
@@ -183,7 +183,7 @@
 		port at 2 {
 			reg = <2>;
 			dw_hdmi0_snd_in: endpoint {
-				remote-endpoint = <&rsnd_endpoint0>;
+				remote-endpoint = <&rsnd_endpoint>;
 			};
 		};
 	};
@@ -319,17 +319,15 @@
 	/* Single DAI */
 	#sound-dai-cells = <0>;
 
-	ports {
-		rsnd_port0: port at 0 {
-			rsnd_endpoint0: endpoint {
-				remote-endpoint = <&dw_hdmi0_snd_in>;
+	rsnd_port: port {
+		rsnd_endpoint: endpoint {
+			remote-endpoint = <&dw_hdmi0_snd_in>;
 
-				dai-format = "i2s";
-				bitclock-master = <&rsnd_endpoint0>;
-				frame-master = <&rsnd_endpoint0>;
+			dai-format = "i2s";
+			bitclock-master = <&rsnd_endpoint>;
+			frame-master = <&rsnd_endpoint>;
 
-				playback = <&ssi2>;
-			};
+			playback = <&ssi2>;
 		};
 	};
 };
-- 
2.7.4

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

* [cip-dev] [PATCH 4.19.y-cip 23/35] ASoC: rsnd: Document r8a774b1 bindings
  2020-02-05 20:38 [cip-dev] [PATCH 4.19.y-cip 00/35] Renesas RZ/G2 extend peripheral support Lad Prabhakar
                   ` (21 preceding siblings ...)
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 22/35] arm64: dts: renesas: r8a774a1: Remove audio port node Lad Prabhakar
@ 2020-02-05 20:38 ` Lad Prabhakar
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 24/35] arm64: dts: renesas: r8a774b1: Add Sound and Audio DMAC device nodes Lad Prabhakar
                   ` (13 subsequent siblings)
  36 siblings, 0 replies; 46+ messages in thread
From: Lad Prabhakar @ 2020-02-05 20:38 UTC (permalink / raw)
  To: cip-dev

From: Biju Das <biju.das@bp.renesas.com>

commit 01400bfb2ea76a399448486e2d26f2f1b5a77787 upstream.

Document SoC specific bindings for RZ/G2N (r8a774b1) SoC.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Link: https://lore.kernel.org/r/1570171940-42937-1-git-send-email-biju.das at bp.renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
 Documentation/devicetree/bindings/sound/renesas,rsnd.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/sound/renesas,rsnd.txt b/Documentation/devicetree/bindings/sound/renesas,rsnd.txt
index 7e38861..a65c97d 100644
--- a/Documentation/devicetree/bindings/sound/renesas,rsnd.txt
+++ b/Documentation/devicetree/bindings/sound/renesas,rsnd.txt
@@ -345,6 +345,7 @@ Required properties:
 				    - "renesas,rcar_sound-r8a7743" (RZ/G1M)
 				    - "renesas,rcar_sound-r8a7745" (RZ/G1E)
 				    - "renesas,rcar_sound-r8a774a1" (RZ/G2M)
+				    - "renesas,rcar_sound-r8a774b1" (RZ/G2N)
 				    - "renesas,rcar_sound-r8a774c0" (RZ/G2E)
 				    - "renesas,rcar_sound-r8a7778" (R-Car M1A)
 				    - "renesas,rcar_sound-r8a7779" (R-Car H1)
-- 
2.7.4

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

* [cip-dev] [PATCH 4.19.y-cip 24/35] arm64: dts: renesas: r8a774b1: Add Sound and Audio DMAC device nodes
  2020-02-05 20:38 [cip-dev] [PATCH 4.19.y-cip 00/35] Renesas RZ/G2 extend peripheral support Lad Prabhakar
                   ` (22 preceding siblings ...)
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 23/35] ASoC: rsnd: Document r8a774b1 bindings Lad Prabhakar
@ 2020-02-05 20:38 ` Lad Prabhakar
  2020-02-07 13:11   ` Pavel Machek
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 25/35] dt-bindings: rcar-gen3-phy-usb2: Add r8a774b1 support Lad Prabhakar
                   ` (12 subsequent siblings)
  36 siblings, 1 reply; 46+ messages in thread
From: Lad Prabhakar @ 2020-02-05 20:38 UTC (permalink / raw)
  To: cip-dev

From: Biju Das <biju.das@bp.renesas.com>

commit 067eca6dc61ad3d05ba919cd5a10affc0647e19c upstream.

Based on a similar patch of the R8A7796 device tree
by Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Link: https://lore.kernel.org/r/1570200761-884-2-git-send-email-biju.das at bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
 arch/arm64/boot/dts/renesas/r8a774b1.dtsi | 474 +++++++++++++++++++++++++++++-
 1 file changed, 464 insertions(+), 10 deletions(-)

diff --git a/arch/arm64/boot/dts/renesas/r8a774b1.dtsi b/arch/arm64/boot/dts/renesas/r8a774b1.dtsi
index faee99e..e3fc92b 100644
--- a/arch/arm64/boot/dts/renesas/r8a774b1.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a774b1.dtsi
@@ -1236,24 +1236,478 @@
 		};
 
 		rcar_sound: sound at ec500000 {
+			/*
+			 * #sound-dai-cells is required
+			 *
+			 * Single DAI : #sound-dai-cells = <0>;	<&rcar_sound>;
+			 * Multi  DAI : #sound-dai-cells = <1>;	<&rcar_sound N>;
+			 */
+			/*
+			 * #clock-cells is required for audio_clkout0/1/2/3
+			 *
+			 * clkout	: #clock-cells = <0>;	<&rcar_sound>;
+			 * clkout0/1/2/3: #clock-cells = <1>;	<&rcar_sound N>;
+			 */
+			compatible =  "renesas,rcar_sound-r8a774b1", "renesas,rcar_sound-gen3";
 			reg = <0 0xec500000 0 0x1000>, /* SCU */
 			      <0 0xec5a0000 0 0x100>,  /* ADG */
 			      <0 0xec540000 0 0x1000>, /* SSIU */
 			      <0 0xec541000 0 0x280>,  /* SSI */
 			      <0 0xec760000 0 0x200>;  /* Audio DMAC peri peri*/
+			reg-names = "scu", "adg", "ssiu", "ssi", "audmapp";
+
+			clocks = <&cpg CPG_MOD 1005>,
+				 <&cpg CPG_MOD 1006>, <&cpg CPG_MOD 1007>,
+				 <&cpg CPG_MOD 1008>, <&cpg CPG_MOD 1009>,
+				 <&cpg CPG_MOD 1010>, <&cpg CPG_MOD 1011>,
+				 <&cpg CPG_MOD 1012>, <&cpg CPG_MOD 1013>,
+				 <&cpg CPG_MOD 1014>, <&cpg CPG_MOD 1015>,
+				 <&cpg CPG_MOD 1022>, <&cpg CPG_MOD 1023>,
+				 <&cpg CPG_MOD 1024>, <&cpg CPG_MOD 1025>,
+				 <&cpg CPG_MOD 1026>, <&cpg CPG_MOD 1027>,
+				 <&cpg CPG_MOD 1028>, <&cpg CPG_MOD 1029>,
+				 <&cpg CPG_MOD 1030>, <&cpg CPG_MOD 1031>,
+				 <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
+				 <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
+				 <&cpg CPG_MOD 1019>, <&cpg CPG_MOD 1018>,
+				 <&audio_clk_a>, <&audio_clk_b>,
+				 <&audio_clk_c>,
+				 <&cpg CPG_CORE R8A774B1_CLK_S0D4>;
+			clock-names = "ssi-all",
+				      "ssi.9", "ssi.8", "ssi.7", "ssi.6",
+				      "ssi.5", "ssi.4", "ssi.3", "ssi.2",
+				      "ssi.1", "ssi.0",
+				      "src.9", "src.8", "src.7", "src.6",
+				      "src.5", "src.4", "src.3", "src.2",
+				      "src.1", "src.0",
+				      "mix.1", "mix.0",
+				      "ctu.1", "ctu.0",
+				      "dvc.0", "dvc.1",
+				      "clk_a", "clk_b", "clk_c", "clk_i";
+			power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
+			resets = <&cpg 1005>,
+				 <&cpg 1006>, <&cpg 1007>,
+				 <&cpg 1008>, <&cpg 1009>,
+				 <&cpg 1010>, <&cpg 1011>,
+				 <&cpg 1012>, <&cpg 1013>,
+				 <&cpg 1014>, <&cpg 1015>;
+			reset-names = "ssi-all",
+				      "ssi.9", "ssi.8", "ssi.7", "ssi.6",
+				      "ssi.5", "ssi.4", "ssi.3", "ssi.2",
+				      "ssi.1", "ssi.0";
+			status = "disabled";
+
+			rcar_sound,ctu {
+				ctu00: ctu-0 { };
+				ctu01: ctu-1 { };
+				ctu02: ctu-2 { };
+				ctu03: ctu-3 { };
+				ctu10: ctu-4 { };
+				ctu11: ctu-5 { };
+				ctu12: ctu-6 { };
+				ctu13: ctu-7 { };
+			};
+
+			rcar_sound,dvc {
+				dvc0: dvc-0 {
+					dmas = <&audma1 0xbc>;
+					dma-names = "tx";
+				};
+				dvc1: dvc-1 {
+					dmas = <&audma1 0xbe>;
+					dma-names = "tx";
+				};
+			};
+
+			rcar_sound,mix {
+				mix0: mix-0 { };
+				mix1: mix-1 { };
+			};
+
+			rcar_sound,src {
+				src0: src-0 {
+					interrupts = <GIC_SPI 352 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x85>, <&audma1 0x9a>;
+					dma-names = "rx", "tx";
+				};
+				src1: src-1 {
+					interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x87>, <&audma1 0x9c>;
+					dma-names = "rx", "tx";
+				};
+				src2: src-2 {
+					interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x89>, <&audma1 0x9e>;
+					dma-names = "rx", "tx";
+				};
+				src3: src-3 {
+					interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x8b>, <&audma1 0xa0>;
+					dma-names = "rx", "tx";
+				};
+				src4: src-4 {
+					interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x8d>, <&audma1 0xb0>;
+					dma-names = "rx", "tx";
+				};
+				src5: src-5 {
+					interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x8f>, <&audma1 0xb2>;
+					dma-names = "rx", "tx";
+				};
+				src6: src-6 {
+					interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x91>, <&audma1 0xb4>;
+					dma-names = "rx", "tx";
+				};
+				src7: src-7 {
+					interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x93>, <&audma1 0xb6>;
+					dma-names = "rx", "tx";
+				};
+				src8: src-8 {
+					interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x95>, <&audma1 0xb8>;
+					dma-names = "rx", "tx";
+				};
+				src9: src-9 {
+					interrupts = <GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x97>, <&audma1 0xba>;
+					dma-names = "rx", "tx";
+				};
+			};
 
 			rcar_sound,ssi {
-				ssi0: ssi-0 { };
-				ssi1: ssi-1 { };
-				ssi2: ssi-2 { };
-				ssi3: ssi-3 { };
-				ssi4: ssi-4 { };
-				ssi5: ssi-5 { };
-				ssi6: ssi-6 { };
-				ssi7: ssi-7 { };
-				ssi8: ssi-8 { };
-				ssi9: ssi-9 { };
+				ssi0: ssi-0 {
+					interrupts = <GIC_SPI 370 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x01>, <&audma1 0x02>;
+					dma-names = "rx", "tx";
+				};
+				ssi1: ssi-1 {
+					interrupts = <GIC_SPI 371 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x03>, <&audma1 0x04>;
+					dma-names = "rx", "tx";
+				};
+				ssi2: ssi-2 {
+					interrupts = <GIC_SPI 372 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x05>, <&audma1 0x06>;
+					dma-names = "rx", "tx";
+				};
+				ssi3: ssi-3 {
+					interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x07>, <&audma1 0x08>;
+					dma-names = "rx", "tx";
+				};
+				ssi4: ssi-4 {
+					interrupts = <GIC_SPI 374 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x09>, <&audma1 0x0a>;
+					dma-names = "rx", "tx";
+				};
+				ssi5: ssi-5 {
+					interrupts = <GIC_SPI 375 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x0b>, <&audma1 0x0c>;
+					dma-names = "rx", "tx";
+				};
+				ssi6: ssi-6 {
+					interrupts = <GIC_SPI 376 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x0d>, <&audma1 0x0e>;
+					dma-names = "rx", "tx";
+				};
+				ssi7: ssi-7 {
+					interrupts = <GIC_SPI 377 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x0f>, <&audma1 0x10>;
+					dma-names = "rx", "tx";
+				};
+				ssi8: ssi-8 {
+					interrupts = <GIC_SPI 378 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x11>, <&audma1 0x12>;
+					dma-names = "rx", "tx";
+				};
+				ssi9: ssi-9 {
+					interrupts = <GIC_SPI 379 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x13>, <&audma1 0x14>;
+					dma-names = "rx", "tx";
+				};
 			};
+
+			rcar_sound,ssiu {
+				ssiu00: ssiu-0 {
+					dmas = <&audma0 0x15>, <&audma1 0x16>;
+					dma-names = "rx", "tx";
+				};
+				ssiu01: ssiu-1 {
+					dmas = <&audma0 0x35>, <&audma1 0x36>;
+					dma-names = "rx", "tx";
+				};
+				ssiu02: ssiu-2 {
+					dmas = <&audma0 0x37>, <&audma1 0x38>;
+					dma-names = "rx", "tx";
+				};
+				ssiu03: ssiu-3 {
+					dmas = <&audma0 0x47>, <&audma1 0x48>;
+					dma-names = "rx", "tx";
+				};
+				ssiu04: ssiu-4 {
+					dmas = <&audma0 0x3F>, <&audma1 0x40>;
+					dma-names = "rx", "tx";
+				};
+				ssiu05: ssiu-5 {
+					dmas = <&audma0 0x43>, <&audma1 0x44>;
+					dma-names = "rx", "tx";
+				};
+				ssiu06: ssiu-6 {
+					dmas = <&audma0 0x4F>, <&audma1 0x50>;
+					dma-names = "rx", "tx";
+				};
+				ssiu07: ssiu-7 {
+					dmas = <&audma0 0x53>, <&audma1 0x54>;
+					dma-names = "rx", "tx";
+				};
+				ssiu10: ssiu-8 {
+					dmas = <&audma0 0x49>, <&audma1 0x4a>;
+					dma-names = "rx", "tx";
+				};
+				ssiu11: ssiu-9 {
+					dmas = <&audma0 0x4B>, <&audma1 0x4C>;
+					dma-names = "rx", "tx";
+				};
+				ssiu12: ssiu-10 {
+					dmas = <&audma0 0x57>, <&audma1 0x58>;
+					dma-names = "rx", "tx";
+				};
+				ssiu13: ssiu-11 {
+					dmas = <&audma0 0x59>, <&audma1 0x5A>;
+					dma-names = "rx", "tx";
+				};
+				ssiu14: ssiu-12 {
+					dmas = <&audma0 0x5F>, <&audma1 0x60>;
+					dma-names = "rx", "tx";
+				};
+				ssiu15: ssiu-13 {
+					dmas = <&audma0 0xC3>, <&audma1 0xC4>;
+					dma-names = "rx", "tx";
+				};
+				ssiu16: ssiu-14 {
+					dmas = <&audma0 0xC7>, <&audma1 0xC8>;
+					dma-names = "rx", "tx";
+				};
+				ssiu17: ssiu-15 {
+					dmas = <&audma0 0xCB>, <&audma1 0xCC>;
+					dma-names = "rx", "tx";
+				};
+				ssiu20: ssiu-16 {
+					dmas = <&audma0 0x63>, <&audma1 0x64>;
+					dma-names = "rx", "tx";
+				};
+				ssiu21: ssiu-17 {
+					dmas = <&audma0 0x67>, <&audma1 0x68>;
+					dma-names = "rx", "tx";
+				};
+				ssiu22: ssiu-18 {
+					dmas = <&audma0 0x6B>, <&audma1 0x6C>;
+					dma-names = "rx", "tx";
+				};
+				ssiu23: ssiu-19 {
+					dmas = <&audma0 0x6D>, <&audma1 0x6E>;
+					dma-names = "rx", "tx";
+				};
+				ssiu24: ssiu-20 {
+					dmas = <&audma0 0xCF>, <&audma1 0xCE>;
+					dma-names = "rx", "tx";
+				};
+				ssiu25: ssiu-21 {
+					dmas = <&audma0 0xEB>, <&audma1 0xEC>;
+					dma-names = "rx", "tx";
+				};
+				ssiu26: ssiu-22 {
+					dmas = <&audma0 0xED>, <&audma1 0xEE>;
+					dma-names = "rx", "tx";
+				};
+				ssiu27: ssiu-23 {
+					dmas = <&audma0 0xEF>, <&audma1 0xF0>;
+					dma-names = "rx", "tx";
+				};
+				ssiu30: ssiu-24 {
+					dmas = <&audma0 0x6f>, <&audma1 0x70>;
+					dma-names = "rx", "tx";
+				};
+				ssiu31: ssiu-25 {
+					dmas = <&audma0 0x21>, <&audma1 0x22>;
+					dma-names = "rx", "tx";
+				};
+				ssiu32: ssiu-26 {
+					dmas = <&audma0 0x23>, <&audma1 0x24>;
+					dma-names = "rx", "tx";
+				};
+				ssiu33: ssiu-27 {
+					dmas = <&audma0 0x25>, <&audma1 0x26>;
+					dma-names = "rx", "tx";
+				};
+				ssiu34: ssiu-28 {
+					dmas = <&audma0 0x27>, <&audma1 0x28>;
+					dma-names = "rx", "tx";
+				};
+				ssiu35: ssiu-29 {
+					dmas = <&audma0 0x29>, <&audma1 0x2A>;
+					dma-names = "rx", "tx";
+				};
+				ssiu36: ssiu-30 {
+					dmas = <&audma0 0x2B>, <&audma1 0x2C>;
+					dma-names = "rx", "tx";
+				};
+				ssiu37: ssiu-31 {
+					dmas = <&audma0 0x2D>, <&audma1 0x2E>;
+					dma-names = "rx", "tx";
+				};
+				ssiu40: ssiu-32 {
+					dmas =	<&audma0 0x71>, <&audma1 0x72>;
+					dma-names = "rx", "tx";
+				};
+				ssiu41: ssiu-33 {
+					dmas = <&audma0 0x17>, <&audma1 0x18>;
+					dma-names = "rx", "tx";
+				};
+				ssiu42: ssiu-34 {
+					dmas = <&audma0 0x19>, <&audma1 0x1A>;
+					dma-names = "rx", "tx";
+				};
+				ssiu43: ssiu-35 {
+					dmas = <&audma0 0x1B>, <&audma1 0x1C>;
+					dma-names = "rx", "tx";
+				};
+				ssiu44: ssiu-36 {
+					dmas = <&audma0 0x1D>, <&audma1 0x1E>;
+					dma-names = "rx", "tx";
+				};
+				ssiu45: ssiu-37 {
+					dmas = <&audma0 0x1F>, <&audma1 0x20>;
+					dma-names = "rx", "tx";
+				};
+				ssiu46: ssiu-38 {
+					dmas = <&audma0 0x31>, <&audma1 0x32>;
+					dma-names = "rx", "tx";
+				};
+				ssiu47: ssiu-39 {
+					dmas = <&audma0 0x33>, <&audma1 0x34>;
+					dma-names = "rx", "tx";
+				};
+				ssiu50: ssiu-40 {
+					dmas = <&audma0 0x73>, <&audma1 0x74>;
+					dma-names = "rx", "tx";
+				};
+				ssiu60: ssiu-41 {
+					dmas = <&audma0 0x75>, <&audma1 0x76>;
+					dma-names = "rx", "tx";
+				};
+				ssiu70: ssiu-42 {
+					dmas = <&audma0 0x79>, <&audma1 0x7a>;
+					dma-names = "rx", "tx";
+				};
+				ssiu80: ssiu-43 {
+					dmas = <&audma0 0x7b>, <&audma1 0x7c>;
+					dma-names = "rx", "tx";
+				};
+				ssiu90: ssiu-44 {
+					dmas = <&audma0 0x7d>, <&audma1 0x7e>;
+					dma-names = "rx", "tx";
+				};
+				ssiu91: ssiu-45 {
+					dmas = <&audma0 0x7F>, <&audma1 0x80>;
+					dma-names = "rx", "tx";
+				};
+				ssiu92: ssiu-46 {
+					dmas = <&audma0 0x81>, <&audma1 0x82>;
+					dma-names = "rx", "tx";
+				};
+				ssiu93: ssiu-47 {
+					dmas = <&audma0 0x83>, <&audma1 0x84>;
+					dma-names = "rx", "tx";
+				};
+				ssiu94: ssiu-48 {
+					dmas = <&audma0 0xA3>, <&audma1 0xA4>;
+					dma-names = "rx", "tx";
+				};
+				ssiu95: ssiu-49 {
+					dmas = <&audma0 0xA5>, <&audma1 0xA6>;
+					dma-names = "rx", "tx";
+				};
+				ssiu96: ssiu-50 {
+					dmas = <&audma0 0xA7>, <&audma1 0xA8>;
+					dma-names = "rx", "tx";
+				};
+				ssiu97: ssiu-51 {
+					dmas = <&audma0 0xA9>, <&audma1 0xAA>;
+					dma-names = "rx", "tx";
+				};
+			};
+		};
+
+		audma0: dma-controller at ec700000 {
+			compatible = "renesas,dmac-r8a774b1",
+				     "renesas,rcar-dmac";
+			reg = <0 0xec700000 0 0x10000>;
+			interrupts = <GIC_SPI 350 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>;
+			interrupt-names = "error",
+					"ch0", "ch1", "ch2", "ch3",
+					"ch4", "ch5", "ch6", "ch7",
+					"ch8", "ch9", "ch10", "ch11",
+					"ch12", "ch13", "ch14", "ch15";
+			clocks = <&cpg CPG_MOD 502>;
+			clock-names = "fck";
+			power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
+			resets = <&cpg 502>;
+			#dma-cells = <1>;
+			dma-channels = <16>;
+		};
+
+		audma1: dma-controller at ec720000 {
+			compatible = "renesas,dmac-r8a774b1",
+				     "renesas,rcar-dmac";
+			reg = <0 0xec720000 0 0x10000>;
+			interrupts = <GIC_SPI 351 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 346 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 347 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 348 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 349 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 382 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 383 IRQ_TYPE_LEVEL_HIGH>;
+			interrupt-names = "error",
+					"ch0", "ch1", "ch2", "ch3",
+					"ch4", "ch5", "ch6", "ch7",
+					"ch8", "ch9", "ch10", "ch11",
+					"ch12", "ch13", "ch14", "ch15";
+			clocks = <&cpg CPG_MOD 501>;
+			clock-names = "fck";
+			power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
+			resets = <&cpg 501>;
+			#dma-cells = <1>;
+			dma-channels = <16>;
 		};
 
 		xhci0: usb at ee000000 {
-- 
2.7.4

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

* [cip-dev] [PATCH 4.19.y-cip 25/35] dt-bindings: rcar-gen3-phy-usb2: Add r8a774b1 support
  2020-02-05 20:38 [cip-dev] [PATCH 4.19.y-cip 00/35] Renesas RZ/G2 extend peripheral support Lad Prabhakar
                   ` (23 preceding siblings ...)
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 24/35] arm64: dts: renesas: r8a774b1: Add Sound and Audio DMAC device nodes Lad Prabhakar
@ 2020-02-05 20:38 ` Lad Prabhakar
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 26/35] dt-bindings: dmaengine: usb-dmac: Add binding for r8a774b1 Lad Prabhakar
                   ` (11 subsequent siblings)
  36 siblings, 0 replies; 46+ messages in thread
From: Lad Prabhakar @ 2020-02-05 20:38 UTC (permalink / raw)
  To: cip-dev

From: Fabrizio Castro <fabrizio.castro@bp.renesas.com>

commit 700d3802427d0550a2e0947254491edb284347b5 upstream.

Document RZ/G2N (R8A774B1) SoC bindings.

Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
 Documentation/devicetree/bindings/phy/rcar-gen3-phy-usb2.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/phy/rcar-gen3-phy-usb2.txt b/Documentation/devicetree/bindings/phy/rcar-gen3-phy-usb2.txt
index 6f73293..e88755b 100644
--- a/Documentation/devicetree/bindings/phy/rcar-gen3-phy-usb2.txt
+++ b/Documentation/devicetree/bindings/phy/rcar-gen3-phy-usb2.txt
@@ -6,6 +6,8 @@ This file provides information on what the device node for the R-Car generation
 Required properties:
 - compatible: "renesas,usb2-phy-r8a774a1" if the device is a part of an R8A774A1
 	      SoC.
+	      "renesas,usb2-phy-r8a774b1" if the device is a part of an R8A774B1
+	      SoC.
 	      "renesas,usb2-phy-r8a774c0" if the device is a part of an R8A774C0
 	      SoC.
 	      "renesas,usb2-phy-r8a7795" if the device is a part of an R8A7795
-- 
2.7.4

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

* [cip-dev] [PATCH 4.19.y-cip 26/35] dt-bindings: dmaengine: usb-dmac: Add binding for r8a774b1
  2020-02-05 20:38 [cip-dev] [PATCH 4.19.y-cip 00/35] Renesas RZ/G2 extend peripheral support Lad Prabhakar
                   ` (24 preceding siblings ...)
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 25/35] dt-bindings: rcar-gen3-phy-usb2: Add r8a774b1 support Lad Prabhakar
@ 2020-02-05 20:38 ` Lad Prabhakar
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 27/35] dt-bindings: usb: renesas_usbhs: Rename bindings documentation file Lad Prabhakar
                   ` (10 subsequent siblings)
  36 siblings, 0 replies; 46+ messages in thread
From: Lad Prabhakar @ 2020-02-05 20:38 UTC (permalink / raw)
  To: cip-dev

From: Fabrizio Castro <fabrizio.castro@bp.renesas.com>

commit 07562314c2d3563daafb6f5fde8ca22e11308e0d upstream.

This patch adds the binding for r8a774b1 SoC (RZ/G2N).

Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Link: https://lore.kernel.org/r/1570531132-21856-3-git-send-email-fabrizio.castro at bp.renesas.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
 Documentation/devicetree/bindings/dma/renesas,usb-dmac.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/dma/renesas,usb-dmac.txt b/Documentation/devicetree/bindings/dma/renesas,usb-dmac.txt
index 5e82a93..f365523 100644
--- a/Documentation/devicetree/bindings/dma/renesas,usb-dmac.txt
+++ b/Documentation/devicetree/bindings/dma/renesas,usb-dmac.txt
@@ -6,6 +6,7 @@ Required Properties:
 	  - "renesas,r8a7743-usb-dmac" (RZ/G1M)
 	  - "renesas,r8a7745-usb-dmac" (RZ/G1E)
 	  - "renesas,r8a774a1-usb-dmac" (RZ/G2M)
+	  - "renesas,r8a774b1-usb-dmac" (RZ/G2N)
 	  - "renesas,r8a774c0-usb-dmac" (RZ/G2E)
 	  - "renesas,r8a7790-usb-dmac" (R-Car H2)
 	  - "renesas,r8a7791-usb-dmac" (R-Car M2-W)
-- 
2.7.4

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

* [cip-dev] [PATCH 4.19.y-cip 27/35] dt-bindings: usb: renesas_usbhs: Rename bindings documentation file
  2020-02-05 20:38 [cip-dev] [PATCH 4.19.y-cip 00/35] Renesas RZ/G2 extend peripheral support Lad Prabhakar
                   ` (25 preceding siblings ...)
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 26/35] dt-bindings: dmaengine: usb-dmac: Add binding for r8a774b1 Lad Prabhakar
@ 2020-02-05 20:38 ` Lad Prabhakar
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 28/35] dt-bindings: usb: renesas_usbhs: Add r8a774b1 support Lad Prabhakar
                   ` (9 subsequent siblings)
  36 siblings, 0 replies; 46+ messages in thread
From: Lad Prabhakar @ 2020-02-05 20:38 UTC (permalink / raw)
  To: cip-dev

From: Simon Horman <horms+renesas@verge.net.au>

commit 59d7d4c5178d18b58414194271ad85e30ecaff92 upstream.

For consistency with the naming of (most) other documentation files for DT
bindings for Renesas IP blocks rename the Renesas USBHS documentation file
from renesas-usbhs.txt to renesas,usbhs.txt.

Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
(dropped unsupported compatiable strings)
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
 .../devicetree/bindings/usb/renesas,usbhs.txt      | 52 ++++++++++++++++++++++
 .../devicetree/bindings/usb/renesas_usbhs.txt      | 52 ----------------------
 2 files changed, 52 insertions(+), 52 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/usb/renesas,usbhs.txt
 delete mode 100644 Documentation/devicetree/bindings/usb/renesas_usbhs.txt

diff --git a/Documentation/devicetree/bindings/usb/renesas,usbhs.txt b/Documentation/devicetree/bindings/usb/renesas,usbhs.txt
new file mode 100644
index 0000000..8126486
--- /dev/null
+++ b/Documentation/devicetree/bindings/usb/renesas,usbhs.txt
@@ -0,0 +1,52 @@
+Renesas Electronics USBHS driver
+
+Required properties:
+  - compatible: Must contain one or more of the following:
+
+	- "renesas,usbhs-r8a7743" for r8a7743 (RZ/G1M) compatible device
+	- "renesas,usbhs-r8a7745" for r8a7745 (RZ/G1E) compatible device
+	- "renesas,usbhs-r8a774a1" for r8a774a1 (RZ/G2M) compatible device
+	- "renesas,usbhs-r8a774c0" for r8a774c0 (RZ/G2E) compatible device
+	- "renesas,usbhs-r8a7790" for r8a7790 (R-Car H2) compatible device
+	- "renesas,usbhs-r8a7791" for r8a7791 (R-Car M2-W) compatible device
+	- "renesas,usbhs-r8a7792" for r8a7792 (R-Car V2H) compatible device
+	- "renesas,usbhs-r8a7793" for r8a7793 (R-Car M2-N) compatible device
+	- "renesas,usbhs-r8a7794" for r8a7794 (R-Car E2) compatible device
+	- "renesas,usbhs-r8a7795" for r8a7795 (R-Car H3) compatible device
+	- "renesas,usbhs-r8a7796" for r8a7796 (R-Car M3-W) compatible device
+	- "renesas,usbhs-r8a77965" for r8a77965 (R-Car M3-N) compatible device
+	- "renesas,usbhs-r8a77995" for r8a77995 (R-Car D3) compatible device
+	- "renesas,usbhs-r7s72100" for r7s72100 (RZ/A1) compatible device
+	- "renesas,rcar-gen2-usbhs" for R-Car Gen2 or RZ/G1 compatible devices
+	- "renesas,rcar-gen3-usbhs" for R-Car Gen3 or RZ/G2 compatible devices
+	- "renesas,rza1-usbhs" for RZ/A1 compatible device
+
+	When compatible with the generic version, nodes must list the
+	SoC-specific version corresponding to the platform first followed
+	by the generic version.
+
+  - reg: Base address and length of the register for the USBHS
+  - interrupts: Interrupt specifier for the USBHS
+  - clocks: A list of phandle + clock specifier pairs.
+	    - In case of "renesas,rcar-gen3-usbhs", two clocks are required.
+	      First clock should be peripheral and second one should be host.
+	    - In case of except above, one clock is required. First clock
+	      should be peripheral.
+
+Optional properties:
+  - renesas,buswait: Integer to use BUSWAIT register
+  - renesas,enable-gpio: A gpio specifier to check GPIO determining if USB
+			 function should be enabled
+  - phys: phandle + phy specifier pair
+  - phy-names: must be "usb"
+  - dmas: Must contain a list of references to DMA specifiers.
+  - dma-names : named "ch%d", where %d is the channel number ranging from zero
+                to the number of channels (DnFIFOs) minus one.
+
+Example:
+	usbhs: usb at e6590000 {
+		compatible = "renesas,usbhs-r8a7790", "renesas,rcar-gen2-usbhs";
+		reg = <0 0xe6590000 0 0x100>;
+		interrupts = <0 107 IRQ_TYPE_LEVEL_HIGH>;
+		clocks = <&mstp7_clks R8A7790_CLK_HSUSB>;
+	};
diff --git a/Documentation/devicetree/bindings/usb/renesas_usbhs.txt b/Documentation/devicetree/bindings/usb/renesas_usbhs.txt
deleted file mode 100644
index 8126486..0000000
--- a/Documentation/devicetree/bindings/usb/renesas_usbhs.txt
+++ /dev/null
@@ -1,52 +0,0 @@
-Renesas Electronics USBHS driver
-
-Required properties:
-  - compatible: Must contain one or more of the following:
-
-	- "renesas,usbhs-r8a7743" for r8a7743 (RZ/G1M) compatible device
-	- "renesas,usbhs-r8a7745" for r8a7745 (RZ/G1E) compatible device
-	- "renesas,usbhs-r8a774a1" for r8a774a1 (RZ/G2M) compatible device
-	- "renesas,usbhs-r8a774c0" for r8a774c0 (RZ/G2E) compatible device
-	- "renesas,usbhs-r8a7790" for r8a7790 (R-Car H2) compatible device
-	- "renesas,usbhs-r8a7791" for r8a7791 (R-Car M2-W) compatible device
-	- "renesas,usbhs-r8a7792" for r8a7792 (R-Car V2H) compatible device
-	- "renesas,usbhs-r8a7793" for r8a7793 (R-Car M2-N) compatible device
-	- "renesas,usbhs-r8a7794" for r8a7794 (R-Car E2) compatible device
-	- "renesas,usbhs-r8a7795" for r8a7795 (R-Car H3) compatible device
-	- "renesas,usbhs-r8a7796" for r8a7796 (R-Car M3-W) compatible device
-	- "renesas,usbhs-r8a77965" for r8a77965 (R-Car M3-N) compatible device
-	- "renesas,usbhs-r8a77995" for r8a77995 (R-Car D3) compatible device
-	- "renesas,usbhs-r7s72100" for r7s72100 (RZ/A1) compatible device
-	- "renesas,rcar-gen2-usbhs" for R-Car Gen2 or RZ/G1 compatible devices
-	- "renesas,rcar-gen3-usbhs" for R-Car Gen3 or RZ/G2 compatible devices
-	- "renesas,rza1-usbhs" for RZ/A1 compatible device
-
-	When compatible with the generic version, nodes must list the
-	SoC-specific version corresponding to the platform first followed
-	by the generic version.
-
-  - reg: Base address and length of the register for the USBHS
-  - interrupts: Interrupt specifier for the USBHS
-  - clocks: A list of phandle + clock specifier pairs.
-	    - In case of "renesas,rcar-gen3-usbhs", two clocks are required.
-	      First clock should be peripheral and second one should be host.
-	    - In case of except above, one clock is required. First clock
-	      should be peripheral.
-
-Optional properties:
-  - renesas,buswait: Integer to use BUSWAIT register
-  - renesas,enable-gpio: A gpio specifier to check GPIO determining if USB
-			 function should be enabled
-  - phys: phandle + phy specifier pair
-  - phy-names: must be "usb"
-  - dmas: Must contain a list of references to DMA specifiers.
-  - dma-names : named "ch%d", where %d is the channel number ranging from zero
-                to the number of channels (DnFIFOs) minus one.
-
-Example:
-	usbhs: usb at e6590000 {
-		compatible = "renesas,usbhs-r8a7790", "renesas,rcar-gen2-usbhs";
-		reg = <0 0xe6590000 0 0x100>;
-		interrupts = <0 107 IRQ_TYPE_LEVEL_HIGH>;
-		clocks = <&mstp7_clks R8A7790_CLK_HSUSB>;
-	};
-- 
2.7.4

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

* [cip-dev] [PATCH 4.19.y-cip 28/35] dt-bindings: usb: renesas_usbhs: Add r8a774b1 support
  2020-02-05 20:38 [cip-dev] [PATCH 4.19.y-cip 00/35] Renesas RZ/G2 extend peripheral support Lad Prabhakar
                   ` (26 preceding siblings ...)
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 27/35] dt-bindings: usb: renesas_usbhs: Rename bindings documentation file Lad Prabhakar
@ 2020-02-05 20:38 ` Lad Prabhakar
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 29/35] dt-bindings: rcar-gen3-phy-usb3: " Lad Prabhakar
                   ` (8 subsequent siblings)
  36 siblings, 0 replies; 46+ messages in thread
From: Lad Prabhakar @ 2020-02-05 20:38 UTC (permalink / raw)
  To: cip-dev

From: Fabrizio Castro <fabrizio.castro@bp.renesas.com>

commit 808566e6a78faf5d6b8234bd8f9a8130510e8c0d upstream.

Document RZ/G2N (R8A774B1) SoC bindings.

Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Link: https://lore.kernel.org/r/1570531132-21856-4-git-send-email-fabrizio.castro at bp.renesas.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
 Documentation/devicetree/bindings/usb/renesas,usbhs.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/usb/renesas,usbhs.txt b/Documentation/devicetree/bindings/usb/renesas,usbhs.txt
index 8126486..33fc4b9 100644
--- a/Documentation/devicetree/bindings/usb/renesas,usbhs.txt
+++ b/Documentation/devicetree/bindings/usb/renesas,usbhs.txt
@@ -6,6 +6,7 @@ Required properties:
 	- "renesas,usbhs-r8a7743" for r8a7743 (RZ/G1M) compatible device
 	- "renesas,usbhs-r8a7745" for r8a7745 (RZ/G1E) compatible device
 	- "renesas,usbhs-r8a774a1" for r8a774a1 (RZ/G2M) compatible device
+	- "renesas,usbhs-r8a774b1" for r8a774b1 (RZ/G2N) compatible device
 	- "renesas,usbhs-r8a774c0" for r8a774c0 (RZ/G2E) compatible device
 	- "renesas,usbhs-r8a7790" for r8a7790 (R-Car H2) compatible device
 	- "renesas,usbhs-r8a7791" for r8a7791 (R-Car M2-W) compatible device
-- 
2.7.4

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

* [cip-dev] [PATCH 4.19.y-cip 29/35] dt-bindings: rcar-gen3-phy-usb3: Add r8a774b1 support
  2020-02-05 20:38 [cip-dev] [PATCH 4.19.y-cip 00/35] Renesas RZ/G2 extend peripheral support Lad Prabhakar
                   ` (27 preceding siblings ...)
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 28/35] dt-bindings: usb: renesas_usbhs: Add r8a774b1 support Lad Prabhakar
@ 2020-02-05 20:38 ` Lad Prabhakar
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 30/35] dt-bindings: usb-xhci: " Lad Prabhakar
                   ` (7 subsequent siblings)
  36 siblings, 0 replies; 46+ messages in thread
From: Lad Prabhakar @ 2020-02-05 20:38 UTC (permalink / raw)
  To: cip-dev

From: Fabrizio Castro <fabrizio.castro@bp.renesas.com>

commit f48c0a4228af75b7e6027d9b6b9b6e7e6ae47dc3 upstream.

Document RZ/G2N (R8A774B1) SoC bindings.

Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Link: https://lore.kernel.org/r/1570531132-21856-5-git-send-email-fabrizio.castro at bp.renesas.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
 Documentation/devicetree/bindings/phy/rcar-gen3-phy-usb3.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/phy/rcar-gen3-phy-usb3.txt b/Documentation/devicetree/bindings/phy/rcar-gen3-phy-usb3.txt
index 9d98266..0fe433b 100644
--- a/Documentation/devicetree/bindings/phy/rcar-gen3-phy-usb3.txt
+++ b/Documentation/devicetree/bindings/phy/rcar-gen3-phy-usb3.txt
@@ -9,6 +9,8 @@ need this driver.
 Required properties:
 - compatible: "renesas,r8a774a1-usb3-phy" if the device is a part of an R8A774A1
 	      SoC.
+	      "renesas,r8a774b1-usb3-phy" if the device is a part of an R8A774B1
+	      SoC.
 	      "renesas,r8a7795-usb3-phy" if the device is a part of an R8A7795
 	      SoC.
 	      "renesas,r8a7796-usb3-phy" if the device is a part of an R8A7796
-- 
2.7.4

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

* [cip-dev] [PATCH 4.19.y-cip 30/35] dt-bindings: usb-xhci: Add r8a774b1 support
  2020-02-05 20:38 [cip-dev] [PATCH 4.19.y-cip 00/35] Renesas RZ/G2 extend peripheral support Lad Prabhakar
                   ` (28 preceding siblings ...)
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 29/35] dt-bindings: rcar-gen3-phy-usb3: " Lad Prabhakar
@ 2020-02-05 20:38 ` Lad Prabhakar
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 31/35] dt-bindings: usb: renesas_gen3: Rename bindings documentation file to reflect IP block Lad Prabhakar
                   ` (6 subsequent siblings)
  36 siblings, 0 replies; 46+ messages in thread
From: Lad Prabhakar @ 2020-02-05 20:38 UTC (permalink / raw)
  To: cip-dev

From: Fabrizio Castro <fabrizio.castro@bp.renesas.com>

commit 49b8956b3d9b633dbbe0be443dc98f7d87db13c2 upstream.

Document RZ/G2N (R8A774B1) SoC bindings.

Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Link: https://lore.kernel.org/r/1570531132-21856-6-git-send-email-fabrizio.castro at bp.renesas.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@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 53a3f68..35f1546 100644
--- a/Documentation/devicetree/bindings/usb/usb-xhci.txt
+++ b/Documentation/devicetree/bindings/usb/usb-xhci.txt
@@ -9,6 +9,7 @@ Required properties:
     - "marvell,armada-380-xhci" for Armada 38x SoCs
     - "renesas,xhci-r8a7743" for r8a7743 SoC
     - "renesas,xhci-r8a774a1" for r8a774a1 SoC
+    - "renesas,xhci-r8a774b1" for r8a774b1 SoC
     - "renesas,xhci-r8a774c0" for r8a774c0 SoC
     - "renesas,xhci-r8a7790" for r8a7790 SoC
     - "renesas,xhci-r8a7791" for r8a7791 SoC
-- 
2.7.4

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

* [cip-dev] [PATCH 4.19.y-cip 31/35] dt-bindings: usb: renesas_gen3: Rename bindings documentation file to reflect IP block
  2020-02-05 20:38 [cip-dev] [PATCH 4.19.y-cip 00/35] Renesas RZ/G2 extend peripheral support Lad Prabhakar
                   ` (29 preceding siblings ...)
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 30/35] dt-bindings: usb-xhci: " Lad Prabhakar
@ 2020-02-05 20:38 ` Lad Prabhakar
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 32/35] dt-bindings: usb: renesas_usb3: Document r8a774b1 support Lad Prabhakar
                   ` (5 subsequent siblings)
  36 siblings, 0 replies; 46+ messages in thread
From: Lad Prabhakar @ 2020-02-05 20:38 UTC (permalink / raw)
  To: cip-dev

From: Simon Horman <horms+renesas@verge.net.au>

commit 92b8608691bf129b1137be46a3a0058bcacc97a9 upstream.

For consistency with the naming of (most) other documentation files for DT
bindings for Renesas IP blocks rename the Renesas USB3.0 peripheral
documentation file from renesas,usb3.txt to renesas,usb3-peri.txt

This refines a recent rename from renesas_usb3.txt to renesas,usb3.txt.
The motivation is to more accurately reflect the IP block documented in
this file.

Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Niklas Sderlund <niklas.soderlund+renesas@ragnatech.se>
Link: https://lore.kernel.org/r/20190809213710.31783-1-horms+renesas at verge.net.au
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(dropped unsupported compatiable strings)
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
 .../devicetree/bindings/usb/renesas,usb3-peri.txt  | 40 ++++++++++++++++++++++
 .../devicetree/bindings/usb/renesas_usb3.txt       | 40 ----------------------
 2 files changed, 40 insertions(+), 40 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/usb/renesas,usb3-peri.txt
 delete mode 100644 Documentation/devicetree/bindings/usb/renesas_usb3.txt

diff --git a/Documentation/devicetree/bindings/usb/renesas,usb3-peri.txt b/Documentation/devicetree/bindings/usb/renesas,usb3-peri.txt
new file mode 100644
index 0000000..9551e8c
--- /dev/null
+++ b/Documentation/devicetree/bindings/usb/renesas,usb3-peri.txt
@@ -0,0 +1,40 @@
+Renesas Electronics USB3.0 Peripheral driver
+
+Required properties:
+  - compatible: Must contain one of the following:
+	- "renesas,r8a774a1-usb3-peri"
+	- "renesas,r8a774c0-usb3-peri"
+	- "renesas,r8a7795-usb3-peri"
+	- "renesas,r8a7796-usb3-peri"
+	- "renesas,r8a77965-usb3-peri"
+	- "renesas,rcar-gen3-usb3-peri" for a generic R-Car Gen3 or RZ/G2
+	  compatible device
+
+    When compatible with the generic version, nodes must list the
+    SoC-specific version corresponding to the platform first
+    followed by the generic version.
+
+  - reg: Base address and length of the register for the USB3.0 Peripheral
+  - interrupts: Interrupt specifier for the USB3.0 Peripheral
+  - clocks: clock phandle and specifier pair
+
+Optional properties:
+  - phys: phandle + phy specifier pair
+  - phy-names: must be "usb"
+
+Example of R-Car H3 ES1.x:
+	usb3_peri0: usb at ee020000 {
+		compatible = "renesas,r8a7795-usb3-peri",
+			     "renesas,rcar-gen3-usb3-peri";
+		reg = <0 0xee020000 0 0x400>;
+		interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
+		clocks = <&cpg CPG_MOD 328>;
+	};
+
+	usb3_peri1: usb at ee060000 {
+		compatible = "renesas,r8a7795-usb3-peri",
+			     "renesas,rcar-gen3-usb3-peri";
+		reg = <0 0xee060000 0 0x400>;
+		interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
+		clocks = <&cpg CPG_MOD 327>;
+	};
diff --git a/Documentation/devicetree/bindings/usb/renesas_usb3.txt b/Documentation/devicetree/bindings/usb/renesas_usb3.txt
deleted file mode 100644
index 9551e8c..0000000
--- a/Documentation/devicetree/bindings/usb/renesas_usb3.txt
+++ /dev/null
@@ -1,40 +0,0 @@
-Renesas Electronics USB3.0 Peripheral driver
-
-Required properties:
-  - compatible: Must contain one of the following:
-	- "renesas,r8a774a1-usb3-peri"
-	- "renesas,r8a774c0-usb3-peri"
-	- "renesas,r8a7795-usb3-peri"
-	- "renesas,r8a7796-usb3-peri"
-	- "renesas,r8a77965-usb3-peri"
-	- "renesas,rcar-gen3-usb3-peri" for a generic R-Car Gen3 or RZ/G2
-	  compatible device
-
-    When compatible with the generic version, nodes must list the
-    SoC-specific version corresponding to the platform first
-    followed by the generic version.
-
-  - reg: Base address and length of the register for the USB3.0 Peripheral
-  - interrupts: Interrupt specifier for the USB3.0 Peripheral
-  - clocks: clock phandle and specifier pair
-
-Optional properties:
-  - phys: phandle + phy specifier pair
-  - phy-names: must be "usb"
-
-Example of R-Car H3 ES1.x:
-	usb3_peri0: usb at ee020000 {
-		compatible = "renesas,r8a7795-usb3-peri",
-			     "renesas,rcar-gen3-usb3-peri";
-		reg = <0 0xee020000 0 0x400>;
-		interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
-		clocks = <&cpg CPG_MOD 328>;
-	};
-
-	usb3_peri1: usb at ee060000 {
-		compatible = "renesas,r8a7795-usb3-peri",
-			     "renesas,rcar-gen3-usb3-peri";
-		reg = <0 0xee060000 0 0x400>;
-		interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
-		clocks = <&cpg CPG_MOD 327>;
-	};
-- 
2.7.4

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

* [cip-dev] [PATCH 4.19.y-cip 32/35] dt-bindings: usb: renesas_usb3: Document r8a774b1 support
  2020-02-05 20:38 [cip-dev] [PATCH 4.19.y-cip 00/35] Renesas RZ/G2 extend peripheral support Lad Prabhakar
                   ` (30 preceding siblings ...)
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 31/35] dt-bindings: usb: renesas_gen3: Rename bindings documentation file to reflect IP block Lad Prabhakar
@ 2020-02-05 20:38 ` Lad Prabhakar
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 33/35] arm64: dts: renesas: r8a774b1: Add USB2.0 phy and host (EHCI/OHCI) device nodes Lad Prabhakar
                   ` (4 subsequent siblings)
  36 siblings, 0 replies; 46+ messages in thread
From: Lad Prabhakar @ 2020-02-05 20:38 UTC (permalink / raw)
  To: cip-dev

From: Fabrizio Castro <fabrizio.castro@bp.renesas.com>

commit 7236c197b4ed5de4771a92945888526b1316bd46 upstream.

Document RZ/G2N (R8A774B1) SoC bindings.

Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Link: https://lore.kernel.org/r/1570531132-21856-7-git-send-email-fabrizio.castro at bp.renesas.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
 Documentation/devicetree/bindings/usb/renesas,usb3-peri.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/usb/renesas,usb3-peri.txt b/Documentation/devicetree/bindings/usb/renesas,usb3-peri.txt
index 9551e8c..51a7b37 100644
--- a/Documentation/devicetree/bindings/usb/renesas,usb3-peri.txt
+++ b/Documentation/devicetree/bindings/usb/renesas,usb3-peri.txt
@@ -3,6 +3,7 @@ Renesas Electronics USB3.0 Peripheral driver
 Required properties:
   - compatible: Must contain one of the following:
 	- "renesas,r8a774a1-usb3-peri"
+	- "renesas,r8a774b1-usb3-peri"
 	- "renesas,r8a774c0-usb3-peri"
 	- "renesas,r8a7795-usb3-peri"
 	- "renesas,r8a7796-usb3-peri"
-- 
2.7.4

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

* [cip-dev] [PATCH 4.19.y-cip 33/35] arm64: dts: renesas: r8a774b1: Add USB2.0 phy and host (EHCI/OHCI) device nodes
  2020-02-05 20:38 [cip-dev] [PATCH 4.19.y-cip 00/35] Renesas RZ/G2 extend peripheral support Lad Prabhakar
                   ` (31 preceding siblings ...)
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 32/35] dt-bindings: usb: renesas_usb3: Document r8a774b1 support Lad Prabhakar
@ 2020-02-05 20:38 ` Lad Prabhakar
  2020-02-05 20:39 ` [cip-dev] [PATCH 4.19.y-cip 34/35] arm64: dts: renesas: r8a774b1: Add USB-DMAC and HSUSB " Lad Prabhakar
                   ` (3 subsequent siblings)
  36 siblings, 0 replies; 46+ messages in thread
From: Lad Prabhakar @ 2020-02-05 20:38 UTC (permalink / raw)
  To: cip-dev

From: Fabrizio Castro <fabrizio.castro@bp.renesas.com>

commit 561668aa461490c219f211a58b3e19edd4c62fc4 upstream.

Add USB2.0 phy and host (EHCI/OHCI) device nodes on RZ/G2N SoC dtsi.

Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Link: https://lore.kernel.org/r/1570531132-21856-8-git-send-email-fabrizio.castro at bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
 arch/arm64/boot/dts/renesas/r8a774b1.dtsi | 55 +++++++++++++++++++++++++++----
 1 file changed, 49 insertions(+), 6 deletions(-)

diff --git a/arch/arm64/boot/dts/renesas/r8a774b1.dtsi b/arch/arm64/boot/dts/renesas/r8a774b1.dtsi
index e3fc92b..79a0778 100644
--- a/arch/arm64/boot/dts/renesas/r8a774b1.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a774b1.dtsi
@@ -1721,33 +1721,76 @@
 		};
 
 		ohci0: usb at ee080000 {
+			compatible = "generic-ohci";
 			reg = <0 0xee080000 0 0x100>;
-			/* placeholder */
+			interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>;
+			phys = <&usb2_phy0 1>;
+			phy-names = "usb";
+			power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
+			resets = <&cpg 703>, <&cpg 704>;
+			status = "disabled";
 		};
 
 		ohci1: usb at ee0a0000 {
+			compatible = "generic-ohci";
 			reg = <0 0xee0a0000 0 0x100>;
-			/* placeholder */
+			interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 702>;
+			phys = <&usb2_phy1 1>;
+			phy-names = "usb";
+			power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
+			resets = <&cpg 702>;
+			status = "disabled";
 		};
 
 		ehci0: usb at ee080100 {
+			compatible = "generic-ehci";
 			reg = <0 0xee080100 0 0x100>;
-			/* placeholder */
+			interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>;
+			phys = <&usb2_phy0 2>;
+			phy-names = "usb";
+			companion = <&ohci0>;
+			power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
+			resets = <&cpg 703>, <&cpg 704>;
+			status = "disabled";
 		};
 
 		ehci1: usb at ee0a0100 {
+			compatible = "generic-ehci";
 			reg = <0 0xee0a0100 0 0x100>;
-			/* placeholder */
+			interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 702>;
+			phys = <&usb2_phy1 2>;
+			phy-names = "usb";
+			companion = <&ohci1>;
+			power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
+			resets = <&cpg 702>;
+			status = "disabled";
 		};
 
 		usb2_phy0: usb-phy at ee080200 {
+			compatible = "renesas,usb2-phy-r8a774b1",
+				     "renesas,rcar-gen3-usb2-phy";
 			reg = <0 0xee080200 0 0x700>;
-			/* placeholder */
+			interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>;
+			power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
+			resets = <&cpg 703>, <&cpg 704>;
+			#phy-cells = <1>;
+			status = "disabled";
 		};
 
 		usb2_phy1: usb-phy at ee0a0200 {
+			compatible = "renesas,usb2-phy-r8a774b1",
+				     "renesas,rcar-gen3-usb2-phy";
 			reg = <0 0xee0a0200 0 0x700>;
-			/* placeholder */
+			clocks = <&cpg CPG_MOD 702>;
+			power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
+			resets = <&cpg 702>;
+			#phy-cells = <1>;
+			status = "disabled";
 		};
 
 		sdhi0: sd at ee100000 {
-- 
2.7.4

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

* [cip-dev] [PATCH 4.19.y-cip 34/35] arm64: dts: renesas: r8a774b1: Add USB-DMAC and HSUSB device nodes
  2020-02-05 20:38 [cip-dev] [PATCH 4.19.y-cip 00/35] Renesas RZ/G2 extend peripheral support Lad Prabhakar
                   ` (32 preceding siblings ...)
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 33/35] arm64: dts: renesas: r8a774b1: Add USB2.0 phy and host (EHCI/OHCI) device nodes Lad Prabhakar
@ 2020-02-05 20:39 ` Lad Prabhakar
  2020-02-05 20:39 ` [cip-dev] [PATCH 4.19.y-cip 35/35] arm64: dts: renesas: r8a774b1: Add USB3.0 " Lad Prabhakar
                   ` (2 subsequent siblings)
  36 siblings, 0 replies; 46+ messages in thread
From: Lad Prabhakar @ 2020-02-05 20:39 UTC (permalink / raw)
  To: cip-dev

From: Fabrizio Castro <fabrizio.castro@bp.renesas.com>

commit 34560ef33934f277f96e7feab32b2ca8f17c0d9d upstream.

Add usb dmac and hsusb device nodes to the RZ/G2N SoC dtsi.

Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Link: https://lore.kernel.org/r/1570531132-21856-9-git-send-email-fabrizio.castro at bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
 arch/arm64/boot/dts/renesas/r8a774b1.dtsi | 42 ++++++++++++++++++++++++++++++-
 1 file changed, 41 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/renesas/r8a774b1.dtsi b/arch/arm64/boot/dts/renesas/r8a774b1.dtsi
index 79a0778..45069c8 100644
--- a/arch/arm64/boot/dts/renesas/r8a774b1.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a774b1.dtsi
@@ -691,8 +691,48 @@
 		};
 
 		hsusb: usb at e6590000 {
+			compatible = "renesas,usbhs-r8a774b1",
+				     "renesas,rcar-gen3-usbhs";
 			reg = <0 0xe6590000 0 0x200>;
-			/* placeholder */
+			interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 704>, <&cpg CPG_MOD 703>;
+			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 3>;
+			phy-names = "usb";
+			power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
+			resets = <&cpg 704>, <&cpg 703>;
+			status = "disabled";
+		};
+
+		usb_dmac0: dma-controller at e65a0000 {
+			compatible = "renesas,r8a774b1-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 R8A774B1_PD_ALWAYS_ON>;
+			resets = <&cpg 330>;
+			#dma-cells = <1>;
+			dma-channels = <2>;
+		};
+
+		usb_dmac1: dma-controller at e65b0000 {
+			compatible = "renesas,r8a774b1-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 R8A774B1_PD_ALWAYS_ON>;
+			resets = <&cpg 331>;
+			#dma-cells = <1>;
+			dma-channels = <2>;
 		};
 
 		usb3_phy0: usb-phy at e65ee000 {
-- 
2.7.4

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

* [cip-dev] [PATCH 4.19.y-cip 35/35] arm64: dts: renesas: r8a774b1: Add USB3.0 device nodes
  2020-02-05 20:38 [cip-dev] [PATCH 4.19.y-cip 00/35] Renesas RZ/G2 extend peripheral support Lad Prabhakar
                   ` (33 preceding siblings ...)
  2020-02-05 20:39 ` [cip-dev] [PATCH 4.19.y-cip 34/35] arm64: dts: renesas: r8a774b1: Add USB-DMAC and HSUSB " Lad Prabhakar
@ 2020-02-05 20:39 ` Lad Prabhakar
  2020-02-05 22:46 ` [cip-dev] [PATCH 4.19.y-cip 00/35] Renesas RZ/G2 extend peripheral support Pavel Machek
  2020-02-06 22:50 ` Pavel Machek
  36 siblings, 0 replies; 46+ messages in thread
From: Lad Prabhakar @ 2020-02-05 20:39 UTC (permalink / raw)
  To: cip-dev

From: Fabrizio Castro <fabrizio.castro@bp.renesas.com>

commit 4ec25b30a477884d013b7f044bd3c4cfe00d6ef0 upstream.

Add usb3.0 phy, host and function device nodes on RZ/G2N SoC dtsi.

Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Link: https://lore.kernel.org/r/1570531132-21856-10-git-send-email-fabrizio.castro at bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
 arch/arm64/boot/dts/renesas/r8a774b1.dtsi | 25 ++++++++++++++++++++++---
 1 file changed, 22 insertions(+), 3 deletions(-)

diff --git a/arch/arm64/boot/dts/renesas/r8a774b1.dtsi b/arch/arm64/boot/dts/renesas/r8a774b1.dtsi
index 45069c8..5948f78 100644
--- a/arch/arm64/boot/dts/renesas/r8a774b1.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a774b1.dtsi
@@ -736,9 +736,16 @@
 		};
 
 		usb3_phy0: usb-phy at e65ee000 {
+			compatible = "renesas,r8a774b1-usb3-phy",
+				     "renesas,rcar-gen3-usb3-phy";
 			reg = <0 0xe65ee000 0 0x90>;
+			clocks = <&cpg CPG_MOD 328>, <&usb3s0_clk>,
+				 <&usb_extal_clk>;
+			clock-names = "usb3-if", "usb3s_clk", "usb_extal";
+			power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
+			resets = <&cpg 328>;
 			#phy-cells = <0>;
-			/* placeholder */
+			status = "disabled";
 		};
 
 		dmac0: dma-controller at e6700000 {
@@ -1751,13 +1758,25 @@
 		};
 
 		xhci0: usb at ee000000 {
+			compatible = "renesas,xhci-r8a774b1",
+				     "renesas,rcar-gen3-xhci";
 			reg = <0 0xee000000 0 0xc00>;
-			/* placeholder */
+			interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 328>;
+			power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
+			resets = <&cpg 328>;
+			status = "disabled";
 		};
 
 		usb3_peri0: usb at ee020000 {
+			compatible = "renesas,r8a774b1-usb3-peri",
+				     "renesas,rcar-gen3-usb3-peri";
 			reg = <0 0xee020000 0 0x400>;
-			/* placeholder */
+			interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 328>;
+			power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
+			resets = <&cpg 328>;
+			status = "disabled";
 		};
 
 		ohci0: usb at ee080000 {
-- 
2.7.4

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

* [cip-dev] [PATCH 4.19.y-cip 00/35] Renesas RZ/G2 extend peripheral support
  2020-02-05 20:38 [cip-dev] [PATCH 4.19.y-cip 00/35] Renesas RZ/G2 extend peripheral support Lad Prabhakar
                   ` (34 preceding siblings ...)
  2020-02-05 20:39 ` [cip-dev] [PATCH 4.19.y-cip 35/35] arm64: dts: renesas: r8a774b1: Add USB3.0 " Lad Prabhakar
@ 2020-02-05 22:46 ` Pavel Machek
  2020-02-06  7:05   ` Prabhakar Mahadev Lad
  2020-02-06 22:50 ` Pavel Machek
  36 siblings, 1 reply; 46+ messages in thread
From: Pavel Machek @ 2020-02-05 22:46 UTC (permalink / raw)
  To: cip-dev

Hi!

Could I ask for unique subjects for the series? I have just
applied/pushed out different "Renesas RZ/G2 extend peripheral support"
series. That... has to be confusing for 

"Renesas RZ/G2: add CAN/VSP/USB/HDMI support" would be better subject
(but you can likely come out with something even better).

Anyway, let me review the patches, there's no need to resent this just
for this.

Best regards,
								Pavel     

On Wed 2020-02-05 20:38:26, Lad Prabhakar wrote:
> This patch series adds supports for following peripherals supported by RZ/G2N
> a] CAN and CANFD
> b] IPMMU/FCPF/FCPV/VSP
> c] USB
> d] DU/LVDS/HDMI/FDP1/PWM
> 
> This patch series is based on top of series [1] all the patches 
> in this series are cherry-picked from upstream.

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.cip-project.org/pipermail/cip-dev/attachments/20200205/dacb21ee/attachment-0001.sig>

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

* [cip-dev] [PATCH 4.19.y-cip 00/35] Renesas RZ/G2 extend peripheral support
  2020-02-05 22:46 ` [cip-dev] [PATCH 4.19.y-cip 00/35] Renesas RZ/G2 extend peripheral support Pavel Machek
@ 2020-02-06  7:05   ` Prabhakar Mahadev Lad
  0 siblings, 0 replies; 46+ messages in thread
From: Prabhakar Mahadev Lad @ 2020-02-06  7:05 UTC (permalink / raw)
  To: cip-dev

Hi Pavel,

> -----Original Message-----
> From: Pavel Machek <pavel@denx.de>
> Sent: 05 February 2020 22:46
> To: Prabhakar Mahadev Lad <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Cc: cip-dev at lists.cip-project.org; Nobuhiro Iwamatsu
> <nobuhiro1.iwamatsu@toshiba.co.jp>; Pavel Machek <pavel@denx.de>;
> Chris Paterson <Chris.Paterson2@renesas.com>
> Subject: Re: [PATCH 4.19.y-cip 00/35] Renesas RZ/G2 extend peripheral
> support
>
> Hi!
>
> Could I ask for unique subjects for the series? I have just applied/pushed out
> different "Renesas RZ/G2 extend peripheral support"
> series. That... has to be confusing for
>
> "Renesas RZ/G2: add CAN/VSP/USB/HDMI support" would be better subject
> (but you can likely come out with something even better).
>
> Anyway, let me review the patches, there's no need to resent this just for
> this.
>
Sorry about that will keep that in mind.

Cheers,
--Prabhakar

> Best regards,
> Pavel
>
> On Wed 2020-02-05 20:38:26, Lad Prabhakar wrote:
> > This patch series adds supports for following peripherals supported by
> > RZ/G2N a] CAN and CANFD b] IPMMU/FCPF/FCPV/VSP c] USB d]
> > DU/LVDS/HDMI/FDP1/PWM
> >
> > This patch series is based on top of series [1] all the patches in
> > this series are cherry-picked from upstream.
>
> --
> DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


Renesas Electronics Europe GmbH, Geschaeftsfuehrer/President: Carsten Jauch, Sitz der Gesellschaft/Registered office: Duesseldorf, Arcadiastrasse 10, 40472 Duesseldorf, Germany, Handelsregister/Commercial Register: Duesseldorf, HRB 3708 USt-IDNr./Tax identification no.: DE 119353406 WEEE-Reg.-Nr./WEEE reg. no.: DE 14978647

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

* [cip-dev] [PATCH 4.19.y-cip 00/35] Renesas RZ/G2 extend peripheral support
  2020-02-05 20:38 [cip-dev] [PATCH 4.19.y-cip 00/35] Renesas RZ/G2 extend peripheral support Lad Prabhakar
                   ` (35 preceding siblings ...)
  2020-02-05 22:46 ` [cip-dev] [PATCH 4.19.y-cip 00/35] Renesas RZ/G2 extend peripheral support Pavel Machek
@ 2020-02-06 22:50 ` Pavel Machek
  2020-02-06 22:52   ` Prabhakar Mahadev Lad
  2020-02-07  8:54   ` nobuhiro1.iwamatsu at toshiba.co.jp
  36 siblings, 2 replies; 46+ messages in thread
From: Pavel Machek @ 2020-02-06 22:50 UTC (permalink / raw)
  To: cip-dev

Hi!

> This patch series adds supports for following peripherals supported by RZ/G2N
> a] CAN and CANFD
> b] IPMMU/FCPF/FCPV/VSP
> c] USB
> d] DU/LVDS/HDMI/FDP1/PWM
> 
> This patch series is based on top of series [1] all the patches 
> in this series are cherry-picked from upstream.
> 
> [1] https://patchwork.kernel.org/project/cip-dev/list/?series=235707&submitter=&state=*&q=&archive=both&delegate=
>

Series looks okay to me (I'll have some minor comments later). Tests
seem to pass:

https://gitlab.com/cip-project/cip-kernel/linux-cip/pipelines/115667302

I'll push the series if there are no objections.

Best regards,
								Pavel
-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.cip-project.org/pipermail/cip-dev/attachments/20200206/19fc0074/attachment.sig>

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

* [cip-dev] [PATCH 4.19.y-cip 00/35] Renesas RZ/G2 extend peripheral support
  2020-02-06 22:50 ` Pavel Machek
@ 2020-02-06 22:52   ` Prabhakar Mahadev Lad
  2020-02-07  8:54   ` nobuhiro1.iwamatsu at toshiba.co.jp
  1 sibling, 0 replies; 46+ messages in thread
From: Prabhakar Mahadev Lad @ 2020-02-06 22:52 UTC (permalink / raw)
  To: cip-dev

Hi Pavel,

> -----Original Message-----
> From: Pavel Machek <pavel@denx.de>
> Sent: 06 February 2020 22:50
> To: Prabhakar Mahadev Lad <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Cc: cip-dev at lists.cip-project.org; Nobuhiro Iwamatsu
> <nobuhiro1.iwamatsu@toshiba.co.jp>; Pavel Machek <pavel@denx.de>;
> Chris Paterson <Chris.Paterson2@renesas.com>
> Subject: Re: [PATCH 4.19.y-cip 00/35] Renesas RZ/G2 extend peripheral
> support
>
> Hi!
>
> > This patch series adds supports for following peripherals supported by
> > RZ/G2N a] CAN and CANFD b] IPMMU/FCPF/FCPV/VSP c] USB d]
> > DU/LVDS/HDMI/FDP1/PWM
> >
> > This patch series is based on top of series [1] all the patches in
> > this series are cherry-picked from upstream.
> >
> > [1]
> > https://patchwork.kernel.org/project/cip-dev/list/?series=235707&submi
> > tter=&state=*&q=&archive=both&delegate=
> >
>
> Series looks okay to me (I'll have some minor comments later). Tests seem to
> pass:
>
> https://gitlab.com/cip-project/cip-kernel/linux-cip/pipelines/115667302
>
> I'll push the series if there are no objections.
>
Thank you for the review.

Cheers,
--Prabhakar

> Best regards,
> Pavel
> --
> DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


Renesas Electronics Europe GmbH, Geschaeftsfuehrer/President: Carsten Jauch, Sitz der Gesellschaft/Registered office: Duesseldorf, Arcadiastrasse 10, 40472 Duesseldorf, Germany, Handelsregister/Commercial Register: Duesseldorf, HRB 3708 USt-IDNr./Tax identification no.: DE 119353406 WEEE-Reg.-Nr./WEEE reg. no.: DE 14978647

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

* [cip-dev] [PATCH 4.19.y-cip 00/35] Renesas RZ/G2 extend peripheral support
  2020-02-06 22:50 ` Pavel Machek
  2020-02-06 22:52   ` Prabhakar Mahadev Lad
@ 2020-02-07  8:54   ` nobuhiro1.iwamatsu at toshiba.co.jp
  2020-02-07 13:05     ` Pavel Machek
  1 sibling, 1 reply; 46+ messages in thread
From: nobuhiro1.iwamatsu at toshiba.co.jp @ 2020-02-07  8:54 UTC (permalink / raw)
  To: cip-dev

Hi all,

> -----Original Message-----
> From: Pavel Machek [mailto:pavel at denx.de]
> Sent: Friday, February 7, 2020 7:50 AM
> To: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Cc: cip-dev at lists.cip-project.org; iwamatsu nobuhiro(?? ?? ???
> ?????) <nobuhiro1.iwamatsu@toshiba.co.jp>; Pavel Machek
> <pavel@denx.de>; Chris Paterson <chris.paterson2@renesas.com>
> Subject: Re: [PATCH 4.19.y-cip 00/35] Renesas RZ/G2 extend peripheral
> support
> 
> Hi!
> 
> > This patch series adds supports for following peripherals supported
> by
> > RZ/G2N a] CAN and CANFD b] IPMMU/FCPF/FCPV/VSP c] USB d]
> > DU/LVDS/HDMI/FDP1/PWM
> >
> > This patch series is based on top of series [1] all the patches in
> > this series are cherry-picked from upstream.
> >
> > [1]
> >
> https://patchwork.kernel.org/project/cip-dev/list/?series=235707&sub
> mi
> > tter=&state=*&q=&archive=both&delegate=
> >
> 
> Series looks okay to me (I'll have some minor comments later). Tests seem
> to pass:
> 
> https://gitlab.com/cip-project/cip-kernel/linux-cip/pipelines/115667
> 302
> 
> I'll push the series if there are no objections.

I checked this series, so looks good to me.

Best regards,
  Nobuhiro

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

* [cip-dev] [PATCH 4.19.y-cip 00/35] Renesas RZ/G2 extend peripheral support
  2020-02-07  8:54   ` nobuhiro1.iwamatsu at toshiba.co.jp
@ 2020-02-07 13:05     ` Pavel Machek
  0 siblings, 0 replies; 46+ messages in thread
From: Pavel Machek @ 2020-02-07 13:05 UTC (permalink / raw)
  To: cip-dev

Hi!

> > Series looks okay to me (I'll have some minor comments later). Tests seem
> > to pass:
> > 
> > https://gitlab.com/cip-project/cip-kernel/linux-cip/pipelines/115667
> > 302
> > 
> > I'll push the series if there are no objections.
> 
> I checked this series, so looks good to me.

Thank you, applied.

Best regards,
								Pavel

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.cip-project.org/pipermail/cip-dev/attachments/20200207/0f145c68/attachment.sig>

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

* [cip-dev] [PATCH 4.19.y-cip 20/35] arm64: dts: renesas: hihope-rzg2-ex: Add LVDS support
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 20/35] arm64: dts: renesas: hihope-rzg2-ex: Add LVDS support Lad Prabhakar
@ 2020-02-07 13:10   ` Pavel Machek
  2020-02-07 13:19     ` Prabhakar Mahadev Lad
  0 siblings, 1 reply; 46+ messages in thread
From: Pavel Machek @ 2020-02-07 13:10 UTC (permalink / raw)
  To: cip-dev

Hi!

> +&lvds0 {
> +	/*
> +	 * Please include the LVDS panel .dtsi file and uncomment the below line
> +	 * to enable LVDS panel connected to RZ/G2[MN] boards.
> +	 */
> +
> +	/* status = "okay"; */
> +
> +	ports {
> +		port at 1 {
> +			lvds_connector: endpoint {
> +			};
> +		};
> +	};
> +};

Mainline does this so I applied it, but I don't believe you want
boards to modify the dtsi -- it will get problematic if you want to
support two different boards with different LVDS panels in one source
code.

Best regards,
								Pavel
-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.cip-project.org/pipermail/cip-dev/attachments/20200207/3027cd9c/attachment.sig>

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

* [cip-dev] [PATCH 4.19.y-cip 24/35] arm64: dts: renesas: r8a774b1: Add Sound and Audio DMAC device nodes
  2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 24/35] arm64: dts: renesas: r8a774b1: Add Sound and Audio DMAC device nodes Lad Prabhakar
@ 2020-02-07 13:11   ` Pavel Machek
  2020-02-07 13:14     ` Prabhakar Mahadev Lad
  0 siblings, 1 reply; 46+ messages in thread
From: Pavel Machek @ 2020-02-07 13:11 UTC (permalink / raw)
  To: cip-dev

Hi!

> From: Biju Das <biju.das@bp.renesas.com>
> 
> commit 067eca6dc61ad3d05ba919cd5a10affc0647e19c upstream.
> 
> Based on a similar patch of the R8A7796 device tree
> by Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>.

> @@ -1236,24 +1236,478 @@
>  		};
>  
>  		rcar_sound: sound at ec500000 {
> +			/*
> +			 * #sound-dai-cells is required
> +			 *
> +			 * Single DAI : #sound-dai-cells = <0>;	<&rcar_sound>;
> +			 * Multi  DAI : #sound-dai-cells = <1>;	<&rcar_sound N>;
> +			 */
> +			/*
> +			 * #clock-cells is required for audio_clkout0/1/2/3
> +			 *
> +			 * clkout	: #clock-cells = <0>;	<&rcar_sound>;
> +			 * clkout0/1/2/3: #clock-cells = <1>;	<&rcar_sound N>;
> +			 */
> +			compatible =  "renesas,rcar_sound-r8a774b1", "renesas,rcar_sound-gen3";

There is extra space after "=".

Best regards,
								Pavel
-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.cip-project.org/pipermail/cip-dev/attachments/20200207/c8de4105/attachment.sig>

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

* [cip-dev] [PATCH 4.19.y-cip 24/35] arm64: dts: renesas: r8a774b1: Add Sound and Audio DMAC device nodes
  2020-02-07 13:11   ` Pavel Machek
@ 2020-02-07 13:14     ` Prabhakar Mahadev Lad
  0 siblings, 0 replies; 46+ messages in thread
From: Prabhakar Mahadev Lad @ 2020-02-07 13:14 UTC (permalink / raw)
  To: cip-dev

Hi Pavel,

> -----Original Message-----
> From: Pavel Machek <pavel@denx.de>
> Sent: 07 February 2020 13:11
> To: Prabhakar Mahadev Lad <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Cc: cip-dev at lists.cip-project.org; Nobuhiro Iwamatsu
> <nobuhiro1.iwamatsu@toshiba.co.jp>; Pavel Machek <pavel@denx.de>;
> Chris Paterson <Chris.Paterson2@renesas.com>
> Subject: Re: [PATCH 4.19.y-cip 24/35] arm64: dts: renesas: r8a774b1: Add
> Sound and Audio DMAC device nodes
>
> Hi!
>
> > From: Biju Das <biju.das@bp.renesas.com>
> >
> > commit 067eca6dc61ad3d05ba919cd5a10affc0647e19c upstream.
> >
> > Based on a similar patch of the R8A7796 device tree by Kuninori
> > Morimoto <kuninori.morimoto.gx@renesas.com>.
>
> > @@ -1236,24 +1236,478 @@
> >  };
> >
> >  rcar_sound: sound at ec500000 {
> > +/*
> > + * #sound-dai-cells is required
> > + *
> > + * Single DAI : #sound-dai-cells = <0>;
> <&rcar_sound>;
> > + * Multi  DAI : #sound-dai-cells = <1>;
> <&rcar_sound N>;
> > + */
> > +/*
> > + * #clock-cells is required for audio_clkout0/1/2/3
> > + *
> > + * clkout: #clock-cells = <0>;
> <&rcar_sound>;
> > + * clkout0/1/2/3: #clock-cells = <1>;
> <&rcar_sound N>;
> > + */
> > +compatible =  "renesas,rcar_sound-r8a774b1",
> > +"renesas,rcar_sound-gen3";
>
> There is extra space after "=".
>
My bad shall I create a separate patch fixing it ?

Cheers,
--Prabhakar

> Best regards,
> Pavel
> --
> DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


Renesas Electronics Europe GmbH, Geschaeftsfuehrer/President: Carsten Jauch, Sitz der Gesellschaft/Registered office: Duesseldorf, Arcadiastrasse 10, 40472 Duesseldorf, Germany, Handelsregister/Commercial Register: Duesseldorf, HRB 3708 USt-IDNr./Tax identification no.: DE 119353406 WEEE-Reg.-Nr./WEEE reg. no.: DE 14978647

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

* [cip-dev] [PATCH 4.19.y-cip 20/35] arm64: dts: renesas: hihope-rzg2-ex: Add LVDS support
  2020-02-07 13:10   ` Pavel Machek
@ 2020-02-07 13:19     ` Prabhakar Mahadev Lad
  0 siblings, 0 replies; 46+ messages in thread
From: Prabhakar Mahadev Lad @ 2020-02-07 13:19 UTC (permalink / raw)
  To: cip-dev

Hi Pavel,

> -----Original Message-----
> From: Pavel Machek <pavel@denx.de>
> Sent: 07 February 2020 13:10
> To: Prabhakar Mahadev Lad <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Cc: cip-dev at lists.cip-project.org; Nobuhiro Iwamatsu
> <nobuhiro1.iwamatsu@toshiba.co.jp>; Pavel Machek <pavel@denx.de>;
> Chris Paterson <Chris.Paterson2@renesas.com>
> Subject: Re: [PATCH 4.19.y-cip 20/35] arm64: dts: renesas: hihope-rzg2-ex:
> Add LVDS support
>
> Hi!
>
> > +&lvds0 {
> > +/*
> > + * Please include the LVDS panel .dtsi file and uncomment the below
> line
> > + * to enable LVDS panel connected to RZ/G2[MN] boards.
> > + */
> > +
> > +/* status = "okay"; */
> > +
> > +ports {
> > +port at 1 {
> > +lvds_connector: endpoint {
> > +};
> > +};
> > +};
> > +};
>
> Mainline does this so I applied it, but I don't believe you want boards to
> modify the dtsi -- it will get problematic if you want to support two different
> boards with different LVDS panels in one source code.
>
Agreed, ideally that must go into board specific file.

Cheers,
--Prabhakar

> Best regards,
> Pavel
> --
> DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


Renesas Electronics Europe GmbH, Geschaeftsfuehrer/President: Carsten Jauch, Sitz der Gesellschaft/Registered office: Duesseldorf, Arcadiastrasse 10, 40472 Duesseldorf, Germany, Handelsregister/Commercial Register: Duesseldorf, HRB 3708 USt-IDNr./Tax identification no.: DE 119353406 WEEE-Reg.-Nr./WEEE reg. no.: DE 14978647

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

end of thread, other threads:[~2020-02-07 13:19 UTC | newest]

Thread overview: 46+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-05 20:38 [cip-dev] [PATCH 4.19.y-cip 00/35] Renesas RZ/G2 extend peripheral support Lad Prabhakar
2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 01/35] dt-bindings: can: rcar_can: document r8a774b1 support Lad Prabhakar
2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 02/35] dt-bindings: can: rcar_canfd: " Lad Prabhakar
2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 03/35] arm64: dts: renesas: r8a774b1: Add CAN and CAN FD support Lad Prabhakar
2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 04/35] dt-bindings: iommu: ipmmu-vmsa: Add r8a774b1 support Lad Prabhakar
2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 05/35] iommu/ipmmu-vmsa: Hook up r8a774b1 DT matching code Lad Prabhakar
2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 06/35] arm64: dts: renesas: r8a774b1: Add IPMMU device nodes Lad Prabhakar
2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 07/35] arm64: dts: renesas: r8a774b1: Add FCPF and FCPV instances Lad Prabhakar
2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 08/35] arm64: dts: renesas: r8a774b1: Add VSP instances Lad Prabhakar
2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 09/35] arm64: dts: renesas: r8a774b1: Tie SYS-DMAC to IPMMU-DS0/1 Lad Prabhakar
2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 10/35] arm64: dts: renesas: r8a774b1: Connect Ethernet-AVB to IPMMU-DS0 Lad Prabhakar
2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 11/35] arm64: dts: renesas: hihope-common: Move du clk properties out of common dtsi Lad Prabhakar
2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 12/35] drm: rcar-du: Add R8A774B1 support Lad Prabhakar
2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 13/35] arm64: dts: renesas: r8a774b1: Add DU device to DT Lad Prabhakar
2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 14/35] arm64: dts: renesas: r8a774b1: Add HDMI encoder instance Lad Prabhakar
2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 15/35] arm64: dts: renesas: r8a774b1-hihope-rzg2n: Add display clock properties Lad Prabhakar
2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 16/35] arm64: dts: renesas: r8a774b1: Add FDP1 device nodes Lad Prabhakar
2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 17/35] arm64: dts: renesas: r8a774b1: Add PWM " Lad Prabhakar
2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 18/35] arm64: dts: renesas: hihope-rzg2-ex: Enable backlight Lad Prabhakar
2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 19/35] drm: rcar-du: lvds: Add r8a774b1 support Lad Prabhakar
2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 20/35] arm64: dts: renesas: hihope-rzg2-ex: Add LVDS support Lad Prabhakar
2020-02-07 13:10   ` Pavel Machek
2020-02-07 13:19     ` Prabhakar Mahadev Lad
2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 21/35] arm64: dts: renesas: Add support for Advantech idk-1110wr LVDS panel Lad Prabhakar
2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 22/35] arm64: dts: renesas: r8a774a1: Remove audio port node Lad Prabhakar
2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 23/35] ASoC: rsnd: Document r8a774b1 bindings Lad Prabhakar
2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 24/35] arm64: dts: renesas: r8a774b1: Add Sound and Audio DMAC device nodes Lad Prabhakar
2020-02-07 13:11   ` Pavel Machek
2020-02-07 13:14     ` Prabhakar Mahadev Lad
2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 25/35] dt-bindings: rcar-gen3-phy-usb2: Add r8a774b1 support Lad Prabhakar
2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 26/35] dt-bindings: dmaengine: usb-dmac: Add binding for r8a774b1 Lad Prabhakar
2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 27/35] dt-bindings: usb: renesas_usbhs: Rename bindings documentation file Lad Prabhakar
2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 28/35] dt-bindings: usb: renesas_usbhs: Add r8a774b1 support Lad Prabhakar
2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 29/35] dt-bindings: rcar-gen3-phy-usb3: " Lad Prabhakar
2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 30/35] dt-bindings: usb-xhci: " Lad Prabhakar
2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 31/35] dt-bindings: usb: renesas_gen3: Rename bindings documentation file to reflect IP block Lad Prabhakar
2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 32/35] dt-bindings: usb: renesas_usb3: Document r8a774b1 support Lad Prabhakar
2020-02-05 20:38 ` [cip-dev] [PATCH 4.19.y-cip 33/35] arm64: dts: renesas: r8a774b1: Add USB2.0 phy and host (EHCI/OHCI) device nodes Lad Prabhakar
2020-02-05 20:39 ` [cip-dev] [PATCH 4.19.y-cip 34/35] arm64: dts: renesas: r8a774b1: Add USB-DMAC and HSUSB " Lad Prabhakar
2020-02-05 20:39 ` [cip-dev] [PATCH 4.19.y-cip 35/35] arm64: dts: renesas: r8a774b1: Add USB3.0 " Lad Prabhakar
2020-02-05 22:46 ` [cip-dev] [PATCH 4.19.y-cip 00/35] Renesas RZ/G2 extend peripheral support Pavel Machek
2020-02-06  7:05   ` Prabhakar Mahadev Lad
2020-02-06 22:50 ` Pavel Machek
2020-02-06 22:52   ` Prabhakar Mahadev Lad
2020-02-07  8:54   ` nobuhiro1.iwamatsu at toshiba.co.jp
2020-02-07 13:05     ` Pavel Machek

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).