Home
last modified time | relevance | path

Searched +full:s32g2 +full:- +full:stm (Results 1 – 2 of 2) sorted by relevance

/linux/Documentation/devicetree/bindings/timer/
H A Dnxp,s32g2-stm.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/timer/nxp,s32g2-stm.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: NXP System Timer Module (STM)
10 - Daniel Lezcano <daniel.lezcano@kernel.org>
14 software timing functions. STM includes a 32-bit count-up timer and four
15 32-bit compare channels with a separate interrupt source for each channel.
16 The timer is driven by the STM module clock divided by an 8-bit prescale
22 - const: nxp,s32g2-stm
[all …]
/linux/drivers/clocksource/
H A Dtimer-nxp-stm.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Copyright 2018,2021-2025 NXP
8 * STM supports commonly required system and application software
9 * timing functions. STM includes a 32-bit count-up timer and four
10 * 32-bit compare channels with a separate interrupt source for each
11 * channel. The timer is driven by the STM module clock divided by an
12 * 8-bit prescale value (1 to 256). It has ability to stop the timer
94 return readl(STM_CNT(stm_sched_clock->base)); in nxp_stm_read_sched_clock()
99 return readl(STM_CNT(stm_timer->base)); in nxp_stm_clocksource_getcnt()
104 writel(cnt, STM_CNT(stm_timer->base)); in nxp_stm_clocksource_setcnt()
[all …]