Home
last modified time | relevance | path

Searched +full:meson6 +full:- +full:wdt (Results 1 – 2 of 2) sorted by relevance

/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 …]