Mainline:Broadcom Kona/Timers: Difference between revisions

Line 138: Line 138:
** Calls <code>timers_init</code>, which 1. sets up clock rates, 2. calls <code>kona_timer_config</code> on the GP timer from the struct;
** Calls <code>timers_init</code>, which 1. sets up clock rates, 2. calls <code>kona_timer_config</code> on the GP timer from the struct;
*** Sets a callback function, <code>gptimer_interrupt_cb</code> to call on timer interrupt.
*** Sets a callback function, <code>gptimer_interrupt_cb</code> to call on timer interrupt.
Downstream driver: https://github.com/knuxdroid/android_kernel_samsung_baffinlite/blob/cm-12.1/arch/arm/plat-kona/kona_timer.c