![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0-or-later */ 0002 /* 0003 * OMAP2+ WDTIMER-specific function prototypes 0004 * 0005 * Copyright (C) 2012 Texas Instruments, Inc. 0006 * Paul Walmsley 0007 */ 0008 0009 #ifndef __LINUX_PLATFORM_DATA_OMAP_WD_TIMER_H 0010 #define __LINUX_PLATFORM_DATA_OMAP_WD_TIMER_H 0011 0012 #include <linux/types.h> 0013 0014 /* 0015 * Standardized OMAP reset source bits 0016 * 0017 * This is a subset of the ones listed in arch/arm/mach-omap2/prm.h 0018 * and are the only ones needed in the watchdog driver. 0019 */ 0020 #define OMAP_MPU_WD_RST_SRC_ID_SHIFT 3 0021 0022 /** 0023 * struct omap_wd_timer_platform_data - WDTIMER integration to the host SoC 0024 * @read_reset_sources - fn ptr for the SoC to indicate the last reset cause 0025 * 0026 * The function pointed to by @read_reset_sources must return its data 0027 * in a standard format - search for RST_SRC_ID_SHIFT in 0028 * arch/arm/mach-omap2 0029 */ 0030 struct omap_wd_timer_platform_data { 0031 u32 (*read_reset_sources)(void); 0032 }; 0033 0034 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |