diff mbox series

[4.19.y,6/9] arm64: dts: renesas: r8a774c0: Add I2C and IIC-DVFS support

Message ID 1553688789-43441-7-git-send-email-biju.das@bp.renesas.com (mailing list archive)
State Accepted
Delegated to: Pavel Machek
Headers show
Series Add i2c/msiof support | expand

Commit Message

Biju Das March 27, 2019, 12:13 p.m. UTC
From: Fabrizio Castro <fabrizio.castro@bp.renesas.com>

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

Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
(cherry picked from commit abf8cc35bf89d897442643269079431a370e9f48)
Signed-off-by: Biju Das <biju.das@bp.renesas.com>
---
 arch/arm64/boot/dts/renesas/r8a774c0.dtsi | 143 ++++++++++++++++++++++++++++++
 1 file changed, 143 insertions(+)

Comments

Pavel Machek April 9, 2019, 8:54 p.m. UTC | #1
On Wed 2019-03-27 12:13:06, Biju Das wrote:
> From: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
> 
> 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.
Biju Das April 10, 2019, 6:41 a.m. UTC | #2
Hi Pavel,

Thanks for the feedback.

> Subject: Re: [cip-dev] [PATCH 4.19.y 6/9] arm64: dts: renesas: r8a774c0: Add
> I2C and IIC-DVFS support
> 
> On Wed 2019-03-27 12:13:06, Biju Das wrote:
> > From: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
> >
> > 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
Nobuhiro Iwamatsu April 10, 2019, 8:09 a.m. UTC | #3
Hi, Biju.

> 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



> -----Original Message-----
> From: cip-dev-bounces@lists.cip-project.org
> [mailto:cip-dev-bounces@lists.cip-project.org] On Behalf Of Biju Das
> Sent: Wednesday, April 10, 2019 3:42 PM
> To: Pavel Machek <pavel@denx.de>
> Cc: cip-dev@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.
> 
> > Subject: Re: [cip-dev] [PATCH 4.19.y 6/9] arm64: dts: renesas:
> > r8a774c0: Add I2C and IIC-DVFS support
> >
> > On Wed 2019-03-27 12:13:06, Biju Das wrote:
> > > From: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
> > >
> > > 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@lists.cip-project.org
> https://lists.cip-project.org/mailman/listinfo/cip-dev
Pavel Machek April 10, 2019, 8:16 a.m. UTC | #4
On Wed 2019-04-10 08:09:14, nobuhiro1.iwamatsu@toshiba.co.jp wrote:
> Hi, Biju.
> 
> > 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.

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
Nobuhiro Iwamatsu April 10, 2019, 9:55 p.m. UTC | #5
Hi,

> -----Original Message-----
> From: Pavel Machek [mailto:pavel@denx.de]
> Sent: Wednesday, April 10, 2019 5:17 PM
> To: iwamatsu nobuhiro(岩松 信洋 ○SWC□OST)
> <nobuhiro1.iwamatsu@toshiba.co.jp>
> Cc: biju.das@bp.renesas.com; pavel@denx.de;
> cip-dev@lists.cip-project.org
> Subject: Re: [cip-dev] [PATCH 4.19.y 6/9] arm64: dts: renesas: r8a774c0:
> Add I2C and IIC-DVFS support
> 
> On Wed 2019-04-10 08:09:14, nobuhiro1.iwamatsu@toshiba.co.jp wrote:
> > Hi, Biju.
> >
> > > 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.
> 
> 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
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/renesas/r8a774c0.dtsi b/arch/arm64/boot/dts/renesas/r8a774c0.dtsi
index 96a71e3..bf08aba 100644
--- a/arch/arm64/boot/dts/renesas/r8a774c0.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a774c0.dtsi
@@ -271,6 +271,149 @@ 
 			resets = <&cpg 407>;
 		};
 
+		i2c0: i2c@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@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@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@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@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@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@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@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@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@e6540000 {
 			compatible = "renesas,hscif-r8a774c0",
 				     "renesas,rcar-gen3-hscif",