linux/include/linux/mfd/rn5t618.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * MFD core driver for Ricoh RN5T618 PMIC
 *
 * Copyright (C) 2014 Beniamino Galvani <[email protected]>
 */

#ifndef __LINUX_MFD_RN5T618_H
#define __LINUX_MFD_RN5T618_H

#include <linux/regmap.h>

#define RN5T618_LSIVER
#define RN5T618_OTPVER
#define RN5T618_IODAC
#define RN5T618_VINDAC
#define RN5T618_OUT32KEN
#define RN5T618_CPUCNT
#define RN5T618_PSWR
#define RN5T618_PONHIS
#define RN5T618_POFFHIS
#define RN5T618_WATCHDOG
#define RN5T618_WATCHDOGCNT
#define RN5T618_PWRFUNC
#define RN5T618_SLPCNT
#define RN5T618_REPCNT
#define RN5T618_PWRONTIMSET
#define RN5T618_NOETIMSETCNT
#define RN5T618_PWRIREN
#define RN5T618_PWRIRQ
#define RN5T618_PWRMON
#define RN5T618_PWRIRSEL
#define RN5T618_DC1_SLOT
#define RN5T618_DC2_SLOT
#define RN5T618_DC3_SLOT
#define RN5T618_DC4_SLOT
#define RN5T618_LDO1_SLOT
#define RN5T618_LDO2_SLOT
#define RN5T618_LDO3_SLOT
#define RN5T618_LDO4_SLOT
#define RN5T618_LDO5_SLOT
#define RN5T618_PSO0_SLOT
#define RN5T618_PSO1_SLOT
#define RN5T618_PSO2_SLOT
#define RN5T618_PSO3_SLOT
#define RN5T618_LDORTC1_SLOT
#define RN5T618_DC1CTL
#define RN5T618_DC1CTL2
#define RN5T618_DC2CTL
#define RN5T618_DC2CTL2
#define RN5T618_DC3CTL
#define RN5T618_DC3CTL2
#define RN5T618_DC4CTL
#define RN5T618_DC4CTL2
#define RN5T618_DC5CTL
#define RN5T618_DC5CTL2
#define RN5T618_DC1DAC
#define RN5T618_DC2DAC
#define RN5T618_DC3DAC
#define RN5T618_DC4DAC
#define RN5T618_DC5DAC
#define RN5T618_DC1DAC_SLP
#define RN5T618_DC2DAC_SLP
#define RN5T618_DC3DAC_SLP
#define RN5T618_DC4DAC_SLP
#define RN5T618_DCIREN
#define RN5T618_DCIRQ
#define RN5T618_DCIRMON
#define RN5T618_LDOEN1
#define RN5T618_LDOEN2
#define RN5T618_LDODIS
#define RN5T618_LDO1DAC
#define RN5T618_LDO2DAC
#define RN5T618_LDO3DAC
#define RN5T618_LDO4DAC
#define RN5T618_LDO5DAC
#define RN5T618_LDO6DAC
#define RN5T618_LDO7DAC
#define RN5T618_LDO8DAC
#define RN5T618_LDO9DAC
#define RN5T618_LDO10DAC
#define RN5T618_LDORTCDAC
#define RN5T618_LDORTC2DAC
#define RN5T618_LDO1DAC_SLP
#define RN5T618_LDO2DAC_SLP
#define RN5T618_LDO3DAC_SLP
#define RN5T618_LDO4DAC_SLP
#define RN5T618_LDO5DAC_SLP
#define RN5T618_ADCCNT1
#define RN5T618_ADCCNT2
#define RN5T618_ADCCNT3
#define RN5T618_ILIMDATAH
#define RN5T618_ILIMDATAL
#define RN5T618_VBATDATAH
#define RN5T618_VBATDATAL
#define RN5T618_VADPDATAH
#define RN5T618_VADPDATAL
#define RN5T618_VUSBDATAH
#define RN5T618_VUSBDATAL
#define RN5T618_VSYSDATAH
#define RN5T618_VSYSDATAL
#define RN5T618_VTHMDATAH
#define RN5T618_VTHMDATAL
#define RN5T618_AIN1DATAH
#define RN5T618_AIN1DATAL
#define RN5T618_AIN0DATAH
#define RN5T618_AIN0DATAL
#define RN5T618_ILIMTHL
#define RN5T618_ILIMTHH
#define RN5T618_VBATTHL
#define RN5T618_VBATTHH
#define RN5T618_VADPTHL
#define RN5T618_VADPTHH
#define RN5T618_VUSBTHL
#define RN5T618_VUSBTHH
#define RN5T618_VSYSTHL
#define RN5T618_VSYSTHH
#define RN5T618_VTHMTHL
#define RN5T618_VTHMTHH
#define RN5T618_AIN1THL
#define RN5T618_AIN1THH
#define RN5T618_AIN0THL
#define RN5T618_AIN0THH
#define RN5T618_EN_ADCIR1
#define RN5T618_EN_ADCIR2
#define RN5T618_EN_ADCIR3
#define RN5T618_IR_ADC1
#define RN5T618_IR_ADC2
#define RN5T618_IR_ADC3
#define RN5T618_IOSEL
#define RN5T618_IOOUT
#define RN5T618_GPEDGE1
#define RN5T618_GPEDGE2
#define RN5T618_EN_GPIR
#define RN5T618_IR_GPR
#define RN5T618_IR_GPF
#define RN5T618_MON_IOIN
#define RN5T618_GPLED_FUNC
#define RN5T618_INTPOL
#define RN5T618_INTEN
#define RN5T618_INTMON

