]> git.dujemihanovic.xyz Git - u-boot.git/commit
rockchip: timer: add OF_PLATDATA support for dw-apb-timer
authorJohan Jonker <jbx6244@gmail.com>
Sat, 9 Apr 2022 16:55:06 +0000 (18:55 +0200)
committerKever Yang <kever.yang@rock-chips.com>
Mon, 18 Apr 2022 03:25:13 +0000 (11:25 +0800)
commit516e216a788f62d6638e69632d97bc5798d29f1c
treeb4e8ed6089d6cbf5beac9d1f9e8546b5bae3bf83
parent30a7b824aa5a2774bf320c20f1d460aea2a56db0
rockchip: timer: add OF_PLATDATA support for dw-apb-timer

The Rockchip rk3066 SoC has 3 dw-apb-timer nodes.
U-boot is compiled with OF_PLATDATA TPL/SPL options,
so add OF_PLATDATA support for the dw-apb-timer.
Also change driver name to be able to compile with
U-boot scripts. No reset OF_PLATDATA support was added,
because the rk3066 nodes don't need/have them.

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
drivers/timer/dw-apb-timer.c