]> git.baikalelectronics.ru Git - kernel.git/commit
clk: shmobile: rcar-gen2: Fix qspi divisor
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 7 Jan 2014 16:47:53 +0000 (17:47 +0100)
committerMike Turquette <mturquette@linaro.org>
Wed, 19 Feb 2014 05:41:03 +0000 (21:41 -0800)
commit5cfa0799351273947a9571fc55451e085998dcf0
tree81968568188367467a70de0f3bbe9b9a49b9a3a0
parent4358fc9ef7bc9b0c0fd04ae238846b0df783a0a3
clk: shmobile: rcar-gen2: Fix qspi divisor

The qspi clock divisor is incorrectly set to twice the value it should
have, possibly because it has been computed based on PLL1 as the clock
parent instead of PLL1 / 2 (the datasheets specifies the qspi nominal
frequencies, not the divisor values). Fix it.

Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tested-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/shmobile/clk-rcar-gen2.c