All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] ARM: dts: iwg20d-q7: Add RTC support
@ 2017-08-16  9:16 ` Chris Paterson
  0 siblings, 0 replies; 10+ messages in thread
From: Chris Paterson @ 2017-08-16  9:16 UTC (permalink / raw)
  To: Rob Herring, Mark Rutland, Simon Horman
  Cc: Magnus Damm, Russell King, Biju Das,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-renesas-soc-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	Chris Paterson

From: Biju Das <biju.das-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org>

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

Signed-off-by: Biju Das <biju.das-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org>
[chris: corrected bq32000 compatible string]
Signed-off-by: Chris Paterson <chris.paterson2-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
---
v1 -> v2
Added ti to bq32000 compatible string - Thanks Geert

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

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>;
+	};
+};
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* [PATCH v2] ARM: dts: iwg20d-q7: Add RTC support
@ 2017-08-16  9:16 ` Chris Paterson
  0 siblings, 0 replies; 10+ messages in thread
From: Chris Paterson @ 2017-08-16  9:16 UTC (permalink / raw)
  To: Rob Herring, Mark Rutland, Simon Horman
  Cc: Magnus Damm, Russell King, Biju Das, devicetree,
	linux-renesas-soc, linux-arm-kernel, Chris Paterson

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(+)

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>;
+	};
+};
-- 
1.9.1

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

* [PATCH v2] ARM: dts: iwg20d-q7: Add RTC support
@ 2017-08-16  9:16 ` Chris Paterson
  0 siblings, 0 replies; 10+ messages in thread
From: Chris Paterson @ 2017-08-16  9:16 UTC (permalink / raw)
  To: linux-arm-kernel

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(+)

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 at 68 {
+		compatible = "ti,bq32000";
+		reg = <0x68>;
+	};
+};
-- 
1.9.1

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

* Re: [PATCH v2] ARM: dts: iwg20d-q7: Add RTC support
  2017-08-16  9:16 ` Chris Paterson
  (?)
@ 2017-08-24 10:47     ` Simon Horman
  -1 siblings, 0 replies; 10+ messages in thread
From: Simon Horman @ 2017-08-24 10:47 UTC (permalink / raw)
  To: Chris Paterson
  Cc: Rob Herring, Mark Rutland, Magnus Damm, Russell King, Biju Das,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-renesas-soc-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

On Wed, Aug 16, 2017 at 10:16:30AM +0100, Chris Paterson wrote:
> From: Biju Das <biju.das-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org>
> 
> Define the iWave RainboW-G20D-Qseven board dependent part of the
> RTC device node.
> 
> Signed-off-by: Biju Das <biju.das-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org>
> [chris: corrected bq32000 compatible string]
> Signed-off-by: Chris Paterson <chris.paterson2-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
> ---
> v1 -> v2
> Added ti to bq32000 compatible string - Thanks Geert

Thanks, applied for v4.15.
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH v2] ARM: dts: iwg20d-q7: Add RTC support
@ 2017-08-24 10:47     ` Simon Horman
  0 siblings, 0 replies; 10+ messages in thread
From: Simon Horman @ 2017-08-24 10:47 UTC (permalink / raw)
  To: Chris Paterson
  Cc: Rob Herring, Mark Rutland, Magnus Damm, Russell King, Biju Das,
	devicetree, linux-renesas-soc, linux-arm-kernel

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.

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

* [PATCH v2] ARM: dts: iwg20d-q7: Add RTC support
@ 2017-08-24 10:47     ` Simon Horman
  0 siblings, 0 replies; 10+ messages in thread
From: Simon Horman @ 2017-08-24 10:47 UTC (permalink / raw)
  To: linux-arm-kernel

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.

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

* RE: [PATCH v2] ARM: dts: iwg20d-q7: Add RTC support
  2017-08-24 10:47     ` Simon Horman
@ 2017-08-24 14:53       ` Biju Das
  -1 siblings, 0 replies; 10+ messages in thread
From: Biju Das @ 2017-08-24 14:53 UTC (permalink / raw)
  To: Simon Horman, Chris Paterson
  Cc: Rob Herring, Mark Rutland, Magnus Damm, Russell King, devicetree,
	linux-renesas-soc, linux-arm-kernel


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

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

* [PATCH v2] ARM: dts: iwg20d-q7: Add RTC support
@ 2017-08-24 14:53       ` Biju Das
  0 siblings, 0 replies; 10+ messages in thread
From: Biju Das @ 2017-08-24 14:53 UTC (permalink / raw)
  To: linux-arm-kernel


> -----Original Message-----
> From: Simon Horman [mailto:horms at 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 at vger.kernel.org; linux-renesas-soc at vger.kernel.org; linux-arm-
> kernel at 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.

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

* Re: [PATCH v2] ARM: dts: iwg20d-q7: Add RTC support
  2017-08-24 14:53       ` Biju Das
@ 2017-08-28  7:51         ` Simon Horman
  -1 siblings, 0 replies; 10+ messages in thread
From: Simon Horman @ 2017-08-28  7:51 UTC (permalink / raw)
  To: Biju Das
  Cc: Chris Paterson, Rob Herring, Mark Rutland, Magnus Damm,
	Russell King, devicetree, linux-renesas-soc, linux-arm-kernel

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.

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

* [PATCH v2] ARM: dts: iwg20d-q7: Add RTC support
@ 2017-08-28  7:51         ` Simon Horman
  0 siblings, 0 replies; 10+ messages in thread
From: Simon Horman @ 2017-08-28  7:51 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Aug 24, 2017 at 02:53:55PM +0000, Biju Das wrote:
> 
> > -----Original Message-----
> > From: Simon Horman [mailto:horms at 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 at vger.kernel.org; linux-renesas-soc at vger.kernel.org; linux-arm-
> > kernel at 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.

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

end of thread, other threads:[~2017-08-28  7:51 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-16  9:16 [PATCH v2] ARM: dts: iwg20d-q7: Add RTC support Chris Paterson
2017-08-16  9:16 ` Chris Paterson
2017-08-16  9:16 ` Chris Paterson
     [not found] ` <1502874990-12006-1-git-send-email-chris.paterson2-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
2017-08-24 10:47   ` Simon Horman
2017-08-24 10:47     ` Simon Horman
2017-08-24 10:47     ` Simon Horman
2017-08-24 14:53     ` Biju Das
2017-08-24 14:53       ` Biju Das
2017-08-28  7:51       ` Simon Horman
2017-08-28  7:51         ` Simon Horman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.