linux-watchdog.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/17] RZ/G1H describe I2C, IIC, MMC0, SATA, AVB, RWDT and APMU nodes
@ 2020-05-15 15:08 Lad Prabhakar
  2020-05-15 15:08 ` [PATCH 01/17] dt-bindings: i2c: renesas,i2c: Document r8a7742 support Lad Prabhakar
                   ` (16 more replies)
  0 siblings, 17 replies; 76+ messages in thread
From: Lad Prabhakar @ 2020-05-15 15:08 UTC (permalink / raw)
  To: Geert Uytterhoeven, Jens Axboe, Rob Herring, Wolfram Sang,
	Ulf Hansson, Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck
  Cc: linux-ide, devicetree, linux-kernel, linux-i2c, linux-mmc,
	netdev, linux-renesas-soc, linux-watchdog, Prabhakar,
	Lad Prabhakar

Hi All,

This patch series describes i2c, iic, mmc0, sdhi, sata, AVB, apmu and
RWDT on R8A7742 SoC.

Cheers,
Prabhakar

Lad Prabhakar (17):
  dt-bindings: i2c: renesas,i2c: Document r8a7742 support
  dt-bindings: i2c: renesas,iic: Document r8a7742 support
  ARM: dts: r8a7742: Add I2C and IIC support
  dt-bindings: mmc: renesas,sdhi: Document r8a7742 support
  mmc: renesas_sdhi_sys_dmac: Add support for r8a7742 SoC
  ARM: dts: r8a7742: Add SDHI nodes
  ARM: dts: r8a7742: Add MMC0 node
  dt-bindings: ata: renesas,rcar-sata: Add r8a7742 support
  ARM: dts: r8a7742: Add sata nodes
  dt-bindings: net: renesas,ravb: Add support for r8a7742 SoC
  dt-bindings: net: renesas,ether: Document R8A7742 SoC
  ARM: dts: r8a7742: Add Ethernet AVB support
  ARM: dts: r8a7742: Add Ether support
  dt-bindings: power: renesas,apmu: Document r8a7742 support
  ARM: dts: r8a7742: Add APMU nodes
  dt-bindings: watchdog: renesas,wdt: Document r8a7742 support
  ARM: dts: r8a7742: Add RWDT node

 .../devicetree/bindings/ata/renesas,rcar-sata.yaml |   1 +
 .../devicetree/bindings/i2c/renesas,i2c.txt        |   1 +
 .../devicetree/bindings/i2c/renesas,iic.txt        |   1 +
 .../devicetree/bindings/mmc/renesas,sdhi.txt       |   1 +
 .../devicetree/bindings/net/renesas,ether.yaml     |   1 +
 .../devicetree/bindings/net/renesas,ravb.txt       |   1 +
 .../devicetree/bindings/power/renesas,apmu.yaml    |   1 +
 .../devicetree/bindings/watchdog/renesas,wdt.txt   |   1 +
 arch/arm/boot/dts/r8a7742.dtsi                     | 270 +++++++++++++++++++++
 drivers/mmc/host/renesas_sdhi_sys_dmac.c           |   1 +
 10 files changed, 279 insertions(+)

-- 
2.7.4


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

* [PATCH 01/17] dt-bindings: i2c: renesas,i2c: Document r8a7742 support
  2020-05-15 15:08 [PATCH 00/17] RZ/G1H describe I2C, IIC, MMC0, SATA, AVB, RWDT and APMU nodes Lad Prabhakar
@ 2020-05-15 15:08 ` Lad Prabhakar
  2020-05-15 17:12   ` Wolfram Sang
                     ` (2 more replies)
  2020-05-15 15:08 ` [PATCH 02/17] dt-bindings: i2c: renesas,iic: " Lad Prabhakar
                   ` (15 subsequent siblings)
  16 siblings, 3 replies; 76+ messages in thread
From: Lad Prabhakar @ 2020-05-15 15:08 UTC (permalink / raw)
  To: Geert Uytterhoeven, Jens Axboe, Rob Herring, Wolfram Sang,
	Ulf Hansson, Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck
  Cc: linux-ide, devicetree, linux-kernel, linux-i2c, linux-mmc,
	netdev, linux-renesas-soc, linux-watchdog, Prabhakar,
	Lad Prabhakar

Document i2c controller for RZ/G1H (R8A7742) SoC, which is compatible
with R-Car Gen2 SoC family.

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

diff --git a/Documentation/devicetree/bindings/i2c/renesas,i2c.txt b/Documentation/devicetree/bindings/i2c/renesas,i2c.txt
index c359965..a03f9f5 100644
--- a/Documentation/devicetree/bindings/i2c/renesas,i2c.txt
+++ b/Documentation/devicetree/bindings/i2c/renesas,i2c.txt
@@ -2,6 +2,7 @@ I2C for R-Car platforms
 
 Required properties:
 - compatible:
+	"renesas,i2c-r8a7742" if the device is a part of a R8A7742 SoC.
 	"renesas,i2c-r8a7743" if the device is a part of a R8A7743 SoC.
 	"renesas,i2c-r8a7744" if the device is a part of a R8A7744 SoC.
 	"renesas,i2c-r8a7745" if the device is a part of a R8A7745 SoC.
-- 
2.7.4


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

* [PATCH 02/17] dt-bindings: i2c: renesas,iic: Document r8a7742 support
  2020-05-15 15:08 [PATCH 00/17] RZ/G1H describe I2C, IIC, MMC0, SATA, AVB, RWDT and APMU nodes Lad Prabhakar
  2020-05-15 15:08 ` [PATCH 01/17] dt-bindings: i2c: renesas,i2c: Document r8a7742 support Lad Prabhakar
@ 2020-05-15 15:08 ` Lad Prabhakar
  2020-05-15 17:14   ` Wolfram Sang
                     ` (2 more replies)
  2020-05-15 15:08 ` [PATCH 03/17] ARM: dts: r8a7742: Add I2C and IIC support Lad Prabhakar
                   ` (14 subsequent siblings)
  16 siblings, 3 replies; 76+ messages in thread
From: Lad Prabhakar @ 2020-05-15 15:08 UTC (permalink / raw)
  To: Geert Uytterhoeven, Jens Axboe, Rob Herring, Wolfram Sang,
	Ulf Hansson, Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck
  Cc: linux-ide, devicetree, linux-kernel, linux-i2c, linux-mmc,
	netdev, linux-renesas-soc, linux-watchdog, Prabhakar,
	Lad Prabhakar

Document IIC controller for RZ/G1H (R8A7742) SoC, which is compatible
with R-Car Gen2 SoC family.

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

diff --git a/Documentation/devicetree/bindings/i2c/renesas,iic.txt b/Documentation/devicetree/bindings/i2c/renesas,iic.txt
index ffe085c..89facb0 100644
--- a/Documentation/devicetree/bindings/i2c/renesas,iic.txt
+++ b/Documentation/devicetree/bindings/i2c/renesas,iic.txt
@@ -4,6 +4,7 @@ Required properties:
 - compatible      :
 			- "renesas,iic-r8a73a4" (R-Mobile APE6)
 			- "renesas,iic-r8a7740" (R-Mobile A1)
+			- "renesas,iic-r8a7742" (RZ/G1H)
 			- "renesas,iic-r8a7743" (RZ/G1M)
 			- "renesas,iic-r8a7744" (RZ/G1N)
 			- "renesas,iic-r8a7745" (RZ/G1E)
-- 
2.7.4


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

* [PATCH 03/17] ARM: dts: r8a7742: Add I2C and IIC support
  2020-05-15 15:08 [PATCH 00/17] RZ/G1H describe I2C, IIC, MMC0, SATA, AVB, RWDT and APMU nodes Lad Prabhakar
  2020-05-15 15:08 ` [PATCH 01/17] dt-bindings: i2c: renesas,i2c: Document r8a7742 support Lad Prabhakar
  2020-05-15 15:08 ` [PATCH 02/17] dt-bindings: i2c: renesas,iic: " Lad Prabhakar
@ 2020-05-15 15:08 ` Lad Prabhakar
  2020-05-15 17:10   ` Wolfram Sang
  2020-05-15 15:08 ` [PATCH 04/17] dt-bindings: mmc: renesas,sdhi: Document r8a7742 support Lad Prabhakar
                   ` (13 subsequent siblings)
  16 siblings, 1 reply; 76+ messages in thread
From: Lad Prabhakar @ 2020-05-15 15:08 UTC (permalink / raw)
  To: Geert Uytterhoeven, Jens Axboe, Rob Herring, Wolfram Sang,
	Ulf Hansson, Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck
  Cc: linux-ide, devicetree, linux-kernel, linux-i2c, linux-mmc,
	netdev, linux-renesas-soc, linux-watchdog, Prabhakar,
	Lad Prabhakar

Add the I2C[0-3] and IIC[0-3] devices nodes to the R8A7742 device tree.

Automatic transmission for PMIC control is not available on IIC3 hence
compatible string "renesas,rcar-gen2-iic" and "renesas,rmobile-iic" is
not added to iic3 node.

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

diff --git a/arch/arm/boot/dts/r8a7742.dtsi b/arch/arm/boot/dts/r8a7742.dtsi
index 305d808..f28c32d 100644
--- a/arch/arm/boot/dts/r8a7742.dtsi
+++ b/arch/arm/boot/dts/r8a7742.dtsi
@@ -359,6 +359,128 @@
 			ranges = <0 0 0xe6300000 0x40000>;
 		};
 
+		i2c0: i2c@e6508000 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			compatible = "renesas,i2c-r8a7742",
+				     "renesas,rcar-gen2-i2c";
+			reg = <0 0xe6508000 0 0x40>;
+			interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 931>;
+			power-domains = <&sysc R8A7742_PD_ALWAYS_ON>;
+			resets = <&cpg 931>;
+			i2c-scl-internal-delay-ns = <110>;
+			status = "disabled";
+		};
+
+		i2c1: i2c@e6518000 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			compatible = "renesas,i2c-r8a7742",
+				     "renesas,rcar-gen2-i2c";
+			reg = <0 0xe6518000 0 0x40>;
+			interrupts = <GIC_SPI 288 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 930>;
+			power-domains = <&sysc R8A7742_PD_ALWAYS_ON>;
+			resets = <&cpg 930>;
+			i2c-scl-internal-delay-ns = <6>;
+			status = "disabled";
+		};
+
+		i2c2: i2c@e6530000 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			compatible = "renesas,i2c-r8a7742",
+				     "renesas,rcar-gen2-i2c";
+			reg = <0 0xe6530000 0 0x40>;
+			interrupts = <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 929>;
+			power-domains = <&sysc R8A7742_PD_ALWAYS_ON>;
+			resets = <&cpg 929>;
+			i2c-scl-internal-delay-ns = <6>;
+			status = "disabled";
+		};
+
+		i2c3: i2c@e6540000 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			compatible = "renesas,i2c-r8a7742",
+				     "renesas,rcar-gen2-i2c";
+			reg = <0 0xe6540000 0 0x40>;
+			interrupts = <GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 928>;
+			power-domains = <&sysc R8A7742_PD_ALWAYS_ON>;
+			resets = <&cpg 928>;
+			i2c-scl-internal-delay-ns = <110>;
+			status = "disabled";
+		};
+
+		iic0: i2c@e6500000 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			compatible = "renesas,iic-r8a7742",
+				     "renesas,rcar-gen2-iic",
+				     "renesas,rmobile-iic";
+			reg = <0 0xe6500000 0 0x425>;
+			interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 318>;
+			dmas = <&dmac0 0x61>, <&dmac0 0x62>,
+			       <&dmac1 0x61>, <&dmac1 0x62>;
+			dma-names = "tx", "rx", "tx", "rx";
+			power-domains = <&sysc R8A7742_PD_ALWAYS_ON>;
+			resets = <&cpg 318>;
+			status = "disabled";
+		};
+
+		iic1: i2c@e6510000 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			compatible = "renesas,iic-r8a7742",
+				     "renesas,rcar-gen2-iic",
+				     "renesas,rmobile-iic";
+			reg = <0 0xe6510000 0 0x425>;
+			interrupts = <GIC_SPI 175 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 323>;
+			dmas = <&dmac0 0x65>, <&dmac0 0x66>,
+			       <&dmac1 0x65>, <&dmac1 0x66>;
+			dma-names = "tx", "rx", "tx", "rx";
+			power-domains = <&sysc R8A7742_PD_ALWAYS_ON>;
+			resets = <&cpg 323>;
+			status = "disabled";
+		};
+
+		iic2: i2c@e6520000 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			compatible = "renesas,iic-r8a7742",
+				     "renesas,rcar-gen2-iic",
+				     "renesas,rmobile-iic";
+			reg = <0 0xe6520000 0 0x425>;
+			interrupts = <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 300>;
+			dmas = <&dmac0 0x69>, <&dmac0 0x6a>,
+			       <&dmac1 0x69>, <&dmac1 0x6a>;
+			dma-names = "tx", "rx", "tx", "rx";
+			power-domains = <&sysc R8A7742_PD_ALWAYS_ON>;
+			resets = <&cpg 300>;
+			status = "disabled";
+		};
+
+		iic3: i2c@e60b0000 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			compatible = "renesas,iic-r8a7742";
+			reg = <0 0xe60b0000 0 0x425>;
+			interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 926>;
+			dmas = <&dmac0 0x77>, <&dmac0 0x78>,
+			       <&dmac1 0x77>, <&dmac1 0x78>;
+			dma-names = "tx", "rx", "tx", "rx";
+			power-domains = <&sysc R8A7742_PD_ALWAYS_ON>;
+			resets = <&cpg 926>;
+			status = "disabled";
+		};
+
 		dmac0: dma-controller@e6700000 {
 			compatible = "renesas,dmac-r8a7742",
 				     "renesas,rcar-dmac";
-- 
2.7.4


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

* [PATCH 04/17] dt-bindings: mmc: renesas,sdhi: Document r8a7742 support
  2020-05-15 15:08 [PATCH 00/17] RZ/G1H describe I2C, IIC, MMC0, SATA, AVB, RWDT and APMU nodes Lad Prabhakar
                   ` (2 preceding siblings ...)
  2020-05-15 15:08 ` [PATCH 03/17] ARM: dts: r8a7742: Add I2C and IIC support Lad Prabhakar
@ 2020-05-15 15:08 ` Lad Prabhakar
  2020-05-15 17:17   ` Wolfram Sang
                     ` (2 more replies)
  2020-05-15 15:08 ` [PATCH 05/17] mmc: renesas_sdhi_sys_dmac: Add support for r8a7742 SoC Lad Prabhakar
                   ` (12 subsequent siblings)
  16 siblings, 3 replies; 76+ messages in thread
From: Lad Prabhakar @ 2020-05-15 15:08 UTC (permalink / raw)
  To: Geert Uytterhoeven, Jens Axboe, Rob Herring, Wolfram Sang,
	Ulf Hansson, Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck
  Cc: linux-ide, devicetree, linux-kernel, linux-i2c, linux-mmc,
	netdev, linux-renesas-soc, linux-watchdog, Prabhakar,
	Lad Prabhakar

Document SDHI controller for RZ/G1H (R8A7742) SoC, which is compatible
with R-Car Gen2 SoC family.

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

diff --git a/Documentation/devicetree/bindings/mmc/renesas,sdhi.txt b/Documentation/devicetree/bindings/mmc/renesas,sdhi.txt
index e6cc478..0ca9a62 100644
--- a/Documentation/devicetree/bindings/mmc/renesas,sdhi.txt
+++ b/Documentation/devicetree/bindings/mmc/renesas,sdhi.txt
@@ -7,6 +7,7 @@ Required properties:
 		"renesas,sdhi-r7s9210" - SDHI IP on R7S9210 SoC
 		"renesas,sdhi-r8a73a4" - SDHI IP on R8A73A4 SoC
 		"renesas,sdhi-r8a7740" - SDHI IP on R8A7740 SoC
+		"renesas,sdhi-r8a7742" - SDHI IP on R8A7742 SoC
 		"renesas,sdhi-r8a7743" - SDHI IP on R8A7743 SoC
 		"renesas,sdhi-r8a7744" - SDHI IP on R8A7744 SoC
 		"renesas,sdhi-r8a7745" - SDHI IP on R8A7745 SoC
-- 
2.7.4


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

* [PATCH 05/17] mmc: renesas_sdhi_sys_dmac: Add support for r8a7742 SoC
  2020-05-15 15:08 [PATCH 00/17] RZ/G1H describe I2C, IIC, MMC0, SATA, AVB, RWDT and APMU nodes Lad Prabhakar
                   ` (3 preceding siblings ...)
  2020-05-15 15:08 ` [PATCH 04/17] dt-bindings: mmc: renesas,sdhi: Document r8a7742 support Lad Prabhakar
@ 2020-05-15 15:08 ` Lad Prabhakar
  2020-05-15 17:17   ` Wolfram Sang
  2020-05-15 15:08 ` [PATCH 06/17] ARM: dts: r8a7742: Add SDHI nodes Lad Prabhakar
                   ` (11 subsequent siblings)
  16 siblings, 1 reply; 76+ messages in thread
From: Lad Prabhakar @ 2020-05-15 15:08 UTC (permalink / raw)
  To: Geert Uytterhoeven, Jens Axboe, Rob Herring, Wolfram Sang,
	Ulf Hansson, Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck
  Cc: linux-ide, devicetree, linux-kernel, linux-i2c, linux-mmc,
	netdev, linux-renesas-soc, linux-watchdog, Prabhakar,
	Lad Prabhakar

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

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>
---
 drivers/mmc/host/renesas_sdhi_sys_dmac.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mmc/host/renesas_sdhi_sys_dmac.c b/drivers/mmc/host/renesas_sdhi_sys_dmac.c
index 13ff023..dbfcbc2 100644
--- a/drivers/mmc/host/renesas_sdhi_sys_dmac.c
+++ b/drivers/mmc/host/renesas_sdhi_sys_dmac.c
@@ -75,6 +75,7 @@ static const struct of_device_id renesas_sdhi_sys_dmac_of_match[] = {
 	{ .compatible = "renesas,sdhi-r7s72100", .data = &of_rz_compatible, },
 	{ .compatible = "renesas,sdhi-r8a7778", .data = &of_rcar_gen1_compatible, },
 	{ .compatible = "renesas,sdhi-r8a7779", .data = &of_rcar_gen1_compatible, },
+	{ .compatible = "renesas,sdhi-r8a7742", .data = &of_rcar_gen2_compatible, },
 	{ .compatible = "renesas,sdhi-r8a7743", .data = &of_rcar_gen2_compatible, },
 	{ .compatible = "renesas,sdhi-r8a7745", .data = &of_rcar_gen2_compatible, },
 	{ .compatible = "renesas,sdhi-r8a7790", .data = &of_rcar_gen2_compatible, },
-- 
2.7.4


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

* [PATCH 06/17] ARM: dts: r8a7742: Add SDHI nodes
  2020-05-15 15:08 [PATCH 00/17] RZ/G1H describe I2C, IIC, MMC0, SATA, AVB, RWDT and APMU nodes Lad Prabhakar
                   ` (4 preceding siblings ...)
  2020-05-15 15:08 ` [PATCH 05/17] mmc: renesas_sdhi_sys_dmac: Add support for r8a7742 SoC Lad Prabhakar
@ 2020-05-15 15:08 ` Lad Prabhakar
  2020-05-17 20:53   ` Wolfram Sang
  2020-05-18 11:51   ` Geert Uytterhoeven
  2020-05-15 15:08 ` [PATCH 07/17] ARM: dts: r8a7742: Add MMC0 node Lad Prabhakar
                   ` (10 subsequent siblings)
  16 siblings, 2 replies; 76+ messages in thread
From: Lad Prabhakar @ 2020-05-15 15:08 UTC (permalink / raw)
  To: Geert Uytterhoeven, Jens Axboe, Rob Herring, Wolfram Sang,
	Ulf Hansson, Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck
  Cc: linux-ide, devicetree, linux-kernel, linux-i2c, linux-mmc,
	netdev, linux-renesas-soc, linux-watchdog, Prabhakar,
	Lad Prabhakar

Add the SDHI devices nodes to the R8A7742 device tree.

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

diff --git a/arch/arm/boot/dts/r8a7742.dtsi b/arch/arm/boot/dts/r8a7742.dtsi
index f28c32d..0565472 100644
--- a/arch/arm/boot/dts/r8a7742.dtsi
+++ b/arch/arm/boot/dts/r8a7742.dtsi
@@ -717,6 +717,66 @@
 			status = "disabled";
 		};
 
+		sdhi0: sd@ee100000 {
+			compatible = "renesas,sdhi-r8a7742",
+				     "renesas,rcar-gen2-sdhi";
+			reg = <0 0xee100000 0 0x328>;
+			interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 314>;
+			dmas = <&dmac0 0xcd>, <&dmac0 0xce>,
+			       <&dmac1 0xcd>, <&dmac1 0xce>;
+			dma-names = "tx", "rx", "tx", "rx";
+			max-frequency = <195000000>;
+			power-domains = <&sysc R8A7742_PD_ALWAYS_ON>;
+			resets = <&cpg 314>;
+			status = "disabled";
+		};
+
+		sdhi1: sd@ee120000 {
+			compatible = "renesas,sdhi-r8a7742",
+				     "renesas,rcar-gen2-sdhi";
+			reg = <0 0xee120000 0 0x328>;
+			interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 313>;
+			dmas = <&dmac0 0xc9>, <&dmac0 0xca>,
+			       <&dmac1 0xc9>, <&dmac1 0xca>;
+			dma-names = "tx", "rx", "tx", "rx";
+			max-frequency = <195000000>;
+			power-domains = <&sysc R8A7742_PD_ALWAYS_ON>;
+			resets = <&cpg 313>;
+			status = "disabled";
+		};
+
+		sdhi2: sd@ee140000 {
+			compatible = "renesas,sdhi-r8a7742",
+				     "renesas,rcar-gen2-sdhi";
+			reg = <0 0xee140000 0 0x100>;
+			interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 312>;
+			dmas = <&dmac0 0xc1>, <&dmac0 0xc2>,
+			       <&dmac1 0xc1>, <&dmac1 0xc2>;
+			dma-names = "tx", "rx", "tx", "rx";
+			max-frequency = <97500000>;
+			power-domains = <&sysc R8A7742_PD_ALWAYS_ON>;
+			resets = <&cpg 312>;
+			status = "disabled";
+		};
+
+		sdhi3: sd@ee160000 {
+			compatible = "renesas,sdhi-r8a7742",
+				     "renesas,rcar-gen2-sdhi";
+			reg = <0 0xee160000 0 0x100>;
+			interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 311>;
+			dmas = <&dmac0 0xd3>, <&dmac0 0xd4>,
+			       <&dmac1 0xd3>, <&dmac1 0xd4>;
+			dma-names = "tx", "rx", "tx", "rx";
+			max-frequency = <97500000>;
+			power-domains = <&sysc R8A7742_PD_ALWAYS_ON>;
+			resets = <&cpg 311>;
+			status = "disabled";
+		};
+
 		mmcif1: mmc@ee220000 {
 			compatible = "renesas,mmcif-r8a7742",
 				     "renesas,sh-mmcif";
-- 
2.7.4


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

* [PATCH 07/17] ARM: dts: r8a7742: Add MMC0 node
  2020-05-15 15:08 [PATCH 00/17] RZ/G1H describe I2C, IIC, MMC0, SATA, AVB, RWDT and APMU nodes Lad Prabhakar
                   ` (5 preceding siblings ...)
  2020-05-15 15:08 ` [PATCH 06/17] ARM: dts: r8a7742: Add SDHI nodes Lad Prabhakar
@ 2020-05-15 15:08 ` Lad Prabhakar
  2020-05-17 20:54   ` Wolfram Sang
  2020-05-18 11:52   ` Geert Uytterhoeven
  2020-05-15 15:08 ` [PATCH 08/17] dt-bindings: ata: renesas,rcar-sata: Add r8a7742 support Lad Prabhakar
                   ` (9 subsequent siblings)
  16 siblings, 2 replies; 76+ messages in thread
From: Lad Prabhakar @ 2020-05-15 15:08 UTC (permalink / raw)
  To: Geert Uytterhoeven, Jens Axboe, Rob Herring, Wolfram Sang,
	Ulf Hansson, Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck
  Cc: linux-ide, devicetree, linux-kernel, linux-i2c, linux-mmc,
	netdev, linux-renesas-soc, linux-watchdog, Prabhakar,
	Lad Prabhakar

Describe MMC0 device node in the R8A7742 device tree.

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

diff --git a/arch/arm/boot/dts/r8a7742.dtsi b/arch/arm/boot/dts/r8a7742.dtsi
index 0565472..ca1a016 100644
--- a/arch/arm/boot/dts/r8a7742.dtsi
+++ b/arch/arm/boot/dts/r8a7742.dtsi
@@ -777,6 +777,22 @@
 			status = "disabled";
 		};
 
+		mmcif0: mmc@ee200000 {
+			compatible = "renesas,mmcif-r8a7742",
+				     "renesas,sh-mmcif";
+			reg = <0 0xee200000 0 0x80>;
+			interrupts = <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 315>;
+			dmas = <&dmac0 0xd1>, <&dmac0 0xd2>,
+			       <&dmac1 0xd1>, <&dmac1 0xd2>;
+			dma-names = "tx", "rx", "tx", "rx";
+			power-domains = <&sysc R8A7742_PD_ALWAYS_ON>;
+			resets = <&cpg 315>;
+			reg-io-width = <4>;
+			status = "disabled";
+			max-frequency = <97500000>;
+		};
+
 		mmcif1: mmc@ee220000 {
 			compatible = "renesas,mmcif-r8a7742",
 				     "renesas,sh-mmcif";
-- 
2.7.4


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

* [PATCH 08/17] dt-bindings: ata: renesas,rcar-sata: Add r8a7742 support
  2020-05-15 15:08 [PATCH 00/17] RZ/G1H describe I2C, IIC, MMC0, SATA, AVB, RWDT and APMU nodes Lad Prabhakar
                   ` (6 preceding siblings ...)
  2020-05-15 15:08 ` [PATCH 07/17] ARM: dts: r8a7742: Add MMC0 node Lad Prabhakar
@ 2020-05-15 15:08 ` Lad Prabhakar
  2020-05-17 20:55   ` Wolfram Sang
                     ` (2 more replies)
  2020-05-15 15:08 ` [PATCH 09/17] ARM: dts: r8a7742: Add sata nodes Lad Prabhakar
                   ` (8 subsequent siblings)
  16 siblings, 3 replies; 76+ messages in thread
From: Lad Prabhakar @ 2020-05-15 15:08 UTC (permalink / raw)
  To: Geert Uytterhoeven, Jens Axboe, Rob Herring, Wolfram Sang,
	Ulf Hansson, Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck
  Cc: linux-ide, devicetree, linux-kernel, linux-i2c, linux-mmc,
	netdev, linux-renesas-soc, linux-watchdog, Prabhakar,
	Lad Prabhakar

Document SATA support for the RZ/G1H, which is compatible with
R-Car Gen2 SoC family.

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

diff --git a/Documentation/devicetree/bindings/ata/renesas,rcar-sata.yaml b/Documentation/devicetree/bindings/ata/renesas,rcar-sata.yaml
index 7b69831..d06096a 100644
--- a/Documentation/devicetree/bindings/ata/renesas,rcar-sata.yaml
+++ b/Documentation/devicetree/bindings/ata/renesas,rcar-sata.yaml
@@ -17,6 +17,7 @@ properties:
               - renesas,sata-r8a7779      # R-Car H1
       - items:
           - enum:
+              - renesas,sata-r8a7742      # RZ/G1H
               - renesas,sata-r8a7790-es1  # R-Car H2 ES1
               - renesas,sata-r8a7790      # R-Car H2 other than ES1
               - renesas,sata-r8a7791      # R-Car M2-W
-- 
2.7.4


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

* [PATCH 09/17] ARM: dts: r8a7742: Add sata nodes
  2020-05-15 15:08 [PATCH 00/17] RZ/G1H describe I2C, IIC, MMC0, SATA, AVB, RWDT and APMU nodes Lad Prabhakar
                   ` (7 preceding siblings ...)
  2020-05-15 15:08 ` [PATCH 08/17] dt-bindings: ata: renesas,rcar-sata: Add r8a7742 support Lad Prabhakar
@ 2020-05-15 15:08 ` Lad Prabhakar
  2020-05-17 20:57   ` Wolfram Sang
  2020-05-18 11:52   ` Geert Uytterhoeven
  2020-05-15 15:08 ` [PATCH 10/17] dt-bindings: net: renesas,ravb: Add support for r8a7742 SoC Lad Prabhakar
                   ` (7 subsequent siblings)
  16 siblings, 2 replies; 76+ messages in thread
From: Lad Prabhakar @ 2020-05-15 15:08 UTC (permalink / raw)
  To: Geert Uytterhoeven, Jens Axboe, Rob Herring, Wolfram Sang,
	Ulf Hansson, Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck
  Cc: linux-ide, devicetree, linux-kernel, linux-i2c, linux-mmc,
	netdev, linux-renesas-soc, linux-watchdog, Prabhakar,
	Lad Prabhakar

Add the sata devices nodes to the R8A7742 device tree.

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

diff --git a/arch/arm/boot/dts/r8a7742.dtsi b/arch/arm/boot/dts/r8a7742.dtsi
index ca1a016..553b92f 100644
--- a/arch/arm/boot/dts/r8a7742.dtsi
+++ b/arch/arm/boot/dts/r8a7742.dtsi
@@ -809,6 +809,28 @@
 			max-frequency = <97500000>;
 		};
 
+		sata0: sata@ee300000 {
+			compatible = "renesas,sata-r8a7742",
+				     "renesas,rcar-gen2-sata";
+			reg = <0 0xee300000 0 0x200000>;
+			interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 815>;
+			power-domains = <&sysc R8A7742_PD_ALWAYS_ON>;
+			resets = <&cpg 815>;
+			status = "disabled";
+		};
+
+		sata1: sata@ee500000 {
+			compatible = "renesas,sata-r8a7742",
+				     "renesas,rcar-gen2-sata";
+			reg = <0 0xee500000 0 0x200000>;
+			interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 814>;
+			power-domains = <&sysc R8A7742_PD_ALWAYS_ON>;
+			resets = <&cpg 814>;
+			status = "disabled";
+		};
+
 		gic: interrupt-controller@f1001000 {
 			compatible = "arm,gic-400";
 			#interrupt-cells = <3>;
-- 
2.7.4


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

* [PATCH 10/17] dt-bindings: net: renesas,ravb: Add support for r8a7742 SoC
  2020-05-15 15:08 [PATCH 00/17] RZ/G1H describe I2C, IIC, MMC0, SATA, AVB, RWDT and APMU nodes Lad Prabhakar
                   ` (8 preceding siblings ...)
  2020-05-15 15:08 ` [PATCH 09/17] ARM: dts: r8a7742: Add sata nodes Lad Prabhakar
@ 2020-05-15 15:08 ` Lad Prabhakar
  2020-05-17 20:58   ` Wolfram Sang
                     ` (2 more replies)
  2020-05-15 15:08 ` [PATCH 11/17] dt-bindings: net: renesas,ether: Document R8A7742 SoC Lad Prabhakar
                   ` (6 subsequent siblings)
  16 siblings, 3 replies; 76+ messages in thread
From: Lad Prabhakar @ 2020-05-15 15:08 UTC (permalink / raw)
  To: Geert Uytterhoeven, Jens Axboe, Rob Herring, Wolfram Sang,
	Ulf Hansson, Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck
  Cc: linux-ide, devicetree, linux-kernel, linux-i2c, linux-mmc,
	netdev, linux-renesas-soc, linux-watchdog, Prabhakar,
	Lad Prabhakar

Document RZ/G1H (R8A7742) SoC bindings.

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

diff --git a/Documentation/devicetree/bindings/net/renesas,ravb.txt b/Documentation/devicetree/bindings/net/renesas,ravb.txt
index 87dad2d..032b76f 100644
--- a/Documentation/devicetree/bindings/net/renesas,ravb.txt
+++ b/Documentation/devicetree/bindings/net/renesas,ravb.txt
@@ -5,6 +5,7 @@ interface contains.
 
 Required properties:
 - compatible: Must contain one or more of the following:
+      - "renesas,etheravb-r8a7742" for the R8A7742 SoC.
       - "renesas,etheravb-r8a7743" for the R8A7743 SoC.
       - "renesas,etheravb-r8a7744" for the R8A7744 SoC.
       - "renesas,etheravb-r8a7745" for the R8A7745 SoC.
-- 
2.7.4


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

* [PATCH 11/17] dt-bindings: net: renesas,ether: Document R8A7742 SoC
  2020-05-15 15:08 [PATCH 00/17] RZ/G1H describe I2C, IIC, MMC0, SATA, AVB, RWDT and APMU nodes Lad Prabhakar
                   ` (9 preceding siblings ...)
  2020-05-15 15:08 ` [PATCH 10/17] dt-bindings: net: renesas,ravb: Add support for r8a7742 SoC Lad Prabhakar
@ 2020-05-15 15:08 ` Lad Prabhakar
  2020-05-17 20:59   ` Wolfram Sang
                     ` (2 more replies)
  2020-05-15 15:08 ` [PATCH 12/17] ARM: dts: r8a7742: Add Ethernet AVB support Lad Prabhakar
                   ` (5 subsequent siblings)
  16 siblings, 3 replies; 76+ messages in thread
From: Lad Prabhakar @ 2020-05-15 15:08 UTC (permalink / raw)
  To: Geert Uytterhoeven, Jens Axboe, Rob Herring, Wolfram Sang,
	Ulf Hansson, Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck
  Cc: linux-ide, devicetree, linux-kernel, linux-i2c, linux-mmc,
	netdev, linux-renesas-soc, linux-watchdog, Prabhakar,
	Lad Prabhakar

Document RZ/G1H (R8A7742) SoC bindings.

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

diff --git a/Documentation/devicetree/bindings/net/renesas,ether.yaml b/Documentation/devicetree/bindings/net/renesas,ether.yaml
index c11eeb6..ce307e8 100644
--- a/Documentation/devicetree/bindings/net/renesas,ether.yaml
+++ b/Documentation/devicetree/bindings/net/renesas,ether.yaml
@@ -29,6 +29,7 @@ properties:
               - renesas,rcar-gen1-ether  # a generic R-Car Gen1 device
       - items:
           - enum:
+              - renesas,ether-r8a7742    # device is a part of R8A7742 SoC
               - renesas,ether-r8a7743    # device is a part of R8A7743 SoC
               - renesas,ether-r8a7745    # device is a part of R8A7745 SoC
               - renesas,ether-r8a7790    # device is a part of R8A7790 SoC
-- 
2.7.4


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

* [PATCH 12/17] ARM: dts: r8a7742: Add Ethernet AVB support
  2020-05-15 15:08 [PATCH 00/17] RZ/G1H describe I2C, IIC, MMC0, SATA, AVB, RWDT and APMU nodes Lad Prabhakar
                   ` (10 preceding siblings ...)
  2020-05-15 15:08 ` [PATCH 11/17] dt-bindings: net: renesas,ether: Document R8A7742 SoC Lad Prabhakar
@ 2020-05-15 15:08 ` Lad Prabhakar
  2020-05-17 21:00   ` Wolfram Sang
  2020-05-18 11:53   ` Geert Uytterhoeven
  2020-05-15 15:08 ` [PATCH 13/17] ARM: dts: r8a7742: Add Ether support Lad Prabhakar
                   ` (4 subsequent siblings)
  16 siblings, 2 replies; 76+ messages in thread
From: Lad Prabhakar @ 2020-05-15 15:08 UTC (permalink / raw)
  To: Geert Uytterhoeven, Jens Axboe, Rob Herring, Wolfram Sang,
	Ulf Hansson, Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck
  Cc: linux-ide, devicetree, linux-kernel, linux-i2c, linux-mmc,
	netdev, linux-renesas-soc, linux-watchdog, Prabhakar,
	Lad Prabhakar

Add Ethernet AVB support for R8A7742 SoC.

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

diff --git a/arch/arm/boot/dts/r8a7742.dtsi b/arch/arm/boot/dts/r8a7742.dtsi
index 553b92f..925bc8a 100644
--- a/arch/arm/boot/dts/r8a7742.dtsi
+++ b/arch/arm/boot/dts/r8a7742.dtsi
@@ -547,6 +547,19 @@
 			dma-channels = <15>;
 		};
 
+		avb: ethernet@e6800000 {
+			compatible = "renesas,etheravb-r8a7742",
+				     "renesas,etheravb-rcar-gen2";
+			reg = <0 0xe6800000 0 0x800>, <0 0xee0e8000 0 0x4000>;
+			interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 812>;
+			power-domains = <&sysc R8A7742_PD_ALWAYS_ON>;
+			resets = <&cpg 812>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+			status = "disabled";
+		};
+
 		scifa0: serial@e6c40000 {
 			compatible = "renesas,scifa-r8a7742",
 				     "renesas,rcar-gen2-scifa", "renesas,scifa";
-- 
2.7.4


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

* [PATCH 13/17] ARM: dts: r8a7742: Add Ether support
  2020-05-15 15:08 [PATCH 00/17] RZ/G1H describe I2C, IIC, MMC0, SATA, AVB, RWDT and APMU nodes Lad Prabhakar
                   ` (11 preceding siblings ...)
  2020-05-15 15:08 ` [PATCH 12/17] ARM: dts: r8a7742: Add Ethernet AVB support Lad Prabhakar
@ 2020-05-15 15:08 ` Lad Prabhakar
  2020-05-17 21:01   ` Wolfram Sang
  2020-05-18 11:53   ` Geert Uytterhoeven
  2020-05-15 15:08 ` [PATCH 14/17] dt-bindings: power: renesas,apmu: Document r8a7742 support Lad Prabhakar
                   ` (3 subsequent siblings)
  16 siblings, 2 replies; 76+ messages in thread
From: Lad Prabhakar @ 2020-05-15 15:08 UTC (permalink / raw)
  To: Geert Uytterhoeven, Jens Axboe, Rob Herring, Wolfram Sang,
	Ulf Hansson, Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck
  Cc: linux-ide, devicetree, linux-kernel, linux-i2c, linux-mmc,
	netdev, linux-renesas-soc, linux-watchdog, Prabhakar,
	Lad Prabhakar

Define the generic R8A7742 part of the Ether device node.

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

diff --git a/arch/arm/boot/dts/r8a7742.dtsi b/arch/arm/boot/dts/r8a7742.dtsi
index 925bc8a..1fe65f7 100644
--- a/arch/arm/boot/dts/r8a7742.dtsi
+++ b/arch/arm/boot/dts/r8a7742.dtsi
@@ -844,6 +844,20 @@
 			status = "disabled";
 		};
 
