diff options
author | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> | 2018-02-23 17:36:41 +0100 |
---|---|---|
committer | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> | 2018-02-24 18:50:03 +0100 |
commit | 434d5a00a4578f826e7e2cef29bf2388dd760a88 (patch) | |
tree | 2676e14d21acabc36c2b16d5bee8a874b33f15f9 /arch/arm/mach-rockchip/rk3368/clk_rk3368.c | |
parent | 33554fcec99b7c8b57e004fdf18588ce21d85e68 (diff) |
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 f4fcba5c5baa ("clk: implement clk_set_defaults()")
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tested-by: Klaus Goger <klaus.goger@theobroma-systems.com>
Diffstat (limited to 'arch/arm/mach-rockchip/rk3368/clk_rk3368.c')
0 files changed, 0 insertions, 0 deletions