Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clk: shmobile: emev2: deassert reset for IIC0/1

We have a driver now for IIC, so disable reset for them.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>

authored by

Wolfram Sang and committed by
Wolfram Sang
e1069878 1c4828f9

+6
+6
drivers/clk/shmobile/clk-emev2.c
··· 28 28 #define USIBU1_RSTCTRL 0x0ac 29 29 #define USIBU2_RSTCTRL 0x0b0 30 30 #define USIBU3_RSTCTRL 0x0b4 31 + #define IIC0_RSTCTRL 0x0dc 32 + #define IIC1_RSTCTRL 0x0e0 31 33 #define STI_RSTCTRL 0x124 32 34 #define STI_CLKSEL 0x688 33 35 ··· 68 66 emev2_smu_write(2, USIBU1_RSTCTRL); 69 67 emev2_smu_write(2, USIBU2_RSTCTRL); 70 68 emev2_smu_write(2, USIBU3_RSTCTRL); 69 + 70 + /* deassert reset for IIC0->IIC1 */ 71 + emev2_smu_write(1, IIC0_RSTCTRL); 72 + emev2_smu_write(1, IIC1_RSTCTRL); 71 73 } 72 74 73 75 static void __init emev2_smu_clkdiv_init(struct device_node *np)