qemu/hw/timer
Jean-Christophe Dubois 66542f6399 i.MX: split the GPT timer implementation into per SOC definitions
In various Freescale SOCs, the GPT timers can be configured to select
its input clock.

Depending on the SOC the set of available input clocks may vary.

The actual single GPT definition was no good enough and because of it
booting the sabrelite board with a i.MX6DL device tree would fail
because of an incorrect input clock definition for the i.MX6DL SOC.

This patch fixes the i.MX6DL boot failure by adding the ability to
define a different set of input clocks depending on the considered SOC.

A different class has been defined for i.MX25, i.MX31 and i.MX6 each with
its specific set of input clocks.

The patch has been tested by booting KZM, i.MX25 PDK, i.MX6Q sabrelite
and i.MX6DL sabrelite.

Signed-off-by: Jean-Christophe Dubois <jcd@tribudubois.net>
Message-id: 1467325619-8374-1-git-send-email-jcd@tribudubois.net
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
[PMM: fixed spacing round '/' operator]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2016-07-07 13:47:01 +01:00
..
a9gtimer.c Fix some typos found by codespell 2016-05-18 15:04:27 +03:00
allwinner-a10-pit.c hw: explicitly include qemu/log.h 2016-05-19 16:42:29 +02:00
arm_mptimer.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
arm_timer.c hw: explicitly include qemu/log.h 2016-05-19 16:42:29 +02:00
aspeed_timer.c hw/timer: Add value matching support to aspeed_timer 2016-06-17 15:23:51 +01:00
cadence_ttc.c arm: Clean up includes 2016-01-29 15:07:23 +00:00
digic-timer.c hw: explicitly include qemu/log.h 2016-05-19 16:42:29 +02:00
ds1338.c util: move declarations out of qemu-common.h 2016-03-22 22:20:17 +01:00
etraxfs_timer.c hw/timer: Clean up includes 2016-01-29 15:07:24 +00:00
exynos4210_mct.c hw/timer: QOM'ify exynos4210_mct 2016-02-18 14:50:50 +00:00
exynos4210_pwm.c hw/timer: QOM'ify exynos4210_pwm 2016-02-18 14:50:50 +00:00
exynos4210_rtc.c util: move declarations out of qemu-common.h 2016-03-22 22:20:17 +01:00
grlib_gptimer.c sparc: Clean up includes 2016-01-29 15:07:22 +00:00
hpet.c hw/timer: Revert "hpet: inverse polarity when pin above ISA_NUM_IRQS" 2016-04-08 00:07:43 +02:00
i8254_common.c Replaced get_tick_per_sec() by NANOSECONDS_PER_SECOND 2016-03-22 22:20:17 +01:00
i8254.c Replaced get_tick_per_sec() by NANOSECONDS_PER_SECOND 2016-03-22 22:20:17 +01:00
imx_epit.c hw: explicitly include qemu/log.h 2016-05-19 16:42:29 +02:00
imx_gpt.c i.MX: split the GPT timer implementation into per SOC definitions 2016-07-07 13:47:01 +01:00
lm32_timer.c hw/timer: QOM'ify lm32_timer 2016-06-20 18:09:53 +02:00
m48t59.c util: move declarations out of qemu-common.h 2016-03-22 22:20:17 +01:00
Makefile.objs hw/timer: Add ASPEED timer device model 2016-03-16 17:42:18 +00:00
mc146818rtc.c MC146818 RTC: add GPIO access to output IRQ 2016-06-29 14:03:46 +02:00
milkymist-sysctl.c milkymist: update specification URLs 2016-06-20 18:12:04 +02:00
omap_gptimer.c The only 64bit parameter of muldiv64() is the first one. 2016-06-07 18:02:49 +03:00
omap_synctimer.c Replaced get_tick_per_sec() by NANOSECONDS_PER_SECOND 2016-03-22 22:20:17 +01:00
pl031.c hw: explicitly include qemu/log.h 2016-05-19 16:42:29 +02:00
puv3_ost.c unicore: Clean up includes 2016-01-29 15:07:22 +00:00
pxa2xx_timer.c Replaced get_tick_per_sec() by NANOSECONDS_PER_SECOND 2016-03-22 22:20:17 +01:00
sh_timer.c hw/timer: Clean up includes 2016-01-29 15:07:24 +00:00
slavio_timer.c hw/timer: Clean up includes 2016-01-29 15:07:24 +00:00
stm32f2xx_timer.c hw: explicitly include qemu/log.h 2016-05-19 16:42:29 +02:00
trace-events trace: split out trace events for hw/timer/ directory 2016-06-20 17:22:16 +01:00
twl92230.c util: move declarations out of qemu-common.h 2016-03-22 22:20:17 +01:00
xilinx_timer.c hw/timer: Clean up includes 2016-01-29 15:07:24 +00:00