Home
last modified time | relevance | path

Searched +full:npcm750 +full:- +full:timer (Results 1 – 11 of 11) sorted by relevance

/linux-6.12.1/Documentation/devicetree/bindings/timer/
Dnuvoton,npcm7xx-timer.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/timer/nuvoton,npcm7xx-timer.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Nuvoton NPCM7xx timer
10 - Jonathan Neuschäfer <j.neuschaefer@gmx.net>
11 - Tomer Maimon <tmaimon77@gmail.com>
16 - nuvoton,wpcm450-timer # for Hermon WPCM450
17 - nuvoton,npcm750-timer # for Poleg NPCM750
18 - nuvoton,npcm845-timer # for Arbel NPCM845
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/watchdog/
Dnuvoton,npcm-wdt.txt3 Nuvoton NPCM timer module provides five 24-bit timer counters, and a watchdog.
4 The watchdog supports a pre-timeout interrupt that fires 10ms before the
8 - compatible : "nuvoton,npcm750-wdt" for NPCM750 (Poleg), or
9 "nuvoton,wpcm450-wdt" for WPCM450 (Hermon), or
10 "nuvoton,npcm845-wdt" for NPCM845 (Arbel).
11 - reg : Offset and length of the register set for the device.
12 - interrupts : Contain the timer interrupt with flags for
16 - clocks : phandle of timer reference clock.
17 - clock-frequency : The frequency in Hz of the clock that drives the NPCM7xx
18 timer (usually 25000000).
[all …]
/linux-6.12.1/arch/arm64/boot/dts/nuvoton/
Dnuvoton-common-npcm8xx.dtsi1 // SPDX-License-Identifier: GPL-2.0
4 #include <dt-bindings/clock/nuvoton,npcm845-clk.h>
5 #include <dt-bindings/interrupt-controller/arm-gic.h>
6 #include <dt-bindings/interrupt-controller/irq.h>
9 #address-cells = <2>;
10 #size-cells = <2>;
11 interrupt-parent = <&gic>;
14 #address-cells = <2>;
15 #size-cells = <2>;
16 compatible = "simple-bus";
[all …]
/linux-6.12.1/arch/arm/boot/dts/nuvoton/
Dnuvoton-common-npcm7xx.dtsi1 // SPDX-License-Identifier: GPL-2.0
5 #include <dt-bindings/interrupt-controller/arm-gic.h>
6 #include <dt-bindings/clock/nuvoton,npcm7xx-clock.h>
7 #include <dt-bindings/reset/nuvoton,npcm7xx-reset.h>
10 #address-cells = <1>;
11 #size-cells = <1>;
12 interrupt-parent = <&gic>;
16 compatible = "fixed-clock";
17 #clock-cells = <0>;
18 clock-frequency = <25000000>;
[all …]
Dnuvoton-npcm730.dtsi1 // SPDX-License-Identifier: GPL-2.0
4 #include "nuvoton-common-npcm7xx.dtsi"
7 #address-cells = <1>;
8 #size-cells = <1>;
9 interrupt-parent = <&gic>;
12 #address-cells = <1>;
13 #size-cells = <0>;
14 enable-method = "nuvoton,npcm750-smp";
18 compatible = "arm,cortex-a9";
20 clock-names = "clk_cpu";
[all …]
Dnuvoton-npcm750.dtsi1 // SPDX-License-Identifier: GPL-2.0
5 #include "nuvoton-common-npcm7xx.dtsi"
8 #address-cells = <1>;
9 #size-cells = <1>;
10 interrupt-parent = <&gic>;
13 #address-cells = <1>;
14 #size-cells = <0>;
15 enable-method = "nuvoton,npcm750-smp";
19 compatible = "arm,cortex-a9";
21 clock-names = "clk_cpu";
[all …]
/linux-6.12.1/drivers/clocksource/
Dtimer-npcm7xx.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2014-2018 Nuvoton Technologies tomer.maimon@nuvoton.com
19 #include "timer-of.h"
22 #define NPCM7XX_REG_TCSR0 0x0 /* Timer 0 Control and Status Register */
23 #define NPCM7XX_REG_TICR0 0x8 /* Timer 0 Initial Count Register */
24 #define NPCM7XX_REG_TCSR1 0x4 /* Timer 1 Control and Status Register */
25 #define NPCM7XX_REG_TICR1 0xc /* Timer 1 Initial Count Register */
26 #define NPCM7XX_REG_TDR1 0x14 /* Timer 1 Data Register */
27 #define NPCM7XX_REG_TISR 0x18 /* Timer Interrupt Status Register */
129 evt->event_handler(evt); in npcm7xx_timer0_interrupt()
[all …]
/linux-6.12.1/drivers/clk/
Dclk-npcm7xx.c1 // SPDX-License-Identifier: GPL-2.0
11 #include <linux/clk-provider.h>
20 #include <dt-bindings/clock/nuvoton,npcm7xx-clock.h>
51 val = readl_relaxed(pll->pllcon); in npcm7xx_clk_pll_recalc_rate()
79 return ERR_PTR(-ENOMEM); in npcm7xx_clk_register_pll()
89 pll->pllcon = pllcon; in npcm7xx_clk_register_pll()
90 pll->hw.init = &init; in npcm7xx_clk_register_pll()
92 hw = &pll->hw; in npcm7xx_clk_register_pll()
142 * defined in include/dt-bindings/clock/nuvoton, NPCM7XX-clock.h for
143 * this specific clock. Otherwise, set to -1.
[all …]
/linux-6.12.1/drivers/watchdog/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
8 bool "Watchdog Timer Support"
16 on-line as fast as possible after a lock-up. There's both a watchdog
21 <file:Documentation/watchdog/watchdog-api.rst> in the kernel source.
34 tristate "WatchDog Timer Driver Core"
36 Say Y here if you want to use the new watchdog timer driver core.
37 This driver provides a framework for all watchdog timer drivers
45 to stop the timer if the process managing it closes the file
51 bool "Update boot-enabled watchdog until userspace takes over"
77 bool "Enable watchdog hrtimer-based pretimeouts"
[all …]
/linux-6.12.1/drivers/hwmon/
Dnpcm750-pwm-fan.c1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (c) 2014-2018 Nuvoton Technology corporation.
7 #include <linux/hwmon-sysfs.h>
150 * 320RPM/pulse 2, ...-- 10.6Hz)
154 #define NPCM7XX_FAN_TCPA (NPCM7XX_FAN_TCNT - NPCM7XX_FAN_TIMEOUT)
155 #define NPCM7XX_FAN_TCPB (NPCM7XX_FAN_TCNT - NPCM7XX_FAN_TIMEOUT)
224 mutex_lock(&data->pwm_lock[module]); in npcm7xx_pwm_config_set()
227 iowrite32(val, NPCM7XX_PWM_REG_CMRx(data->pwm_base, module, pwm_ch)); in npcm7xx_pwm_config_set()
228 tmp_buf = ioread32(NPCM7XX_PWM_REG_CR(data->pwm_base, module)); in npcm7xx_pwm_config_set()
248 mutex_unlock(&data->pwm_lock[module]); in npcm7xx_pwm_config_set()
[all …]
/linux-6.12.1/drivers/media/platform/nuvoton/
Dnpcm-video.c1 // SPDX-License-Identifier: GPL-2.0-only
15 #include <linux/dma-mapping.h>
30 #include <linux/v4l2-controls.h>
32 #include <media/v4l2-ctrls.h>
33 #include <media/v4l2-dev.h>
34 #include <media/v4l2-device.h>
35 #include <media/v4l2-dv-timings.h>
36 #include <media/v4l2-event.h>
37 #include <media/v4l2-ioctl.h>
38 #include <media/videobuf2-dma-contig.h>
[all …]