Commit 13e6f2da authored by Gabriel FERNANDEZ's avatar Gabriel FERNANDEZ Committed by Mike Turquette

clk: st: STiH407: Support for A9 MUX Clocks

The patch supports the A9-mux clocks used by ClockGenA9
Signed-off-by: default avatarGabriel Fernandez <gabriel.fernandez@linaro.org>
Signed-off-by: default avatarOlivier Bideau <olivier.bideau@st.com>
Acked-by: default avatarPeter Griffin <peter.griffin@linaro.org>
Signed-off-by: default avatarMike Turquette <mturquette@linaro.org>
parent b1165170
...@@ -580,6 +580,11 @@ static struct clkgen_mux_data stih416_a9_mux_data = { ...@@ -580,6 +580,11 @@ static struct clkgen_mux_data stih416_a9_mux_data = {
.shift = 0, .shift = 0,
.width = 2, .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[] = { static struct of_device_id mux_of_match[] = {
{ {
...@@ -610,6 +615,10 @@ 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", .compatible = "st,stih416-clkgen-a9-mux",
.data = &stih416_a9_mux_data, .data = &stih416_a9_mux_data,
}, },
{
.compatible = "st,stih407-clkgen-a9-mux",
.data = &stih407_a9_mux_data,
},
{} {}
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment