36#ifndef LIBCHIP_MCP7940M_RTC_H
37#define LIBCHIP_MCP7940M_RTC_H
76#define MCP7940M_RTC_INITIALIZER(i2c_path, i2c_address, has_crystal) { \
77 .base = I2C_RTC_INITIALIZER( \
81 I2C_RTC_ORDER_sec_min_hour_wkday_day_month_year, \
84 .crystal = has_crystal, \
87#define MCP7940M_RTC_TBL_ENTRY(dev_name, mcp7940m_rtc_ctx) \
88 I2C_RTC_TBL_ENTRY(dev_name, mcp7940m_rtc_ctx)
int mcp7940m_hw_init(struct i2c_rtc_base *base)
Definition: mcp7940m.c:68
This file provides the interfaces of Shared_tod_i2c_rtc.
Definition: mcp7940m-rtc.h:66
bool crystal
Definition: mcp7940m-rtc.h:70