drm/atomic-helper: document drm_atomic_helper_check() restrictions
[drm/drm-misc.git] / include / linux / platform_data / omap-wd-timer.h
blobf2788ec984e9deb4e633b4314bb7ec1b8e32efeb
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 * OMAP2+ WDTIMER-specific function prototypes
5 * Copyright (C) 2012 Texas Instruments, Inc.
6 * Paul Walmsley
7 */
9 #ifndef __LINUX_PLATFORM_DATA_OMAP_WD_TIMER_H
10 #define __LINUX_PLATFORM_DATA_OMAP_WD_TIMER_H
12 #include <linux/types.h>
15 * Standardized OMAP reset source bits
17 * This is a subset of the ones listed in arch/arm/mach-omap2/prm.h
18 * and are the only ones needed in the watchdog driver.
20 #define OMAP_MPU_WD_RST_SRC_ID_SHIFT 3
22 /**
23 * struct omap_wd_timer_platform_data - WDTIMER integration to the host SoC
24 * @read_reset_sources - fn ptr for the SoC to indicate the last reset cause
26 * The function pointed to by @read_reset_sources must return its data
27 * in a standard format - search for RST_SRC_ID_SHIFT in
28 * arch/arm/mach-omap2
30 struct omap_wd_timer_platform_data {
31 u32 (*read_reset_sources)(void);
34 #endif