mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
clk: qoriq: add ls1088a hwaccel clocks support
This patch is to add hwaccel clocks information for ls1088a. Signed-off-by: Yangbo Lu <[email protected]> Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
This commit is contained in:
1 parent
d37010a3c1
commit
a932872f1b
1 file changed
+29
@@ -342,6 +342,32 @@ static const struct clockgen_muxinfo ls1046a_hwa2 = {
|
||||
},
|
||||
};
|
||||
|
||||
static const struct clockgen_muxinfo ls1088a_hwa1 = {
|
||||
{
|
||||
{},
|
||||
{ CLKSEL_VALID, CGA_PLL1, PLL_DIV1 },
|
||||
{ CLKSEL_VALID, CGA_PLL1, PLL_DIV2 },
|
||||
{ CLKSEL_VALID, CGA_PLL1, PLL_DIV3 },
|
||||
{ CLKSEL_VALID, CGA_PLL1, PLL_DIV4 },
|
||||
{},
|
||||
{ CLKSEL_VALID, CGA_PLL2, PLL_DIV2 },
|
||||
{ CLKSEL_VALID, CGA_PLL2, PLL_DIV3 },
|
||||
},
|
||||
};
|
||||
|
||||
static const struct clockgen_muxinfo ls1088a_hwa2 = {
|
||||
{
|
||||
{},
|
||||
{ CLKSEL_VALID, CGA_PLL2, PLL_DIV1 },
|
||||
{ CLKSEL_VALID, CGA_PLL2, PLL_DIV2 },
|
||||
{ CLKSEL_VALID, CGA_PLL2, PLL_DIV3 },
|
||||
{ CLKSEL_VALID, CGA_PLL2, PLL_DIV4 },
|
||||
{},
|
||||
{ CLKSEL_VALID, CGA_PLL1, PLL_DIV2 },
|
||||
{ CLKSEL_VALID, CGA_PLL1, PLL_DIV3 },
|
||||
},
|
||||
};
|
||||
|
||||
static const struct clockgen_muxinfo ls1012a_cmux = {
|
||||
{
|
||||
[0] = { CLKSEL_VALID, CGA_PLL1, PLL_DIV1 },
|
||||
@@ -607,6 +633,9 @@ static const struct clockgen_chipinfo chipinfo[] = {
|
||||
.cmux_groups = {
|
||||
&clockgen2_cmux_cga12
|
||||
},
|
||||
.hwaccel = {
|
||||
&ls1088a_hwa1, &ls1088a_hwa2
|
||||
},
|
||||
.cmux_to_group = {
|
||||
0, 0, -1
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user