Thread (9 messages) 9 messages, 2 authors, 2016-09-14

[PATCH v3 2/3] clk: xgene: Add PMD clock

From: Hoan Tran <hidden>
Date: 2016-09-14 21:06:17
Also in: linux-clk, linux-devicetree, lkml

On Wed, Sep 14, 2016 at 1:55 PM, Stephen Boyd [off-list ref] wrote:
On 09/12, Hoan Tran wrote:
quoted
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 <redacted>
---
Applied to clk-next
Thanks, Stephen !

Hoan
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help