diff mbox

[v2] ARM: dts: iwg20d-q7: Add RTC support

Message ID 1502874990-12006-1-git-send-email-chris.paterson2@renesas.com (mailing list archive)
State Superseded
Commit 6c746b92e5d673f0c3c601d8f0a17b7f185b60be
Delegated to: Simon Horman
Headers show

Commit Message

Chris Paterson Aug. 16, 2017, 9:16 a.m. UTC
From: Biju Das <biju.das@bp.renesas.com>

Define the iWave RainboW-G20D-Qseven board dependent part of the
RTC device node.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
[chris: corrected bq32000 compatible string]
Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
---
v1 -> v2
Added ti to bq32000 compatible string - Thanks Geert

 arch/arm/boot/dts/r8a7743-iwg20d-q7.dts | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

Comments

Simon Horman Aug. 24, 2017, 10:47 a.m. UTC | #1
On Wed, Aug 16, 2017 at 10:16:30AM +0100, Chris Paterson wrote:
> From: Biju Das <biju.das@bp.renesas.com>
> 
> Define the iWave RainboW-G20D-Qseven board dependent part of the
> RTC device node.
> 
> Signed-off-by: Biju Das <biju.das@bp.renesas.com>
> [chris: corrected bq32000 compatible string]
> Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
> ---
> v1 -> v2
> Added ti to bq32000 compatible string - Thanks Geert

Thanks, applied for v4.15.
Biju Das Aug. 24, 2017, 2:53 p.m. UTC | #2
> -----Original Message-----
> From: Simon Horman [mailto:horms@verge.net.au]
> Sent: 24 August 2017 11:47
> To: Chris Paterson <Chris.Paterson2@renesas.com>
> Cc: Rob Herring <robh+dt@kernel.org>; Mark Rutland
> <mark.rutland@arm.com>; Magnus Damm <magnus.damm@gmail.com>;
> Russell King <linux@armlinux.org.uk>; Biju Das <biju.das@bp.renesas.com>;
> devicetree@vger.kernel.org; linux-renesas-soc@vger.kernel.org; linux-arm-
> kernel@lists.infradead.org
> Subject: Re: [PATCH v2] ARM: dts: iwg20d-q7: Add RTC support
>
> On Wed, Aug 16, 2017 at 10:16:30AM +0100, Chris Paterson wrote:
> > From: Biju Das <biju.das@bp.renesas.com>
> >
> > Define the iWave RainboW-G20D-Qseven board dependent part of the RTC
> > device node.
> >
> > Signed-off-by: Biju Das <biju.das@bp.renesas.com>
> > [chris: corrected bq32000 compatible string]
> > Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
> > ---
> > v1 -> v2
> > Added ti to bq32000 compatible string - Thanks Geert
>
> Thanks, applied for v4.15.

Looks like i2c2_pins nodes are misplaced. Please drop this patch,
So that I can send a new patch.





Renesas Electronics Europe Ltd, Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, UK. Registered in England & Wales under Registered No. 04586709.
Simon Horman Aug. 28, 2017, 7:51 a.m. UTC | #3
On Thu, Aug 24, 2017 at 02:53:55PM +0000, Biju Das wrote:
> 
> > -----Original Message-----
> > From: Simon Horman [mailto:horms@verge.net.au]
> > Sent: 24 August 2017 11:47
> > To: Chris Paterson <Chris.Paterson2@renesas.com>
> > Cc: Rob Herring <robh+dt@kernel.org>; Mark Rutland
> > <mark.rutland@arm.com>; Magnus Damm <magnus.damm@gmail.com>;
> > Russell King <linux@armlinux.org.uk>; Biju Das <biju.das@bp.renesas.com>;
> > devicetree@vger.kernel.org; linux-renesas-soc@vger.kernel.org; linux-arm-
> > kernel@lists.infradead.org
> > Subject: Re: [PATCH v2] ARM: dts: iwg20d-q7: Add RTC support
> >
> > On Wed, Aug 16, 2017 at 10:16:30AM +0100, Chris Paterson wrote:
> > > From: Biju Das <biju.das@bp.renesas.com>
> > >
> > > Define the iWave RainboW-G20D-Qseven board dependent part of the RTC
> > > device node.
> > >
> > > Signed-off-by: Biju Das <biju.das@bp.renesas.com>
> > > [chris: corrected bq32000 compatible string]
> > > Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
> > > ---
> > > v1 -> v2
> > > Added ti to bq32000 compatible string - Thanks Geert
> >
> > Thanks, applied for v4.15.
> 
> Looks like i2c2_pins nodes are misplaced. Please drop this patch,
> So that I can send a new patch.

Thanks, I have dropped the patch.
diff mbox

Patch

diff --git a/arch/arm/boot/dts/r8a7743-iwg20d-q7.dts b/arch/arm/boot/dts/r8a7743-iwg20d-q7.dts
index 081af01..2c81ea7 100644
--- a/arch/arm/boot/dts/r8a7743-iwg20d-q7.dts
+++ b/arch/arm/boot/dts/r8a7743-iwg20d-q7.dts
@@ -31,6 +31,11 @@ 
 		groups = "avb_mdio", "avb_gmii";
 		function = "avb";
 	};
+
+	i2c2_pins: i2c2 {
+		groups = "i2c2";
+		function = "i2c2";
+	};
 };
 
 &scif0 {
@@ -54,3 +59,16 @@ 
 		micrel,led-mode = <1>;
 	};
 };
+
+&i2c2 {
+	pinctrl-0 = <&i2c2_pins>;
+	pinctrl-names = "default";
+
+	status = "okay";
+	clock-frequency = <400000>;
+
+	rtc@68 {
+		compatible = "ti,bq32000";
+		reg = <0x68>;
+	};
+};