[PATCH v3 5/5] clocksource: sun5i: Add clock notifiers

2015-03-05 Thread Maxime Ripard
The parent clock of the sun5i timer is the AHB clock, which rate might change because of other devices requirements. This is for example the case on the Allwinner A31, where the DMA controller needs a minimum rate higher than the default, that is enforced after the timer driver has probed. Add

[PATCH v3 5/5] clocksource: sun5i: Add clock notifiers

2015-03-05 Thread Maxime Ripard
The parent clock of the sun5i timer is the AHB clock, which rate might change because of other devices requirements. This is for example the case on the Allwinner A31, where the DMA controller needs a minimum rate higher than the default, that is enforced after the timer driver has probed. Add