Searched +full:sysctr +full:- +full:timer (Results 1 – 4 of 4) sorted by relevance
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 ---4 $id: http://devicetree.org/schemas/timer/nxp,sysctr-timer.yaml#5 $schema: http://devicetree.org/meta-schemas/core.yaml#10 - Bai Ping <ping.bai@nxp.com>17 compare frame inside can be used for timer purpose.22 - nxp,imx95-sysctr-timer23 - nxp,sysctr-timer34 clock-names:37 nxp,no-divider:[all …]
1 // SPDX-License-Identifier: GPL-2.0+3 // Copyright 2017-2019 NXP9 #include "timer-of.h"36 struct sysctr_private *priv = to->private_data; in sysctr_timer_enable()39 writel(enable ? priv->cmpcr | SYS_CTR_EN : priv->cmpcr, base + CMPCR); in sysctr_timer_enable()55 struct sysctr_private *priv = to->private_data; in sysctr_read_counter()60 cnt_hi = readl_relaxed(base + priv->hi_off); in sysctr_read_counter()61 cnt_lo = readl_relaxed(base + priv->lo_off); in sysctr_read_counter()62 tmp_hi = readl_relaxed(base + priv->hi_off); in sysctr_read_counter()111 evt->event_handler(evt); in sysctr_timer_interrupt()[all …]
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)6 #include <dt-bindings/clock/imx8mn-clock.h>7 #include <dt-bindings/power/imx8mn-power.h>8 #include <dt-bindings/reset/imx8mq-reset.h>9 #include <dt-bindings/gpio/gpio.h>10 #include <dt-bindings/input/input.h>11 #include <dt-bindings/interrupt-controller/arm-gic.h>12 #include <dt-bindings/thermal/thermal.h>14 #include "imx8mn-pinfunc.h"17 interrupt-parent = <&gic>;[all …]
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)6 #include <dt-bindings/clock/imx8mp-clock.h>7 #include <dt-bindings/power/imx8mp-power.h>8 #include <dt-bindings/reset/imx8mp-reset.h>9 #include <dt-bindings/gpio/gpio.h>10 #include <dt-bindings/input/input.h>11 #include <dt-bindings/interconnect/fsl,imx8mp.h>12 #include <dt-bindings/interrupt-controller/arm-gic.h>13 #include <dt-bindings/thermal/thermal.h>15 #include "imx8mp-pinfunc.h"[all …]