Skip to contentSkip to conversation

Add i2c/msiof support

PATCH New Biju Das 3 participants 16 messages Mar 27, 2019 – Apr 12, 2019

lore
Share & tools
lore

Biju Das

author
#0 lore raw

cover Add i2c/msiof support

This patch series add i2c/msiof support for RZ/G2E SoC.

This patch series is based on linux-4.19.y-cip and all the patches in this series are cherry-picked from linux rc tree.

This patch series is depend on the below patch series
https://patchwork.kernel.org/patch/10865489/

Fabrizio Castro (7):
dt-bindings: i2c: sh_mobile: Add r8a774c0 support
i2c: sh_mobile: Add support for r8a774c0 (RZ/G2E)
dt-bindings: i2c: rcar: Add r8a774c0 support
arm64: dts: renesas: r8a774c0: Add I2C and IIC-DVFS support
spi: sh-msiof: Add r8a774a1 support
spi: sh-msiof: Add r8a774c0 support
arm64: dts: renesas: r8a774c0: Add MSIOF nodes

Simon Horman (2):
i2c: sh_mobile: document support for r8a77990 (R-Car E3)
i2c: sh_mobile: add support for r8a77990 (R-Car E3)

 Documentation/devicetree/bindings/i2c/i2c-rcar.txt |   1 +
 .../devicetree/bindings/i2c/i2c-sh_mobile.txt      |  10 +-
 Documentation/devicetree/bindings/spi/sh-msiof.txt |   4 +-
 arch/arm64/boot/dts/renesas/r8a774c0.dtsi          | 205 +++++++++++++++++++++
 drivers/i2c/busses/i2c-sh_mobile.c                 |   2 +
 5 files changed, 220 insertions(+), 2 deletions(-)
Signature · 1 line
2.7.4
author
#1 lore raw

PATCH 1/9 i2c: sh_mobile: document support for r8a77990 (R-Car E3)

From: Simon Horman <[email protected]>

Document support for the IIC code for the r8a77990 (R-Car E3).

It is not considered compatible with existing fallback bindings due to the documented absence of automatic transmission registers.

(cherry picked from commit fca34b910ddc556c51294d58287f7c33863dddef)
---
 Documentation/devicetree/bindings/i2c/i2c-sh_mobile.txt | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/i2c/i2c-sh_mobile.txt +8 -1
index 872673a..cc62577 100644
@@ -15,6 +15,7 @@ Required properties:
 			- "renesas,iic-r8a7795" (R-Car H3)
 			- "renesas,iic-r8a7796" (R-Car M3-W)
 			- "renesas,iic-r8a77965" (R-Car M3-N)
+			- "renesas,iic-r8a77990" (R-Car E3)
 			- "renesas,iic-sh73a0" (SH-Mobile AG5)
 			- "renesas,rcar-gen2-iic" (generic R-Car Gen2 or RZ/G1
 							compatible device)
@@ -27,7 +28,13 @@ Required properties:
 			the platform first followed by the generic R-Car
 			version.
 
-			renesas,rmobile-iic must always follow.
+			When compatible with "renesas,rmobile-iic" it should
+			be the last compatibility string listed.
+
+			The r8a77990 (R-Car E3) controller is not
+			considered compatible with "renesas,rcar-gen3-iic"
+			or "renesas,rmobile-iic" due to the absence of
+			automatic transmission registers.
 
 - reg             : address start and address range size of device
 - interrupts      : interrupt of device
Signature · 1 line
2.7.4
#2 lore raw

PATCH 1/9 i2c: sh_mobile: document support for r8a77990 (R-Car E3)

Quoted 4 lines · Biju Das

From: Simon Horman <[email protected]>

Document support for the IIC code for the r8a77990 (R-Car E3).

Quoted 8 lines

It is not considered compatible with existing fallback bindings due to the documented absence of automatic transmission registers.

(cherry picked from commit fca34b910ddc556c51294d58287f7c33863dddef)

Thanks, I applied the series.
Pavel

