clocksource/drivers/rockchip: Add the dynamic irq flag to the timer
authorHuang, Tao <huangtao@rock-chips.com>
Thu, 16 Jun 2016 13:57:53 +0000 (15:57 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 28 Jun 2016 08:17:07 +0000 (10:17 +0200)
commit716897d90f2bb1b732c45ddcc1f2f4651a06a9f6
tree02d0bc53d62123bc3a1cc328410e067e7f2b9934
parent85889876ca37d67c20d14e444b111c0b81744b3e
clocksource/drivers/rockchip: Add the dynamic irq flag to the timer

The rockchip timer is a broadcast timer. Add the CLOCK_EVT_FEAT_DYNIRQ flag
and set the cpumask to all possible cpus to save power by avoiding
unnecessary wakeups and IPIs.

Signed-off-by: Huang Tao <huangtao@rock-chips.com>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Heiko Stuebner <heiko@sntech.de>
Tested-by: Jianqun Xu <jay.xu@rock-chips.com>
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/rockchip_timer.c