linux/drivers/mfd/mt6370.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright (C) 2022 Richtek Technology Corp.
 *
 * Author: ChiYuan Huang <[email protected]>
 */

#ifndef __MFD_MT6370_H__
#define __MFD_MT6370_H__

/* IRQ definitions */
#define MT6370_IRQ_DIRCHGON
#define MT6370_IRQ_CHG_TREG
#define MT6370_IRQ_CHG_AICR
#define MT6370_IRQ_CHG_MIVR
#define MT6370_IRQ_PWR_RDY
#define MT6370_IRQ_FL_CHG_VINOVP
#define MT6370_IRQ_CHG_VSYSUV
#define MT6370_IRQ_CHG_VSYSOV
#define MT6370_IRQ_CHG_VBATOV
#define MT6370_IRQ_CHG_VINOVPCHG
#define MT6370_IRQ_TS_BAT_COLD
#define MT6370_IRQ_TS_BAT_COOL
#define MT6370_IRQ_TS_BAT_WARM
#define MT6370_IRQ_TS_BAT_HOT
#define MT6370_IRQ_TS_STATC
#define MT6370_IRQ_CHG_FAULT
#define MT6370_IRQ_CHG_STATC
#define MT6370_IRQ_CHG_TMR
#define MT6370_IRQ_CHG_BATABS
#define MT6370_IRQ_CHG_ADPBAD
#define MT6370_IRQ_CHG_RVP
#define MT6370_IRQ_TSHUTDOWN
#define MT6370_IRQ_CHG_IINMEAS
#define MT6370_IRQ_CHG_ICCMEAS
#define MT6370_IRQ_CHGDET_DONE
#define MT6370_IRQ_WDTMR
#define MT6370_IRQ_SSFINISH
#define MT6370_IRQ_CHG_RECHG
#define MT6370_IRQ_CHG_TERM
#define MT6370_IRQ_CHG_IEOC
#define MT6370_IRQ_ADC_DONE
#define MT6370_IRQ_PUMPX_DONE
#define MT6370_IRQ_BST_BATUV
#define MT6370_IRQ_BST_MIDOV
#define MT6370_IRQ_BST_OLP
#define MT6370_IRQ_ATTACH
#define MT6370_IRQ_DETACH
#define MT6370_IRQ_HVDCP_STPDONE
#define MT6370_IRQ_HVDCP_VBUSDET_DONE
#define MT6370_IRQ_HVDCP_DET
#define MT6370_IRQ_CHGDET
#define MT6370_IRQ_DCDT
#define MT6370_IRQ_DIRCHG_VGOK
#define MT6370_IRQ_DIRCHG_WDTMR
#define MT6370_IRQ_DIRCHG_UC
#define MT6370_IRQ_DIRCHG_OC
#define MT6370_IRQ_DIRCHG_OV
#define MT6370_IRQ_OVPCTRL_SWON
#define MT6370_IRQ_OVPCTRL_UVP_D
#define MT6370_IRQ_OVPCTRL_UVP
#define MT6370_IRQ_OVPCTRL_OVP_D
#define MT6370_IRQ_OVPCTRL_OVP
#define MT6370_IRQ_FLED_STRBPIN
#define MT6370_IRQ_FLED_TORPIN
#define MT6370_IRQ_FLED_TX
#define MT6370_IRQ_FLED_LVF
#define MT6370_IRQ_FLED2_SHORT
#define MT6370_IRQ_FLED1_SHORT
#define MT6370_IRQ_FLED2_STRB
#define MT6370_IRQ_FLED1_STRB
#define mT6370_IRQ_FLED2_STRB_TO
#define MT6370_IRQ_FLED1_STRB_TO
#define MT6370_IRQ_FLED2_TOR
#define MT6370_IRQ_FLED1_TOR
#define MT6370_IRQ_OTP
#define MT6370_IRQ_VDDA_OVP
#define MT6370_IRQ_VDDA_UV
#define MT6370_IRQ_LDO_OC
#define MT6370_IRQ_BLED_OCP
#define MT6370_IRQ_BLED_OVP
#define MT6370_IRQ_DSV_VNEG_OCP
#define MT6370_IRQ_DSV_VPOS_OCP
#define MT6370_IRQ_DSV_BST_OCP
#define MT6370_IRQ_DSV_VNEG_SCP
#define MT6370_IRQ_DSV_VPOS_SCP

enum {};

struct mt6370_info {};

#endif /* __MFD_MT6375_H__ */