]> git.sur5r.net Git - u-boot/commit
rockchip: rk3128: add ofdata_to_platdata() method for driver
authorKever Yang <kever.yang@rock-chips.com>
Tue, 24 Apr 2018 03:27:07 +0000 (11:27 +0800)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Wed, 25 Apr 2018 20:20:06 +0000 (22:20 +0200)
commitd2e938d993074ebd989b20901590be7d4f79bf85
tree4195f7e1f1765c680b22f68fc32cdc773178bd8d
parentaccaaea5ccef936c9ea5f6da56d021bb717ed3b6
rockchip: rk3128: 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-sytems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-sytems.com>
drivers/clk/rockchip/clk_rk3128.c