Home
last modified time | relevance | path

Searched +full:meson6 +full:- +full:timer (Results 1 – 6 of 6) sorted by relevance

/linux/Documentation/devicetree/bindings/timer/
H A Damlogic,meson6-timer.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/timer/amlogic,meson6-timer.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Amlogic Meson6 SoCs Timer Controller
10 - Neil Armstrong <neil.armstrong@linaro.org>
11 - Martin Blumenstingl <martin.blumenstingl@googlemail.com>
15 const: amlogic,meson6-timer
22 description: per-timer event interrupts
27 clock-names:
[all …]
/linux/drivers/clocksource/
H A Dtimer-meson6.c1 // SPDX-License-Identifier: GPL-2.0
3 * Amlogic Meson6 SoCs timer handling.
117 meson6_clkevt_time_setup(USEC_PER_SEC / HZ - 1); in meson6_set_periodic()
148 evt->event_handler(evt); in meson6_timer_interrupt()
158 timer_base = of_io_request_and_map(node, 0, "meson6-timer"); in meson6_timer_init()
161 return -ENXIO; in meson6_timer_init()
167 return -EINVAL; in meson6_timer_init()
170 /* Set 1us for timer E */ in meson6_timer_init()
178 clocksource_mmio_init(timer_base + MESON_ISA_TIMERE, node->name, in meson6_timer_init()
181 /* Timer A base 1us */ in meson6_timer_init()
[all …]
/linux/arch/arm/boot/dts/amlogic/
H A Dmeson.dtsi1 // SPDX-License-Identifier: GPL-2.0 OR MIT
6 #include <dt-bindings/interrupt-controller/irq.h>
7 #include <dt-bindings/interrupt-controller/arm-gic.h>
8 #include <dt-bindings/sound/meson-aiu.h>
11 #address-cells = <1>;
12 #size-cells = <1>;
13 interrupt-parent = <&gic>;
15 iio-hwmon {
16 compatible = "iio-hwmon";
17 io-channels = <&saradc 8>;
[all …]
/linux/Documentation/devicetree/bindings/watchdog/
H A Damlogic,meson6-wdt.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/watchdog/amlogic,meson6-wdt.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Amlogic Meson6 SoCs Watchdog timer
10 - Neil Armstrong <neil.armstrong@linaro.org>
11 - Martin Blumenstingl <martin.blumenstingl@googlemail.com>
14 - $ref: watchdog.yaml#
19 - enum:
20 - amlogic,meson6-wdt
[all …]
/linux/drivers/watchdog/
H A Dmeson_wdt.c1 // SPDX-License-Identifier: GPL-2.0-or-later
67 tc_reboot |= meson_wdt->data->enable; in meson_wdt_restart()
70 writel(tc_reboot, meson_wdt->wdt_base + MESON_WDT_TC); in meson_wdt_restart()
81 writel(0, meson_wdt->wdt_base + MESON_WDT_RESET); in meson_wdt_ping()
92 reg = readl(meson_wdt->wdt_base + MESON_WDT_TC); in meson_wdt_change_timeout()
93 reg &= ~meson_wdt->data->terminal_count_mask; in meson_wdt_change_timeout()
94 reg |= MESON_SEC_TO_TC(timeout, meson_wdt->data->count_unit); in meson_wdt_change_timeout()
95 writel(reg, meson_wdt->wdt_base + MESON_WDT_TC); in meson_wdt_change_timeout()
101 wdt_dev->timeout = timeout; in meson_wdt_set_timeout()
114 reg = readl(meson_wdt->wdt_base + MESON_WDT_TC); in meson_wdt_stop()
[all …]
/linux/drivers/rtc/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
44 This clock should be battery-backed, so that it reads the correct
45 time when the system boots from a power-off state. Otherwise, your
141 once-per-second update interrupts, used for synchronization.
159 will be called rtc-test.
173 will be called rtc-88pm860x.
183 will be called rtc-88pm80x.
193 will be called rtc-88pm886.
197 tristate "Abracon AB-RTCMC-32.768kHz-B5ZE-S3"
200 AB-RTCMC-32.768kHz-B5ZE-S3 I2C RTC chip.
[all …]