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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 09/12, Hoan Tran wrote:
> 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@xxxxxxx>
> ---

Applied to clk-next

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux