From: Gabriel FERNANDEZ Date: Tue, 15 Jul 2014 15:20:23 +0000 (+0200) Subject: clk: st: STiH407: Support for A9 MUX Clocks X-Git-Tag: v3.17-rc1~145^2~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=13e6f2da1ddf61582eb1f54f7d8e3ba9f16f12a9;p=platform%2Fkernel%2Flinux-exynos.git clk: st: STiH407: Support for A9 MUX Clocks The patch supports the A9-mux clocks used by ClockGenA9 Signed-off-by: Gabriel Fernandez Signed-off-by: Olivier Bideau Acked-by: Peter Griffin Signed-off-by: Mike Turquette --- diff --git a/drivers/clk/st/clkgen-mux.c b/drivers/clk/st/clkgen-mux.c index a329906..9bdedc8 100644 --- a/drivers/clk/st/clkgen-mux.c +++ b/drivers/clk/st/clkgen-mux.c @@ -580,6 +580,11 @@ static struct clkgen_mux_data stih416_a9_mux_data = { .shift = 0, .width = 2, }; +static struct clkgen_mux_data stih407_a9_mux_data = { + .offset = 0x1a4, + .shift = 1, + .width = 2, +}; static struct of_device_id mux_of_match[] = { { @@ -610,6 +615,10 @@ static struct of_device_id mux_of_match[] = { .compatible = "st,stih416-clkgen-a9-mux", .data = &stih416_a9_mux_data, }, + { + .compatible = "st,stih407-clkgen-a9-mux", + .data = &stih407_a9_mux_data, + }, {} };