u-boot-brain/drivers/clk
Alper Nebi Yasak eb89025013 rockchip: rk3399: Init clocks in U-Boot proper if SPL was not run
It's possible to chainload U-Boot proper from the vendor firmware in
rk3399 chromebooks, but the way the vendor firmware sets up clocks is
somehow different than what U-Boot expects. This causes the display to
stay devoid of content even though vidconsole claims to work (with
patches in process of being upstreamed).

This is meant to be a rk3399 version of commit d3cb46aa8c ("rockchip:
Init clocks again when chain-loading") which can detect the discrepancy,
but this patch instead checks whether SPL (and therefore the clock init)
was run via the handoff functionality and runs the init if it was not.

Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Kever Yang<kever.yang@rock-chips.com>
2020-11-13 18:15:08 +08:00
..
altera clk: agilex: Additional membus writes for HPS PLL 2020-10-09 17:53:10 +08:00
analogbits clk: sifive: Sync-up WRPLL library with upstream Linux 2019-07-19 14:24:51 +08:00
aspeed clock:aspeed: Sync with Linux kernel clock header define 2020-09-09 16:57:35 -04:00
at91 clk: at91: sama7g5: add 5th divisor for mck0 layout and characteristics 2020-10-19 09:19:53 +03:00
exynos treewide: convert devfdt_get_addr() to dev_read_addr() 2020-07-25 14:46:57 -06:00
imx clk: imx6: Add definition for IMX6QDL_CLK_ENET_REF clock 2020-08-24 11:03:26 +02:00
intel x86: remove dead code in intel_clk_get_rate() 2020-03-05 18:19:40 +08:00
kendryte clk: kendryte: no need to check argument of free() 2020-10-26 09:27:13 +08:00
mediatek clk: mt7622: add needed clocks for ssusb-node 2020-08-24 14:11:31 -04:00
meson common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
mtmips clk: add clock driver for MediaTek MT76x8 platform 2019-10-25 17:20:44 +02:00
mvebu common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
owl clk: actions: Add Ethernet clocks 2020-07-07 16:09:22 -04:00
renesas clk: renesas: Import R8A774C0 clock tables from Linux 5.9 2020-10-20 12:56:52 +02:00
rockchip rockchip: rk3399: Init clocks in U-Boot proper if SPL was not run 2020-11-13 18:15:08 +08:00
sifive clk: sifive: Include device_compat.h 2020-10-15 18:36:55 -04:00
sunxi common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
tegra common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
uniphier treewide: convert devfdt_get_addr() to dev_read_addr() 2020-07-25 14:46:57 -06:00
clk_bcm6345.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
clk_boston.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
clk_fixed_factor.c dm: core: Require users of devres to include the header 2020-02-05 19:33:46 -07:00
clk_fixed_rate.c dm: test: Add a test for of-platdata phandles 2020-10-29 14:42:18 -06:00
clk_octeon.c clk: clk_octeon: Add simple MIPS Octeon clock driver 2020-08-03 21:11:41 +02:00
clk_pic32.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
clk_sandbox_ccf.c clk: set flags in the ccf registration routines 2020-08-24 11:03:26 +02:00
clk_sandbox_test.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
clk_sandbox.c dm: test: Add a test for of-platdata phandles 2020-10-29 14:42:18 -06:00
clk_scmi.c clk: add clock driver for SCMI agents 2020-09-30 11:55:23 -04:00
clk_stm32f.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
clk_stm32h7.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
clk_stm32mp1.c arm: stm32mp: add weak function to save vddcore 2020-07-07 16:01:23 +02:00
clk_versal.c clk: versal: Move pm_query_id out of clock driver 2020-08-20 10:57:46 +02:00
clk_vexpress_osc.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
clk_zynq.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
clk_zynqmp.c xilinx: drivers: Use '_' instead of '-' in driver name 2020-09-23 10:31:40 +02:00
clk-cdce9xx.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
clk-composite.c clk: set flags in the ccf registration routines 2020-08-24 11:03:26 +02:00
clk-divider.c clk: set flags in the ccf registration routines 2020-08-24 11:03:26 +02:00
clk-fixed-factor.c clk: set flags in the ccf registration routines 2020-08-24 11:03:26 +02:00
clk-gate.c clk: set flags in the ccf registration routines 2020-08-24 11:03:26 +02:00
clk-hsdk-cgu.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
clk-mux.c clk: ccf: replace the get_rate helper 2020-10-22 11:26:14 -04:00
clk-ti-sci.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
clk-uclass.c dm: Use driver_info index instead of pointer 2020-10-29 14:42:18 -06:00
clk.c clk: check hw and hw->dev before dereference it 2020-09-22 11:27:18 +03:00
ics8n3qv01.c clk: ICS8N3QV01 remove superfluous code 2020-08-24 11:03:26 +02:00
Kconfig clk: add clock driver for SCMI agents 2020-09-30 11:55:23 -04:00
Makefile clk: add clock driver for SCMI agents 2020-09-30 11:55:23 -04:00
mpc83xx_clk.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
mpc83xx_clk.h common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00