Thread (23 messages) 23 messages, 6 authors, 2013-12-18

[PATCH 2/5] arm: shmobile: r7s72100: add i2c clocks

flat view

From: Sergei Shtylyov <hidden>
Date: 2013-12-18 11:38:19
Also in: linux-i2c, linux-sh

Hello.

On 18-12-2013 1:44, Wolfram Sang wrote:
From: Wolfram Sang <redacted>
Tested with RIIC2 on a genmai board. Others untested but hopefully
trivial enough to be added.
Signed-off-by: Wolfram Sang <redacted>
Acked-by: Magnus Damm <redacted>
---
  arch/arm/mach-shmobile/clock-r7s72100.c | 12 +++++++++++-
  1 file changed, 11 insertions(+), 1 deletion(-)
quoted hunk ↗ jump to hunk
diff --git a/arch/arm/mach-shmobile/clock-r7s72100.c b/arch/arm/mach-shmobile/clock-r7s72100.c
index 7b457ae..770316d 100644
--- a/arch/arm/mach-shmobile/clock-r7s72100.c
+++ b/arch/arm/mach-shmobile/clock-r7s72100.c
[...]
quoted hunk ↗ jump to hunk
@@ -173,6 +179,10 @@ static struct clk_lookup lookups[] = {
  	CLKDEV_CON_ID("mtu2_fck", &mstp_clks[MSTP33]),

  	/* ICK */
+	CLKDEV_DEV_ID("fcfee000.i2c", &mstp_clks[MSTP97]),
+	CLKDEV_DEV_ID("fcfee400.i2c", &mstp_clks[MSTP96]),
+	CLKDEV_DEV_ID("fcfee800.i2c", &mstp_clks[MSTP95]),
+	CLKDEV_DEV_ID("fcfeec00.i2c", &mstp_clks[MSTP94]),
    These belong to some other place, the group marked by /* ICK */ is only 
for CLKDEV_ICK_ID().
  	CLKDEV_ICK_ID("sci_fck", "sh-sci.0", &mstp_clks[MSTP47]),
  	CLKDEV_ICK_ID("sci_fck", "sh-sci.1", &mstp_clks[MSTP46]),
  	CLKDEV_ICK_ID("sci_fck", "sh-sci.2", &mstp_clks[MSTP45]),
WBR, Sergei
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help