projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b116517
)
clk: st: STiH407: Support for A9 MUX Clocks
author
Gabriel FERNANDEZ
<
[email protected]
>
Tue, 15 Jul 2014 15:20:23 +0000
(17:20 +0200)
committer
Mike Turquette
<
[email protected]
>
Tue, 29 Jul 2014 05:36:29 +0000
(22:36 -0700)
The patch supports the A9-mux clocks used by ClockGenA9
Signed-off-by: Gabriel Fernandez <
[email protected]
>
Signed-off-by: Olivier Bideau <
[email protected]
>
Acked-by: Peter Griffin <
[email protected]
>
Signed-off-by: Mike Turquette <
[email protected]
>
drivers/clk/st/clkgen-mux.c
patch
|
blob
|
history
diff --git
a/drivers/clk/st/clkgen-mux.c
b/drivers/clk/st/clkgen-mux.c
index a329906d1e816287883727641ddb2635e61e7a02..9bdedc8ed82a1444f31a4146b400ddd387d66ce5 100644
(file)
--- 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,
+ },
{}
};