linux/include/linux/mfd/88pm886.h

/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __MFD_88PM886_H
#define __MFD_88PM886_H

#include <linux/i2c.h>
#include <linux/regmap.h>

#define PM886_A1_CHIP_ID

#define PM886_IRQ_ONKEY

#define PM886_PAGE_OFFSET_REGULATORS

#define PM886_REG_ID

#define PM886_REG_STATUS1
#define PM886_ONKEY_STS1

#define PM886_REG_INT_STATUS1

#define PM886_REG_INT_ENA_1
#define PM886_INT_ENA1_ONKEY

#define PM886_REG_MISC_CONFIG1
#define PM886_SW_PDOWN

#define PM886_REG_MISC_CONFIG2
#define PM886_INT_INV
#define PM886_INT_CLEAR
#define PM886_INT_RC
#define PM886_INT_WC
#define PM886_INT_MASK_MODE

#define PM886_REG_RTC_SPARE6

#define PM886_REG_BUCK_EN
#define PM886_REG_LDO_EN1
#define PM886_REG_LDO_EN2
#define PM886_REG_LDO1_VOUT
#define PM886_REG_LDO2_VOUT
#define PM886_REG_LDO3_VOUT
#define PM886_REG_LDO4_VOUT
#define PM886_REG_LDO5_VOUT
#define PM886_REG_LDO6_VOUT
#define PM886_REG_LDO7_VOUT
#define PM886_REG_LDO8_VOUT
#define PM886_REG_LDO9_VOUT
#define PM886_REG_LDO10_VOUT
#define PM886_REG_LDO11_VOUT
#define PM886_REG_LDO12_VOUT
#define PM886_REG_LDO13_VOUT
#define PM886_REG_LDO14_VOUT
#define PM886_REG_LDO15_VOUT
#define PM886_REG_LDO16_VOUT
#define PM886_REG_BUCK1_VOUT
#define PM886_REG_BUCK2_VOUT
#define PM886_REG_BUCK3_VOUT
#define PM886_REG_BUCK4_VOUT
#define PM886_REG_BUCK5_VOUT

#define PM886_LDO_VSEL_MASK
#define PM886_BUCK_VSEL_MASK

struct pm886_chip {};
#endif /* __MFD_88PM886_H */