summaryrefslogtreecommitdiff
path: root/drivers/clocksource/clksrc_st_lpc.c
AgeCommit message (Collapse)AuthorFilesLines
2015-07-23clocksource: sti: Provide 'use timer as sched clock' capabilityLee Jones1-0/+8
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
2015-07-23clocksource: sti: Provide support for the ST LPC Clocksource IPLee Jones1-0/+123
This IP is shared with Watchdog and RTC functionality. All 3 of these devices are mutually exclusive from one another i.e. Only 1 IP can be used at any given time. We use the device-driver model combined with a DT 'mode' property to enforce this. The ST LPC Clocksource IP can be used as the system (tick) timer. Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>