linux/include/linux/rtc/m48t59.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * include/linux/rtc/m48t59.h
 *
 * Definitions for the platform data of m48t59 RTC chip driver.
 *
 * Copyright (c) 2007 Wind River Systems, Inc.
 *
 * Mark Zhan <[email protected]>
 */

#ifndef _LINUX_RTC_M48T59_H_
#define _LINUX_RTC_M48T59_H_

/*
 * M48T59 Register Offset
 */
#define M48T59_YEAR
#define M48T59_MONTH
#define M48T59_MDAY
#define M48T59_WDAY
#define M48T59_WDAY_CB
#define M48T59_WDAY_CEB
#define M48T59_HOUR
#define M48T59_MIN
#define M48T59_SEC
#define M48T59_CNTL
#define M48T59_CNTL_READ
#define M48T59_CNTL_WRITE
#define M48T59_WATCHDOG
#define M48T59_INTR
#define M48T59_INTR_AFE
#define M48T59_INTR_ABE
#define M48T59_ALARM_DATE
#define M48T59_ALARM_HOUR
#define M48T59_ALARM_MIN
#define M48T59_ALARM_SEC
#define M48T59_UNUSED
#define M48T59_FLAGS
#define M48T59_FLAGS_WDT
#define M48T59_FLAGS_AF
#define M48T59_FLAGS_BF

#define M48T59RTC_TYPE_M48T59
#define M48T59RTC_TYPE_M48T02
#define M48T59RTC_TYPE_M48T08

struct m48t59_plat_data {};

#endif /* _LINUX_RTC_M48T59_H_ */