linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] clk: sunxi-ng: Fix div/mult settings for osc12M on A64
@ 2017-03-15 11:23 Philipp Tomsich
  2017-03-20  8:58 ` Maxime Ripard
  0 siblings, 1 reply; 2+ messages in thread
From: Philipp Tomsich @ 2017-03-15 11:23 UTC (permalink / raw)
  To: linux-arm-kernel

The mult/div for osc12M was previously backwards (giving a 48M rate
for osc12M). Fix it.

X-AffectedPlatforms: A64-uQ7
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tested-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>

Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
---

 drivers/clk/sunxi-ng/ccu-sun50i-a64.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/sunxi-ng/ccu-sun50i-a64.c b/drivers/clk/sunxi-ng/ccu-sun50i-a64.c
index e3c084c..f54114c 100644
--- a/drivers/clk/sunxi-ng/ccu-sun50i-a64.c
+++ b/drivers/clk/sunxi-ng/ccu-sun50i-a64.c
@@ -566,7 +566,7 @@ static SUNXI_CCU_M_WITH_GATE(gpu_clk, "gpu", "pll-gpu",
 			     0x1a0, 0, 3, BIT(31), CLK_SET_RATE_PARENT);
 
 /* Fixed Factor clocks */
-static CLK_FIXED_FACTOR(osc12M_clk, "osc12M", "osc24M", 1, 2, 0);
+static CLK_FIXED_FACTOR(osc12M_clk, "osc12M", "osc24M", 2, 1, 0);
 
 /* We hardcode the divider to 4 for now */
 static CLK_FIXED_FACTOR(pll_audio_clk, "pll-audio",
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] clk: sunxi-ng: Fix div/mult settings for osc12M on A64
  2017-03-15 11:23 [PATCH] clk: sunxi-ng: Fix div/mult settings for osc12M on A64 Philipp Tomsich
@ 2017-03-20  8:58 ` Maxime Ripard
  0 siblings, 0 replies; 2+ messages in thread
From: Maxime Ripard @ 2017-03-20  8:58 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, Mar 15, 2017 at 12:23:58PM +0100, Philipp Tomsich wrote:
> The mult/div for osc12M was previously backwards (giving a 48M rate
> for osc12M). Fix it.
> 
> X-AffectedPlatforms: A64-uQ7
> Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
> Tested-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
> 
> Cc: Maxime Ripard <maxime.ripard@free-electrons.com>

I dropped your extra tag, and queued it for 4.11, thanks!
Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20170320/67e3347c/attachment-0001.sig>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-03-20  8:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-15 11:23 [PATCH] clk: sunxi-ng: Fix div/mult settings for osc12M on A64 Philipp Tomsich
2017-03-20  8:58 ` Maxime Ripard

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).