[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160914205541.GB7243@codeaurora.org>
Date: Wed, 14 Sep 2016 13:55:41 -0700
From: Stephen Boyd <sboyd@...eaurora.org>
To: Hoan Tran <hotran@....com>
Cc: Michael Turquette <mturquette@...libre.com>,
Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>, linux-clk@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, lho@....com,
Duc Dang <dhdang@....com>
Subject: Re: [PATCH v3 2/3] clk: xgene: Add PMD clock
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@....com>
> ---
Applied to clk-next
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
Powered by blists - more mailing lists