1
0
Fork 0
remarkable-linux/drivers/clk/mvebu
Richard Genoud 37d8947c0b clk: mvebu: armada-38x: add support for missing clocks
commit 6a4a459580 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:36:33 +02:00
..
Kconfig clk: mvebu: Add the xtal clock for Armada 3700 SoC 2016-08-15 14:07:04 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ap806-system-controller.c clk: mvebu: ap806: introduce a new binding 2017-06-01 12:03:21 +09:00
armada-37xx-periph.c clk: mvebu: armada-37xx-periph: Fix the clock gate flag 2016-10-17 15:35:10 -07:00
armada-37xx-tbg.c clk: mvebu Add the time base generator clocks for Armada 3700 2016-08-15 14:10:20 -07:00
armada-37xx-xtal.c clk: mvebu: Add the xtal clock for Armada 3700 SoC 2016-08-15 14:07:04 -07:00
armada-38x.c clk: mvebu: armada-38x: add support for missing clocks 2018-04-24 09:36:33 +02:00
armada-39x.c clk: mvebu: armada-39x: add clk description for supported interfaces 2016-08-12 18:20:01 -07: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: Expand mv98dx3236-core-clock support 2017-02-10 09:21:30 -08:00
clk-corediv.c clk: mvebu: support for 98DX3236 SoC 2017-01-27 10:48:03 -08:00
clk-cpu.c clk: mvebu: Use kcalloc() in of_cpu_clk_setup() 2017-04-21 19:49:13 -07:00
common.c clk: mvebu: Use kcalloc() in two functions 2017-04-21 19:49:34 -07:00
common.h clk: mvebu: extend common code to allow an optional refclk 2015-03-04 15:18:48 +01:00
cp110-system-controller.c clk: mvebu: cp110: Minor cleanups 2017-06-19 17:14:11 -07:00
dove-divider.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
dove-divider.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
dove.c clk: add Dove PLL divider support for GPU, VMeta and AXI clocks 2015-12-22 12:25:00 -08:00
kirkwood.c clk: move the common clock's to_clk_*(_hw) macros to clk-provider.h 2016-01-29 12:59:50 -08:00
mv98dx3236.c clk: mvebu: Expand mv98dx3236-core-clock support 2017-02-10 09:21:30 -08:00
orion.c clk: mvebu: Add clk support for the orion5x SoC mv88f5181 2016-09-21 11:49:09 +02:00