clk: shmobile: rcar-gen2: fix lb/sd0/sd1/sdh clock parent to pll1
authorBen Dooks <ben.dooks@codethink.co.uk>
Mon, 31 Mar 2014 14:50:34 +0000 (15:50 +0100)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Wed, 4 Feb 2015 10:12:55 +0000 (11:12 +0100)
commit0a5051012d5e29c6d1f8dbaf2ed2b7e1e61c11db
treec7c1f1208e789b1b200d55822d8db3cdeca89672
parenta13bd94ee16ed898a1a2b6dec396f898dc1d9f38
clk: shmobile: rcar-gen2: fix lb/sd0/sd1/sdh clock parent to pll1

The clock generator for rcar-gen2 has the lb, sdh, sd0 and sd1 clocks
parented to pll1_div2 where the hardware diagram shows these to be
directly fed from pll1.

This fixes the initial rate for sdh0 clock to be 97.5MHz instead of
the reported 48MHz where the manual says the default register values
are for 97.5MHz.

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
(cherry picked from commit 365b01869bca1c9d5ecb05be7857739fa18a9b8c)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/clk/shmobile/clk-rcar-gen2.c