summary refs log tree commit diff
path: root/drivers/clk/bcm
diff options
context:
space:
mode:
authorHoan Tran <hotran@apm.com>2016-09-12 11:23:24 -0700
committerStephen Boyd <sboyd@codeaurora.org>2016-09-14 13:54:35 -0700
commit1a85b50bef13b44016c206272785a746adae7833 (patch)
tree7495fc987a795c2132b11d88592e402a874cb634 /drivers/clk/bcm
parent405f27be6182362e343c25ae6ec2b2933919ef30 (diff)
downloadlinux-1a85b50bef13b44016c206272785a746adae7833.tar.gz
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: Hoan Tran <hotran@apm.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/bcm')
0 files changed, 0 insertions, 0 deletions