ARM: mach-shmobile: AG5EVM/Kota2 external Ethernet fix
Magnus Damm
maintainerPATCH RESEND 1/1 ARM: mach-shmobile: AG5EVM/Kota2 external Ethernet fix
From: Magnus Damm <[email protected]>
Keep the ZB clock enabled on sh73a0 to allow the BSC to access external peripherals hooked up to CS signals.
This is needed to unbreak Ethernet support on sh73a0 boards such as AG5EVM and Kota2 together with the following patch:
794d78f drivers: sh: late disabling of clocks V2
Signed-off-by Magnus Damm <[email protected]>
---
Rafael, since this patch is Runtime PM clock related, can you please merge this with your other 3.1-rc fixes?
Without this patch sh73a0-based boards cannot use Ethernet.
arch/arm/mach-shmobile/clock-sh73a0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-shmobile/clock-sh73a0.c +1 -1
@@ -243,7 +243,7 @@ static struct clk div6_clks[DIV6_NR] = { [DIV6_VCK1] = SH_CLK_DIV6(&pll1_div2_clk, VCLKCR1, 0), [DIV6_VCK2] = SH_CLK_DIV6(&pll1_div2_clk, VCLKCR2, 0), [DIV6_VCK3] = SH_CLK_DIV6(&pll1_div2_clk, VCLKCR3, 0), - [DIV6_ZB1] = SH_CLK_DIV6(&pll1_div2_clk, ZBCKCR, 0), + [DIV6_ZB1] = SH_CLK_DIV6(&pll1_div2_clk, ZBCKCR, CLK_ENABLE_ON_INIT), [DIV6_FLCTL] = SH_CLK_DIV6(&pll1_div2_clk, FLCKCR, 0), [DIV6_SDHI0] = SH_CLK_DIV6(&pll1_div2_clk, SD0CKCR, 0), [DIV6_SDHI1] = SH_CLK_DIV6(&pll1_div2_clk, SD1CKCR, 0),