]> git.sur5r.net Git - u-boot/commitdiff
rockchip: timer: add compatible strings for rk3188 and rk3288
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Wed, 25 Apr 2018 12:07:06 +0000 (14:07 +0200)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Wed, 25 Apr 2018 20:20:05 +0000 (22:20 +0200)
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>
drivers/timer/rockchip_timer.c

index 07d14482d68c0fa6daaa996bb2e11d5a0a0ace9e..b847bc40c4ec937a771b6d8f3b778dd15f5cd334 100644 (file)
@@ -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" },
        {}
 };