From: hotran@apm.com (Hoan Tran)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 0/3] clk: xgene: Add PMD clock support
Date: Fri, 2 Sep 2016 17:40:52 -0700 [thread overview]
Message-ID: <1472863255-32337-1-git-send-email-hotran@apm.com> (raw)
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 = value of register field
For example, for bitmask is 0x7, denominator will be 8 and scale
will be computed and programmed accordingly.
v2
* Imply clock shift and width by the compatible string as Rob's comments
v1
* Initial
Hoan Tran (3):
Documentation: dtb: xgene: Add PMD clock binding
clk: xgene: Add PMD clock
arm64: dts: xgene: Add DT node for APM X-Gene 2 CPU clocks
Documentation/devicetree/bindings/clock/xgene.txt | 18 ++
arch/arm64/boot/dts/apm/apm-shadowcat.dtsi | 56 ++++++
drivers/clk/clk-xgene.c | 221 ++++++++++++++++++++++
3 files changed, 295 insertions(+)
--
1.9.1
next reply other threads:[~2016-09-03 0:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-03 0:40 Hoan Tran [this message]
2016-09-03 0:40 ` [PATCH v2 1/3] Documentation: dtb: xgene: Add PMD clock binding Hoan Tran
2016-09-12 15:37 ` Rob Herring
2016-09-12 18:23 ` Hoan Tran
2016-09-03 0:40 ` [PATCH v2 2/3] clk: xgene: Add PMD clock Hoan Tran
2016-09-03 0:40 ` [PATCH v2 3/3] arm64: dts: xgene: Add DT node for APM X-Gene 2 CPU clocks 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=1472863255-32337-1-git-send-email-hotran@apm.com \
--to=hotran@apm.com \
--cc=linux-arm-kernel@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).