| 1 | /* SPDX-License-Identifier: GPL-2.0 */ | 
|---|
| 2 | /* | 
|---|
| 3 | * Platform data for the Intel TCO Watchdog | 
|---|
| 4 | */ | 
|---|
| 5 |  | 
|---|
| 6 | #ifndef _ITCO_WDT_H_ | 
|---|
| 7 | #define _ITCO_WDT_H_ | 
|---|
| 8 |  | 
|---|
| 9 | /* Watchdog resources */ | 
|---|
| 10 | #define ICH_RES_IO_TCO		0 | 
|---|
| 11 | #define ICH_RES_IO_SMI		1 | 
|---|
| 12 | #define ICH_RES_MEM_OFF		2 | 
|---|
| 13 | #define ICH_RES_MEM_GCS_PMC	0 | 
|---|
| 14 |  | 
|---|
| 15 | /** | 
|---|
| 16 | * struct itco_wdt_platform_data - iTCO_wdt platform data | 
|---|
| 17 | * @name: Name of the platform | 
|---|
| 18 | * @version: iTCO version | 
|---|
| 19 | * @no_reboot_use_pmc: Use PMC BXT API to set and clear NO_REBOOT bit | 
|---|
| 20 | */ | 
|---|
| 21 | struct itco_wdt_platform_data { | 
|---|
| 22 | char name[32]; | 
|---|
| 23 | unsigned int version; | 
|---|
| 24 | bool no_reboot_use_pmc; | 
|---|
| 25 | }; | 
|---|
| 26 |  | 
|---|
| 27 | #endif /* _ITCO_WDT_H_ */ | 
|---|
| 28 |  | 
|---|