#define RN5T618_RTC_SECONDS
#define RN5T618_RTC_MDAY
#define RN5T618_RTC_MONTH
#define RN5T618_RTC_YEAR
#define RN5T618_RTC_ADJUST
#define RN5T618_RTC_ALARM_Y_SEC
#define RN5T618_RTC_DAL_MONTH
#define RN5T618_RTC_CTRL1
#define RN5T618_RTC_CTRL2

#define RN5T618_PREVINDAC
#define RN5T618_BATDAC
#define RN5T618_CHGCTL1
#define RN5T618_CHGCTL2
#define RN5T618_VSYSSET
#define RN5T618_REGISET1
#define RN5T618_REGISET2
#define RN5T618_CHGISET
#define RN5T618_TIMSET
#define RN5T618_BATSET1
#define RN5T618_BATSET2
#define RN5T618_DIESET
#define RN5T618_CHGSTATE
#define RN5T618_CHGCTRL_IRFMASK
#define RN5T618_CHGSTAT_IRFMASK1
#define RN5T618_CHGSTAT_IRFMASK2
#define RN5T618_CHGERR_IRFMASK
#define RN5T618_CHGCTRL_IRR
#define RN5T618_CHGSTAT_IRR1
#define RN5T618_CHGSTAT_IRR2
#define RN5T618_CHGERR_IRR
#define RN5T618_CHGCTRL_MONI
#define RN5T618_CHGSTAT_MONI1
#define RN5T618_CHGSTAT_MONI2
#define RN5T618_CHGERR_MONI
#define RN5T618_CHGCTRL_DETMOD1
#define RN5T618_CHGCTRL_DETMOD2
#define RN5T618_CHGSTAT_DETMOD1
#define RN5T618_CHGSTAT_DETMOD2
#define RN5T618_CHGSTAT_DETMOD3
#define RN5T618_CHGERR_DETMOD1
#define RN5T618_CHGERR_DETMOD2
#define RN5T618_CHGOSCCTL
#define RN5T618_CHGOSCSCORESET1
#define RN5T618_CHGOSCSCORESET2
#define RN5T618_CHGOSCSCORESET3
#define RN5T618_CHGOSCFREQSET1
#define RN5T618_CHGOSCFREQSET2
#define RN5T618_GCHGDET
#define RN5T618_CONTROL
#define RN5T618_SOC
#define RN5T618_RE_CAP_H
#define RN5T618_RE_CAP_L
#define RN5T618_FA_CAP_H
#define RN5T618_FA_CAP_L
#define RN5T618_AGE
#define RN5T618_TT_EMPTY_H
#define RN5T618_TT_EMPTY_L
#define RN5T618_TT_FULL_H
#define RN5T618_TT_FULL_L
#define RN5T618_VOLTAGE_1
#define RN5T618_VOLTAGE_0
#define RN5T618_TEMP_1
#define RN5T618_TEMP_0
#define RN5T618_CC_CTRL
#define RN5T618_CC_COUNT2
#define RN5T618_CC_COUNT1
#define RN5T618_CC_COUNT0
#define RN5T618_CC_SUMREG3
#define RN5T618_CC_SUMREG2
#define RN5T618_CC_SUMREG1
#define RN5T618_CC_SUMREG0
#define RN5T618_CC_OFFREG1
#define RN5T618_CC_OFFREG0
#define RN5T618_CC_GAINREG1
#define RN5T618_CC_GAINREG0
#define RN5T618_CC_AVEREG1
#define RN5T618_CC_AVEREG0
#define RN5T618_MAX_REG

#define RN5T618_REPCNT_REPWRON
#define RN5T618_SLPCNT_SWPWROFF
#define RN5T618_WATCHDOG_WDOGEN
#define RN5T618_WATCHDOG_WDOGTIM_M
#define RN5T618_WATCHDOG_WDOGTIM_S
#define RN5T618_PWRIRQ_IR_WDOG

#define RN5T618_POFFHIS_PWRON
#define RN5T618_POFFHIS_TSHUT
#define RN5T618_POFFHIS_VINDET
#define RN5T618_POFFHIS_IODET
#define RN5T618_POFFHIS_CPU
#define RN5T618_POFFHIS_WDG
#define RN5T618_POFFHIS_DCLIM
#define RN5T618_POFFHIS_N_OE

enum {};

enum {};

/* RN5T618 IRQ definitions */
enum {};

struct rn5t618 {};

#endif /* __LINUX_MFD_RN5T618_H */