commit | 1a85b50bef13b44016c206272785a746adae7833 | [log] [tgz] |
---|---|---|
author | Hoan Tran <hotran@apm.com> | Mon Sep 12 11:23:24 2016 -0700 |
committer | Stephen Boyd <sboyd@codeaurora.org> | Wed Sep 14 13:54:35 2016 -0700 |
tree | 7495fc987a795c2132b11d88592e402a874cb634 | |
parent | 405f27be6182362e343c25ae6ec2b2933919ef30 [diff] |
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>