Signature · 9 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.cip-project.org/pipermail/cip-dev/attachments/20190412/7f63e93c/attachment.sig>
author
#3 lore raw

PATCH 2/9 dt-bindings: i2c: sh_mobile: Add r8a774c0 support

In reply to Biju Das

From: Fabrizio Castro <[email protected]>

Document RZ/G2E (R8A774C0) SoC bindings.

(cherry picked from commit 3f74383f29ca2e0c7d9362c4c65a7c2cb4e1fd5f)
---
 Documentation/devicetree/bindings/i2c/i2c-sh_mobile.txt | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
Documentation/devicetree/bindings/i2c/i2c-sh_mobile.txt +5 -4
index cc62577..392162a 100644
@@ -7,6 +7,7 @@ Required properties:
 			- "renesas,iic-r8a7743" (RZ/G1M)
 			- "renesas,iic-r8a7745" (RZ/G1E)
 			- "renesas,iic-r8a774a1" (RZ/G2M)
+			- "renesas,iic-r8a774c0" (RZ/G2E)
 			- "renesas,iic-r8a7790" (R-Car H2)
 			- "renesas,iic-r8a7791" (R-Car M2-W)
 			- "renesas,iic-r8a7792" (R-Car V2H)
@@ -31,10 +32,10 @@ Required properties:
 			When compatible with "renesas,rmobile-iic" it should
 			be the last compatibility string listed.
 
-			The r8a77990 (R-Car E3) controller is not
-			considered compatible with "renesas,rcar-gen3-iic"
-			or "renesas,rmobile-iic" due to the absence of
-			automatic transmission registers.
+			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.
 
 - reg             : address start and address range size of device
 - interrupts      : interrupt of device
Signature · 1 line
2.7.4
author
#4 lore raw

PATCH 3/9 i2c: sh_mobile: add support for r8a77990 (R-Car E3)

In reply to Biju Das

From: Simon Horman <[email protected]>

Add support for the IIC code for the r8a77990 (R-Car E3).

It is not considered compatible with existing fallback bindings due to the documented absence of automatic transmission registers.

These registers are currently not used by the driver and thus the provides the same behaviour for "renesas,iic-r8a77990" and "renesas,rcar-gen3-iic". The point of declaring incompatibility is to allow for automatic transmission register support to be added to "renesas,iic-r8a77990" and "renesas,rcar-gen3-iic" in future.

(cherry picked from commit 5eb316e636eb298c204f5b368526d4480b63c0ba)
---
 drivers/i2c/busses/i2c-sh_mobile.c | 1 +
 1 file changed, 1 insertion(+)
drivers/i2c/busses/i2c-sh_mobile.c +1 -0
index 818cab1..b3ed14f 100644
@@ -808,6 +808,7 @@ static const struct of_device_id sh_mobile_i2c_dt_ids[] = {
 	{ .compatible = "renesas,rcar-gen2-iic", .data = &fast_clock_dt_config },
 	{ .compatible = "renesas,iic-r8a7795", .data = &fast_clock_dt_config },
 	{ .compatible = "renesas,rcar-gen3-iic", .data = &fast_clock_dt_config },
+	{ .compatible = "renesas,iic-r8a77990", .data = &fast_clock_dt_config },
 	{ .compatible = "renesas,iic-sh73a0", .data = &fast_clock_dt_config },
 	{ .compatible = "renesas,rmobile-iic", .data = &default_dt_config },
 	{},
Signature · 1 line
2.7.4
author
#5 lore raw

PATCH 4/9 i2c: sh_mobile: Add support for r8a774c0 (RZ/G2E)

In reply to Biju Das

From: Fabrizio Castro <[email protected]>

Similarly to R-Car E3, RZ/G2E doesn't come with automatic transmission registers, as such it is not considered compatible with the existing fallback bindings.

Add SoC specific binding compatibility to allow for later support for automatic transmission.

(cherry picked from commit 51243b73455f2d12cb82abffa7bc9028aec656e0)
---
 drivers/i2c/busses/i2c-sh_mobile.c | 1 +
 1 file changed, 1 insertion(+)
drivers/i2c/busses/i2c-sh_mobile.c +1 -0
index b3ed14f..ddcfb6d 100644
@@ -800,6 +800,7 @@ static const struct sh_mobile_dt_config r8a7740_dt_config = {
 static const struct of_device_id sh_mobile_i2c_dt_ids[] = {
 	{ .compatible = "renesas,iic-r8a73a4", .data = &fast_clock_dt_config },
 	{ .compatible = "renesas,iic-r8a7740", .data = &r8a7740_dt_config },
+	{ .compatible = "renesas,iic-r8a774c0", .data = &fast_clock_dt_config },
 	{ .compatible = "renesas,iic-r8a7790", .data = &v2_freq_calc_dt_config },
 	{ .compatible = "renesas,iic-r8a7791", .data = &fast_clock_dt_config },
 	{ .compatible = "renesas,iic-r8a7792", .data = &fast_clock_dt_config },
Signature · 1 line
2.7.4
author
#6 lore raw

PATCH 5/9 dt-bindings: i2c: rcar: Add r8a774c0 support

In reply to Biju Das

From: Fabrizio Castro <[email protected]>

Document RZ/G2E (R8A774C0) I2C compatibility with the relevant device dt-bindings.

(cherry picked from commit 1ccf1980e3e4853ecf11804774ef6ac071911150)
---
 Documentation/devicetree/bindings/i2c/i2c-rcar.txt | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/i2c/i2c-rcar.txt +1 -0
index 39cd21d..c6367d0 100644
@@ -5,6 +5,7 @@ Required properties:
 	"renesas,i2c-r8a7743" if the device is a part of a R8A7743 SoC.
 	"renesas,i2c-r8a7745" if the device is a part of a R8A7745 SoC.
 	"renesas,i2c-r8a774a1" if the device is a part of a R8A774A1 SoC.
+	"renesas,i2c-r8a774c0" if the device is a part of a R8A774C0 SoC.
 	"renesas,i2c-r8a7778" if the device is a part of a R8A7778 SoC.
 	"renesas,i2c-r8a7779" if the device is a part of a R8A7779 SoC.
 	"renesas,i2c-r8a7790" if the device is a part of a R8A7790 SoC.
Signature · 1 line
2.7.4
author
#7 lore raw

PATCH 6/9 arm64: dts: renesas: r8a774c0: Add I2C and IIC-DVFS support

In reply to Biju Das

From: Fabrizio Castro <[email protected]>

Add the I2C[0-7] and IIC Bus Interface for DVFS (IIC for DVFS) devices nodes to the r8a774c0 device tree.

(cherry picked from commit abf8cc35bf89d897442643269079431a370e9f48)
---
 arch/arm64/boot/dts/renesas/r8a774c0.dtsi | 143 ++++++++++++++++++++++++++++++
 1 file changed, 143 insertions(+)
arch/arm64/boot/dts/renesas/r8a774c0.dtsi +143 -0
index 96a71e3..bf08aba 100644
@@ -271,6 +271,149 @@
 			resets = <&cpg 407>;
 		};
 
+		i2c0: i2c at e6500000 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			compatible = "renesas,i2c-r8a774c0",
+				     "renesas,rcar-gen3-i2c";
+			reg = <0 0xe6500000 0 0x40>;
+			interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 931>;
+			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
+			resets = <&cpg 931>;
+			dmas = <&dmac1 0x91>, <&dmac1 0x90>,
+			       <&dmac2 0x91>, <&dmac2 0x90>;
+			dma-names = "tx", "rx", "tx", "rx";
+			i2c-scl-internal-delay-ns = <110>;
+			status = "disabled";
+		};
+
+		i2c1: i2c at e6508000 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			compatible = "renesas,i2c-r8a774c0",
+				     "renesas,rcar-gen3-i2c";
+			reg = <0 0xe6508000 0 0x40>;
+			interrupts = <GIC_SPI 288 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 930>;
+			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
+			resets = <&cpg 930>;
+			dmas = <&dmac1 0x93>, <&dmac1 0x92>,
+			       <&dmac2 0x93>, <&dmac2 0x92>;
+			dma-names = "tx", "rx", "tx", "rx";
+			i2c-scl-internal-delay-ns = <6>;
+			status = "disabled";
+		};
+
+		i2c2: i2c at e6510000 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			compatible = "renesas,i2c-r8a774c0",
+				     "renesas,rcar-gen3-i2c";
+			reg = <0 0xe6510000 0 0x40>;
+			interrupts = <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 929>;
+			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
+			resets = <&cpg 929>;
+			dmas = <&dmac1 0x95>, <&dmac1 0x94>,
+			       <&dmac2 0x95>, <&dmac2 0x94>;
+			dma-names = "tx", "rx", "tx", "rx";
+			i2c-scl-internal-delay-ns = <6>;
+			status = "disabled";
+		};
+
+		i2c3: i2c at e66d0000 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			compatible = "renesas,i2c-r8a774c0",
+				     "renesas,rcar-gen3-i2c";
+			reg = <0 0xe66d0000 0 0x40>;
+			interrupts = <GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 928>;
+			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
+			resets = <&cpg 928>;
+			dmas = <&dmac0 0x97>, <&dmac0 0x96>;
+			dma-names = "tx", "rx";
+			i2c-scl-internal-delay-ns = <110>;
+			status = "disabled";
+		};
+
+		i2c4: i2c at e66d8000 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			compatible = "renesas,i2c-r8a774c0",
+				     "renesas,rcar-gen3-i2c";
+			reg = <0 0xe66d8000 0 0x40>;
+			interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 927>;
+			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
+			resets = <&cpg 927>;
+			dmas = <&dmac0 0x99>, <&dmac0 0x98>;
+			dma-names = "tx", "rx";
+			i2c-scl-internal-delay-ns = <6>;
+			status = "disabled";
+		};
+
+		i2c5: i2c at e66e0000 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			compatible = "renesas,i2c-r8a774c0",
+				     "renesas,rcar-gen3-i2c";
+			reg = <0 0xe66e0000 0 0x40>;
+			interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 919>;
+			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
+			resets = <&cpg 919>;
+			dmas = <&dmac0 0x9b>, <&dmac0 0x9a>;
+			dma-names = "tx", "rx";
+			i2c-scl-internal-delay-ns = <6>;
+			status = "disabled";
+		};
+
+		i2c6: i2c at e66e8000 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			compatible = "renesas,i2c-r8a774c0",
+				     "renesas,rcar-gen3-i2c";
+			reg = <0 0xe66e8000 0 0x40>;
+			interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 918>;
+			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
+			resets = <&cpg 918>;
+			dmas = <&dmac0 0x9d>, <&dmac0 0x9c>;
+			dma-names = "tx", "rx";
+			i2c-scl-internal-delay-ns = <6>;
+			status = "disabled";
+		};
+
+		i2c7: i2c at e6690000 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			compatible = "renesas,i2c-r8a774c0",
+				     "renesas,rcar-gen3-i2c";
+			reg = <0 0xe6690000 0 0x40>;
+			interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 1003>;
+			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
+			resets = <&cpg 1003>;
+			i2c-scl-internal-delay-ns = <6>;
+			status = "disabled";
+		};
+
+		i2c_dvfs: i2c at e60b0000 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			compatible = "renesas,iic-r8a774c0";
+			reg = <0 0xe60b0000 0 0x15>;
+			interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 926>;
+			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
+			resets = <&cpg 926>;
+			dmas = <&dmac0 0x11>, <&dmac0 0x10>;
+			dma-names = "tx", "rx";
+			status = "disabled";
+		};
+
 		hscif0: serial at e6540000 {
 			compatible = "renesas,hscif-r8a774c0",
 				     "renesas,rcar-gen3-hscif",
Signature · 1 line
2.7.4
#8 lore raw

PATCH 6/9 arm64: dts: renesas: r8a774c0: Add I2C and IIC-DVFS support

Quoted 4 lines · Biju Das

From: Fabrizio Castro <[email protected]>

Add the I2C[0-7] and IIC Bus Interface for DVFS (IIC for DVFS) devices nodes to the r8a774c0 device tree.

This fails for me, because arch/arm64/boot/dts/renesas/r8a774c0.dtsi does not yet exist.

Signature · 2 lines
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
author
#9 lore raw

PATCH 6/9 arm64: dts: renesas: r8a774c0: Add I2C and IIC-DVFS support

Hi Pavel,

Thanks for the feedback.

Quoted 11 lines

Subject: Re: [cip-dev] [PATCH 4.19.y 6/9] arm64: dts: renesas: r8a774c0: Add I2C and IIC-DVFS support

Quoted 4 lines · Biju Das

From: Fabrizio Castro <[email protected]>

Add the I2C[0-7] and IIC Bus Interface for DVFS (IIC for DVFS) devices nodes to the r8a774c0 device tree.

This fails for me, because arch/arm64/boot/dts/renesas/r8a774c0.dtsi does not yet exist.

This patch "arm64: dts: renesas: Initial device tree for r8a774c0" have "arch/arm64/boot/dts/renesas/r8a774c0.dtsi"

https://lists.cip-project.org/pipermail/cip-dev/2019-March/001917.html

Do you want me to send it again?

Regards,
Biju

#10 lore raw

PATCH 6/9 arm64: dts: renesas: r8a774c0: Add I2C and IIC-DVFS support

Hi, Biju.

Quoted 7 lines

This patch "arm64: dts: renesas: Initial device tree for r8a774c0" have "arch/arm64/boot/dts/renesas/r8a774c0.dtsi"

https://lists.cip-project.org/pipermail/cip-dev/2019-March/001917.ht
ml

Do you want me to send it again?

You do not need to send.
This patch has been reviewed and committed to linux-4.19.y-cip branch by me.

Best regards,
Nobuhiro

Quoted 40 lines

-----Original Message-----
From: cip-dev-bounces at lists.cip-project.org [mailto:cip-dev-bounces at lists.cip-project.org] On Behalf Of Biju Das
Sent: Wednesday, April 10, 2019 3:42 PM
To: Pavel Machek <[email protected]>
Cc: cip-dev at lists.cip-project.org
Subject: Re: [cip-dev] [PATCH 4.19.y 6/9] arm64: dts: renesas: r8a774c0:
Add I2C and IIC-DVFS support

Hi Pavel,

Thanks for the feedback.

Quoted 11 lines

Subject: Re: [cip-dev] [PATCH 4.19.y 6/9] arm64: dts: renesas:
r8a774c0: Add I2C and IIC-DVFS support

Quoted 4 lines · Biju Das

From: Fabrizio Castro <[email protected]>

Add the I2C[0-7] and IIC Bus Interface for DVFS (IIC for DVFS) devices nodes to the r8a774c0 device tree.

This fails for me, because arch/arm64/boot/dts/renesas/r8a774c0.dtsi does not yet exist.

This patch "arm64: dts: renesas: Initial device tree for r8a774c0" have "arch/arm64/boot/dts/renesas/r8a774c0.dtsi"

https://lists.cip-project.org/pipermail/cip-dev/2019-March/001917.ht
ml

Do you want me to send it again?

Regards,
Biju

_______________________________________________
cip-dev mailing list
cip-dev at lists.cip-project.org
https://lists.cip-project.org/mailman/listinfo/cip-dev

#11 lore raw

PATCH 6/9 arm64: dts: renesas: r8a774c0: Add I2C and IIC-DVFS support

Quoted 5 lines · On Wed 2019-04-10 08:09:14, nobuhiro1.iwamatsu at toshiba.co.jp wrote:

Hi, Biju.

Quoted 3 lines

This patch "arm64: dts: renesas: Initial device tree for r8a774c0" have "arch/arm64/boot/dts/renesas/r8a774c0.dtsi"

Quoted 8 lines
Quoted 4 lines

https://lists.cip-project.org/pipermail/cip-dev/2019-March/001917.ht
ml

Do you want me to send it again?

You do not need to send.
This patch has been reviewed and committed to linux-4.19.y-cip branch by me.

Thank you!

But I don't see anything new at
https://git.kernel.org/pub/scm/linux/kernel/git/cip/linux-cip.git/
. Did you forget to push or is it still processing?

Best regards,

Pavel

Signature · 9 lines
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.cip-project.org/pipermail/cip-dev/attachments/20190410/c00964e6/attachment.sig>
#12 lore raw

PATCH 6/9 arm64: dts: renesas: r8a774c0: Add I2C and IIC-DVFS support

Hi,

Quoted 26 lines

-----Original Message-----
From: Pavel Machek [mailto:pavel at denx.de]
Sent: Wednesday, April 10, 2019 5:17 PM
To: iwamatsu nobuhiro(?? ?? ????????) <[email protected]>
Cc: biju.das at bp.renesas.com; pavel at denx.de;
cip-dev at lists.cip-project.org
Subject: Re: [cip-dev] [PATCH 4.19.y 6/9] arm64: dts: renesas: r8a774c0:
Add I2C and IIC-DVFS support

Quoted 6 lines · On Wed 2019-04-10 08:09:14, nobuhiro1.iwamatsu at toshiba.co.jp wrote:

Hi, Biju.

Quoted 4 lines

This patch "arm64: dts: renesas: Initial device tree for r8a774c0" have "arch/arm64/boot/dts/renesas/r8a774c0.dtsi"

https://lists.cip-project.org/pipermail/cip-dev/2019-March/001917.ht

Quoted 7 lines
Quoted 3 lines

ml

Do you want me to send it again?

You do not need to send.
This patch has been reviewed and committed to linux-4.19.y-cip branch by me.

Quoted 6 lines

Thank you!

But I don't see anything new at
https://git.kernel.org/pub/scm/linux/kernel/git/cip/linux-cip.git/
. Did you forget to push or is it still processing?

I was pushing to gitlab. I pushed to kernel.org about 1 hours ago. Sorry for this.

Best regards,
Nobuhiro

author
#13 lore raw

PATCH 7/9 spi: sh-msiof: Add r8a774a1 support

In reply to Biju Das

From: Fabrizio Castro <[email protected]>

Document RZ/G2M (R8A774A1) SoC bindings.

(cherry picked from commit 864822235f1897219409ec1f0af076fcc9057c57)
---
 Documentation/devicetree/bindings/spi/sh-msiof.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/spi/sh-msiof.txt +2 -1
index bfbc203..8f7bb6a 100644
@@ -3,6 +3,7 @@ Renesas MSIOF spi controller
 Required properties:
 - compatible           : "renesas,msiof-r8a7743" (RZ/G1M)
 			 "renesas,msiof-r8a7745" (RZ/G1E)
+			 "renesas,msiof-r8a774a1" (RZ/G2M)
 			 "renesas,msiof-r8a7790" (R-Car H2)
 			 "renesas,msiof-r8a7791" (R-Car M2-W)
 			 "renesas,msiof-r8a7792" (R-Car V2H)
@@ -14,7 +15,7 @@ Required properties:
 			 "renesas,msiof-sh73a0" (SH-Mobile AG5)
 			 "renesas,sh-mobile-msiof" (generic SH-Mobile compatibile device)
 			 "renesas,rcar-gen2-msiof" (generic R-Car Gen2 and RZ/G1 compatible device)
-			 "renesas,rcar-gen3-msiof" (generic R-Car Gen3 compatible device)
+			 "renesas,rcar-gen3-msiof" (generic R-Car Gen3 and RZ/G2 compatible device)
 			 "renesas,sh-msiof"      (deprecated)
 
 			 When compatible with the generic version, nodes
Signature · 1 line
2.7.4
author
#14 lore raw

PATCH 8/9 spi: sh-msiof: Add r8a774c0 support

In reply to Biju Das

From: Fabrizio Castro <[email protected]>

Document RZ/G2E (R8A774C0) SoC bindings.

(cherry picked from commit 079e7f8709bb41cd0dc13efaffb24a0f17841955)
---
 Documentation/devicetree/bindings/spi/sh-msiof.txt | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/spi/sh-msiof.txt +1 -0
index 8f7bb6a..4dd4455 100644
@@ -4,6 +4,7 @@ Required properties:
 - compatible           : "renesas,msiof-r8a7743" (RZ/G1M)
 			 "renesas,msiof-r8a7745" (RZ/G1E)
 			 "renesas,msiof-r8a774a1" (RZ/G2M)
+			 "renesas,msiof-r8a774c0" (RZ/G2E)
 			 "renesas,msiof-r8a7790" (R-Car H2)
 			 "renesas,msiof-r8a7791" (R-Car M2-W)
 			 "renesas,msiof-r8a7792" (R-Car V2H)
Signature · 1 line
2.7.4
author
#15 lore raw

PATCH 9/9 arm64: dts: renesas: r8a774c0: Add MSIOF nodes

In reply to Biju Das

From: Fabrizio Castro <[email protected]>

Add the device nodes for all MSIOF SPI controllers on RZ/G2E SoC.

(cherry picked from commit 62c0056f1c3eb15d6f40c2b958e0e023d5845852)
---
 arch/arm64/boot/dts/renesas/r8a774c0.dtsi | 62 +++++++++++++++++++++++++++++++
 1 file changed, 62 insertions(+)
arch/arm64/boot/dts/renesas/r8a774c0.dtsi +62 -0
index bf08aba..37ec67c 100644
@@ -746,6 +746,68 @@
 			status = "disabled";
 		};
 
