Skip to contentSkip to conversation

ARM: dts: iwg20d-q7: Add RTC support

PATCH New Chris Paterson 3 participants 4 messages Aug 16, 2017 – Aug 28, 2017 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ARM: dts: iwg20d-q7: Add RTC support

From: Biju Das <[email protected]>

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

[chris: corrected bq32000 compatible string]

---
v1 -> v2
Added ti to bq32000 compatible string - Thanks Geert

 arch/arm/boot/dts/r8a7743-iwg20d-q7.dts | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
arch/arm/boot/dts/r8a7743-iwg20d-q7.dts +18 -0
index 081af01..2c81ea7 100644
@@ -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>;
+	};
+};
Signature · 1 line
1.9.1
#2 lore raw

PATCH v2 1/1 ARM: dts: iwg20d-q7: Add RTC support

Quoted 18 lines

-----Original Message-----
From: Simon Horman [mailto:horms at verge.net.au]
Sent: 24 August 2017 11:47
To: Chris Paterson <[email protected]>
Cc: Rob Herring <[email protected]>; Mark Rutland <[email protected]>; Magnus Damm <[email protected]>; Russell King <[email protected]>; Biju Das <[email protected]>; 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

Quoted 5 lines · Chris Paterson

From: Biju Das <[email protected]>

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

Quoted 8 lines
Quoted 6 lines
[chris: corrected bq32000 compatible string]

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

#3 lore raw

PATCH v2 1/1 ARM: dts: iwg20d-q7: Add RTC support

Quoted 25 lines · Biju Das
Quoted 25 lines

-----Original Message-----
From: Simon Horman [mailto:horms at verge.net.au]
Sent: 24 August 2017 11:47
To: Chris Paterson <[email protected]>
Cc: Rob Herring <[email protected]>; Mark Rutland <[email protected]>; Magnus Damm <[email protected]>; Russell King <[email protected]>; Biju Das <[email protected]>; 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

Quoted 11 lines · Chris Paterson

From: Biju Das <[email protected]>

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

[chris: corrected bq32000 compatible string]

---
v1 -> v2
Added ti to bq32000 compatible string - Thanks Geert

Quoted 4 lines
Quoted 1 line

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.