u-boot/drivers/timer
Weijie Gao 63779b2407 timer: mtk_timer: initialize the timer before use
The timer being used by this driver may have already been used by first
stage bootloader (e.g. ATF/preloader), and it's settings may differ from
what this driver is going to use.

This may cause issues, such as inaccurate timer frequency due to
incorrect clock divider.

This patch adds the initialization code to avoid them.

Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
2021-01-18 15:23:06 -05:00
..
ag101p_timer.c dm: Use access methods for dev/uclass private data 2021-01-05 12:24:40 -07:00
altera_timer.c dm: Use access methods for dev/uclass private data 2021-01-05 12:24:40 -07:00
andes_plmt_timer.c riscv: timer: Add support for an early timer 2021-01-18 11:06:32 +08:00
arc_timer.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
ast_timer.c dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
atcpit100_timer.c dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
atmel_pit_timer.c dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
cadence-ttc.c dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
dw-apb-timer.c dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
Kconfig timer: Add _TIMER suffix to Andes PLMT Kconfig 2020-10-26 10:01:28 +08:00
Makefile riscv: Move timer portions of SiFive CLINT to drivers/timer 2020-10-26 10:01:28 +08:00
mchp-pit64b-timer.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
mpc83xx_timer.c dm: Use access methods for dev/uclass private data 2021-01-05 12:24:40 -07:00
mtk_timer.c timer: mtk_timer: initialize the timer before use 2021-01-18 15:23:06 -05:00
nomadik-mtu-timer.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
omap-timer.c omap: timer: fix the rate setting 2021-01-12 10:58:05 +05:30
ostm_timer.c dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
riscv_timer.c riscv: timer: Add support for an early timer 2021-01-18 11:06:32 +08:00
rockchip_timer.c dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
sandbox_timer.c dm: Rename U_BOOT_DEVICE() to U_BOOT_DRVINFO() 2021-01-05 12:26:35 -07:00
sifive_clint_timer.c riscv: timer: Add support for an early timer 2021-01-18 11:06:32 +08:00
sti-timer.c Prepare v2021.01-rc5 2021-01-05 16:20:26 -05:00
stm32_timer.c timer: stm32: migrate trace to log macro 2021-01-13 09:52:58 +01:00
timer-uclass.c dm: core: Use dev_has_ofnode() instead of dev_of_valid() 2021-01-05 12:24:41 -07:00
tsc_timer.c x86: apl: Reduce size for TPL 2021-01-05 12:24:41 -07:00