+		msiof0: spi at e6e90000 {
+			compatible = "renesas,msiof-r8a774c0",
+				     "renesas,rcar-gen3-msiof";
+			reg = <0 0xe6e90000 0 0x0064>;
+			interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 211>;
+			dmas = <&dmac1 0x41>, <&dmac1 0x40>,
+			       <&dmac2 0x41>, <&dmac2 0x40>;
+			dma-names = "tx", "rx", "tx", "rx";
+			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
+			resets = <&cpg 211>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+			status = "disabled";
+		};
+
+		msiof1: spi at e6ea0000 {
+			compatible = "renesas,msiof-r8a774c0",
+				     "renesas,rcar-gen3-msiof";
+			reg = <0 0xe6ea0000 0 0x0064>;
+			interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 210>;
+			dmas = <&dmac1 0x43>, <&dmac1 0x42>,
+			       <&dmac2 0x43>, <&dmac2 0x42>;
+			dma-names = "tx", "rx", "tx", "rx";
+			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
+			resets = <&cpg 210>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+			status = "disabled";
+		};
+
+		msiof2: spi at e6c00000 {
+			compatible = "renesas,msiof-r8a774c0",
+				     "renesas,rcar-gen3-msiof";
+			reg = <0 0xe6c00000 0 0x0064>;
+			interrupts = <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 209>;
+			dmas = <&dmac0 0x45>, <&dmac0 0x44>;
+			dma-names = "tx", "rx";
+			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
+			resets = <&cpg 209>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+			status = "disabled";
+		};
+
+		msiof3: spi at e6c10000 {
+			compatible = "renesas,msiof-r8a774c0",
+				     "renesas,rcar-gen3-msiof";
+			reg = <0 0xe6c10000 0 0x0064>;
+			interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 208>;
+			dmas = <&dmac0 0x47>, <&dmac0 0x46>;
+			dma-names = "tx", "rx";
+			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
+			resets = <&cpg 208>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+			status = "disabled";
+		};
+
 		sdhi0: sd at ee100000 {
 			compatible = "renesas,sdhi-r8a774c0",
 				     "renesas,rcar-gen3-sdhi";
Signature · 1 line
2.7.4