linux/drivers/watchdog/omap_wdt.h

/* SPDX-License-Identifier: GPL-2.0+ */
/*
 *  linux/drivers/char/watchdog/omap_wdt.h
 *
 *  BRIEF MODULE DESCRIPTION
 *      OMAP Watchdog timer register definitions
 *
 *  Copyright (C) 2004 Texas Instruments.
 */

#ifndef _OMAP_WATCHDOG_H
#define _OMAP_WATCHDOG_H

#define OMAP_WATCHDOG_REV
#define OMAP_WATCHDOG_SYS_CONFIG
#define OMAP_WATCHDOG_STATUS
#define OMAP_WATCHDOG_CNTRL
#define OMAP_WATCHDOG_CRR
#define OMAP_WATCHDOG_LDR
#define OMAP_WATCHDOG_TGR
#define OMAP_WATCHDOG_WPS
#define OMAP_WATCHDOG_SPR

/* Using the prescaler, the OMAP watchdog could go for many
 * months before firing.  These limits work without scaling,
 * with the 60 second default assumed by most tools and docs.
 */
#define TIMER_MARGIN_MAX
#define TIMER_MARGIN_DEFAULT
#define TIMER_MARGIN_MIN

#define PTV
#define GET_WLDR_VAL(secs)
#define GET_WCCR_SECS(val)

#endif				/* _OMAP_WATCHDOG_H */