aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorVladimir Zapolskiy <[email protected]>2016-10-07 04:16:55 +0300
committerStephen Boyd <[email protected]>2016-11-01 17:29:39 -0700
commitf84d42a9cffc4ecd96f1ce3a038f841782142eb2 (patch)
tree9b5d46f343ebc2fbc874071b7bb34916144f3663 /tools/perf/scripts/python
parent4154f61997e154a278155676fc9638c20c52ca81 (diff)
clk: lpc32xx: add a quirk for PWM and MS clock dividers
In common clock framework CLK_DIVIDER_ONE_BASED or'ed with CLK_DIVIDER_ALLOW_ZERO flags indicates that 1) a divider clock may be set to zero value, 2) divider's zero value is interpreted as a non-divided clock. On the LPC32xx platform clock dividers of PWM and memory card clocks comply with the first condition, but zero value means a gated clock, thus it may happen that the divider value is not updated when the clock is enabled and the clock remains gated. The change adds one-shot quirks, which check for zero value of divider on initialization and set it to a non-zero value, therefore in runtime a gate clock will work as expected. Signed-off-by: Vladimir Zapolskiy <[email protected]> Reviewed-by: Sylvain Lemieux <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions