summaryrefslogtreecommitdiff
path: root/drivers/timer/rockchip_timer.c
diff options
context:
space:
mode:
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2018-04-25 14:07:06 +0200
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2018-04-25 22:20:05 +0200
commite0e1d3f98c78926b7dcff19244377ae1c545bab5 (patch)
treee1c9748406a58139bb4891ced64fa5de24ea260d /drivers/timer/rockchip_timer.c
parent82a8e6c614ce50fc8313d1f8637f1552e1559c90 (diff)
rockchip: timer: add compatible strings for rk3188 and rk3288
The DM driver for ockchip timer blocks is also applicable to the RK3188 and RK3288 timer blocks: add 'rockchip,rk3188-timer' and 'rockchip,rk3288-timer' to its compatible list to support devices claiming compatibility with these. Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Diffstat (limited to 'drivers/timer/rockchip_timer.c')
-rw-r--r--drivers/timer/rockchip_timer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/timer/rockchip_timer.c b/drivers/timer/rockchip_timer.c
index 07d14482d6..b847bc40c4 100644
--- a/drivers/timer/rockchip_timer.c
+++ b/drivers/timer/rockchip_timer.c
@@ -152,6 +152,8 @@ static const struct timer_ops rockchip_timer_ops = {
};
static const struct udevice_id rockchip_timer_ids[] = {
+ { .compatible = "rockchip,rk3188-timer" },
+ { .compatible = "rockchip,rk3288-timer" },
{ .compatible = "rockchip,rk3368-timer" },
{}
};