linux/include/linux/mfd/max77541.h

/* SPDX-License-Identifier: GPL-2.0-or-later */

#ifndef __MFD_MAX77541_H
#define __MFD_MAX77541_H

#include <linux/bits.h>
#include <linux/types.h>

/* REGISTERS */
#define MAX77541_REG_INT_SRC
#define MAX77541_REG_INT_SRC_M

#define MAX77541_BIT_INT_SRC_TOPSYS
#define MAX77541_BIT_INT_SRC_BUCK

#define MAX77541_REG_TOPSYS_INT
#define MAX77541_REG_TOPSYS_INT_M

#define MAX77541_BIT_TOPSYS_INT_TJ_120C
#define MAX77541_BIT_TOPSYS_INT_TJ_140C
#define MAX77541_BIT_TOPSYS_INT_TSHDN
#define MAX77541_BIT_TOPSYS_INT_UVLO
#define MAX77541_BIT_TOPSYS_INT_ALT_SWO
#define MAX77541_BIT_TOPSYS_INT_EXT_FREQ_DET

/* REGULATORS */
#define MAX77541_REG_BUCK_INT
#define MAX77541_REG_BUCK_INT_M

#define MAX77541_BIT_BUCK_INT_M1_POK_FLT
#define MAX77541_BIT_BUCK_INT_M2_POK_FLT
#define MAX77541_BIT_BUCK_INT_M1_SCFLT
#define MAX77541_BIT_BUCK_INT_M2_SCFLT

#define MAX77541_REG_EN_CTRL

#define MAX77541_BIT_M1_EN
#define MAX77541_BIT_M2_EN

#define MAX77541_REG_M1_VOUT
#define MAX77541_REG_M2_VOUT

#define MAX77541_BITS_MX_VOUT

#define MAX77541_REG_M1_CFG1
#define MAX77541_REG_M2_CFG1

#define MAX77541_BITS_MX_CFG1_RNG

/* ADC */
#define MAX77541_REG_ADC_INT
#define MAX77541_REG_ADC_INT_M

#define MAX77541_BIT_ADC_INT_CH1_I
#define MAX77541_BIT_ADC_INT_CH2_I
#define MAX77541_BIT_ADC_INT_CH3_I
#define MAX77541_BIT_ADC_INT_CH6_I

#define MAX77541_REG_ADC_DATA_CH1
#define MAX77541_REG_ADC_DATA_CH2
#define MAX77541_REG_ADC_DATA_CH3
#define MAX77541_REG_ADC_DATA_CH6

/* INTERRUPT MASKS*/
#define MAX77541_REG_INT_SRC_MASK
#define MAX77541_REG_TOPSYS_INT_MASK
#define MAX77541_REG_BUCK_INT_MASK

#define MAX77541_MAX_REGULATORS

enum max7754x_ids {};

struct regmap;
struct regmap_irq_chip_data;
struct i2c_client;

struct max77541 {};

#endif /* __MFD_MAX77541_H */