]> git.dujemihanovic.xyz Git - u-boot.git/commit
rockchip: rv1108: add ofdata_to_platdata() method for driver
authorKever Yang <kever.yang@rock-chips.com>
Tue, 24 Apr 2018 03:27:08 +0000 (11:27 +0800)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Wed, 25 Apr 2018 20:20:07 +0000 (22:20 +0200)
commitc877ef3ac163259b0098acaac15f878aca0c9673
tree4f5a417ebc4c5862272678300208d008a23e46c3
parentd2e938d993074ebd989b20901590be7d4f79bf85
rockchip: rv1108: 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_rv1108.c