Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1483661

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

From Stephen Boyd <sboyd@codeaurora.org>
Newsgroups linux.kernel
Subject Re: [PATCH v3 2/3] clk: xgene: Add PMD clock
Date 2016-09-14 23:00 +0200
Message-ID <shprH-5Nt-25@gated-at.bofh.it> (permalink)
References <sgE9r-6Zj-21@gated-at.bofh.it> <sgE9s-6Zj-41@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@apm.com>
> ---

Applied to clk-next

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v3 0/3] clk: xgene: Add PMD clock support Hoan Tran <hotran@apm.com> - 2016-09-12 20:30 +0200
  [PATCH v3 2/3] clk: xgene: Add PMD clock Hoan Tran <hotran@apm.com> - 2016-09-12 20:30 +0200
    Re: [PATCH v3 2/3] clk: xgene: Add PMD clock Stephen Boyd <sboyd@codeaurora.org> - 2016-09-14 23:00 +0200
      Re: [PATCH v3 2/3] clk: xgene: Add PMD clock Hoan Tran <hotran@apm.com> - 2016-09-14 23:10 +0200

csiph-web