* [PATCH 1/3] ARM: mvebu: Add support I2C controller
@ 2012-10-30 10:41 Nobuhiro Iwamatsu
2012-10-30 10:41 ` [PATCH 2/3] ARM: mvebu: Add support I2C for OpenBlockS AX3 Nobuhiro Iwamatsu
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Nobuhiro Iwamatsu @ 2012-10-30 10:41 UTC (permalink / raw)
To: linux-arm-kernel
The mvebu arch has the same I2C controller as mv64xxx-i2c.
This support mv64xxx-i2c on mvebu.
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
---
arch/arm/boot/dts/armada-370-xp.dtsi | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/arch/arm/boot/dts/armada-370-xp.dtsi b/arch/arm/boot/dts/armada-370-xp.dtsi
index d0ea4a6..5da85c2 100644
--- a/arch/arm/boot/dts/armada-370-xp.dtsi
+++ b/arch/arm/boot/dts/armada-370-xp.dtsi
@@ -83,6 +83,29 @@
interrupts = <10>;
status = "disabled";
};
+
+
+ i2c0: i2c at d0011000 {
+ compatible = "marvell,mv64xxx-i2c";
+ reg = <0xd0011000 0x20>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ interrupts = <31>;
+ timeout-ms = <1000>;
+ clocks = <&coreclk 0>;
+ status = "disabled";
+ };
+
+ i2c1: i2c at d0011100 {
+ compatible = "marvell,mv64xxx-i2c";
+ reg = <0xd0011100 0x20>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ interrupts = <32>;
+ timeout-ms = <1000>;
+ clocks = <&coreclk 0>;
+ status = "disabled";
+ };
};
};
--
1.7.10.4
^ permalink raw reply related [flat|nested] 4+ messages in thread* [PATCH 2/3] ARM: mvebu: Add support I2C for OpenBlockS AX3
2012-10-30 10:41 [PATCH 1/3] ARM: mvebu: Add support I2C controller Nobuhiro Iwamatsu
@ 2012-10-30 10:41 ` Nobuhiro Iwamatsu
2012-10-30 10:41 ` [PATCH 3/3] ARM: mvebu: Add support RTC " Nobuhiro Iwamatsu
2012-10-30 10:48 ` [PATCH 1/3] ARM: mvebu: Add support I2C controller Thomas Petazzoni
2 siblings, 0 replies; 4+ messages in thread
From: Nobuhiro Iwamatsu @ 2012-10-30 10:41 UTC (permalink / raw)
To: linux-arm-kernel
OpenBlockS AX3 uses the I2C controller on the mvebu.
This validates I2C controller and clock-frequency.
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
---
arch/arm/boot/dts/openblocks-ax3-4.dts | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/arch/arm/boot/dts/openblocks-ax3-4.dts b/arch/arm/boot/dts/openblocks-ax3-4.dts
index 7ef8052..c42b9a5 100644
--- a/arch/arm/boot/dts/openblocks-ax3-4.dts
+++ b/arch/arm/boot/dts/openblocks-ax3-4.dts
@@ -65,5 +65,15 @@
linux,default-trigger = "heartbeat";
};
};
+
+ i2c at d0011000 {
+ status = "okay";
+ clock-frequency = <400000>;
+ };
+
+ i2c at d0011100 {
+ status = "okay";
+ clock-frequency = <400000>;
+ };
};
};
--
1.7.10.4
^ permalink raw reply related [flat|nested] 4+ messages in thread* [PATCH 3/3] ARM: mvebu: Add support RTC for OpenBlockS AX3
2012-10-30 10:41 [PATCH 1/3] ARM: mvebu: Add support I2C controller Nobuhiro Iwamatsu
2012-10-30 10:41 ` [PATCH 2/3] ARM: mvebu: Add support I2C for OpenBlockS AX3 Nobuhiro Iwamatsu
@ 2012-10-30 10:41 ` Nobuhiro Iwamatsu
2012-10-30 10:48 ` [PATCH 1/3] ARM: mvebu: Add support I2C controller Thomas Petazzoni
2 siblings, 0 replies; 4+ messages in thread
From: Nobuhiro Iwamatsu @ 2012-10-30 10:41 UTC (permalink / raw)
To: linux-arm-kernel
From: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
OpenBlockS AX3 has Seiko Instruments S-35390A as RTC controller.
This validates RTC controller.
Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
---
arch/arm/boot/dts/openblocks-ax3-4.dts | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/openblocks-ax3-4.dts b/arch/arm/boot/dts/openblocks-ax3-4.dts
index c42b9a5..61c2f2c 100644
--- a/arch/arm/boot/dts/openblocks-ax3-4.dts
+++ b/arch/arm/boot/dts/openblocks-ax3-4.dts
@@ -74,6 +74,11 @@
i2c at d0011100 {
status = "okay";
clock-frequency = <400000>;
+
+ s35390a: s35390a at 30 {
+ compatible = "s35390a";
+ reg = <0x30>;
+ };
};
};
};
--
1.7.10.4
^ permalink raw reply related [flat|nested] 4+ messages in thread* [PATCH 1/3] ARM: mvebu: Add support I2C controller
2012-10-30 10:41 [PATCH 1/3] ARM: mvebu: Add support I2C controller Nobuhiro Iwamatsu
2012-10-30 10:41 ` [PATCH 2/3] ARM: mvebu: Add support I2C for OpenBlockS AX3 Nobuhiro Iwamatsu
2012-10-30 10:41 ` [PATCH 3/3] ARM: mvebu: Add support RTC " Nobuhiro Iwamatsu
@ 2012-10-30 10:48 ` Thomas Petazzoni
2 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2012-10-30 10:48 UTC (permalink / raw)
To: linux-arm-kernel
Dear Nobuhiro Iwamatsu,
On Tue, 30 Oct 2012 19:41:23 +0900, Nobuhiro Iwamatsu wrote:
> The mvebu arch has the same I2C controller as mv64xxx-i2c.
> This support mv64xxx-i2c on mvebu.
>
> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Thanks, looks good to me, but we have to wait for the Armada 370/XP
clock patch set to get merged before merging this.
I'll give it a test on the OpenBlocks hardware and report.
Best regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-10-30 10:48 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-30 10:41 [PATCH 1/3] ARM: mvebu: Add support I2C controller Nobuhiro Iwamatsu
2012-10-30 10:41 ` [PATCH 2/3] ARM: mvebu: Add support I2C for OpenBlockS AX3 Nobuhiro Iwamatsu
2012-10-30 10:41 ` [PATCH 3/3] ARM: mvebu: Add support RTC " Nobuhiro Iwamatsu
2012-10-30 10:48 ` [PATCH 1/3] ARM: mvebu: Add support I2C controller Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox