Commit 138cde66 authored by Ravi Patel's avatar Ravi Patel Committed by Jolly Shah
Browse files

zynqmp: pm: Add CLK_SET_RATE_PARENT in gem clock node



Existing implementation does not allow to change the value of the
DIV1 because DIV2 does not have SET_RATE_PARENT flag.
This causes DIV1 value to be fixed and only value of DIV2 will be
adjusted according to required clock rate.
Signed-off-by: default avatarRavi Patel <ravi.patel@xilinx.com>
Signed-off-by: default avatarJolly Shah <jolly.shah@xilinx.com>
Change-Id: Ic6c4ca091bf0c5dc91ebddf86621c82c705dc87b
parent 74cf2158
...@@ -582,7 +582,8 @@ static struct pm_clock_node gem_ref_ungated_nodes[] = { ...@@ -582,7 +582,8 @@ static struct pm_clock_node gem_ref_ungated_nodes[] = {
.type = TYPE_DIV2, .type = TYPE_DIV2,
.offset = 16, .offset = 16,
.width = 6, .width = 6,
.clkflags = CLK_SET_RATE_NO_REPARENT | CLK_IS_BASIC, .clkflags = CLK_SET_RATE_NO_REPARENT | CLK_IS_BASIC |
CLK_SET_RATE_PARENT,
.typeflags = CLK_DIVIDER_ONE_BASED | CLK_DIVIDER_ALLOW_ZERO, .typeflags = CLK_DIVIDER_ONE_BASED | CLK_DIVIDER_ALLOW_ZERO,
.mult = NA_MULT, .mult = NA_MULT,
.div = NA_DIV, .div = NA_DIV,
......
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