u-boot-brain/drivers/clk
Philipp Tomsich 434d5a00a4 rockchip: clk: rk3399: handle set_rate/get_rate for PLL_PPLL
The device-tree node for the PMU clk controller assigns to its parent
(i.e. PLL_PPLL) even though this clock currently is set up statically
by an init-function.

In order to avoid unexpected failures, a simple implementation of
set_rate (which accepts requests, but notifies the caller of the
preset frequency in its return value) and get_rate (which always
returns the preset frequency) are added.

Note that this is required for the RK808 PMIC to probe successfully on
the RK3399-Q7, following the support for the assigned-clocks property.

References: commit f4fcba5c5b ("clk: implement clk_set_defaults()")
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tested-by: Klaus Goger <klaus.goger@theobroma-systems.com>
2018-02-24 18:50:03 +01:00
..
aspeed dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
at91 clk: at91: clk-generated: fix incorrect index of clk source 2017-11-29 22:30:50 -05:00
exynos dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
renesas clk: rmobile: Assure SD-IF clock are configured correctly 2018-02-16 16:43:09 +01:00
rockchip rockchip: clk: rk3399: handle set_rate/get_rate for PLL_PPLL 2018-02-24 18:50:03 +01:00
tegra clock: implement a driver for the Tegra CAR 2016-09-27 09:11:02 -07:00
uniphier clk: uniphier: add NAND controller clock 2017-10-15 22:32:25 +09:00
clk_bcm6345.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
clk_boston.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
clk_fixed_rate.c clk: Remove superfluous gd declarations 2018-01-21 10:01:02 -07:00
clk_pic32.c wait_bit: use wait_for_bit_le32 and remove wait_for_bit 2018-01-24 12:03:43 +05:30
clk_sandbox_test.c clk: convert API to match reset/mailbox style 2016-06-19 17:05:55 -06:00
clk_sandbox.c clk: sandbox: don't check clk ID against 0 2016-06-24 17:24:35 -04:00
clk_stm32f.c clk: clk_stm32: Add .set_rate callback 2018-01-29 12:48:33 -05:00
clk_stm32h7.c stm32: fix STMicroelectronics copyright 2017-11-06 09:51:01 -05:00
clk_zynq.c dm: clk: Update uclass to support livetree 2017-06-01 07:03:14 -06:00
clk_zynqmp.c clk: zynqmp: Remove unused macros/variables 2017-08-02 09:11:52 +02:00
clk-hsdk-cgu.c ARC: HSDK: CGU: Add 'Hz' when printing clock frequency 2018-01-19 17:59:35 +03:00
clk-uclass.c clk: implement clk_set_defaults() 2018-01-28 17:12:36 +01:00
Kconfig ARC: clk: introduce HSDK CGU clock driver 2017-12-11 11:36:23 +03:00
Makefile clk: Makefile: Sort entries alphabetically 2018-01-21 10:01:02 -07:00