From mboxrd@z Thu Jan 1 00:00:00 1970 From: emil@limesaudio.com (Emil Lundmark) Date: Wed, 12 Oct 2016 12:31:39 +0200 Subject: [PATCH v3 0/2] clk: imx: fix AV PLL rate setting Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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