| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Watchdog Timer Driver |
|---|
| 3 | 4 | * for ITE IT87xx Environment Control - Low Pin Count Input / Output |
|---|
| .. | .. |
|---|
| 14 | 15 | * Support of the watchdog timers, which are available on |
|---|
| 15 | 16 | * IT8607, IT8620, IT8622, IT8625, IT8628, IT8655, IT8665, IT8686, |
|---|
| 16 | 17 | * IT8702, IT8712, IT8716, IT8718, IT8720, IT8721, IT8726, IT8728, |
|---|
| 17 | | - * and IT8783. |
|---|
| 18 | | - * |
|---|
| 19 | | - * This program is free software; you can redistribute it and/or |
|---|
| 20 | | - * modify it under the terms of the GNU General Public License |
|---|
| 21 | | - * as published by the Free Software Foundation; either version |
|---|
| 22 | | - * 2 of the License, or (at your option) any later version. |
|---|
| 23 | | - * |
|---|
| 24 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 25 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 26 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 27 | | - * GNU General Public License for more details. |
|---|
| 18 | + * IT8772, IT8783 and IT8784. |
|---|
| 28 | 19 | */ |
|---|
| 29 | 20 | |
|---|
| 30 | 21 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
|---|
| .. | .. |
|---|
| 75 | 66 | #define IT8721_ID 0x8721 |
|---|
| 76 | 67 | #define IT8726_ID 0x8726 /* the data sheet suggest wrongly 0x8716 */ |
|---|
| 77 | 68 | #define IT8728_ID 0x8728 |
|---|
| 69 | +#define IT8772_ID 0x8772 |
|---|
| 78 | 70 | #define IT8783_ID 0x8783 |
|---|
| 71 | +#define IT8784_ID 0x8784 |
|---|
| 72 | +#define IT8786_ID 0x8786 |
|---|
| 79 | 73 | |
|---|
| 80 | 74 | /* GPIO Configuration Registers LDN=0x07 */ |
|---|
| 81 | 75 | #define WDTCTRL 0x71 |
|---|
| .. | .. |
|---|
| 302 | 296 | case IT8720_ID: |
|---|
| 303 | 297 | case IT8721_ID: |
|---|
| 304 | 298 | case IT8728_ID: |
|---|
| 299 | + case IT8772_ID: |
|---|
| 305 | 300 | case IT8783_ID: |
|---|
| 301 | + case IT8784_ID: |
|---|
| 302 | + case IT8786_ID: |
|---|
| 306 | 303 | max_units = 65535; |
|---|
| 307 | 304 | break; |
|---|
| 308 | 305 | case IT8705_ID: |
|---|