| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * VIA Chipset Watchdog Driver |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2011 Sigfox |
|---|
| 5 | | - * License terms: GNU General Public License (GPL) version 2 |
|---|
| 6 | 6 | * Author: Marc Vertes <marc.vertes@sigfox.com> |
|---|
| 7 | 7 | * Based on a preliminary version from Harald Welte <HaraldWelte@viatech.com> |
|---|
| 8 | 8 | * Timer code by Wim Van Sebroeck <wim@iguana.be> |
|---|
| .. | .. |
|---|
| 30 | 30 | #define VIA_WDT_CONF_MMIO 0x02 /* 1: enable watchdog MMIO */ |
|---|
| 31 | 31 | |
|---|
| 32 | 32 | /* |
|---|
| 33 | | - * The MMIO region contains the watchog control register and the |
|---|
| 33 | + * The MMIO region contains the watchdog control register and the |
|---|
| 34 | 34 | * hardware timer counter. |
|---|
| 35 | 35 | */ |
|---|
| 36 | 36 | #define VIA_WDT_MMIO_LEN 8 /* MMIO region length in bytes */ |
|---|
| .. | .. |
|---|
| 82 | 82 | /* |
|---|
| 83 | 83 | * Timer tick: the timer will make sure that the watchdog timer hardware |
|---|
| 84 | 84 | * is being reset in time. The conditions to do this are: |
|---|
| 85 | | - * 1) the watchog timer has been started and /dev/watchdog is open |
|---|
| 85 | + * 1) the watchdog timer has been started and /dev/watchdog is open |
|---|
| 86 | 86 | * and there is still time left before userspace should send the |
|---|
| 87 | 87 | * next heartbeat/ping. (note: the internal heartbeat is much smaller |
|---|
| 88 | 88 | * then the external/userspace heartbeat). |
|---|