android_kernel_oneplus_msm8998/drivers/clk/mvebu
Richard Genoud b7b4411c89 clk: mvebu: armada-38x: add support for missing clocks
commit 6a4a4595804548e173f0763a0e7274a3521c59a9 upstream.

Clearfog boards can come with a CPU clocked at 1600MHz (commercial)
or 1333MHz (industrial).

They have also some dip-switches to select a different clock (666, 800,
1066, 1200).

The funny thing is that the recovery button is on the MPP34 fq selector.
So, when booting an industrial board with this button down, the frequency
666MHz is selected (and the kernel didn't boot).

This patch add all the missing clocks.

The only mode I didn't test is 2GHz (uboot found 4294MHz instead :/ ).

Fixes: 0e85aeced4 ("clk: mvebu: add clock support for Armada 380/385")
Cc: <stable@vger.kernel.org> # 3.16.x: 9593f4f56cf5: clk: mvebu: armada-38x: add support for 1866MHz variants
Cc: <stable@vger.kernel.org> # 3.16.x

Signed-off-by: Richard Genoud <richard.genoud@gmail.com>
Acked-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-04-24 09:32:08 +02:00
..
armada-38x.c clk: mvebu: armada-38x: add support for missing clocks 2018-04-24 09:32:08 +02:00
armada-39x.c clk: mvebu: add Marvell Armada 39x driver 2015-03-04 15:18:53 +01:00
armada-370.c clk: mvebu: flag the crypto clk as CLK_IGNORE_UNUSED 2015-06-18 13:51:45 -07:00
armada-375.c clk: mvebu: armada-375: Fix the description of the SAR in the comment 2014-09-09 15:15:22 +00:00
armada-xp.c clk: mvebu: armada-xp: maintain clock init order 2014-02-06 18:06:50 +00:00
clk-corediv.c clk: mvebu: Support Armada 380 SoC on the core divider clock 2014-03-13 23:24:23 +00:00
clk-cpu.c clk: mvebu: Use of_clk_get_parent_name() 2015-10-16 16:35:43 -07:00
common.c clk: Remove unneeded semicolons 2015-09-17 11:15:14 -07:00
common.h clk: mvebu: extend common code to allow an optional refclk 2015-03-04 15:18:48 +01:00
dove.c clk: mvebu: dove: maintain clock init order 2014-02-06 18:06:52 +00:00
Kconfig clk: mvebu: add Marvell Armada 39x driver 2015-03-04 15:18:53 +01:00
kirkwood.c cpufreq: kirkwood: use the powersave multiplexer 2014-09-02 15:02:54 -07:00
Makefile clk: mvebu: add Marvell Armada 39x driver 2015-03-04 15:18:53 +01:00
orion.c clk: mvebu: add Orion5x clock driver 2014-04-26 01:03:55 +00:00