SUPERH platform development
 help / color / mirror / Atom feed
* [RFC] ARM: shmobile: koelsch: activate i2c6 bus
@ 2014-02-23 12:43 Wolfram Sang
  2014-02-23 19:26 ` Laurent Pinchart
  0 siblings, 1 reply; 2+ messages in thread
From: Wolfram Sang @ 2014-02-23 12:43 UTC (permalink / raw)
  To: linux-sh

From: Wolfram Sang <wsa@sang-engineering.com>

Signed-off-by: Wolfram Sang <wsa@sang-engineering.com>
---

I used this patch to test my IIC(B) enablement patches. With i2ctools,  I could
scan this bus and read registers from the connected pmic. Actually, I don't think
we should expose this bus unless really needed, but maybe you think different?

 arch/arm/boot/dts/r8a7791-koelsch.dts | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7791-koelsch.dts b/arch/arm/boot/dts/r8a7791-koelsch.dts
index e6ca0e0..4557f8e 100644
--- a/arch/arm/boot/dts/r8a7791-koelsch.dts
+++ b/arch/arm/boot/dts/r8a7791-koelsch.dts
@@ -122,6 +122,11 @@
 	};
 };
 
+&i2c6 {
+	status = "okay";
+	clock-frequency = <100000>;
+};
+
 &pfc {
 	pinctrl-0 = <&du_pins &scif0_pins &scif1_pins>;
 	pinctrl-names = "default";
-- 
1.8.5.1


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

end of thread, other threads:[~2014-02-23 19:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-23 12:43 [RFC] ARM: shmobile: koelsch: activate i2c6 bus Wolfram Sang
2014-02-23 19:26 ` Laurent Pinchart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox