Home
last modified time | relevance | path

Searched +full:lpc3220 +full:- +full:timer (Results 1 – 2 of 2) sorted by relevance

/linux/Documentation/devicetree/bindings/timer/
H A Dnxp,lpc3220-timer.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/timer/nxp,lpc3220-timer.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: NXP LPC3220 timer
10 - Animesh Agarwal <animeshagarwal28@gmail.com>
13 The NXP LPC3220 timer is used on a wide range of NXP SoCs. This includes
18 const: nxp,lpc3220-timer
29 clock-names:
36 - compatible
[all …]
/linux/drivers/clocksource/
H A Dtimer-lpc32xx.c1 // SPDX-License-Identifier: GPL-2.0
3 * Clocksource driver for NXP LPC32xx/18xx/43xx timer
8 * time-efm32 Copyright (C) 2013 Pengutronix
9 * mach-lpc32xx/timer.c Copyright (C) 2009 - 2010 NXP Semiconductors
70 * Place timer in reset and program the delta in the match in lpc32xx_clkevt_next_event()
71 * channel 0 (MR0). When the timer counter matches the value in lpc32xx_clkevt_next_event()
73 * After setup the timer is released from reset and enabled. in lpc32xx_clkevt_next_event()
75 writel_relaxed(LPC32XX_TIMER_TCR_CRST, ddata->base + LPC32XX_TIMER_TCR); in lpc32xx_clkevt_next_event()
76 writel_relaxed(delta, ddata->base + LPC32XX_TIMER_MR0); in lpc32xx_clkevt_next_event()
77 writel_relaxed(LPC32XX_TIMER_TCR_CEN, ddata->base + LPC32XX_TIMER_TCR); in lpc32xx_clkevt_next_event()
[all …]