u-boot-brain/drivers
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
..
adc - sync amlogic GX & AXG DT to Linux 5.10 2021-01-13 07:32:02 -05:00
ata dm: core: Access device ofnode through functions 2021-01-05 12:24:41 -07:00
axi dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
bios_emulator common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
block dm: treewide: Rename dev_get_platdata() to dev_get_plat() 2020-12-13 16:51:09 -07:00
bootcount dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
bus bus: ti: am33xx: add pwm subsystem driver 2021-01-12 10:58:05 +05:30
button dm: treewide: Rename 'platdata' variables to just 'plat' 2020-12-13 16:51:08 -07:00
cache dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
clk clk: aspeed: Add AST2600 clock support 2021-01-18 15:14:56 -05:00
core dm: core: add function uclass_probe_all() to probe all devices 2021-01-16 14:49:09 -05:00
cpu dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
crypto dm: Rename U_BOOT_DEVICE() to U_BOOT_DRVINFO() 2021-01-05 12:26:35 -07:00
ddr Driver model: make some udevice fields private 2021-01-05 22:34:43 -05:00
demo dm: Rename U_BOOT_DEVICE() to U_BOOT_DRVINFO() 2021-01-05 12:26:35 -07:00
dfu dfu_mtd: Add provision to unlock mtd device 2020-12-31 14:41:31 +01:00
dma dma: bcm6348: incorrect buffer allocation 2021-01-18 15:23:06 -05:00
fastboot disk: dos: rename write_mbr_partition to write_mbr_sector 2021-01-15 14:38:00 -05:00
firmware dm: Rename DM_GET_DRIVER() to DM_DRIVER_GET() 2021-01-05 12:26:35 -07:00
fpga arm: socfpga: soc64: Add ATF support for FPGA reconfig driver 2021-01-15 17:48:37 +08:00
gpio gpio: stm32-gpio: migrate trace to dev and log macro 2021-01-13 09:52:58 +01:00
hwspinlock hwspinlock: stm32: migrate trace to log macro 2021-01-13 09:52:58 +01:00
i2c i2c: stm32f7_i2c: migrate trace to dev and log macro 2021-01-13 09:52:58 +01:00
input dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
led dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
mailbox mailbox: stm32-ipcc: migrate trace to dev and log macro 2021-01-13 09:52:58 +01:00
memory memory: stm32-fmc2: migrate trace to dev and log macro 2021-01-13 09:52:58 +01:00
misc misc: rcc: keep the rcc device name for subnode 2021-01-13 09:52:58 +01:00
mmc mmc: fsl_esdhc_spl: remove superfluous free() 2021-01-18 15:23:06 -05:00
mtd mtd: remove drivers/mtd/mw_eeprom.c 2021-01-18 15:23:06 -05:00
mux dm: Use access methods for dev/uclass private data 2021-01-05 12:24:40 -07:00
net net: macb: Add phy address to read it from device tree 2021-01-18 11:06:38 +08:00
nvme Prepare v2021.01-rc5 2021-01-05 16:20:26 -05:00
pch dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
pci common: board_r: Drop initr_pci wrapper 2021-01-15 14:36:12 -05:00
pci_endpoint common: board_r: Drop initr_pci_ep wrapper 2021-01-15 14:36:12 -05:00
phy phy: stm32-usbphyc: migrate trace to dev and log macro 2021-01-13 09:52:58 +01:00
pinctrl pinctrl: mediatek: correct error handling 2021-01-18 15:23:06 -05:00
power power: pmic: add driver for Monolithic Power mp5416 2021-01-18 15:23:06 -05:00
pwm dm: fix build errors generated by last merges 2021-01-15 13:12:38 -05:00
qe drivers: qe: avoid double free() 2021-01-18 15:23:06 -05:00
ram ram: aspeed: Add AST2600 DRAM control support 2021-01-18 15:19:15 -05:00
remoteproc remoproc: stm32: migrate trace to log macro 2021-01-13 09:52:58 +01:00
reset reset: aspeed: Add AST2600 reset support 2021-01-18 15:23:06 -05:00
rng dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
rtc rtc: stm32: migrate trace to log macro 2021-01-13 09:52:58 +01:00
scsi dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
serial drivers: serial: probe all uart devices 2021-01-16 14:49:09 -05:00
smem soc: qualcomm: Fix not calling dev_err with a device 2020-09-30 08:53:43 -04:00
soc dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
sound dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
spi dm: fix build errors generated by last merges 2021-01-15 13:12:38 -05:00
spmi dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
sysinfo dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
sysreset aspeed: Add AST2600 platform support 2021-01-18 15:23:06 -05:00
tee dm: core: Access device ofnode through functions 2021-01-05 12:24:41 -07:00
thermal dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
timer timer: mtk_timer: initialize the timer before use 2021-01-18 15:23:06 -05:00
tpm dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
ufs dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
usb Driver model: make some udevice fields private 2021-01-05 22:34:43 -05:00
video Kconfig: simple panel requires backlight 2021-01-16 11:58:49 -05:00
virtio dm: Avoid accessing seq directly 2020-12-18 20:32:21 -07:00
w1 dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
w1-eeprom dm: treewide: Rename 'platdata' variables to just 'plat' 2020-12-13 16:51:08 -07:00
watchdog wdt: aspeed: Add AST2600 watchdog support 2021-01-18 15:23:05 -05:00
xen common: board_r: Drop initr_xen wrapper 2021-01-15 14:36:12 -05:00
Kconfig board: Rename uclass to sysinfo 2020-11-06 10:18:20 +08:00
Makefile board: Rename uclass to sysinfo 2020-11-06 10:18:20 +08:00