]> git.sur5r.net Git - u-boot/commit
clk: rockchip: clk_rk3288: Implement "assign-clock-parent" and "assign-clock-rate"
authorDavid Wu <david.wu@rock-chips.com>
Sat, 13 Jan 2018 06:06:33 +0000 (14:06 +0800)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Sun, 28 Jan 2018 16:12:39 +0000 (17:12 +0100)
commit01c60eafbbf613f8b29fb317f7c52be932d303d1
treecfdd2b1bf005be3e715f40b9b85a806f2ffc7cc4
parentc513e9e1e6e1ea2aa177aae3b0eb306c949dcd69
clk: rockchip: clk_rk3288: Implement "assign-clock-parent" and "assign-clock-rate"

The RK3288 CRU-node assigns rates to a number of clocks that are not
implemented in the RK3288 clock-driver (but which have been
sufficiently initialised from rkclk_init()): for these clocks, we
implement the gmac clock set parent, but simply ignore the
others' set_rate() operation and return 0 to signal success.

Signed-off-by: David Wu <david.wu@rock-chips.com>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
drivers/clk/rockchip/clk_rk3288.c
include/dt-bindings/clock/rk3288-cru.h