+		ether: ethernet@ee700000 {
+			compatible = "renesas,ether-r8a7742",
+				     "renesas,rcar-gen2-ether";
+			reg = <0 0xee700000 0 0x400>;
+			interrupts = <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 813>;
+			power-domains = <&sysc R8A7742_PD_ALWAYS_ON>;
+			resets = <&cpg 813>;
+			phy-mode = "rmii";
+			#address-cells = <1>;
+			#size-cells = <0>;
+			status = "disabled";
+		};
+
 		gic: interrupt-controller@f1001000 {
 			compatible = "arm,gic-400";
 			#interrupt-cells = <3>;
-- 
2.7.4


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

* [PATCH 14/17] dt-bindings: power: renesas,apmu: Document r8a7742 support
  2020-05-15 15:08 [PATCH 00/17] RZ/G1H describe I2C, IIC, MMC0, SATA, AVB, RWDT and APMU nodes Lad Prabhakar
                   ` (12 preceding siblings ...)
  2020-05-15 15:08 ` [PATCH 13/17] ARM: dts: r8a7742: Add Ether support Lad Prabhakar
@ 2020-05-15 15:08 ` Lad Prabhakar
  2020-05-17 21:01   ` Wolfram Sang
                     ` (2 more replies)
  2020-05-15 15:08 ` [PATCH 15/17] ARM: dts: r8a7742: Add APMU nodes Lad Prabhakar
                   ` (2 subsequent siblings)
  16 siblings, 3 replies; 76+ messages in thread
From: Lad Prabhakar @ 2020-05-15 15:08 UTC (permalink / raw)
  To: Geert Uytterhoeven, Jens Axboe, Rob Herring, Wolfram Sang,
	Ulf Hansson, Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck
  Cc: linux-ide, devicetree, linux-kernel, linux-i2c, linux-mmc,
	netdev, linux-renesas-soc, linux-watchdog, Prabhakar,
	Lad Prabhakar

Document APMU and SMP enable method for RZ/G1H (also known as r8a7742)
SoC.

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

diff --git a/Documentation/devicetree/bindings/power/renesas,apmu.yaml b/Documentation/devicetree/bindings/power/renesas,apmu.yaml
index 078b2cb..60a23b3 100644
--- a/Documentation/devicetree/bindings/power/renesas,apmu.yaml
+++ b/Documentation/devicetree/bindings/power/renesas,apmu.yaml
@@ -18,6 +18,7 @@ properties:
   compatible:
     items:
       - enum:
+          - renesas,r8a7742-apmu  # RZ/G1H
           - renesas,r8a7743-apmu  # RZ/G1M
           - renesas,r8a7744-apmu  # RZ/G1N
           - renesas,r8a7745-apmu  # RZ/G1E
-- 
2.7.4


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

* [PATCH 15/17] ARM: dts: r8a7742: Add APMU nodes
  2020-05-15 15:08 [PATCH 00/17] RZ/G1H describe I2C, IIC, MMC0, SATA, AVB, RWDT and APMU nodes Lad Prabhakar
                   ` (13 preceding siblings ...)
  2020-05-15 15:08 ` [PATCH 14/17] dt-bindings: power: renesas,apmu: Document r8a7742 support Lad Prabhakar
@ 2020-05-15 15:08 ` Lad Prabhakar
  2020-05-17 21:03   ` Wolfram Sang
  2020-05-15 15:08 ` [PATCH 16/17] dt-bindings: watchdog: renesas,wdt: Document r8a7742 support Lad Prabhakar
  2020-05-15 15:08 ` [PATCH 17/17] ARM: dts: r8a7742: Add RWDT node Lad Prabhakar
  16 siblings, 1 reply; 76+ messages in thread
From: Lad Prabhakar @ 2020-05-15 15:08 UTC (permalink / raw)
  To: Geert Uytterhoeven, Jens Axboe, Rob Herring, Wolfram Sang,
	Ulf Hansson, Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck
  Cc: linux-ide, devicetree, linux-kernel, linux-i2c, linux-mmc,
	netdev, linux-renesas-soc, linux-watchdog, Prabhakar,
	Lad Prabhakar

Add DT nodes for the Advanced Power Management Units (APMU), and use the
enable-method to point out that the APMU should be used for SMP support.

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

diff --git a/arch/arm/boot/dts/r8a7742.dtsi b/arch/arm/boot/dts/r8a7742.dtsi
index 1fe65f7..da75767 100644
--- a/arch/arm/boot/dts/r8a7742.dtsi
+++ b/arch/arm/boot/dts/r8a7742.dtsi
@@ -18,6 +18,7 @@
 	cpus {
 		#address-cells = <1>;
 		#size-cells = <0>;
+		enable-method = "renesas,apmu";
 
 		cpu0: cpu@0 {
 			device_type = "cpu";
@@ -305,6 +306,18 @@
 			#reset-cells = <1>;
 		};
 
+		apmu@e6151000 {
+			compatible = "renesas,r8a7742-apmu", "renesas,apmu";
+			reg = <0 0xe6151000 0 0x188>;
+			cpus = <&cpu4 &cpu5 &cpu6 &cpu7>;
+		};
+
+		apmu@e6152000 {
+			compatible = "renesas,r8a7742-apmu", "renesas,apmu";
+			reg = <0 0xe6152000 0 0x188>;
+			cpus = <&cpu0 &cpu1 &cpu2 &cpu3>;
+		};
+
 		rst: reset-controller@e6160000 {
 			compatible = "renesas,r8a7742-rst";
 			reg = <0 0xe6160000 0 0x0100>;
-- 
2.7.4


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

* [PATCH 16/17] dt-bindings: watchdog: renesas,wdt: Document r8a7742 support
  2020-05-15 15:08 [PATCH 00/17] RZ/G1H describe I2C, IIC, MMC0, SATA, AVB, RWDT and APMU nodes Lad Prabhakar
                   ` (14 preceding siblings ...)
  2020-05-15 15:08 ` [PATCH 15/17] ARM: dts: r8a7742: Add APMU nodes Lad Prabhakar
@ 2020-05-15 15:08 ` Lad Prabhakar
  2020-05-17 21:03   ` Wolfram Sang
                     ` (3 more replies)
  2020-05-15 15:08 ` [PATCH 17/17] ARM: dts: r8a7742: Add RWDT node Lad Prabhakar
  16 siblings, 4 replies; 76+ messages in thread
From: Lad Prabhakar @ 2020-05-15 15:08 UTC (permalink / raw)
  To: Geert Uytterhoeven, Jens Axboe, Rob Herring, Wolfram Sang,
	Ulf Hansson, Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck
  Cc: linux-ide, devicetree, linux-kernel, linux-i2c, linux-mmc,
	netdev, linux-renesas-soc, linux-watchdog, Prabhakar,
	Lad Prabhakar

RZ/G1H (R8A7742) watchdog implementation is compatible with R-Car Gen2,
therefore add relevant documentation.

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

diff --git a/Documentation/devicetree/bindings/watchdog/renesas,wdt.txt b/Documentation/devicetree/bindings/watchdog/renesas,wdt.txt
index 79b3c62..e42fd30 100644
--- a/Documentation/devicetree/bindings/watchdog/renesas,wdt.txt
+++ b/Documentation/devicetree/bindings/watchdog/renesas,wdt.txt
@@ -5,6 +5,7 @@ Required properties:
 		fallback compatible string when compatible with the generic
 		version.
 	       Examples with soctypes are:
+		 - "renesas,r8a7742-wdt" (RZ/G1H)
 		 - "renesas,r8a7743-wdt" (RZ/G1M)
 		 - "renesas,r8a7744-wdt" (RZ/G1N)
 		 - "renesas,r8a7745-wdt" (RZ/G1E)
-- 
2.7.4


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

* [PATCH 17/17] ARM: dts: r8a7742: Add RWDT node
  2020-05-15 15:08 [PATCH 00/17] RZ/G1H describe I2C, IIC, MMC0, SATA, AVB, RWDT and APMU nodes Lad Prabhakar
                   ` (15 preceding siblings ...)
  2020-05-15 15:08 ` [PATCH 16/17] dt-bindings: watchdog: renesas,wdt: Document r8a7742 support Lad Prabhakar
@ 2020-05-15 15:08 ` Lad Prabhakar
  2020-05-17 21:08   ` Wolfram Sang
  2020-05-18 11:47   ` Geert Uytterhoeven
  16 siblings, 2 replies; 76+ messages in thread
From: Lad Prabhakar @ 2020-05-15 15:08 UTC (permalink / raw)
  To: Geert Uytterhoeven, Jens Axboe, Rob Herring, Wolfram Sang,
	Ulf Hansson, Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck
  Cc: linux-ide, devicetree, linux-kernel, linux-i2c, linux-mmc,
	netdev, linux-renesas-soc, linux-watchdog, Prabhakar,
	Lad Prabhakar

Add a device node for the Watchdog Timer (RWDT) controller on the Renesas
RZ/G1H (r8a7742) SoC.

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

diff --git a/arch/arm/boot/dts/r8a7742.dtsi b/arch/arm/boot/dts/r8a7742.dtsi
index da75767..ea39c20 100644
--- a/arch/arm/boot/dts/r8a7742.dtsi
+++ b/arch/arm/boot/dts/r8a7742.dtsi
@@ -201,6 +201,16 @@
 		#size-cells = <2>;
 		ranges;
 
+		rwdt: watchdog@e6020000 {
+			compatible = "renesas,r8a7742-wdt",
+				     "renesas,rcar-gen2-wdt";
+			reg = <0 0xe6020000 0 0x0c>;
+			clocks = <&cpg CPG_MOD 402>;
+			power-domains = <&sysc R8A7742_PD_ALWAYS_ON>;
+			resets = <&cpg 402>;
+			status = "disabled";
+		};
+
 		gpio0: gpio@e6050000 {
 			compatible = "renesas,gpio-r8a7742",
 				     "renesas,rcar-gen2-gpio";
-- 
2.7.4


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

* Re: [PATCH 03/17] ARM: dts: r8a7742: Add I2C and IIC support
  2020-05-15 15:08 ` [PATCH 03/17] ARM: dts: r8a7742: Add I2C and IIC support Lad Prabhakar
@ 2020-05-15 17:10   ` Wolfram Sang
  2020-05-18  8:58     ` Lad, Prabhakar
  0 siblings, 1 reply; 76+ messages in thread
From: Wolfram Sang @ 2020-05-15 17:10 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: Geert Uytterhoeven, Jens Axboe, Rob Herring, Ulf Hansson,
	Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck, linux-ide, devicetree, linux-kernel, linux-i2c,
	linux-mmc, netdev, linux-renesas-soc, linux-watchdog, Prabhakar

[-- Attachment #1: Type: text/plain, Size: 680 bytes --]

On Fri, May 15, 2020 at 04:08:43PM +0100, Lad Prabhakar wrote:
> Add the I2C[0-3] and IIC[0-3] devices nodes to the R8A7742 device tree.
> 
> Automatic transmission for PMIC control is not available on IIC3 hence
> compatible string "renesas,rcar-gen2-iic" and "renesas,rmobile-iic" is
> not added to iic3 node.

Makes sense.

However, both versions (with and without automatic transmission) are
described with the same "renesas,iic-r8a7742" compatible. Is it possible
to detect the reduced variant at runtime somehow?

My concern is that the peculiarity of this SoC might be forgotten if we
describe it like this and ever add "automatic transmissions" somewhen.


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: [PATCH 01/17] dt-bindings: i2c: renesas,i2c: Document r8a7742 support
  2020-05-15 15:08 ` [PATCH 01/17] dt-bindings: i2c: renesas,i2c: Document r8a7742 support Lad Prabhakar
@ 2020-05-15 17:12   ` Wolfram Sang
  2020-05-18  9:56   ` Geert Uytterhoeven
  2020-05-28 20:03   ` Rob Herring
  2 siblings, 0 replies; 76+ messages in thread
From: Wolfram Sang @ 2020-05-15 17:12 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: Geert Uytterhoeven, Jens Axboe, Rob Herring, Ulf Hansson,
	Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck, linux-ide, devicetree, linux-kernel, linux-i2c,
	linux-mmc, netdev, linux-renesas-soc, linux-watchdog, Prabhakar

[-- Attachment #1: Type: text/plain, Size: 514 bytes --]

On Fri, May 15, 2020 at 04:08:41PM +0100, Lad Prabhakar wrote:
> Document i2c controller for RZ/G1H (R8A7742) SoC, which is compatible
> with R-Car Gen2 SoC family.
> 
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>

Dunno if patches need to be this fine-grained (e.g. group all simple additions
like this in one patch) but still:

Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: [PATCH 02/17] dt-bindings: i2c: renesas,iic: Document r8a7742 support
  2020-05-15 15:08 ` [PATCH 02/17] dt-bindings: i2c: renesas,iic: " Lad Prabhakar
@ 2020-05-15 17:14   ` Wolfram Sang
  2020-05-18  9:59   ` Geert Uytterhoeven
  2020-05-28 20:03   ` Rob Herring
  2 siblings, 0 replies; 76+ messages in thread
From: Wolfram Sang @ 2020-05-15 17:14 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: Geert Uytterhoeven, Jens Axboe, Rob Herring, Ulf Hansson,
	Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck, linux-ide, devicetree, linux-kernel, linux-i2c,
	linux-mmc, netdev, linux-renesas-soc, linux-watchdog, Prabhakar

[-- Attachment #1: Type: text/plain, Size: 396 bytes --]

On Fri, May 15, 2020 at 04:08:42PM +0100, Lad Prabhakar wrote:
> Document IIC controller for RZ/G1H (R8A7742) SoC, which is compatible
> with R-Car Gen2 SoC family.
> 
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>

Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: [PATCH 04/17] dt-bindings: mmc: renesas,sdhi: Document r8a7742 support
  2020-05-15 15:08 ` [PATCH 04/17] dt-bindings: mmc: renesas,sdhi: Document r8a7742 support Lad Prabhakar
@ 2020-05-15 17:17   ` Wolfram Sang
  2020-05-18 11:10   ` Geert Uytterhoeven
  2020-05-19 15:29   ` Ulf Hansson
  2 siblings, 0 replies; 76+ messages in thread
From: Wolfram Sang @ 2020-05-15 17:17 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: Geert Uytterhoeven, Jens Axboe, Rob Herring, Ulf Hansson,
	Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck, linux-ide, devicetree, linux-kernel, linux-i2c,
	linux-mmc, netdev, linux-renesas-soc, linux-watchdog, Prabhakar

[-- Attachment #1: Type: text/plain, Size: 397 bytes --]

On Fri, May 15, 2020 at 04:08:44PM +0100, Lad Prabhakar wrote:
> Document SDHI controller for RZ/G1H (R8A7742) SoC, which is compatible
> with R-Car Gen2 SoC family.
> 
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>

Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: [PATCH 05/17] mmc: renesas_sdhi_sys_dmac: Add support for r8a7742 SoC
  2020-05-15 15:08 ` [PATCH 05/17] mmc: renesas_sdhi_sys_dmac: Add support for r8a7742 SoC Lad Prabhakar
@ 2020-05-15 17:17   ` Wolfram Sang
  2020-05-18 11:24     ` Geert Uytterhoeven
  0 siblings, 1 reply; 76+ messages in thread
From: Wolfram Sang @ 2020-05-15 17:17 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: Geert Uytterhoeven, Jens Axboe, Rob Herring, Ulf Hansson,
	Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck, linux-ide, devicetree, linux-kernel, linux-i2c,
	linux-mmc, netdev, linux-renesas-soc, linux-watchdog, Prabhakar

[-- Attachment #1: Type: text/plain, Size: 1475 bytes --]

On Fri, May 15, 2020 at 04:08:45PM +0100, Lad Prabhakar wrote:
> Add support for r8a7742 SoC. Renesas RZ/G1H (R8A7742) SDHI is identical to
> the R-Car Gen2 family.
> 
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>

I think we can skip this because of the generic fallback? The other
entries come from a time when we had a different policy IIRC.

> ---
>  drivers/mmc/host/renesas_sdhi_sys_dmac.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/mmc/host/renesas_sdhi_sys_dmac.c b/drivers/mmc/host/renesas_sdhi_sys_dmac.c
> index 13ff023..dbfcbc2 100644
> --- a/drivers/mmc/host/renesas_sdhi_sys_dmac.c
> +++ b/drivers/mmc/host/renesas_sdhi_sys_dmac.c
> @@ -75,6 +75,7 @@ static const struct of_device_id renesas_sdhi_sys_dmac_of_match[] = {
>  	{ .compatible = "renesas,sdhi-r7s72100", .data = &of_rz_compatible, },
>  	{ .compatible = "renesas,sdhi-r8a7778", .data = &of_rcar_gen1_compatible, },
>  	{ .compatible = "renesas,sdhi-r8a7779", .data = &of_rcar_gen1_compatible, },
> +	{ .compatible = "renesas,sdhi-r8a7742", .data = &of_rcar_gen2_compatible, },
>  	{ .compatible = "renesas,sdhi-r8a7743", .data = &of_rcar_gen2_compatible, },
>  	{ .compatible = "renesas,sdhi-r8a7745", .data = &of_rcar_gen2_compatible, },
>  	{ .compatible = "renesas,sdhi-r8a7790", .data = &of_rcar_gen2_compatible, },
> -- 
> 2.7.4
> 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: [PATCH 06/17] ARM: dts: r8a7742: Add SDHI nodes
  2020-05-15 15:08 ` [PATCH 06/17] ARM: dts: r8a7742: Add SDHI nodes Lad Prabhakar
@ 2020-05-17 20:53   ` Wolfram Sang
  2020-05-18 11:51   ` Geert Uytterhoeven
  1 sibling, 0 replies; 76+ messages in thread
From: Wolfram Sang @ 2020-05-17 20:53 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: Geert Uytterhoeven, Jens Axboe, Rob Herring, Wolfram Sang,
	Ulf Hansson, Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck, linux-ide, devicetree, linux-kernel, linux-i2c,
	linux-mmc, netdev, linux-renesas-soc, linux-watchdog, Prabhakar

[-- Attachment #1: Type: text/plain, Size: 350 bytes --]

On Fri, May 15, 2020 at 04:08:46PM +0100, Lad Prabhakar wrote:
> Add the SDHI devices nodes to the R8A7742 device tree.
> 
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>

Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: [PATCH 07/17] ARM: dts: r8a7742: Add MMC0 node
  2020-05-15 15:08 ` [PATCH 07/17] ARM: dts: r8a7742: Add MMC0 node Lad Prabhakar
@ 2020-05-17 20:54   ` Wolfram Sang
  2020-05-18 11:52   ` Geert Uytterhoeven
  1 sibling, 0 replies; 76+ messages in thread
From: Wolfram Sang @ 2020-05-17 20:54 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: Geert Uytterhoeven, Jens Axboe, Rob Herring, Wolfram Sang,
	Ulf Hansson, Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck, linux-ide, devicetree, linux-kernel, linux-i2c,
	linux-mmc, netdev, linux-renesas-soc, linux-watchdog, Prabhakar

[-- Attachment #1: Type: text/plain, Size: 349 bytes --]

On Fri, May 15, 2020 at 04:08:47PM +0100, Lad Prabhakar wrote:
> Describe MMC0 device node in the R8A7742 device tree.
> 
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>

Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: [PATCH 08/17] dt-bindings: ata: renesas,rcar-sata: Add r8a7742 support
  2020-05-15 15:08 ` [PATCH 08/17] dt-bindings: ata: renesas,rcar-sata: Add r8a7742 support Lad Prabhakar
@ 2020-05-17 20:55   ` Wolfram Sang
  2020-05-18 11:13   ` Geert Uytterhoeven
  2020-05-28 20:04   ` Rob Herring
  2 siblings, 0 replies; 76+ messages in thread
From: Wolfram Sang @ 2020-05-17 20:55 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: Geert Uytterhoeven, Jens Axboe, Rob Herring, Wolfram Sang,
	Ulf Hansson, Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck, linux-ide, devicetree, linux-kernel, linux-i2c,
	linux-mmc, netdev, linux-renesas-soc, linux-watchdog, Prabhakar

[-- Attachment #1: Type: text/plain, Size: 384 bytes --]

On Fri, May 15, 2020 at 04:08:48PM +0100, Lad Prabhakar wrote:
> Document SATA support for the RZ/G1H, which is compatible with
> R-Car Gen2 SoC family.
> 
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>

Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: [PATCH 09/17] ARM: dts: r8a7742: Add sata nodes
  2020-05-15 15:08 ` [PATCH 09/17] ARM: dts: r8a7742: Add sata nodes Lad Prabhakar
@ 2020-05-17 20:57   ` Wolfram Sang
  2020-05-18 11:52   ` Geert Uytterhoeven
  1 sibling, 0 replies; 76+ messages in thread
From: Wolfram Sang @ 2020-05-17 20:57 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: Geert Uytterhoeven, Jens Axboe, Rob Herring, Wolfram Sang,
	Ulf Hansson, Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck, linux-ide, devicetree, linux-kernel, linux-i2c,
	linux-mmc, netdev, linux-renesas-soc, linux-watchdog, Prabhakar

[-- Attachment #1: Type: text/plain, Size: 350 bytes --]

On Fri, May 15, 2020 at 04:08:49PM +0100, Lad Prabhakar wrote:
> Add the sata devices nodes to the R8A7742 device tree.
> 
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>

Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: [PATCH 10/17] dt-bindings: net: renesas,ravb: Add support for r8a7742 SoC
  2020-05-15 15:08 ` [PATCH 10/17] dt-bindings: net: renesas,ravb: Add support for r8a7742 SoC Lad Prabhakar
@ 2020-05-17 20:58   ` Wolfram Sang
  2020-05-18 11:14   ` Geert Uytterhoeven
  2020-05-28 20:04   ` Rob Herring
  2 siblings, 0 replies; 76+ messages in thread
From: Wolfram Sang @ 2020-05-17 20:58 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: Geert Uytterhoeven, Jens Axboe, Rob Herring, Wolfram Sang,
	Ulf Hansson, Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck, linux-ide, devicetree, linux-kernel, linux-i2c,
	linux-mmc, netdev, linux-renesas-soc, linux-watchdog, Prabhakar

[-- Attachment #1: Type: text/plain, Size: 335 bytes --]

On Fri, May 15, 2020 at 04:08:50PM +0100, Lad Prabhakar wrote:
> Document RZ/G1H (R8A7742) SoC bindings.
> 
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>

Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: [PATCH 11/17] dt-bindings: net: renesas,ether: Document R8A7742 SoC
  2020-05-15 15:08 ` [PATCH 11/17] dt-bindings: net: renesas,ether: Document R8A7742 SoC Lad Prabhakar
@ 2020-05-17 20:59   ` Wolfram Sang
  2020-05-18 11:15   ` Geert Uytterhoeven
  2020-05-28 20:04   ` Rob Herring
  2 siblings, 0 replies; 76+ messages in thread
From: Wolfram Sang @ 2020-05-17 20:59 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: Geert Uytterhoeven, Jens Axboe, Rob Herring, Wolfram Sang,
	Ulf Hansson, Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck, linux-ide, devicetree, linux-kernel, linux-i2c,
	linux-mmc, netdev, linux-renesas-soc, linux-watchdog, Prabhakar

[-- Attachment #1: Type: text/plain, Size: 335 bytes --]

On Fri, May 15, 2020 at 04:08:51PM +0100, Lad Prabhakar wrote:
> Document RZ/G1H (R8A7742) SoC bindings.
> 
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>

Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: [PATCH 12/17] ARM: dts: r8a7742: Add Ethernet AVB support
  2020-05-15 15:08 ` [PATCH 12/17] ARM: dts: r8a7742: Add Ethernet AVB support Lad Prabhakar
@ 2020-05-17 21:00   ` Wolfram Sang
  2020-05-18 11:53   ` Geert Uytterhoeven
  1 sibling, 0 replies; 76+ messages in thread
From: Wolfram Sang @ 2020-05-17 21:00 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: Geert Uytterhoeven, Jens Axboe, Rob Herring, Wolfram Sang,
	Ulf Hansson, Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck, linux-ide, devicetree, linux-kernel, linux-i2c,
	linux-mmc, netdev, linux-renesas-soc, linux-watchdog, Prabhakar

[-- Attachment #1: Type: text/plain, Size: 337 bytes --]

On Fri, May 15, 2020 at 04:08:52PM +0100, Lad Prabhakar wrote:
> Add Ethernet AVB support for R8A7742 SoC.
> 
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>

Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: [PATCH 13/17] ARM: dts: r8a7742: Add Ether support
  2020-05-15 15:08 ` [PATCH 13/17] ARM: dts: r8a7742: Add Ether support Lad Prabhakar
@ 2020-05-17 21:01   ` Wolfram Sang
  2020-05-18 11:53   ` Geert Uytterhoeven
  1 sibling, 0 replies; 76+ messages in thread
From: Wolfram Sang @ 2020-05-17 21:01 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: Geert Uytterhoeven, Jens Axboe, Rob Herring, Wolfram Sang,
	Ulf Hansson, Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck, linux-ide, devicetree, linux-kernel, linux-i2c,
	linux-mmc, netdev, linux-renesas-soc, linux-watchdog, Prabhakar

[-- Attachment #1: Type: text/plain, Size: 353 bytes --]

On Fri, May 15, 2020 at 04:08:53PM +0100, Lad Prabhakar wrote:
> Define the generic R8A7742 part of the Ether device node.
> 
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>

Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: [PATCH 14/17] dt-bindings: power: renesas,apmu: Document r8a7742 support
  2020-05-15 15:08 ` [PATCH 14/17] dt-bindings: power: renesas,apmu: Document r8a7742 support Lad Prabhakar
@ 2020-05-17 21:01   ` Wolfram Sang
  2020-05-18 11:16   ` Geert Uytterhoeven
  2020-05-28 20:05   ` Rob Herring
  2 siblings, 0 replies; 76+ messages in thread
From: Wolfram Sang @ 2020-05-17 21:01 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: Geert Uytterhoeven, Jens Axboe, Rob Herring, Wolfram Sang,
	Ulf Hansson, Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck, linux-ide, devicetree, linux-kernel, linux-i2c,
	linux-mmc, netdev, linux-renesas-soc, linux-watchdog, Prabhakar

[-- Attachment #1: Type: text/plain, Size: 374 bytes --]

On Fri, May 15, 2020 at 04:08:54PM +0100, Lad Prabhakar wrote:
> Document APMU and SMP enable method for RZ/G1H (also known as r8a7742)
> SoC.
> 
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>

Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: [PATCH 15/17] ARM: dts: r8a7742: Add APMU nodes
  2020-05-15 15:08 ` [PATCH 15/17] ARM: dts: r8a7742: Add APMU nodes Lad Prabhakar
@ 2020-05-17 21:03   ` Wolfram Sang
  0 siblings, 0 replies; 76+ messages in thread
From: Wolfram Sang @ 2020-05-17 21:03 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: Geert Uytterhoeven, Jens Axboe, Rob Herring, Wolfram Sang,
	Ulf Hansson, Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck, linux-ide, devicetree, linux-kernel, linux-i2c,
	linux-mmc, netdev, linux-renesas-soc, linux-watchdog, Prabhakar

[-- Attachment #1: Type: text/plain, Size: 444 bytes --]

On Fri, May 15, 2020 at 04:08:55PM +0100, Lad Prabhakar wrote:
> Add DT nodes for the Advanced Power Management Units (APMU), and use the
> enable-method to point out that the APMU should be used for SMP support.
> 
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>

Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: [PATCH 16/17] dt-bindings: watchdog: renesas,wdt: Document r8a7742 support
  2020-05-15 15:08 ` [PATCH 16/17] dt-bindings: watchdog: renesas,wdt: Document r8a7742 support Lad Prabhakar
@ 2020-05-17 21:03   ` Wolfram Sang
  2020-05-18 11:17   ` Geert Uytterhoeven
                     ` (2 subsequent siblings)
  3 siblings, 0 replies; 76+ messages in thread
From: Wolfram Sang @ 2020-05-17 21:03 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: Geert Uytterhoeven, Jens Axboe, Rob Herring, Wolfram Sang,
	Ulf Hansson, Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck, linux-ide, devicetree, linux-kernel, linux-i2c,
	linux-mmc, netdev, linux-renesas-soc, linux-watchdog, Prabhakar

[-- Attachment #1: Type: text/plain, Size: 408 bytes --]

On Fri, May 15, 2020 at 04:08:56PM +0100, Lad Prabhakar wrote:
> RZ/G1H (R8A7742) watchdog implementation is compatible with R-Car Gen2,
> therefore add relevant documentation.
> 
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>

Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: [PATCH 17/17] ARM: dts: r8a7742: Add RWDT node
  2020-05-15 15:08 ` [PATCH 17/17] ARM: dts: r8a7742: Add RWDT node Lad Prabhakar
@ 2020-05-17 21:08   ` Wolfram Sang
  2020-05-18  9:16     ` Lad, Prabhakar
  2020-05-18 11:47   ` Geert Uytterhoeven
  1 sibling, 1 reply; 76+ messages in thread
From: Wolfram Sang @ 2020-05-17 21:08 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: Geert Uytterhoeven, Jens Axboe, Rob Herring, Wolfram Sang,
	Ulf Hansson, Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck, linux-ide, devicetree, linux-kernel, linux-i2c,
	linux-mmc, netdev, linux-renesas-soc, linux-watchdog, Prabhakar

[-- Attachment #1: Type: text/plain, Size: 660 bytes --]

On Fri, May 15, 2020 at 04:08:57PM +0100, Lad Prabhakar wrote:
> Add a device node for the Watchdog Timer (RWDT) controller on the Renesas
> RZ/G1H (r8a7742) SoC.
> 
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>

The DTS change looks fine, I checked it against similar SoCs (like the
previous patched). So, for that:

Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>

However, just to make sure, have you checked the WDT (especially reboot)
with SMP and multiple CPU cores enabled? Some early Gen2 SoCs had issues
there.


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: [PATCH 03/17] ARM: dts: r8a7742: Add I2C and IIC support
  2020-05-15 17:10   ` Wolfram Sang
@ 2020-05-18  8:58     ` Lad, Prabhakar
  2020-05-18  9:26       ` Wolfram Sang
  0 siblings, 1 reply; 76+ messages in thread
From: Lad, Prabhakar @ 2020-05-18  8:58 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: Lad Prabhakar, Geert Uytterhoeven, Jens Axboe, Rob Herring,
	Ulf Hansson, Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck, linux-ide,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS, LKML,
	linux-i2c, Linux MMC List, netdev, Linux-Renesas, linux-watchdog

Hi Wolfram,

Thank for the review.

On Fri, May 15, 2020 at 6:10 PM Wolfram Sang
<wsa+renesas@sang-engineering.com> wrote:
>
> On Fri, May 15, 2020 at 04:08:43PM +0100, Lad Prabhakar wrote:
> > Add the I2C[0-3] and IIC[0-3] devices nodes to the R8A7742 device tree.
> >
> > Automatic transmission for PMIC control is not available on IIC3 hence
> > compatible string "renesas,rcar-gen2-iic" and "renesas,rmobile-iic" is
> > not added to iic3 node.
>
> Makes sense.
>
> However, both versions (with and without automatic transmission) are
> described with the same "renesas,iic-r8a7742" compatible. Is it possible
> to detect the reduced variant at runtime somehow?
>
I couldn't find anything the manual that would be useful to detect at runtime.

> My concern is that the peculiarity of this SoC might be forgotten if we
> describe it like this and ever add "automatic transmissions" somewhen.
>
Agreed.

Cheers,
--Prabhakar

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

* Re: [PATCH 17/17] ARM: dts: r8a7742: Add RWDT node
  2020-05-17 21:08   ` Wolfram Sang
@ 2020-05-18  9:16     ` Lad, Prabhakar
  2020-05-18  9:28       ` Wolfram Sang
  0 siblings, 1 reply; 76+ messages in thread
From: Lad, Prabhakar @ 2020-05-18  9:16 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: Lad Prabhakar, Geert Uytterhoeven, Jens Axboe, Rob Herring,
	Wolfram Sang, Ulf Hansson, Sergei Shtylyov, David S. Miller,
	Wim Van Sebroeck, Guenter Roeck, linux-ide,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS, LKML,
	linux-i2c, Linux MMC List, netdev, Linux-Renesas, linux-watchdog

[-- Attachment #1: Type: text/plain, Size: 1211 bytes --]

Hi Wolfram,

On Sun, May 17, 2020 at 10:08 PM Wolfram Sang <wsa@the-dreams.de> wrote:
>
> On Fri, May 15, 2020 at 04:08:57PM +0100, Lad Prabhakar wrote:
> > Add a device node for the Watchdog Timer (RWDT) controller on the Renesas
> > RZ/G1H (r8a7742) SoC.
> >
> > Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> > Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>
>
> The DTS change looks fine, I checked it against similar SoCs (like the
> previous patched). So, for that:
>
> Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
>
Thank you for review.

> However, just to make sure, have you checked the WDT (especially reboot)
> with SMP and multiple CPU cores enabled? Some early Gen2 SoCs had issues
> there.
>
Its similar to as seen on Rcar-H2 where just the A15 cores are up and
A7 cores fail to boot. Attached is the boot log where reboot works as
expected with all A15 core up. Although I have tested the internal
release based on 3.10 where all the cores are up which used bootarg
apmu=multicluster (https://patchwork.kernel.org/patch/3948791/). So
there is some work involved to get all the A7's up and running.


Cheers,
--Prabhakar

[-- Attachment #2: log.txt --]
[-- Type: text/plain, Size: 25436 bytes --]

iW-RainboW-G21M SPI_LOADER V0.31 2015.11.10                                  
 DEVICE SST25VF016B                                                          
                                                                             
                                                                             
U-Boot 2013.01.01-gcb82c56-dirty (Aug 18 2016 - 10:13:48)
                                        
CPU: Renesas Electronics R8A7742 rev 3.0
Board: RZ/G1H iW-RainboW-G21M-Q7        
                                        
DRAM:  2 GiB                            
MMC:   sh-sdhi: 0, sh_mmcif: 1
SF: Detected SST25VF016B with page size 4 KiB, total 2 MiB
In:    serial
Out:   serial
Err:   serial

Board Info:
        BSP Version     : iW-PREXZ-SC-01-R2.0-REL1.0-Linux3.10.31
        SOM Version     : iW-PREXZ-AP-01-R2.0

Net:   ether_avb
Hit any key to stop autoboot:  0 
iWave-G21M >boot
ether_avb Waiting for PHY auto negotiation to complete... done
ether_avb: 1000Base /Full
BOOTP broadcast 1
BOOTP broadcast 2
DHCP client bound to address 192.168.10.10
ether_avb:3 is connected to ether_avb.  Reconnecting to ether_avb
ether_avb Waiting for PHY auto negotiation to complete... done
ether_avb: 1000Base /Full
Using ether_avb device
TFTP from server 192.168.10.1; our IP address is 192.168.10.10
Filename 'g1h/uImage'.
Load address: 0x40007fc0
Loading: T #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ###########
         647.5 KiB/s
done
Bytes transferred = 4927976 (4b31e8 hex)
ether_avb:3 is connected to ether_avb.  Reconnecting to ether_avb
ether_avb Waiting for PHY auto negotiation to complete... done
ether_avb: 1000Base /Full
Using ether_avb device
TFTP from server 192.168.10.1; our IP address is 192.168.10.10
Filename 'g1h/r8a7742-iwg21d-q7.dtb'.
Load address: 0x40f00000
Loading: T ###
         4.9 KiB/s
done
Bytes transferred = 29675 (73eb hex)
## Booting kernel from Legacy Image at 40007fc0 ...
   Image Name:   Linux-5.7.0-rc3-00058-g857bcc07a
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4927912 Bytes = 4.7 MiB
   Load Address: 40008000
   Entry Point:  40008000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 40f00000
   Booting using the fdt blob at 0x40f00000
   XIP Kernel Image ... OK
OK
   Loading Device Tree to 41ef5000, end 41eff3ea ... OK
Unable to update property <NULL>:mac-address, err=FDT_ERR_BADPATH
Unable to update property <NULL>:local-mac-address, err=FDT_ERR_BADPATH
Unable to update property <NULL>:mac-address, err=FDT_ERR_BADPATH
Unable to update property <NULL>:local-mac-address, err=FDT_ERR_BADPATH
Unable to update property /iwg21m_q7_common:som-rev, err=FDT_ERR_NOTFOUND
Unable to update property /iwg21m_q7_common:vin0-ov5640, err=FDT_ERR_NOTFOUND
Unable to update property /iwg21m_q7_common:vin1-ov5640, err=FDT_ERR_NOTFOUND
Unable to update property /iwg21m_q7_common:vin2-ov5640, err=FDT_ERR_NOTFOUND
Unable to update property /iwg21m_q7_common:vin3-ov5640, err=FDT_ERR_NOTFOUND
Unable to update property /iwg21m_q7_common:vin0-status, err=FDT_ERR_NOTFOUND
Unable to update property /ethernet@e6800000:status, err=FDT_ERR_NOTFOUND
Unable to update property /pfc@e6060000:pinctrl-1, err=FDT_ERR_NOTFOUND
Unable to update property /pfc@e6060000:pinctrl-2, err=FDT_ERR_NOTFOUND

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.7.0-rc3-00058-g857bcc07ad1e-dirty (prasmi@prasmi) (gcc version 7.5.0 (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04), GNU ld (GNU Binutils for Ubuntu) 2.30) #223 SMP Fri May 15 18:11:09 0
[    0.000000] CPU: ARMv7 Processor [413fc0f2] revision 2 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] OF: fdt: Machine model: iWave Systems RainboW-G21D-Qseven board based on RZ/G1H
[    0.000000] OF: fdt: Ignoring memory block 0x200000000 - 0x240000000
[    0.000000] printk: debug: ignoring loglevel setting.
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 256 MiB at 0x70000000
[    0.000000] cma: Reserved 64 MiB at 0x6c000000
[    0.000000] On node 0 totalpages: 262144
[    0.000000]   Normal zone: 1264 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 161792 pages, LIFO batch:31
[    0.000000]   HighMem zone: 100352 pages, LIFO batch:31
[    0.000000] percpu: Embedded 19 pages/cpu s47500 r8192 d22132 u77824
[    0.000000] pcpu-alloc: s47500 r8192 d22132 u77824 alloc=19*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 [0] 6 [0] 7 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 260880
[    0.000000] Kernel command line: console=ttySC2,115200n8 earlyprintk ignore_loglevel ip=dhcp vmalloc=384M rw root=/dev/nfs nfsroot=192.168.10.1:/mnt/g1h,vers=4,tcp apmu=multicluster
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 698984K/1048576K available (7168K kernel code, 645K rwdata, 2556K rodata, 1024K init, 272K bss, 21912K reserved, 327680K cma-reserved, 73728K highmem)
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: get_random_bytes called from start_kernel+0x298/0x490 with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 10.00MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns
[    0.000004] sched_clock: 56 bits at 10MHz, resolution 100ns, wraps every 4398046511100ns
[    0.000013] Switching to timer-based delay loop, resolution 100ns
[    0.000351] Console: colour dummy device 80x30
[    0.000382] Calibrating delay loop (skipped), value calculated using timer frequency.. 20.00 BogoMIPS (lpj=100000)
[    0.000392] pid_max: default: 32768 minimum: 301
[    0.000535] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.000548] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.001015] CPU: Testing write buffer coherency: ok
[    0.001041] CPU0: Spectre v2: firmware did not set auxiliary control register IBE bit, system vulnerable
[    0.001241] cpu_capacity: missing /cpus/cpu@100 raw capacity
[    0.001248] cpu_capacity: partial information: fallback to 1024 for all CPUs
[    0.001303] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.001919] Setting up static identity map for 0x40100000 - 0x40100060
[    0.001995] rcu: Hierarchical SRCU implementation.
[    0.002261] Detected Renesas RZ/G1 r8a7742 ES3.0
[    0.002838] smp: Bringing up secondary CPUs ...
[    0.005006] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.005015] CPU1: Spectre v2: firmware did not set auxiliary control register IBE bit, system vulnerable
[    0.006100] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.006109] CPU2: Spectre v2: firmware did not set auxiliary control register IBE bit, system vulnerable
[    0.007200] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.007209] CPU3: Spectre v2: firmware did not set auxiliary control register IBE bit, system vulnerable
[    0.007948] CPU4: failed to boot: -22
[    0.008699] CPU5: failed to boot: -22
[    0.009446] CPU6: failed to boot: -22
[    0.010236] CPU7: failed to boot: -22
[    0.010372] smp: Brought up 1 node, 4 CPUs
[    0.010380] SMP: Total of 4 processors activated (80.00 BogoMIPS).
[    0.010387] CPU: All CPU(s) started in SVC mode.
[    0.010974] devtmpfs: initialized
[    0.015160] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
[    0.015384] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.015399] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
[    0.020137] pinctrl core: initialized pinctrl subsystem
[    0.020788] thermal_sys: Registered thermal governor 'step_wise'
[    0.021194] NET: Registered protocol family 16
[    0.022202] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.022985] No ATAGs?
[    0.023081] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.023091] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.025378] sh-pfc e6060000.pin-controller: r8a77420_pfc support registered
[    0.041108] vgaarb: loaded
[    0.041366] SCSI subsystem initialized
[    0.041515] libata version 3.00 loaded.
[    0.041660] usbcore: registered new interface driver usbfs
[    0.041694] usbcore: registered new interface driver hub
[    0.041784] usbcore: registered new device driver usb
[    0.042248] mc: Linux media interface: v0.10
[    0.042274] videodev: Linux video capture interface: v2.00
[    0.042328] pps_core: LinuxPPS API ver. 1 registered
[    0.042335] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.042350] PTP clock support registered
[    0.042881] Advanced Linux Sound Architecture Driver Initialized.
[    0.043502] clocksource: Switched to clocksource arch_sys_counter
[    0.622434] NET: Registered protocol family 2
[    0.622767] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.622787] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.622834] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.622924] TCP: Hash tables configured (established 8192 bind 8192)
[    0.623017] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.623043] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.623183] NET: Registered protocol family 1
[    0.623550] RPC: Registered named UNIX socket transport module.
[    0.623558] RPC: Registered udp transport module.
[    0.623564] RPC: Registered tcp transport module.
[    0.623570] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.623580] PCI: CLS 0 bytes, default 64
[    0.624215] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
[    0.624391] hw perfevents: /pmu-1: failed to probe PMU!
[    0.624401] hw perfevents: /pmu-1: failed to register PMU devices!
[    0.625672] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    0.626110] NFS: Registering the id_resolver key type
[    0.626134] Key type id_resolver registered
[    0.626140] Key type id_legacy registered
[    0.626153] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.626244] bounce: pool size: 64 pages
[    0.626276] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    0.626284] io scheduler mq-deadline registered
[    0.626291] io scheduler kyber registered
[    0.627694] gpio_rcar e6050000.gpio: driving 32 GPIOs
[    0.627994] gpio_rcar e6051000.gpio: driving 30 GPIOs
[    0.628279] gpio_rcar e6052000.gpio: driving 30 GPIOs
[    0.628555] gpio_rcar e6053000.gpio: driving 32 GPIOs
[    0.628829] gpio_rcar e6054000.gpio: driving 32 GPIOs
[    0.629102] gpio_rcar e6055000.gpio: driving 32 GPIOs
[    0.629817] pci-rcar-gen2 ee0b0000.pci: PCI: bus0 revision 11
[    0.629931] pci-rcar-gen2 ee0b0000.pci: PCI host bridge to bus 0000:01
[    0.629942] pci_bus 0000:01: root bus resource [mem 0xee0a0000-0xee0a10ff]
[    0.629951] pci_bus 0000:01: No busn resource found for root bus, will use [bus 01-ff]
[    0.629981] pci 0000:01:00.0: [1033:0000] type 00 class 0x060000
[    0.630007] pci 0000:01:00.0: reg 0x10: [mem 0xee0b0800-0xee0b0bff]
[    0.630019] pci 0000:01:00.0: reg 0x14: [mem 0x40000000-0x7fffffff pref]
[    0.630275] pci 0000:01:01.0: [1033:0035] type 00 class 0x0c0310
[    0.630299] pci 0000:01:01.0: reg 0x10: [mem 0x00000000-0x00000fff]
[    0.630363] pci 0000:01:01.0: supports D1 D2
[    0.630371] pci 0000:01:01.0: PME# supported from D0 D1 D2 D3hot
[    0.630567] pci 0000:01:02.0: [1033:00e0] type 00 class 0x0c0320
[    0.630590] pci 0000:01:02.0: reg 0x10: [mem 0x00000000-0x000000ff]
[    0.630653] pci 0000:01:02.0: supports D1 D2
[    0.630660] pci 0000:01:02.0: PME# supported from D0 D1 D2 D3hot
[    0.631807] PCI: bus1: Fast back to back transfers disabled
[    0.631818] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    0.631836] pci 0000:01:01.0: BAR 0: assigned [mem 0xee0a0000-0xee0a0fff]
[    0.631848] pci 0000:01:02.0: BAR 0: assigned [mem 0xee0a1000-0xee0a10ff]
[    0.631890] pci 0000:01:01.0: enabling device (0140 -> 0142)
[    0.631926] pci 0000:01:02.0: enabling device (0140 -> 0142)
[    0.641511] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.642431] SuperH (H)SCI(F) driver initialized
[    0.642848] e6c60000.serial: ttySC2 at MMIO 0xe6c60000 (irq = 76, base_baud = 0) is a scifa
[    1.505342] printk: console [ttySC2] enabled
[    1.510110] e6ce0000.serial: ttySC4 at MMIO 0xe6ce0000 (irq = 77, base_baud = 0) is a scifb
[    1.523630] libphy: Fixed MDIO Bus: probed
[    1.528035] CAN device driver interface
[    1.533083] ravb e6800000.ethernet: no valid MAC address supplied, using a random one
[    1.541248] libphy: ravb_mii: probed
[    1.546374] ravb e6800000.ethernet eth0: Base address at 0xe6800000, f6:35:bc:36:75:d3, IRQ 75.
[    1.555246] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.561763] ehci-pci: EHCI PCI platform driver
[    1.566336] ehci-pci 0000:01:02.0: EHCI Host Controller
[    1.571571] ehci-pci 0000:01:02.0: new USB bus registered, assigned bus number 1
[    1.579110] ehci-pci 0000:01:02.0: irq 107, io mem 0xee0a1000
[    1.613503] ehci-pci 0000:01:02.0: USB 2.0 started, EHCI 1.00
[    1.619766] hub 1-0:1.0: USB hub found
[    1.623549] hub 1-0:1.0: 1 port detected
[    1.627831] ehci-platform: EHCI generic platform driver
[    1.633164] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.639358] ohci-pci: OHCI PCI platform driver
[    1.643889] ohci-pci 0000:01:01.0: OHCI PCI host controller
[    1.649464] ohci-pci 0000:01:01.0: new USB bus registered, assigned bus number 2
[    1.656934] ohci-pci 0000:01:01.0: irq 107, io mem 0xee0a0000
[    1.754022] hub 2-0:1.0: USB hub found
[    1.757790] hub 2-0:1.0: 1 port detected
[    1.762044] ohci-platform: OHCI generic platform driver
[    1.767706] xhci-hcd ee000000.usb: xHCI Host Controller
[    1.772936] xhci-hcd ee000000.usb: new USB bus registered, assigned bus number 3
[    1.795359] xhci-hcd ee000000.usb: hcc params 0x014051ce hci version 0x100 quirks 0x0000000000830410
[    1.804522] xhci-hcd ee000000.usb: irq 106, io mem 0xee000000
[    1.810914] hub 3-0:1.0: USB hub found
[    1.814697] hub 3-0:1.0: 1 port detected
[    1.818860] xhci-hcd ee000000.usb: xHCI Host Controller
[    1.824096] xhci-hcd ee000000.usb: new USB bus registered, assigned bus number 4
[    1.831487] xhci-hcd ee000000.usb: Host supports USB 3.0 SuperSpeed
[    1.837819] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.846358] hub 4-0:1.0: USB hub found
[    1.850125] hub 4-0:1.0: 1 port detected
[    1.854508] usbcore: registered new interface driver usb-storage
[    1.860912] renesas_usbhs e6590000.usb: host probed
[    1.865809] renesas_usbhs e6590000.usb: no transceiver found
[    1.871560] renesas_usbhs e6590000.usb: gadget probed
[    1.876682] renesas_usbhs e6590000.usb: probed
[    1.881628] i2c /dev entries driver
[    1.885986] i2c-rcar e6530000.i2c: probed
[    1.893044] sh_mobile_sdhi ee140000.sd: Got CD GPIO
[    1.897963] sh_mobile_sdhi ee140000.sd: Got WP GPIO
[    1.943520] sh_mmcif ee220000.mmc: Chip version 0x0003, clock rate 12MHz
[    1.950761] usbcore: registered new interface driver usbhid
[    1.956335] usbhid: USB HID core driver
[    1.963818] sgtl5000 0-000a: sgtl5000 revision 0x11
[    1.976816] rcar_sound ec500000.sound: probed
[    1.981527] NET: Registered protocol family 10
[    1.986614] Segment Routing with IPv6
[    1.990318] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    1.996688] NET: Registered protocol family 17
[    2.001130] can: controller area network core (rev 20170425 abi 9)
[    2.007356] NET: Registered protocol family 29
[    2.011794] can: raw protocol (rev 20170425)
[    2.016066] can: broadcast manager protocol (rev 20170425 t)
[    2.021721] can: netlink gateway (rev 20190810) max_hops=1
[    2.027268] Key type dns_resolver registered
[    2.031658] Registering SWP/SWPB emulation handler
[    2.049452] renesas_irqc e61c0000.interrupt-controller: driving 4 irqs
[    2.057368] sh_mobile_sdhi ee140000.sd: Got CD GPIO
[    2.062267] sh_mobile_sdhi ee140000.sd: Got WP GPIO
[    2.067350] usb 1-1: new high-speed USB device number 2 using ehci-pci
[    2.123791] random: fast init done
[    2.183730] sh_mobile_sdhi ee140000.sd: mmc1 base at 0xee140000, max clock rate 97 MHz
[    2.194666] asoc-simple-card sound: sgtl5000 <-> ec500000.sound mapping ok
[    2.263517] Micrel KSZ9031 Gigabit PHY e6800000.ethernet-ffffffff:03: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=e6800000.ethernet-ffffffff:03, irq=POLL)
[    2.284401] hub 1-1:1.0: USB hub found
[    2.288213] hub 1-1:1.0: 2 ports detected
[    2.461776] mmc0: new high speed MMC card at address 0001
[    2.467624] mmcblk0: mmc0:0001 MMC04G 3.52 GiB 
[    2.472282] mmcblk0boot0: mmc0:0001 MMC04G partition 1 16.0 MiB
[    2.478353] mmcblk0boot1: mmc0:0001 MMC04G partition 2 16.0 MiB
[    2.486474]  mmcblk0: p1
[    6.484450] ravb e6800000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[    6.513521] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    6.543501] Sending DHCP requests ., OK
[    7.607358] IP-Config: Got DHCP answer from 192.168.10.1, my address is 192.168.10.131
[    7.615282] IP-Config: Complete:
[    7.618506]      device=eth0, hwaddr=f6:35:bc:36:75:d3, ipaddr=192.168.10.131, mask=255.255.255.0, gw=192.168.10.1
[    7.628853]      host=192.168.10.131, domain=example.org, nis-domain=(none)
[    7.635814]      bootserver=192.168.10.1, rootserver=192.168.10.1, rootpath=
[    7.635817]      nameserver0=192.168.10.1
[    7.647172] ALSA device list:
[    7.650136]   #0: rsnd-dai.0-sgtl5000
[    7.653937] SDHI2 Vcc: disabling
[    7.657163] SDHI2 VccQ: disabling
[    7.689869] VFS: Mounted root (nfs4 filesystem) on device 0:14.
[    7.696616] devtmpfs: mounted
[    7.700259] Freeing unused kernel memory: 1024K
[    7.753689] Run /sbin/init as init process
[    7.757778]   with arguments:
[    7.760738]     /sbin/init
[    7.763438]     earlyprintk
[    7.766239]   with environment:
[    7.769373]     HOME=/
[    7.771726]     TERM=linux
[    7.774446]     apmu=multicluster
INIT: version 2.88 booting
Framebuffer /dev/fb0 not detected
Boot splashscreen disabled
Starting udev
[    8.419998] udevd[171]: starting version 3.2.2
[    8.453832] random: udevd: uninitialized urandom read (16 bytes read)
[    8.463252] random: udevd: uninitialized urandom read (16 bytes read)
[    8.473886] random: udevd: uninitialized urandom read (16 bytes read)
[    8.600827] udevd[172]: starting eudev-3.2.2
hwclock: can't open '/dev/misc/rtc': No such file or directory
Wed Apr 15 18:16:48 UTC 2020
hwclock: can't open '/dev/misc/rtc': No such file or directory
[    9.714098] urandom_read: 1 callbacks suppressed
[    9.714102] random: dd: uninitialized urandom read (512 bytes read)
INIT: Entering runlevel: 5
Configuring network interfaces... RTNETLINK answers: File exists
[   10.051752] random: crng init done
Successfully initialized wpa_supplicant
nl80211: 'nl80211' generic netlink not found
Failed to initialize driver 'nl80211'
wlan0: Unsupported driver 'nl80211'
Cannot find device "wlan0"
ifup skipped for nfsroot interface eth0
run-parts: /etc/network/if-pre-up.d/nfsroot exited with code 1
Starting system message bus: dbus.
PVR_SRVKM_PARAMS=
Module pvrsrvkm failed to load. Retrying.
Running /sbin/depmod
[   10.841416] Mass Storage Function, version: 2009/09/11
[   10.846619] LUN: removable file: (no medium)
[   10.850994] LUN: removable file: /dev/mmcblk0
[   10.855360] Number of LUNs=1
[   10.858338] g_mass_storage gadget: Mass Storage Gadget, version: 2009/09/11
[   10.865462] g_mass_storage gadget: userspace failed to provide iSerialNumber
[   10.872501] g_mass_storage gadget: g_mass_storage ready
Simple mixer control 'DVC In',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 8388607
  Front Left: Capture 4194304 [50%]
  Front Right: Capture 4194304 [50%]
Simple mixer control 'DVC Out',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 8388607
  Mono:
  Front Left: Playback 4194304 [50%]
  Front Right: Playback 4194304 [50%]
Starting Dropbear SSH server: dropbear.
Starting rpcbind daemon...done.
Starting atd: OK
Starting bluetooth: bluetoothd.
hwclock: can't open '/dev/misc/rtc': No such file or directory
Simple mixer control 'DVC In',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 8388607
  Front Left: Capture 4194304 [50%]
  Front Right: Capture 4194304 [50%]
Simple mixer control 'DVC Out',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 8388607
  Mono:
  Front Left: Playback 4194304 [50%]
  Front Right: Playback 4194304 [50%]
Starting PulseAudio
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 192
  Mono:
  Front Left: Playback 135 [70%]
  Front Right: Playback 135 [70%]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 127 [100%] [12.00dB] [on]
  Front Right: Playback 127 [100%] [12.00dB] [on]
Simple mixer control 'Mic',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 3
  Mono: 2 [67%] [30.00dB]
/etc/rc5.d/S20pulseaudio: line 19: pulseaudio: command not found
[ ok ]rting Avahi mDNS/DNS-SD Daemon: avahi-daemon
Starting crond: OK
umount: /mnt/.psplash: not mounted.

BSP: RZG1H/iWave/2.1.4
LSI: RZG1H
Version: 2.1.4
iwg21m login: root
Simple mixer control 'DVC In',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 8388607
  Front Left: Capture 4194304 [50%]
  Front Right: Capture 4194304 [50%]
Simple mixer control 'DVC Out',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 8388607
  Mono:
  Front Left: Playback 4194304 [50%]
  Front Right: Playback 4194304 [50%]
root@iwg21m:~# 
root@iwg21m:~# 
root@iwg21m:~# 
root@iwg21m:~# reboot -p

Broadcast message from root@iwg21m (ttySC2) (Wed Apr 15 18:17:07 2020):

INIT: Sending processes the TERM signal
Stopping Weston
Stopping ohci-pci
rmmod: ERROR: Module ohci_pci is builtin.
Stopping ohci-hcd
rmmod: ERROR: Module ohci_hcd is builtin.
Stopping Dropbear SSH server: stopped /usr/sbin/dropbear (pid 424)
dropbear.
[ ok ]pping Avahi mDNS/DNS-SD Daemon: avahi-daemon
Stopping atd: OK
Stopping bluetooth: bluetoothd.
Stopping system message bus: dbus.
hwclock: can't open '/dev/misc/rtc': No such file or directory
Framebuffer /dev/fb0 not detected
Boot splashscreen disabled
Simple mixer control 'DVC In',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 8388607
  Front Left: Capture 4194304 [50%]
  Front Right: Capture 4194304 [50%]
Simple mixer control 'DVC Out',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 8388607
  Mono:
  Front Left: Playback 4194304 [50%]
  Front Right: Playback 4194304 [50%]
Stoping PulseAudio
Stopping crond: OK
Stopping rpcbind daemon...
done.
modprobe: FATAL: Module dc_linuxfb not found.
Warning: Could not unload dc_linuxfb
PVRSRVDebugLogDeinitUM 973: create key failed
modprobe: FATAL: Module pvrsrvkm not found.
Couldn't unload modules
not deconfiguring network interfaces: network file systems still mounted.
Sending all processes the TERM signal...
logout
Sending all processes the KILL signal...
Unmounting remote filesystems...
Deactivating swap...
Unmounting local filesystems...
Rebooting... [   37.924556] reboot: Restarting system
 
iW-RainboW-G21M SPI_LOADER V0.31 2015.11.10
 DEVICE SST25VF016B


U-Boot 2013.01.01-gcb82c56-dirty (Aug 18 2016 - 10:13:48)

CPU: Renesas Electronics R8A7742 rev 3.0
Board: RZ/G1H iW-RainboW-G21M-Q7

DRAM:  2 GiB
MMC:   sh-sdhi: 0, sh_mmcif: 1
SF: Detected SST25VF016B with page size 4 KiB, total 2 MiB
In:    serial
Out:   serial
Err:   serial

Board Info:
        BSP Version     : iW-PREXZ-SC-01-R2.0-REL1.0-Linux3.10.31
        SOM Version     : iW-PREXZ-AP-01-R2.0

Net:   ether_avb
Hit any key to stop autoboot:  0 
iWave-G21M >

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

* Re: [PATCH 03/17] ARM: dts: r8a7742: Add I2C and IIC support
  2020-05-18  8:58     ` Lad, Prabhakar
@ 2020-05-18  9:26       ` Wolfram Sang
  2020-05-18  9:43         ` Lad, Prabhakar
  2020-05-18 10:10         ` Geert Uytterhoeven
  0 siblings, 2 replies; 76+ messages in thread
From: Wolfram Sang @ 2020-05-18  9:26 UTC (permalink / raw)
  To: Lad, Prabhakar
  Cc: Lad Prabhakar, Geert Uytterhoeven, Jens Axboe, Rob Herring,
	Ulf Hansson, Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck, linux-ide,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS, LKML,
	linux-i2c, Linux MMC List, netdev, Linux-Renesas, linux-watchdog

[-- Attachment #1: Type: text/plain, Size: 641 bytes --]


> > However, both versions (with and without automatic transmission) are
> > described with the same "renesas,iic-r8a7742" compatible. Is it possible
> > to detect the reduced variant at runtime somehow?
> >
> I couldn't find anything the manual that would be useful to detect at runtime.
> 
> > My concern is that the peculiarity of this SoC might be forgotten if we
> > describe it like this and ever add "automatic transmissions" somewhen.
> >
> Agreed.

Well, I guess reading from a register which is supposed to not be there
on the modified IP core is too hackish.

Leaves us with a seperate compatible entry for it?


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: [PATCH 17/17] ARM: dts: r8a7742: Add RWDT node
  2020-05-18  9:16     ` Lad, Prabhakar
@ 2020-05-18  9:28       ` Wolfram Sang
  0 siblings, 0 replies; 76+ messages in thread
From: Wolfram Sang @ 2020-05-18  9:28 UTC (permalink / raw)
  To: Lad, Prabhakar
  Cc: Lad Prabhakar, Geert Uytterhoeven, Jens Axboe, Rob Herring,
	Ulf Hansson, Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck, linux-ide,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS, LKML,
	linux-i2c, Linux MMC List, netdev, Linux-Renesas, linux-watchdog

[-- Attachment #1: Type: text/plain, Size: 473 bytes --]


> Its similar to as seen on Rcar-H2 where just the A15 cores are up and
> A7 cores fail to boot. Attached is the boot log where reboot works as
> expected with all A15 core up. Although I have tested the internal
> release based on 3.10 where all the cores are up which used bootarg
> apmu=multicluster (https://patchwork.kernel.org/patch/3948791/). So
> there is some work involved to get all the A7's up and running.

Sounds good enough to me. Thanks for the heads up!


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: [PATCH 03/17] ARM: dts: r8a7742: Add I2C and IIC support
  2020-05-18  9:26       ` Wolfram Sang
@ 2020-05-18  9:43         ` Lad, Prabhakar
  2020-05-18  9:53           ` Wolfram Sang
  2020-05-18 10:10         ` Geert Uytterhoeven
  1 sibling, 1 reply; 76+ messages in thread
From: Lad, Prabhakar @ 2020-05-18  9:43 UTC (permalink / raw)
  To: Wolfram Sang, Geert Uytterhoeven
  Cc: Lad Prabhakar, Jens Axboe, Rob Herring, Ulf Hansson,
	Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck, linux-ide,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS, LKML,
	linux-i2c, Linux MMC List, netdev, Linux-Renesas, linux-watchdog

Hi Wolfram,

On Mon, May 18, 2020 at 10:26 AM Wolfram Sang
<wsa+renesas@sang-engineering.com> wrote:
>
>
> > > However, both versions (with and without automatic transmission) are
> > > described with the same "renesas,iic-r8a7742" compatible. Is it possible
> > > to detect the reduced variant at runtime somehow?
> > >
> > I couldn't find anything the manual that would be useful to detect at runtime.
> >
> > > My concern is that the peculiarity of this SoC might be forgotten if we
> > > describe it like this and ever add "automatic transmissions" somewhen.
> > >
> > Agreed.
>
> Well, I guess reading from a register which is supposed to not be there
> on the modified IP core is too hackish.
>
> Leaves us with a seperate compatible entry for it?
>
Sounds okay to me, how about "renesas,iic-no-dvfs" ? So that this
could be used on all the SoC's which don't support DVFS.

Cheers,
--Prabhakar

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

* Re: [PATCH 03/17] ARM: dts: r8a7742: Add I2C and IIC support
  2020-05-18  9:43         ` Lad, Prabhakar
@ 2020-05-18  9:53           ` Wolfram Sang
  0 siblings, 0 replies; 76+ messages in thread
From: Wolfram Sang @ 2020-05-18  9:53 UTC (permalink / raw)
  To: Lad, Prabhakar
  Cc: Geert Uytterhoeven, Lad Prabhakar, Jens Axboe, Rob Herring,
	Ulf Hansson, Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck, linux-ide,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS, LKML,
	linux-i2c, Linux MMC List, netdev, Linux-Renesas, linux-watchdog

[-- Attachment #1: Type: text/plain, Size: 513 bytes --]

Hi Prabhakar,

> > Leaves us with a seperate compatible entry for it?
> >
> Sounds okay to me, how about "renesas,iic-no-dvfs" ? So that this
> could be used on all the SoC's which don't support DVFS.

Well, the feature missing is used for DVFS, but its name is "automatic
transmission". So, I'd rather suggest "-no-auto" as suffix. Also, there
are already quite some IIC variants out there, so plain "iic" won't
catch them all. My suggestion would be "renesas,rcar-gen2-iic-no-auto".

All the best,

   Wolfram


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: [PATCH 01/17] dt-bindings: i2c: renesas,i2c: Document r8a7742 support
  2020-05-15 15:08 ` [PATCH 01/17] dt-bindings: i2c: renesas,i2c: Document r8a7742 support Lad Prabhakar
  2020-05-15 17:12   ` Wolfram Sang
@ 2020-05-18  9:56   ` Geert Uytterhoeven
  2020-05-28 20:03   ` Rob Herring
  2 siblings, 0 replies; 76+ messages in thread
From: Geert Uytterhoeven @ 2020-05-18  9:56 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: Jens Axboe, Rob Herring, Wolfram Sang, Ulf Hansson,
	Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck, linux-ide,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Linux Kernel Mailing List, Linux I2C, Linux MMC List, netdev,
	Linux-Renesas, Linux Watchdog Mailing List, Prabhakar

On Fri, May 15, 2020 at 5:09 PM Lad Prabhakar
<prabhakar.mahadev-lad.rj@bp.renesas.com> wrote:
> Document i2c controller for RZ/G1H (R8A7742) SoC, which is compatible
> with R-Car Gen2 SoC family.
>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

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

* Re: [PATCH 02/17] dt-bindings: i2c: renesas,iic: Document r8a7742 support
  2020-05-15 15:08 ` [PATCH 02/17] dt-bindings: i2c: renesas,iic: " Lad Prabhakar
  2020-05-15 17:14   ` Wolfram Sang
@ 2020-05-18  9:59   ` Geert Uytterhoeven
  2020-05-28 20:03   ` Rob Herring
  2 siblings, 0 replies; 76+ messages in thread
From: Geert Uytterhoeven @ 2020-05-18  9:59 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: Jens Axboe, Rob Herring, Wolfram Sang, Ulf Hansson,
	Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck, linux-ide,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Linux Kernel Mailing List, Linux I2C, Linux MMC List, netdev,
	Linux-Renesas, Linux Watchdog Mailing List, Prabhakar

On Fri, May 15, 2020 at 5:09 PM Lad Prabhakar
<prabhakar.mahadev-lad.rj@bp.renesas.com> wrote:
> Document IIC controller for RZ/G1H (R8A7742) SoC, which is compatible
> with R-Car Gen2 SoC family.
>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

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

* Re: [PATCH 03/17] ARM: dts: r8a7742: Add I2C and IIC support
  2020-05-18  9:26       ` Wolfram Sang
  2020-05-18  9:43         ` Lad, Prabhakar
@ 2020-05-18 10:10         ` Geert Uytterhoeven
  2020-05-22 19:14           ` Lad, Prabhakar
  1 sibling, 1 reply; 76+ messages in thread
From: Geert Uytterhoeven @ 2020-05-18 10:10 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: Lad, Prabhakar, Lad Prabhakar, Jens Axboe, Rob Herring,
	Ulf Hansson, Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck, linux-ide,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS, LKML,
	Linux I2C, Linux MMC List, netdev, Linux-Renesas,
	Linux Watchdog Mailing List

Hi Wolfram,

On Mon, May 18, 2020 at 11:26 AM Wolfram Sang
<wsa+renesas@sang-engineering.com> wrote:
> > > However, both versions (with and without automatic transmission) are
> > > described with the same "renesas,iic-r8a7742" compatible. Is it possible
> > > to detect the reduced variant at runtime somehow?
> > >
> > I couldn't find anything the manual that would be useful to detect at runtime.

Hence if we really need that (see below), we need a quirk based on compatible
value + base address.

> > > My concern is that the peculiarity of this SoC might be forgotten if we
> > > describe it like this and ever add "automatic transmissions" somewhen.
> > >
> > Agreed.
>
> Well, I guess reading from a register which is supposed to not be there
> on the modified IP core is too hackish.

According to the Hardware User's Manual Rev. 1.00, the registers do exist
on all RZ/G1, except for RZ/G1E (see below).

   "(automatic transmission can be used as a hardware function, but this is
    not meaningful for actual use cases)."

(whatever that comment may mean?)

> Leaves us with a seperate compatible entry for it?

On R-Car E3 and RZ/G2E, which have a single IIC instance, we
handled that by:

        The r8a77990 (R-Car E3) and r8a774c0 (RZ/G2E)
        controllers are not considered compatible with
        "renesas,rcar-gen3-iic" or "renesas,rmobile-iic"
        due to the absence of automatic transmission registers.

On R-Car E2 and RZ/G1E, we forgot, and used both SoC-specific and
family-specific compatible values.

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

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

* Re: [PATCH 04/17] dt-bindings: mmc: renesas,sdhi: Document r8a7742 support
  2020-05-15 15:08 ` [PATCH 04/17] dt-bindings: mmc: renesas,sdhi: Document r8a7742 support Lad Prabhakar
  2020-05-15 17:17   ` Wolfram Sang
@ 2020-05-18 11:10   ` Geert Uytterhoeven
  2020-05-19 15:29   ` Ulf Hansson
  2 siblings, 0 replies; 76+ messages in thread
From: Geert Uytterhoeven @ 2020-05-18 11:10 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: Jens Axboe, Rob Herring, Wolfram Sang, Ulf Hansson,
	Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck, linux-ide,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Linux Kernel Mailing List, Linux I2C, Linux MMC List, netdev,
	Linux-Renesas, Linux Watchdog Mailing List, Prabhakar

On Fri, May 15, 2020 at 5:09 PM Lad Prabhakar
<prabhakar.mahadev-lad.rj@bp.renesas.com> wrote:
> Document SDHI controller for RZ/G1H (R8A7742) SoC, which is compatible
> with R-Car Gen2 SoC family.
>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

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

* Re: [PATCH 08/17] dt-bindings: ata: renesas,rcar-sata: Add r8a7742 support
  2020-05-15 15:08 ` [PATCH 08/17] dt-bindings: ata: renesas,rcar-sata: Add r8a7742 support Lad Prabhakar
  2020-05-17 20:55   ` Wolfram Sang
@ 2020-05-18 11:13   ` Geert Uytterhoeven
  2020-05-28 20:04   ` Rob Herring
  2 siblings, 0 replies; 76+ messages in thread
From: Geert Uytterhoeven @ 2020-05-18 11:13 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: Jens Axboe, Rob Herring, Wolfram Sang, Ulf Hansson,
	Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck, linux-ide,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Linux Kernel Mailing List, Linux I2C, Linux MMC List, netdev,
	Linux-Renesas, Linux Watchdog Mailing List, Prabhakar

On Fri, May 15, 2020 at 5:10 PM Lad Prabhakar
<prabhakar.mahadev-lad.rj@bp.renesas.com> wrote:
> Document SATA support for the RZ/G1H, which is compatible with
> R-Car Gen2 SoC family.
>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

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

* Re: [PATCH 10/17] dt-bindings: net: renesas,ravb: Add support for r8a7742 SoC
  2020-05-15 15:08 ` [PATCH 10/17] dt-bindings: net: renesas,ravb: Add support for r8a7742 SoC Lad Prabhakar
  2020-05-17 20:58   ` Wolfram Sang
@ 2020-05-18 11:14   ` Geert Uytterhoeven
  2020-05-28 20:04   ` Rob Herring
  2 siblings, 0 replies; 76+ messages in thread
From: Geert Uytterhoeven @ 2020-05-18 11:14 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: Jens Axboe, Rob Herring, Wolfram Sang, Ulf Hansson,
	Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck, linux-ide,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Linux Kernel Mailing List, Linux I2C, Linux MMC List, netdev,
	Linux-Renesas, Linux Watchdog Mailing List, Prabhakar

On Fri, May 15, 2020 at 5:10 PM Lad Prabhakar
<prabhakar.mahadev-lad.rj@bp.renesas.com> wrote:
> Document RZ/G1H (R8A7742) SoC bindings.
>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

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

* Re: [PATCH 11/17] dt-bindings: net: renesas,ether: Document R8A7742 SoC
  2020-05-15 15:08 ` [PATCH 11/17] dt-bindings: net: renesas,ether: Document R8A7742 SoC Lad Prabhakar
  2020-05-17 20:59   ` Wolfram Sang
@ 2020-05-18 11:15   ` Geert Uytterhoeven
  2020-05-28 20:04   ` Rob Herring
  2 siblings, 0 replies; 76+ messages in thread
From: Geert Uytterhoeven @ 2020-05-18 11:15 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: Jens Axboe, Rob Herring, Wolfram Sang, Ulf Hansson,
	Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck, linux-ide,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Linux Kernel Mailing List, Linux I2C, Linux MMC List, netdev,
	Linux-Renesas, Linux Watchdog Mailing List, Prabhakar

On Fri, May 15, 2020 at 5:10 PM Lad Prabhakar
<prabhakar.mahadev-lad.rj@bp.renesas.com> wrote:
> Document RZ/G1H (R8A7742) SoC bindings.
>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

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

* Re: [PATCH 14/17] dt-bindings: power: renesas,apmu: Document r8a7742 support
  2020-05-15 15:08 ` [PATCH 14/17] dt-bindings: power: renesas,apmu: Document r8a7742 support Lad Prabhakar
  2020-05-17 21:01   ` Wolfram Sang
@ 2020-05-18 11:16   ` Geert Uytterhoeven
  2020-05-28 20:05   ` Rob Herring
  2 siblings, 0 replies; 76+ messages in thread
From: Geert Uytterhoeven @ 2020-05-18 11:16 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: Jens Axboe, Rob Herring, Wolfram Sang, Ulf Hansson,
	Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck, linux-ide,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Linux Kernel Mailing List, Linux I2C, Linux MMC List, netdev,
	Linux-Renesas, Linux Watchdog Mailing List, Prabhakar

On Fri, May 15, 2020 at 5:10 PM Lad Prabhakar
<prabhakar.mahadev-lad.rj@bp.renesas.com> wrote:
> Document APMU and SMP enable method for RZ/G1H (also known as r8a7742)
> SoC.
>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

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

* Re: [PATCH 16/17] dt-bindings: watchdog: renesas,wdt: Document r8a7742 support
  2020-05-15 15:08 ` [PATCH 16/17] dt-bindings: watchdog: renesas,wdt: Document r8a7742 support Lad Prabhakar
  2020-05-17 21:03   ` Wolfram Sang
@ 2020-05-18 11:17   ` Geert Uytterhoeven
  2020-05-22 14:47   ` Guenter Roeck
  2020-05-27  1:31   ` Rob Herring
  3 siblings, 0 replies; 76+ messages in thread
From: Geert Uytterhoeven @ 2020-05-18 11:17 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: Jens Axboe, Rob Herring, Wolfram Sang, Ulf Hansson,
	Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck, linux-ide,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Linux Kernel Mailing List, Linux I2C, Linux MMC List, netdev,
	Linux-Renesas, Linux Watchdog Mailing List, Prabhakar

On Fri, May 15, 2020 at 5:10 PM Lad Prabhakar
<prabhakar.mahadev-lad.rj@bp.renesas.com> wrote:
> RZ/G1H (R8A7742) watchdog implementation is compatible with R-Car Gen2,
> therefore add relevant documentation.
>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

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

* Re: [PATCH 05/17] mmc: renesas_sdhi_sys_dmac: Add support for r8a7742 SoC
  2020-05-15 17:17   ` Wolfram Sang
@ 2020-05-18 11:24     ` Geert Uytterhoeven
  0 siblings, 0 replies; 76+ messages in thread
From: Geert Uytterhoeven @ 2020-05-18 11:24 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: Lad Prabhakar, Jens Axboe, Rob Herring, Ulf Hansson,
	Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck, linux-ide,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Linux Kernel Mailing List, Linux I2C, Linux MMC List, netdev,
	Linux-Renesas, Linux Watchdog Mailing List, Prabhakar

Hi Wolfram, Prabhakar,

On Fri, May 15, 2020 at 7:17 PM Wolfram Sang
<wsa+renesas@sang-engineering.com> wrote:
> On Fri, May 15, 2020 at 04:08:45PM +0100, Lad Prabhakar wrote:
> > Add support for r8a7742 SoC. Renesas RZ/G1H (R8A7742) SDHI is identical to
> > the R-Car Gen2 family.
> >
> > Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> > Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>
>
> I think we can skip this because of the generic fallback? The other

Agreed.

> entries come from a time when we had a different policy IIRC.

Indeed.  Commit c16a854e4463078a ("mmc: renesas_sdhi: Add r8a7743/5
support") predated commit d6dc425ae595e140 ("mmc: renesas_sdhi:
implement R-Car Gen[123] fallback compatibility strings").

> > --- a/drivers/mmc/host/renesas_sdhi_sys_dmac.c
> > +++ b/drivers/mmc/host/renesas_sdhi_sys_dmac.c
> > @@ -75,6 +75,7 @@ static const struct of_device_id renesas_sdhi_sys_dmac_of_match[] = {
> >       { .compatible = "renesas,sdhi-r7s72100", .data = &of_rz_compatible, },
> >       { .compatible = "renesas,sdhi-r8a7778", .data = &of_rcar_gen1_compatible, },
> >       { .compatible = "renesas,sdhi-r8a7779", .data = &of_rcar_gen1_compatible, },
> > +     { .compatible = "renesas,sdhi-r8a7742", .data = &of_rcar_gen2_compatible, },
> >       { .compatible = "renesas,sdhi-r8a7743", .data = &of_rcar_gen2_compatible, },
> >       { .compatible = "renesas,sdhi-r8a7745", .data = &of_rcar_gen2_compatible, },
> >       { .compatible = "renesas,sdhi-r8a7790", .data = &of_rcar_gen2_compatible, },

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

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

* Re: [PATCH 17/17] ARM: dts: r8a7742: Add RWDT node
  2020-05-15 15:08 ` [PATCH 17/17] ARM: dts: r8a7742: Add RWDT node Lad Prabhakar
  2020-05-17 21:08   ` Wolfram Sang
@ 2020-05-18 11:47   ` Geert Uytterhoeven
  2020-05-18 12:27     ` Lad, Prabhakar
  1 sibling, 1 reply; 76+ messages in thread
From: Geert Uytterhoeven @ 2020-05-18 11:47 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: Jens Axboe, Rob Herring, Wolfram Sang, Ulf Hansson,
	Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck, linux-ide,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Linux Kernel Mailing List, Linux I2C, Linux MMC List, netdev,
	Linux-Renesas, Linux Watchdog Mailing List, Prabhakar

Hi Prabhakar,

On Fri, May 15, 2020 at 5:10 PM Lad Prabhakar
<prabhakar.mahadev-lad.rj@bp.renesas.com> wrote:
> Add a device node for the Watchdog Timer (RWDT) controller on the Renesas
> RZ/G1H (r8a7742) SoC.
>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>

Thanks for your patch!

> --- a/arch/arm/boot/dts/r8a7742.dtsi
> +++ b/arch/arm/boot/dts/r8a7742.dtsi
> @@ -201,6 +201,16 @@
>                 #size-cells = <2>;
>                 ranges;
>
> +               rwdt: watchdog@e6020000 {
> +                       compatible = "renesas,r8a7742-wdt",
> +                                    "renesas,rcar-gen2-wdt";
> +                       reg = <0 0xe6020000 0 0x0c>;
> +                       clocks = <&cpg CPG_MOD 402>;
> +                       power-domains = <&sysc R8A7742_PD_ALWAYS_ON>;
> +                       resets = <&cpg 402>;
> +                       status = "disabled";

Missing "interrupts" property.

> +               };
> +
>                 gpio0: gpio@e6050000 {
>                         compatible = "renesas,gpio-r8a7742",
>                                      "renesas,rcar-gen2-gpio";

The rest looks fine, so with the above fixed:
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

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

* Re: [PATCH 06/17] ARM: dts: r8a7742: Add SDHI nodes
  2020-05-15 15:08 ` [PATCH 06/17] ARM: dts: r8a7742: Add SDHI nodes Lad Prabhakar
  2020-05-17 20:53   ` Wolfram Sang
@ 2020-05-18 11:51   ` Geert Uytterhoeven
  1 sibling, 0 replies; 76+ messages in thread
From: Geert Uytterhoeven @ 2020-05-18 11:51 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: Jens Axboe, Rob Herring, Wolfram Sang, Ulf Hansson,
	Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck, linux-ide,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Linux Kernel Mailing List, Linux I2C, Linux MMC List, netdev,
	Linux-Renesas, Linux Watchdog Mailing List, Prabhakar

On Fri, May 15, 2020 at 5:09 PM Lad Prabhakar
<prabhakar.mahadev-lad.rj@bp.renesas.com> wrote:
> Add the SDHI devices nodes to the R8A7742 device tree.
>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>

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

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

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

* Re: [PATCH 07/17] ARM: dts: r8a7742: Add MMC0 node
  2020-05-15 15:08 ` [PATCH 07/17] ARM: dts: r8a7742: Add MMC0 node Lad Prabhakar
  2020-05-17 20:54   ` Wolfram Sang
@ 2020-05-18 11:52   ` Geert Uytterhoeven
  1 sibling, 0 replies; 76+ messages in thread
From: Geert Uytterhoeven @ 2020-05-18 11:52 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: Jens Axboe, Rob Herring, Wolfram Sang, Ulf Hansson,
	Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck, linux-ide,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Linux Kernel Mailing List, Linux I2C, Linux MMC List, netdev,
	Linux-Renesas, Linux Watchdog Mailing List, Prabhakar

On Fri, May 15, 2020 at 5:10 PM Lad Prabhakar
<prabhakar.mahadev-lad.rj@bp.renesas.com> wrote:
> Describe MMC0 device node in the R8A7742 device tree.
>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>

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

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

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

* Re: [PATCH 09/17] ARM: dts: r8a7742: Add sata nodes
  2020-05-15 15:08 ` [PATCH 09/17] ARM: dts: r8a7742: Add sata nodes Lad Prabhakar
  2020-05-17 20:57   ` Wolfram Sang
@ 2020-05-18 11:52   ` Geert Uytterhoeven
  1 sibling, 0 replies; 76+ messages in thread
From: Geert Uytterhoeven @ 2020-05-18 11:52 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: Jens Axboe, Rob Herring, Wolfram Sang, Ulf Hansson,
	Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck, linux-ide,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Linux Kernel Mailing List, Linux I2C, Linux MMC List, netdev,
	Linux-Renesas, Linux Watchdog Mailing List, Prabhakar

On Fri, May 15, 2020 at 5:10 PM Lad Prabhakar
<prabhakar.mahadev-lad.rj@bp.renesas.com> wrote:
> Add the sata devices nodes to the R8A7742 device tree.
>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>

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

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

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

* Re: [PATCH 12/17] ARM: dts: r8a7742: Add Ethernet AVB support
  2020-05-15 15:08 ` [PATCH 12/17] ARM: dts: r8a7742: Add Ethernet AVB support Lad Prabhakar
  2020-05-17 21:00   ` Wolfram Sang
@ 2020-05-18 11:53   ` Geert Uytterhoeven
  1 sibling, 0 replies; 76+ messages in thread
From: Geert Uytterhoeven @ 2020-05-18 11:53 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: Jens Axboe, Rob Herring, Wolfram Sang, Ulf Hansson,
	Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck, linux-ide,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Linux Kernel Mailing List, Linux I2C, Linux MMC List, netdev,
	Linux-Renesas, Linux Watchdog Mailing List, Prabhakar

On Fri, May 15, 2020 at 5:10 PM Lad Prabhakar
<prabhakar.mahadev-lad.rj@bp.renesas.com> wrote:
> Add Ethernet AVB support for R8A7742 SoC.
>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>

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

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

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

* Re: [PATCH 13/17] ARM: dts: r8a7742: Add Ether support
  2020-05-15 15:08 ` [PATCH 13/17] ARM: dts: r8a7742: Add Ether support Lad Prabhakar
  2020-05-17 21:01   ` Wolfram Sang
@ 2020-05-18 11:53   ` Geert Uytterhoeven
  1 sibling, 0 replies; 76+ messages in thread
From: Geert Uytterhoeven @ 2020-05-18 11:53 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: Jens Axboe, Rob Herring, Wolfram Sang, Ulf Hansson,
	Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck, linux-ide,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Linux Kernel Mailing List, Linux I2C, Linux MMC List, netdev,
	Linux-Renesas, Linux Watchdog Mailing List, Prabhakar

On Fri, May 15, 2020 at 5:10 PM Lad Prabhakar
<prabhakar.mahadev-lad.rj@bp.renesas.com> wrote:
> Define the generic R8A7742 part of the Ether device node.
>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>

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

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

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

* Re: [PATCH 17/17] ARM: dts: r8a7742: Add RWDT node
  2020-05-18 11:47   ` Geert Uytterhoeven
@ 2020-05-18 12:27     ` Lad, Prabhakar
  2020-05-18 13:17       ` Sergei Shtylyov
  0 siblings, 1 reply; 76+ messages in thread
From: Lad, Prabhakar @ 2020-05-18 12:27 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Lad Prabhakar, Jens Axboe, Rob Herring, Wolfram Sang,
	Ulf Hansson, Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck, linux-ide,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Linux Kernel Mailing List, Linux I2C, Linux MMC List, netdev,
	Linux-Renesas, Linux Watchdog Mailing List

Hi Geert,

Thank you for the review.

On Mon, May 18, 2020 at 12:47 PM Geert Uytterhoeven
<geert@linux-m68k.org> wrote:
>
> Hi Prabhakar,
>
> On Fri, May 15, 2020 at 5:10 PM Lad Prabhakar
> <prabhakar.mahadev-lad.rj@bp.renesas.com> wrote:
> > Add a device node for the Watchdog Timer (RWDT) controller on the Renesas
> > RZ/G1H (r8a7742) SoC.
> >
> > Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> > Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>
>
> Thanks for your patch!
>
> > --- a/arch/arm/boot/dts/r8a7742.dtsi
> > +++ b/arch/arm/boot/dts/r8a7742.dtsi
> > @@ -201,6 +201,16 @@
> >                 #size-cells = <2>;
> >                 ranges;
> >
> > +               rwdt: watchdog@e6020000 {
> > +                       compatible = "renesas,r8a7742-wdt",
> > +                                    "renesas,rcar-gen2-wdt";
> > +                       reg = <0 0xe6020000 0 0x0c>;
> > +                       clocks = <&cpg CPG_MOD 402>;
> > +                       power-domains = <&sysc R8A7742_PD_ALWAYS_ON>;
> > +                       resets = <&cpg 402>;
> > +                       status = "disabled";
>
> Missing "interrupts" property.
>
"interrupts" property isn't used by rwdt driver  and can be dropped
from bindings file.

Cheers,
--Prabhakar

> > +               };
> > +
> >                 gpio0: gpio@e6050000 {
> >                         compatible = "renesas,gpio-r8a7742",
> >                                      "renesas,rcar-gen2-gpio";
>
> The rest looks fine, so with the above fixed:
> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
>
> Gr{oetje,eeting}s,
>
>                         Geert
>
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
>
> In personal conversations with technical people, I call myself a hacker. But
> when I'm talking to journalists I just say "programmer" or something like that.
>                                 -- Linus Torvalds

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

* Re: [PATCH 17/17] ARM: dts: r8a7742: Add RWDT node
  2020-05-18 12:27     ` Lad, Prabhakar
@ 2020-05-18 13:17       ` Sergei Shtylyov
  2020-05-18 13:23         ` Lad, Prabhakar
  0 siblings, 1 reply; 76+ messages in thread
From: Sergei Shtylyov @ 2020-05-18 13:17 UTC (permalink / raw)
  To: Lad, Prabhakar, Geert Uytterhoeven
  Cc: Lad Prabhakar, Jens Axboe, Rob Herring, Wolfram Sang,
	Ulf Hansson, David S. Miller, Wim Van Sebroeck, Guenter Roeck,
	linux-ide,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Linux Kernel Mailing List, Linux I2C, Linux MMC List, netdev,
	Linux-Renesas, Linux Watchdog Mailing List

Hello!

On 18.05.2020 15:27, Lad, Prabhakar wrote:

>>> Add a device node for the Watchdog Timer (RWDT) controller on the Renesas
>>> RZ/G1H (r8a7742) SoC.
>>>
>>> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
>>> Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>
>>
>> Thanks for your patch!
>>
>>> --- a/arch/arm/boot/dts/r8a7742.dtsi
>>> +++ b/arch/arm/boot/dts/r8a7742.dtsi
>>> @@ -201,6 +201,16 @@
>>>                  #size-cells = <2>;
>>>                  ranges;
>>>
>>> +               rwdt: watchdog@e6020000 {
>>> +                       compatible = "renesas,r8a7742-wdt",
>>> +                                    "renesas,rcar-gen2-wdt";
>>> +                       reg = <0 0xe6020000 0 0x0c>;
>>> +                       clocks = <&cpg CPG_MOD 402>;
>>> +                       power-domains = <&sysc R8A7742_PD_ALWAYS_ON>;
>>> +                       resets = <&cpg 402>;
>>> +                       status = "disabled";
>>
>> Missing "interrupts" property.
>>
> "interrupts" property isn't used by rwdt driver  and can be dropped
> from bindings file.

    DT describes the hardware, not its driver's abilities.

> Cheers,
> --Prabhakar

MBR, Sergei

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

* Re: [PATCH 17/17] ARM: dts: r8a7742: Add RWDT node
  2020-05-18 13:17       ` Sergei Shtylyov
@ 2020-05-18 13:23         ` Lad, Prabhakar
  2020-05-18 15:45           ` Geert Uytterhoeven
  0 siblings, 1 reply; 76+ messages in thread
From: Lad, Prabhakar @ 2020-05-18 13:23 UTC (permalink / raw)
  To: Sergei Shtylyov
  Cc: Geert Uytterhoeven, Lad Prabhakar, Jens Axboe, Rob Herring,
	Wolfram Sang, Ulf Hansson, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck, linux-ide,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Linux Kernel Mailing List, Linux I2C, Linux MMC List, netdev,
	Linux-Renesas, Linux Watchdog Mailing List

Hi Sergei,

On Mon, May 18, 2020 at 2:17 PM Sergei Shtylyov
<sergei.shtylyov@cogentembedded.com> wrote:
>
> Hello!
>
> On 18.05.2020 15:27, Lad, Prabhakar wrote:
>
> >>> Add a device node for the Watchdog Timer (RWDT) controller on the Renesas
> >>> RZ/G1H (r8a7742) SoC.
> >>>
> >>> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> >>> Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>
> >>
> >> Thanks for your patch!
> >>
> >>> --- a/arch/arm/boot/dts/r8a7742.dtsi
> >>> +++ b/arch/arm/boot/dts/r8a7742.dtsi
> >>> @@ -201,6 +201,16 @@
> >>>                  #size-cells = <2>;
> >>>                  ranges;
> >>>
> >>> +               rwdt: watchdog@e6020000 {
> >>> +                       compatible = "renesas,r8a7742-wdt",
> >>> +                                    "renesas,rcar-gen2-wdt";
> >>> +                       reg = <0 0xe6020000 0 0x0c>;
> >>> +                       clocks = <&cpg CPG_MOD 402>;
> >>> +                       power-domains = <&sysc R8A7742_PD_ALWAYS_ON>;
> >>> +                       resets = <&cpg 402>;
> >>> +                       status = "disabled";
> >>
> >> Missing "interrupts" property.
> >>
> > "interrupts" property isn't used by rwdt driver  and can be dropped
> > from bindings file.
>
>     DT describes the hardware, not its driver's abilities.
>
Agreed will add, I had followed it on similar lines of r8a7743/44.

Cheers,
--Prabhakar

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

* Re: [PATCH 17/17] ARM: dts: r8a7742: Add RWDT node
  2020-05-18 13:23         ` Lad, Prabhakar
@ 2020-05-18 15:45           ` Geert Uytterhoeven
  0 siblings, 0 replies; 76+ messages in thread
From: Geert Uytterhoeven @ 2020-05-18 15:45 UTC (permalink / raw)
  To: Lad, Prabhakar
  Cc: Sergei Shtylyov, Lad Prabhakar, Jens Axboe, Rob Herring,
	Wolfram Sang, Ulf Hansson, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck, linux-ide,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Linux Kernel Mailing List, Linux I2C, Linux MMC List, netdev,
	Linux-Renesas, Linux Watchdog Mailing List

On Mon, May 18, 2020 at 3:23 PM Lad, Prabhakar
<prabhakar.csengg@gmail.com> wrote:
> On Mon, May 18, 2020 at 2:17 PM Sergei Shtylyov
> <sergei.shtylyov@cogentembedded.com> wrote:
> > On 18.05.2020 15:27, Lad, Prabhakar wrote:
> > >>> Add a device node for the Watchdog Timer (RWDT) controller on the Renesas
> > >>> RZ/G1H (r8a7742) SoC.
> > >>>
> > >>> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> > >>> Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>
> > >>
> > >> Thanks for your patch!
> > >>
> > >>> --- a/arch/arm/boot/dts/r8a7742.dtsi
> > >>> +++ b/arch/arm/boot/dts/r8a7742.dtsi
> > >>> @@ -201,6 +201,16 @@
> > >>>                  #size-cells = <2>;
> > >>>                  ranges;
> > >>>
> > >>> +               rwdt: watchdog@e6020000 {
> > >>> +                       compatible = "renesas,r8a7742-wdt",
> > >>> +                                    "renesas,rcar-gen2-wdt";
> > >>> +                       reg = <0 0xe6020000 0 0x0c>;
> > >>> +                       clocks = <&cpg CPG_MOD 402>;
> > >>> +                       power-domains = <&sysc R8A7742_PD_ALWAYS_ON>;
> > >>> +                       resets = <&cpg 402>;
> > >>> +                       status = "disabled";
> > >>
> > >> Missing "interrupts" property.
> > >>
> > > "interrupts" property isn't used by rwdt driver  and can be dropped
> > > from bindings file.
> >
> >     DT describes the hardware, not its driver's abilities.

Thanks for chiming in, Sergei!

> Agreed will add, I had followed it on similar lines of r8a7743/44.

Yeah. I know it's missing for a few other SoCs, too.

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

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

* Re: [PATCH 04/17] dt-bindings: mmc: renesas,sdhi: Document r8a7742 support
  2020-05-15 15:08 ` [PATCH 04/17] dt-bindings: mmc: renesas,sdhi: Document r8a7742 support Lad Prabhakar
  2020-05-15 17:17   ` Wolfram Sang
  2020-05-18 11:10   ` Geert Uytterhoeven
@ 2020-05-19 15:29   ` Ulf Hansson
  2 siblings, 0 replies; 76+ messages in thread
From: Ulf Hansson @ 2020-05-19 15:29 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: Geert Uytterhoeven, Jens Axboe, Rob Herring, Wolfram Sang,
	Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck, linux-ide, DTML, Linux Kernel Mailing List,
	linux-i2c, linux-mmc, netdev, Linux-Renesas, linux-watchdog,
	Prabhakar

On Fri, 15 May 2020 at 17:09, Lad Prabhakar
<prabhakar.mahadev-lad.rj@bp.renesas.com> wrote:
>
> Document SDHI controller for RZ/G1H (R8A7742) SoC, which is compatible
> with R-Car Gen2 SoC family.
>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>

Applied for next, thanks!

Kind regards
Uffe


> ---
>  Documentation/devicetree/bindings/mmc/renesas,sdhi.txt | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/devicetree/bindings/mmc/renesas,sdhi.txt b/Documentation/devicetree/bindings/mmc/renesas,sdhi.txt
> index e6cc478..0ca9a62 100644
> --- a/Documentation/devicetree/bindings/mmc/renesas,sdhi.txt
> +++ b/Documentation/devicetree/bindings/mmc/renesas,sdhi.txt
> @@ -7,6 +7,7 @@ Required properties:
>                 "renesas,sdhi-r7s9210" - SDHI IP on R7S9210 SoC
>                 "renesas,sdhi-r8a73a4" - SDHI IP on R8A73A4 SoC
>                 "renesas,sdhi-r8a7740" - SDHI IP on R8A7740 SoC
> +               "renesas,sdhi-r8a7742" - SDHI IP on R8A7742 SoC
>                 "renesas,sdhi-r8a7743" - SDHI IP on R8A7743 SoC
>                 "renesas,sdhi-r8a7744" - SDHI IP on R8A7744 SoC
>                 "renesas,sdhi-r8a7745" - SDHI IP on R8A7745 SoC
> --
> 2.7.4
>

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

* Re: [PATCH 16/17] dt-bindings: watchdog: renesas,wdt: Document r8a7742 support
  2020-05-15 15:08 ` [PATCH 16/17] dt-bindings: watchdog: renesas,wdt: Document r8a7742 support Lad Prabhakar
  2020-05-17 21:03   ` Wolfram Sang
  2020-05-18 11:17   ` Geert Uytterhoeven
@ 2020-05-22 14:47   ` Guenter Roeck
  2020-05-27  1:31   ` Rob Herring
  3 siblings, 0 replies; 76+ messages in thread
From: Guenter Roeck @ 2020-05-22 14:47 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: Geert Uytterhoeven, Jens Axboe, Rob Herring, Wolfram Sang,
	Ulf Hansson, Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	linux-ide, devicetree, linux-kernel, linux-i2c, linux-mmc,
	netdev, linux-renesas-soc, linux-watchdog, Prabhakar

On Fri, May 15, 2020 at 04:08:56PM +0100, Lad Prabhakar wrote:
> RZ/G1H (R8A7742) watchdog implementation is compatible with R-Car Gen2,
> therefore add relevant documentation.
> 
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>
> Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

Reviewed-by: Guenter Roeck <linux@roeck-us.net>

> ---
>  Documentation/devicetree/bindings/watchdog/renesas,wdt.txt | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/devicetree/bindings/watchdog/renesas,wdt.txt b/Documentation/devicetree/bindings/watchdog/renesas,wdt.txt
> index 79b3c62..e42fd30 100644
> --- a/Documentation/devicetree/bindings/watchdog/renesas,wdt.txt
> +++ b/Documentation/devicetree/bindings/watchdog/renesas,wdt.txt
> @@ -5,6 +5,7 @@ Required properties:
>  		fallback compatible string when compatible with the generic
>  		version.
>  	       Examples with soctypes are:
> +		 - "renesas,r8a7742-wdt" (RZ/G1H)
>  		 - "renesas,r8a7743-wdt" (RZ/G1M)
>  		 - "renesas,r8a7744-wdt" (RZ/G1N)
>  		 - "renesas,r8a7745-wdt" (RZ/G1E)

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

* Re: [PATCH 03/17] ARM: dts: r8a7742: Add I2C and IIC support
  2020-05-18 10:10         ` Geert Uytterhoeven
@ 2020-05-22 19:14           ` Lad, Prabhakar
  2020-05-22 20:17             ` Wolfram Sang
  0 siblings, 1 reply; 76+ messages in thread
From: Lad, Prabhakar @ 2020-05-22 19:14 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: Geert Uytterhoeven, Lad Prabhakar, Jens Axboe, Rob Herring,
	Ulf Hansson, Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck, linux-ide,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS, LKML,
	Linux I2C, Linux MMC List, netdev, Linux-Renesas,
	Linux Watchdog Mailing List

Hi Wolfram,

On Mon, May 18, 2020 at 11:10 AM Geert Uytterhoeven
<geert@linux-m68k.org> wrote:
>
> Hi Wolfram,
>
> On Mon, May 18, 2020 at 11:26 AM Wolfram Sang
> <wsa+renesas@sang-engineering.com> wrote:
> > > > However, both versions (with and without automatic transmission) are
> > > > described with the same "renesas,iic-r8a7742" compatible. Is it possible
> > > > to detect the reduced variant at runtime somehow?
> > > >
> > > I couldn't find anything the manual that would be useful to detect at runtime.
>
> Hence if we really need that (see below), we need a quirk based on compatible
> value + base address.
>
> > > > My concern is that the peculiarity of this SoC might be forgotten if we
> > > > describe it like this and ever add "automatic transmissions" somewhen.
> > > >
> > > Agreed.
> >
> > Well, I guess reading from a register which is supposed to not be there
> > on the modified IP core is too hackish.
>
> According to the Hardware User's Manual Rev. 1.00, the registers do exist
> on all RZ/G1, except for RZ/G1E (see below).
>
>    "(automatic transmission can be used as a hardware function, but this is
>     not meaningful for actual use cases)."
>
> (whatever that comment may mean?)
>
> > Leaves us with a seperate compatible entry for it?
>
> On R-Car E3 and RZ/G2E, which have a single IIC instance, we
> handled that by:
>
>         The r8a77990 (R-Car E3) and r8a774c0 (RZ/G2E)
>         controllers are not considered compatible with
>         "renesas,rcar-gen3-iic" or "renesas,rmobile-iic"
>         due to the absence of automatic transmission registers.
>
> On R-Car E2 and RZ/G1E, we forgot, and used both SoC-specific and
> family-specific compatible values.
>
What are your thoughts on the above.

Cheers,
--Prabhakar

> Gr{oetje,eeting}s,
>
>                         Geert
>
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
>
> In personal conversations with technical people, I call myself a hacker. But
> when I'm talking to journalists I just say "programmer" or something like that.
>                                 -- Linus Torvalds

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

* Re: [PATCH 03/17] ARM: dts: r8a7742: Add I2C and IIC support
  2020-05-22 19:14           ` Lad, Prabhakar
@ 2020-05-22 20:17             ` Wolfram Sang
  2020-05-25  8:23               ` Geert Uytterhoeven
  0 siblings, 1 reply; 76+ messages in thread
From: Wolfram Sang @ 2020-05-22 20:17 UTC (permalink / raw)
  To: Lad, Prabhakar
  Cc: Geert Uytterhoeven, Lad Prabhakar, Jens Axboe, Rob Herring,
	Ulf Hansson, Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck, linux-ide,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS, LKML,
	Linux I2C, Linux MMC List, netdev, Linux-Renesas,
	Linux Watchdog Mailing List

[-- Attachment #1: Type: text/plain, Size: 1215 bytes --]


> > According to the Hardware User's Manual Rev. 1.00, the registers do exist
> > on all RZ/G1, except for RZ/G1E (see below).
> >
> >    "(automatic transmission can be used as a hardware function, but this is
> >     not meaningful for actual use cases)."
> >
> > (whatever that comment may mean?)

Strange comment, in deed. Given the paragraph before, I would guess Gen1
maybe had a "fitting" PMIC where SoC/PMIC handled DVFS kind of magically
with this automatic transfer feature? And Gen2 has not.

> > On R-Car E3 and RZ/G2E, which have a single IIC instance, we
> > handled that by:
> >
> >         The r8a77990 (R-Car E3) and r8a774c0 (RZ/G2E)
> >         controllers are not considered compatible with
> >         "renesas,rcar-gen3-iic" or "renesas,rmobile-iic"
> >         due to the absence of automatic transmission registers.

From a "describe the HW" point of view, this still makes sense to me.
Although, it is unlikely we will add support for the automatic
transmission feature (maybe famous last words).

> > On R-Car E2 and RZ/G1E, we forgot, and used both SoC-specific and
> > family-specific compatible values.

Okay, but we can fix DTs when they have bugs, or?


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: [PATCH 03/17] ARM: dts: r8a7742: Add I2C and IIC support
  2020-05-22 20:17             ` Wolfram Sang
@ 2020-05-25  8:23               ` Geert Uytterhoeven
  0 siblings, 0 replies; 76+ messages in thread
From: Geert Uytterhoeven @ 2020-05-25  8:23 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: Lad, Prabhakar, Lad Prabhakar, Jens Axboe, Rob Herring,
	Ulf Hansson, Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck, linux-ide,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS, LKML,
	Linux I2C, Linux MMC List, netdev, Linux-Renesas,
	Linux Watchdog Mailing List

Hi Wolfram,

On Fri, May 22, 2020 at 10:17 PM Wolfram Sang
<wsa+renesas@sang-engineering.com> wrote:
> > > According to the Hardware User's Manual Rev. 1.00, the registers do exist
> > > on all RZ/G1, except for RZ/G1E (see below).
> > >
> > >    "(automatic transmission can be used as a hardware function, but this is
> > >     not meaningful for actual use cases)."
> > >
> > > (whatever that comment may mean?)
>
> Strange comment, in deed. Given the paragraph before, I would guess Gen1
> maybe had a "fitting" PMIC where SoC/PMIC handled DVFS kind of magically
> with this automatic transfer feature? And Gen2 has not.
>
> > > On R-Car E3 and RZ/G2E, which have a single IIC instance, we
> > > handled that by:
> > >
> > >         The r8a77990 (R-Car E3) and r8a774c0 (RZ/G2E)
> > >         controllers are not considered compatible with
> > >         "renesas,rcar-gen3-iic" or "renesas,rmobile-iic"
> > >         due to the absence of automatic transmission registers.
>
> From a "describe the HW" point of view, this still makes sense to me.
> Although, it is unlikely we will add support for the automatic
> transmission feature (maybe famous last words).

;-)

> > > On R-Car E2 and RZ/G1E, we forgot, and used both SoC-specific and
> > > family-specific compatible values.
>
> Okay, but we can fix DTs when they have bugs, or?

We can.  But we also have to consider DT backwards compatibility: i.e.
using an old DTB with a future kernel implementing the automatic
transmission feature.

Fortunately R-Car E2 and RZ/G1E have SoC-specific compatible values,
so we can easily blacklist it in the driver based on that.
Blacklisting the last instance on the other SoCs is uglier, as it needs a
quirk that checks both the SoC-compatible value and the absence of the
generic compatible value. But it can still be done.

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

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

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

* Re: [PATCH 16/17] dt-bindings: watchdog: renesas,wdt: Document r8a7742 support
  2020-05-15 15:08 ` [PATCH 16/17] dt-bindings: watchdog: renesas,wdt: Document r8a7742 support Lad Prabhakar
                     ` (2 preceding siblings ...)
  2020-05-22 14:47   ` Guenter Roeck
@ 2020-05-27  1:31   ` Rob Herring
  2020-05-27 11:22     ` Lad, Prabhakar
  3 siblings, 1 reply; 76+ messages in thread
From: Rob Herring @ 2020-05-27  1:31 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: Geert Uytterhoeven, Jens Axboe, Wolfram Sang, Ulf Hansson,
	Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck, linux-ide, devicetree, linux-kernel, linux-i2c,
	linux-mmc, netdev, linux-renesas-soc, linux-watchdog, Prabhakar

On Fri, May 15, 2020 at 04:08:56PM +0100, Lad Prabhakar wrote:
> RZ/G1H (R8A7742) watchdog implementation is compatible with R-Car Gen2,
> therefore add relevant documentation.
> 
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>
> ---
>  Documentation/devicetree/bindings/watchdog/renesas,wdt.txt | 1 +
>  1 file changed, 1 insertion(+)

Meanwhile in the DT tree, converting this schema landed. Can you prepare 
a version based on the schema.

Rob

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

* Re: [PATCH 16/17] dt-bindings: watchdog: renesas,wdt: Document r8a7742 support
  2020-05-27  1:31   ` Rob Herring
@ 2020-05-27 11:22     ` Lad, Prabhakar
  2020-05-27 14:38       ` Rob Herring
  0 siblings, 1 reply; 76+ messages in thread
From: Lad, Prabhakar @ 2020-05-27 11:22 UTC (permalink / raw)
  To: Rob Herring
  Cc: Lad Prabhakar, Geert Uytterhoeven, Jens Axboe, Wolfram Sang,
	Ulf Hansson, Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck, linux-ide,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS, LKML,
	Linux I2C, Linux MMC List, netdev, Linux-Renesas,
	Linux Watchdog Mailing List

Hi Rob,

On Wed, May 27, 2020 at 2:31 AM Rob Herring <robh@kernel.org> wrote:
>
> On Fri, May 15, 2020 at 04:08:56PM +0100, Lad Prabhakar wrote:
> > RZ/G1H (R8A7742) watchdog implementation is compatible with R-Car Gen2,
> > therefore add relevant documentation.
> >
> > Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> > Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>
> > ---
> >  Documentation/devicetree/bindings/watchdog/renesas,wdt.txt | 1 +
> >  1 file changed, 1 insertion(+)
>
> Meanwhile in the DT tree, converting this schema landed. Can you prepare
> a version based on the schema.
>
This was kindly taken care by Stephen during merge in linux-next [1].

[1] https://lkml.org/lkml/2020/5/26/32

Cheers,
--Prabhakar

> Rob

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

* Re: [PATCH 16/17] dt-bindings: watchdog: renesas,wdt: Document r8a7742 support
  2020-05-27 11:22     ` Lad, Prabhakar
@ 2020-05-27 14:38       ` Rob Herring
  2020-05-27 16:33         ` Prabhakar Mahadev Lad
  0 siblings, 1 reply; 76+ messages in thread
From: Rob Herring @ 2020-05-27 14:38 UTC (permalink / raw)
  To: Lad, Prabhakar
  Cc: Lad Prabhakar, Geert Uytterhoeven, Jens Axboe, Wolfram Sang,
	Ulf Hansson, Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck,
	open list:LIBATA SUBSYSTEM (Serial and Parallel ATA drivers),
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS, LKML,
	Linux I2C, Linux MMC List, netdev, Linux-Renesas,
	Linux Watchdog Mailing List

On Wed, May 27, 2020 at 5:23 AM Lad, Prabhakar
<prabhakar.csengg@gmail.com> wrote:
>
> Hi Rob,
>
> On Wed, May 27, 2020 at 2:31 AM Rob Herring <robh@kernel.org> wrote:
> >
> > On Fri, May 15, 2020 at 04:08:56PM +0100, Lad Prabhakar wrote:
> > > RZ/G1H (R8A7742) watchdog implementation is compatible with R-Car Gen2,
> > > therefore add relevant documentation.
> > >
> > > Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> > > Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>
> > > ---
> > >  Documentation/devicetree/bindings/watchdog/renesas,wdt.txt | 1 +
> > >  1 file changed, 1 insertion(+)
> >
> > Meanwhile in the DT tree, converting this schema landed. Can you prepare
> > a version based on the schema.
> >
> This was kindly taken care by Stephen during merge in linux-next [1].

Yes, I'm aware of that. I was hoping for a better commit message which
stands on its own (essentially the one here).

Rob

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

* RE: [PATCH 16/17] dt-bindings: watchdog: renesas,wdt: Document r8a7742 support
  2020-05-27 14:38       ` Rob Herring
@ 2020-05-27 16:33         ` Prabhakar Mahadev Lad
  0 siblings, 0 replies; 76+ messages in thread
From: Prabhakar Mahadev Lad @ 2020-05-27 16:33 UTC (permalink / raw)
  To: Rob Herring, Lad, Prabhakar
  Cc: Geert Uytterhoeven, Jens Axboe, Wolfram Sang, Ulf Hansson,
	Sergei Shtylyov, David S. Miller, Wim Van Sebroeck,
	Guenter Roeck,
	open list:LIBATA SUBSYSTEM (Serial and Parallel ATA drivers),
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS, LKML,
	Linux I2C, Linux MMC List, netdev, Linux-Renesas,
	Linux Watchdog Mailing List

Hi Rob,

> -----Original Message-----
> From: Rob Herring <robh@kernel.org>
> Sent: 27 May 2020 15:38
> To: Lad, Prabhakar <prabhakar.csengg@gmail.com>
> Cc: Prabhakar Mahadev Lad <prabhakar.mahadev-lad.rj@bp.renesas.com>; Geert Uytterhoeven <geert+renesas@glider.be>; Jens Axboe
> <axboe@kernel.dk>; Wolfram Sang <wsa+renesas@sang-engineering.com>; Ulf Hansson <ulf.hansson@linaro.org>; Sergei Shtylyov
> <sergei.shtylyov@cogentembedded.com>; David S. Miller <davem@davemloft.net>; Wim Van Sebroeck <wim@linux-watchdog.org>;
> Guenter Roeck <linux@roeck-us.net>; open list:LIBATA SUBSYSTEM (Serial and Parallel ATA drivers) <linux-ide@vger.kernel.org>; open
> list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS <devicetree@vger.kernel.org>; LKML <linux-kernel@vger.kernel.org>; Linux
> I2C <linux-i2c@vger.kernel.org>; Linux MMC List <linux-mmc@vger.kernel.org>; netdev <netdev@vger.kernel.org>; Linux-Renesas <linux-
> renesas-soc@vger.kernel.org>; Linux Watchdog Mailing List <linux-watchdog@vger.kernel.org>
> Subject: Re: [PATCH 16/17] dt-bindings: watchdog: renesas,wdt: Document r8a7742 support
>
> On Wed, May 27, 2020 at 5:23 AM Lad, Prabhakar
> <prabhakar.csengg@gmail.com> wrote:
> >
> > Hi Rob,
> >
> > On Wed, May 27, 2020 at 2:31 AM Rob Herring <robh@kernel.org> wrote:
> > >
> > > On Fri, May 15, 2020 at 04:08:56PM +0100, Lad Prabhakar wrote:
> > > > RZ/G1H (R8A7742) watchdog implementation is compatible with R-Car Gen2,
> > > > therefore add relevant documentation.
> > > >
> > > > Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> > > > Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>
> > > > ---
> > > >  Documentation/devicetree/bindings/watchdog/renesas,wdt.txt | 1 +
> > > >  1 file changed, 1 insertion(+)
> > >
> > > Meanwhile in the DT tree, converting this schema landed. Can you prepare
> > > a version based on the schema.
> > >
> > This was kindly taken care by Stephen during merge in linux-next [1].
>
> Yes, I'm aware of that. I was hoping for a better commit message which
> stands on its own (essentially the one here).
>
As requested I have posted a patch [1].

[1] https://lore.kernel.org/patchwork/patch/1248597/

Cheers,
--Prabhakar


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

* Re: [PATCH 01/17] dt-bindings: i2c: renesas,i2c: Document r8a7742 support
  2020-05-15 15:08 ` [PATCH 01/17] dt-bindings: i2c: renesas,i2c: Document r8a7742 support Lad Prabhakar
  2020-05-15 17:12   ` Wolfram Sang
  2020-05-18  9:56   ` Geert Uytterhoeven
@ 2020-05-28 20:03   ` Rob Herring
  2 siblings, 0 replies; 76+ messages in thread
From: Rob Herring @ 2020-05-28 20:03 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: Geert Uytterhoeven, Ulf Hansson, Guenter Roeck,
	linux-renesas-soc, linux-kernel, Jens Axboe, linux-mmc,
	David S. Miller, netdev, Wolfram Sang, Wim Van Sebroeck,
	devicetree, Prabhakar, Rob Herring, linux-i2c, linux-ide,
	linux-watchdog, Sergei Shtylyov

On Fri, 15 May 2020 16:08:41 +0100, Lad Prabhakar wrote:
> Document i2c controller for RZ/G1H (R8A7742) SoC, which is compatible
> with R-Car Gen2 SoC family.
> 
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>
> ---
>  Documentation/devicetree/bindings/i2c/renesas,i2c.txt | 1 +
>  1 file changed, 1 insertion(+)
> 

Applied, thanks!

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

* Re: [PATCH 02/17] dt-bindings: i2c: renesas,iic: Document r8a7742 support
  2020-05-15 15:08 ` [PATCH 02/17] dt-bindings: i2c: renesas,iic: " Lad Prabhakar
  2020-05-15 17:14   ` Wolfram Sang
  2020-05-18  9:59   ` Geert Uytterhoeven
@ 2020-05-28 20:03   ` Rob Herring
  2 siblings, 0 replies; 76+ messages in thread
From: Rob Herring @ 2020-05-28 20:03 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: Geert Uytterhoeven, Rob Herring, Ulf Hansson, Jens Axboe,
	Wolfram Sang, Sergei Shtylyov, David S. Miller, linux-mmc,
	linux-i2c, linux-ide, Prabhakar, devicetree, Guenter Roeck,
	linux-watchdog, netdev, Wim Van Sebroeck, linux-renesas-soc,
	linux-kernel

On Fri, 15 May 2020 16:08:42 +0100, Lad Prabhakar wrote:
> Document IIC controller for RZ/G1H (R8A7742) SoC, which is compatible
> with R-Car Gen2 SoC family.
> 
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>
> ---
>  Documentation/devicetree/bindings/i2c/renesas,iic.txt | 1 +
>  1 file changed, 1 insertion(+)
> 

Applied, thanks!

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

* Re: [PATCH 08/17] dt-bindings: ata: renesas,rcar-sata: Add r8a7742 support
  2020-05-15 15:08 ` [PATCH 08/17] dt-bindings: ata: renesas,rcar-sata: Add r8a7742 support Lad Prabhakar
  2020-05-17 20:55   ` Wolfram Sang
  2020-05-18 11:13   ` Geert Uytterhoeven
@ 2020-05-28 20:04   ` Rob Herring
  2 siblings, 0 replies; 76+ messages in thread
From: Rob Herring @ 2020-05-28 20:04 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: linux-renesas-soc, Rob Herring, Guenter Roeck, Wolfram Sang,
	David S. Miller, Sergei Shtylyov, linux-kernel, linux-ide,
	Ulf Hansson, Geert Uytterhoeven, Prabhakar, netdev, Jens Axboe,
	devicetree, linux-watchdog, linux-i2c, Wim Van Sebroeck,
	linux-mmc

On Fri, 15 May 2020 16:08:48 +0100, Lad Prabhakar wrote:
> Document SATA support for the RZ/G1H, which is compatible with
> R-Car Gen2 SoC family.
> 
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>
> ---
>  Documentation/devicetree/bindings/ata/renesas,rcar-sata.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 

Applied, thanks!

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

* Re: [PATCH 10/17] dt-bindings: net: renesas,ravb: Add support for r8a7742 SoC
  2020-05-15 15:08 ` [PATCH 10/17] dt-bindings: net: renesas,ravb: Add support for r8a7742 SoC Lad Prabhakar
  2020-05-17 20:58   ` Wolfram Sang
  2020-05-18 11:14   ` Geert Uytterhoeven
@ 2020-05-28 20:04   ` Rob Herring
  2 siblings, 0 replies; 76+ messages in thread
From: Rob Herring @ 2020-05-28 20:04 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: devicetree, netdev, linux-renesas-soc, linux-mmc, Prabhakar,
	linux-watchdog, Guenter Roeck, Ulf Hansson, Jens Axboe,
	Sergei Shtylyov, Wim Van Sebroeck, David S. Miller, linux-kernel,
	linux-i2c, linux-ide, Rob Herring, Wolfram Sang,
	Geert Uytterhoeven

On Fri, 15 May 2020 16:08:50 +0100, Lad Prabhakar wrote:
> Document RZ/G1H (R8A7742) SoC bindings.
> 
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>
> ---
>  Documentation/devicetree/bindings/net/renesas,ravb.txt | 1 +
>  1 file changed, 1 insertion(+)
> 

Applied, thanks!

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

* Re: [PATCH 11/17] dt-bindings: net: renesas,ether: Document R8A7742 SoC
  2020-05-15 15:08 ` [PATCH 11/17] dt-bindings: net: renesas,ether: Document R8A7742 SoC Lad Prabhakar
  2020-05-17 20:59   ` Wolfram Sang
  2020-05-18 11:15   ` Geert Uytterhoeven
@ 2020-05-28 20:04   ` Rob Herring
  2 siblings, 0 replies; 76+ messages in thread
From: Rob Herring @ 2020-05-28 20:04 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: David S. Miller, Jens Axboe, Rob Herring, netdev, linux-watchdog,
	Wolfram Sang, Prabhakar, Wim Van Sebroeck, linux-kernel,
	linux-renesas-soc, linux-mmc, Ulf Hansson, linux-i2c,
	Geert Uytterhoeven, Guenter Roeck, linux-ide, Sergei Shtylyov,
	devicetree

On Fri, 15 May 2020 16:08:51 +0100, Lad Prabhakar wrote:
> Document RZ/G1H (R8A7742) SoC bindings.
> 
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>
> ---
>  Documentation/devicetree/bindings/net/renesas,ether.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 

Applied, thanks!

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

* Re: [PATCH 14/17] dt-bindings: power: renesas,apmu: Document r8a7742 support
  2020-05-15 15:08 ` [PATCH 14/17] dt-bindings: power: renesas,apmu: Document r8a7742 support Lad Prabhakar
  2020-05-17 21:01   ` Wolfram Sang
  2020-05-18 11:16   ` Geert Uytterhoeven
@ 2020-05-28 20:05   ` Rob Herring
  2 siblings, 0 replies; 76+ messages in thread
From: Rob Herring @ 2020-05-28 20:05 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: Ulf Hansson, linux-watchdog, Prabhakar, linux-kernel, linux-i2c,
	Wim Van Sebroeck, netdev, Wolfram Sang, linux-mmc,
	Geert Uytterhoeven, David S. Miller, linux-renesas-soc,
	Rob Herring, Sergei Shtylyov, Guenter Roeck, Jens Axboe,
	devicetree, linux-ide

On Fri, 15 May 2020 16:08:54 +0100, Lad Prabhakar wrote:
> Document APMU and SMP enable method for RZ/G1H (also known as r8a7742)
> SoC.
> 
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>
> ---
>  Documentation/devicetree/bindings/power/renesas,apmu.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 

Applied, thanks!

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

end of thread, other threads:[~2020-05-28 20:05 UTC | newest]

Thread overview: 76+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-15 15:08 [PATCH 00/17] RZ/G1H describe I2C, IIC, MMC0, SATA, AVB, RWDT and APMU nodes Lad Prabhakar
2020-05-15 15:08 ` [PATCH 01/17] dt-bindings: i2c: renesas,i2c: Document r8a7742 support Lad Prabhakar
2020-05-15 17:12   ` Wolfram Sang
2020-05-18  9:56   ` Geert Uytterhoeven
2020-05-28 20:03   ` Rob Herring
2020-05-15 15:08 ` [PATCH 02/17] dt-bindings: i2c: renesas,iic: " Lad Prabhakar
2020-05-15 17:14   ` Wolfram Sang
2020-05-18  9:59   ` Geert Uytterhoeven
2020-05-28 20:03   ` Rob Herring
2020-05-15 15:08 ` [PATCH 03/17] ARM: dts: r8a7742: Add I2C and IIC support Lad Prabhakar
2020-05-15 17:10   ` Wolfram Sang
2020-05-18  8:58     ` Lad, Prabhakar
2020-05-18  9:26       ` Wolfram Sang
2020-05-18  9:43         ` Lad, Prabhakar
2020-05-18  9:53           ` Wolfram Sang
2020-05-18 10:10         ` Geert Uytterhoeven
2020-05-22 19:14           ` Lad, Prabhakar
2020-05-22 20:17             ` Wolfram Sang
2020-05-25  8:23               ` Geert Uytterhoeven
2020-05-15 15:08 ` [PATCH 04/17] dt-bindings: mmc: renesas,sdhi: Document r8a7742 support Lad Prabhakar
2020-05-15 17:17   ` Wolfram Sang
2020-05-18 11:10   ` Geert Uytterhoeven
2020-05-19 15:29   ` Ulf Hansson
2020-05-15 15:08 ` [PATCH 05/17] mmc: renesas_sdhi_sys_dmac: Add support for r8a7742 SoC Lad Prabhakar
2020-05-15 17:17   ` Wolfram Sang
2020-05-18 11:24     ` Geert Uytterhoeven
2020-05-15 15:08 ` [PATCH 06/17] ARM: dts: r8a7742: Add SDHI nodes Lad Prabhakar
2020-05-17 20:53   ` Wolfram Sang
2020-05-18 11:51   ` Geert Uytterhoeven
2020-05-15 15:08 ` [PATCH 07/17] ARM: dts: r8a7742: Add MMC0 node Lad Prabhakar
2020-05-17 20:54   ` Wolfram Sang
2020-05-18 11:52   ` Geert Uytterhoeven
2020-05-15 15:08 ` [PATCH 08/17] dt-bindings: ata: renesas,rcar-sata: Add r8a7742 support Lad Prabhakar
2020-05-17 20:55   ` Wolfram Sang
2020-05-18 11:13   ` Geert Uytterhoeven
2020-05-28 20:04   ` Rob Herring
2020-05-15 15:08 ` [PATCH 09/17] ARM: dts: r8a7742: Add sata nodes Lad Prabhakar
2020-05-17 20:57   ` Wolfram Sang
2020-05-18 11:52   ` Geert Uytterhoeven
2020-05-15 15:08 ` [PATCH 10/17] dt-bindings: net: renesas,ravb: Add support for r8a7742 SoC Lad Prabhakar
2020-05-17 20:58   ` Wolfram Sang
2020-05-18 11:14   ` Geert Uytterhoeven
2020-05-28 20:04   ` Rob Herring
2020-05-15 15:08 ` [PATCH 11/17] dt-bindings: net: renesas,ether: Document R8A7742 SoC Lad Prabhakar
2020-05-17 20:59   ` Wolfram Sang
2020-05-18 11:15   ` Geert Uytterhoeven
2020-05-28 20:04   ` Rob Herring
2020-05-15 15:08 ` [PATCH 12/17] ARM: dts: r8a7742: Add Ethernet AVB support Lad Prabhakar
2020-05-17 21:00   ` Wolfram Sang
2020-05-18 11:53   ` Geert Uytterhoeven
2020-05-15 15:08 ` [PATCH 13/17] ARM: dts: r8a7742: Add Ether support Lad Prabhakar
2020-05-17 21:01   ` Wolfram Sang
2020-05-18 11:53   ` Geert Uytterhoeven
2020-05-15 15:08 ` [PATCH 14/17] dt-bindings: power: renesas,apmu: Document r8a7742 support Lad Prabhakar
2020-05-17 21:01   ` Wolfram Sang
2020-05-18 11:16   ` Geert Uytterhoeven
2020-05-28 20:05   ` Rob Herring
2020-05-15 15:08 ` [PATCH 15/17] ARM: dts: r8a7742: Add APMU nodes Lad Prabhakar
2020-05-17 21:03   ` Wolfram Sang
2020-05-15 15:08 ` [PATCH 16/17] dt-bindings: watchdog: renesas,wdt: Document r8a7742 support Lad Prabhakar
2020-05-17 21:03   ` Wolfram Sang
2020-05-18 11:17   ` Geert Uytterhoeven
2020-05-22 14:47   ` Guenter Roeck
2020-05-27  1:31   ` Rob Herring
2020-05-27 11:22     ` Lad, Prabhakar
2020-05-27 14:38       ` Rob Herring
2020-05-27 16:33         ` Prabhakar Mahadev Lad
2020-05-15 15:08 ` [PATCH 17/17] ARM: dts: r8a7742: Add RWDT node Lad Prabhakar
2020-05-17 21:08   ` Wolfram Sang
2020-05-18  9:16     ` Lad, Prabhakar
2020-05-18  9:28       ` Wolfram Sang
2020-05-18 11:47   ` Geert Uytterhoeven
2020-05-18 12:27     ` Lad, Prabhakar
2020-05-18 13:17       ` Sergei Shtylyov
2020-05-18 13:23         ` Lad, Prabhakar
2020-05-18 15:45           ` Geert Uytterhoeven

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