HomeFreeBSD

Make Marvell AmadaXP timer driver more generic

Description

Make Marvell AmadaXP timer driver more generic

Store pointers to SoC specific functions in mv_timer_config structure
and determine proper config in runtime based on compatible string from FDT.
Compatible string for ArmadaXP timers is changed to match Linux FDT.
Armada 38x uses generic Cortex-A9 timer and separate watchdog drivers, so
it does not need to be supported by timer driver.

Submitted by: Rafal Kozik <rk@semihalf.com>
Reviewed by: manu
Obtained from: Semihalf
Sponsored by: Stormshield
Differential Revision: https://reviews.freebsd.org/D14741

Details

Provenance
mwAuthored on
Reviewer
manu
Differential Revision
D14741: Make Marvell AmadaXP timer driver more generic
Parents
rS331960: Make Marvell Armada watchdog driver more generic
Branches
Unknown
Tags
Unknown