]> git.sur5r.net Git - u-boot/commit
rockchip: rk3036: add ofdata_to_platdata() method for driver
authorKever Yang <kever.yang@rock-chips.com>
Tue, 24 Apr 2018 03:27:06 +0000 (11:27 +0800)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Wed, 25 Apr 2018 20:20:06 +0000 (22:20 +0200)
commitaccaaea5ccef936c9ea5f6da56d021bb717ed3b6
treeffe6c13d237d209f7f89518021191f4d50dbbb4c
parent239a25aef1251e1c7a00c067caeb057d1fed63b9
rockchip: rk3036: add ofdata_to_platdata() method for driver

Parse of data in dedicated api instead of in probe().

The clk_set_rate() may be called before the clk driver is probed,
after core support set default clock.
This patch fix system abort issue since:
f4fcba5 clk: implement clk_set_defaults()

Signed-off-by: Kever Yang <kever.yang@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_rk3036.c