Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 1a85b50b authored by Hoan Tran's avatar Hoan Tran Committed by Stephen Boyd
Browse files

clk: xgene: Add PMD clock



Add X-Gene PMD clock support.

PMD clock is implemented for a single register field.
  Output rate = parent_rate * (denominator - scale) / denominator
with
  - denominator = bitmask of register field + 1
  - scale = values of register field

For example, for bitmask is 0x7, denominator will be 8 and scale
will be computed and programmed accordingly.

Signed-off-by: default avatarHoan Tran <hotran@apm.com>
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent 405f27be
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment