clocksource: rockchip: add dynamic irq flag to the timer
authorHuang, Tao <huangtao@rock-chips.com>
Wed, 18 May 2016 10:22:31 +0000 (18:22 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Thu, 19 May 2016 10:29:58 +0000 (18:29 +0800)
commitfb50410985e6f6874dcfe6e3f12b4bccd5d0335b
tree6bddc371d5b8a45db879ed947b7cd1a14c1b98c0
parentc380160aeae8b786868bd8483b9c1c9f22d15b61
clocksource: rockchip: add dynamic irq flag to the timer

The rockchip timer is broadcast timer. Add CLOCK_EVT_FEAT_DYNIRQ
flag and set cpumask to all cpu to save power by avoid unnecessary
wakeups and IPIs.

Change-Id: Ie257972a4a42f6807aed22df695d8b3a4d715045
Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
drivers/clocksource/rockchip_timer.c