diff options
author | Heiko Stuebner <heiko@sntech.de> | 2019-07-16 22:11:24 +0200 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2019-08-11 11:26:41 +0200 |
commit | ea3ffd49a3ee27c6b596f991ff3b7b37f52f1d18 (patch) | |
tree | d1871ed9d6f80c2a2b49b7259de9d482e0a6f9dc | |
parent | 3a565ff7947f428a2943f8ca7941c02cc9251343 (diff) |
timer: add px30 timer variant to rockchip_timer
-rw-r--r-- | drivers/timer/rockchip_timer.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/timer/rockchip_timer.c b/drivers/timer/rockchip_timer.c index 54956e557a..d35f4d5698 100644 --- a/drivers/timer/rockchip_timer.c +++ b/drivers/timer/rockchip_timer.c @@ -16,7 +16,12 @@ DECLARE_GLOBAL_DATA_PTR; #if CONFIG_IS_ENABLED(OF_PLATDATA) struct rockchip_timer_plat { +#ifdef CONFIG_ROCKCHIP_RK3368 struct dtd_rockchip_rk3368_timer dtd; +#endif +#ifdef CONFIG_ROCKCHIP_PX30 + struct dtd_rockchip_px30_timer dtd; +#endif }; #endif @@ -151,6 +156,7 @@ static const struct timer_ops rockchip_timer_ops = { }; static const struct udevice_id rockchip_timer_ids[] = { + { .compatible = "rockchip,px30-timer" }, { .compatible = "rockchip,rk3188-timer" }, { .compatible = "rockchip,rk3288-timer" }, { .compatible = "rockchip,rk3368-timer" }, |