From: Stephen Boyd <sboyd@codeaurora.org>
To: Hoan Tran <hotran@apm.com>
Cc: Michael Turquette <mturquette@baylibre.com>,
Rob Herring <robh+dt@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
linux-clk@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, lho@apm.com,
Duc Dang <dhdang@apm.com>
Subject: Re: [PATCH v3 2/3] clk: xgene: Add PMD clock
Date: Wed, 14 Sep 2016 13:55:41 -0700 [thread overview]
Message-ID: <20160914205541.GB7243@codeaurora.org> (raw)
In-Reply-To: <1473704605-28126-3-git-send-email-hotran@apm.com>
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
WARNING: multiple messages have this Message-ID (diff)
From: sboyd@codeaurora.org (Stephen Boyd)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 2/3] clk: xgene: Add PMD clock
Date: Wed, 14 Sep 2016 13:55:41 -0700 [thread overview]
Message-ID: <20160914205541.GB7243@codeaurora.org> (raw)
In-Reply-To: <1473704605-28126-3-git-send-email-hotran@apm.com>
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
next prev parent reply other threads:[~2016-09-14 20:55 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-12 18:23 [PATCH v3 0/3] clk: xgene: Add PMD clock support Hoan Tran
2016-09-12 18:23 ` Hoan Tran
2016-09-12 18:23 ` Hoan Tran
2016-09-12 18:23 ` [PATCH v3 1/3] Documentation: dtb: xgene: Add PMD clock binding Hoan Tran
2016-09-12 18:23 ` Hoan Tran
2016-09-14 20:55 ` Stephen Boyd
2016-09-14 20:55 ` Stephen Boyd
2016-09-14 20:55 ` Stephen Boyd
2016-09-12 18:23 ` [PATCH v3 2/3] clk: xgene: Add PMD clock Hoan Tran
2016-09-12 18:23 ` Hoan Tran
2016-09-12 18:23 ` Hoan Tran
2016-09-14 20:55 ` Stephen Boyd [this message]
2016-09-14 20:55 ` Stephen Boyd
2016-09-14 21:06 ` Hoan Tran
2016-09-14 21:06 ` Hoan Tran
2016-09-12 18:23 ` [PATCH v3 3/3] arm64: dts: xgene: Add DT node for APM X-Gene 2 CPU clocks Hoan Tran
2016-09-12 18:23 ` Hoan Tran
2016-09-14 20:55 ` Stephen Boyd
2016-09-14 20:55 ` Stephen Boyd
2016-09-14 21:05 ` Hoan Tran
2016-09-14 21:05 ` Hoan Tran
2016-09-14 21:05 ` Hoan Tran
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160914205541.GB7243@codeaurora.org \
--to=sboyd@codeaurora.org \
--cc=devicetree@vger.kernel.org \
--cc=dhdang@apm.com \
--cc=hotran@apm.com \
--cc=lho@apm.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=mturquette@baylibre.com \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.