Home
last modified time | relevance | path

Searched +full:ftm +full:- +full:evt +full:- +full:counter +full:- +full:en (Results 1 – 2 of 2) sorted by relevance

/linux/Documentation/devicetree/bindings/timer/
H A Dfsl,ftm-timer.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/timer/fsl,ftm-timer.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Freescale FlexTimer Module (FTM) Timer
10 - Animesh Agarwal <animeshagarwal28@gmail.com>
14 const: fsl,ftm-timer
18 - description: clock event device
19 - description: clock source device
26 contain an entry for each entry in clock-names.
[all …]
/linux/drivers/clocksource/
H A Dtimer-fsl-ftm.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Freescale FlexTimer Module (FTM) timer driver.
18 #include <linux/fsl/ftm.h>
34 if (priv->big_endian) in ftm_readl()
42 if (priv->big_endian) in ftm_writel()
52 /* select and enable counter clock source */ in ftm_counter_enable()
55 val |= priv->ps | FTM_SC_CLK(1); in ftm_counter_enable()
63 /* disable counter clock source */ in ftm_counter_disable()
99 * The CNT register contains the FTM counter value. in ftm_reset_counter()
101 * updates the counter with its initial value, CNTIN. in ftm_reset_counter()
[all …]