From: emil@limesaudio.com (Emil Lundmark)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 0/2] clk: imx: fix AV PLL rate setting
Date: Wed, 12 Oct 2016 12:31:39 +0200 [thread overview]
Message-ID: <cover.1476267249.git.emil@limesaudio.com> (raw)
Hi,
I discovered a problem when trying to set the rate of the audio PLL
(pll4_post_div) on an i.MX6Q. The rate I wanted to set was 196.608 MHz, but
the actual rate I got was 192.000570 MHz. This patch series fixes this
issue and also improves the precision of the audio/video PLLs.
Changes since v2:
- Cast result of 'parent_rate * mfn / mfd' to unsigned long instead of u32.
- Clarify how this issue was discovered in the commit message.
- Rebased on Linux 4.8.
Changes since v1:
- Use correct subsystem name in commit summary.
- Use 'Fixes:' tag to indicate bug fix.
- Revise argument for choosing the denominator register value after
comments from Lothar Wa?mann.
v2: http://lists.infradead.org/pipermail/linux-arm-kernel/2016-October/460809.html
v1: http://lists.infradead.org/pipermail/linux-arm-kernel/2016-October/460350.html
Emil Lundmark (2):
clk: imx: fix integer overflow in AV PLL round rate
clk: imx: improve precision of AV PLL to 1 Hz
drivers/clk/imx/clk-pllv3.c | 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)
--
2.7.4
next reply other threads:[~2016-10-12 10:31 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-12 10:31 Emil Lundmark [this message]
2016-10-12 10:31 ` [PATCH v3 1/2] clk: imx: fix integer overflow in AV PLL round rate Emil Lundmark
2016-10-14 13:33 ` Fabio Estevam
2016-10-28 1:41 ` Stephen Boyd
2016-10-28 11:47 ` Fabio Estevam
2016-10-28 18:13 ` Stephen Boyd
2016-10-28 19:32 ` Fabio Estevam
2016-11-02 0:07 ` Stephen Boyd
2016-10-12 10:31 ` [PATCH v3 2/2] clk: imx: improve precision of AV PLL to 1 Hz Emil Lundmark
2016-10-14 13:34 ` Fabio Estevam
2016-10-28 1:41 ` Stephen Boyd
2016-10-24 7:34 ` [PATCH v3 0/2] clk: imx: fix AV PLL rate setting Shawn Guo
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=cover.1476267249.git.emil@limesaudio.com \
--to=emil@limesaudio.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).