linux/include/linux/mfd/max77650.h

/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Copyright (C) 2018 BayLibre SAS
 * Author: Bartosz Golaszewski <[email protected]>
 *
 * Common definitions for MAXIM 77650/77651 charger/power-supply.
 */

#ifndef MAX77650_H
#define MAX77650_H

#include <linux/bits.h>

#define MAX77650_REG_INT_GLBL
#define MAX77650_REG_INT_CHG
#define MAX77650_REG_STAT_CHG_A
#define MAX77650_REG_STAT_CHG_B
#define MAX77650_REG_ERCFLAG
#define MAX77650_REG_STAT_GLBL
#define MAX77650_REG_INTM_GLBL
#define MAX77650_REG_INTM_CHG
#define MAX77650_REG_CNFG_GLBL
#define MAX77650_REG_CID
#define MAX77650_REG_CNFG_GPIO
#define MAX77650_REG_CNFG_CHG_A
#define MAX77650_REG_CNFG_CHG_B
#define MAX77650_REG_CNFG_CHG_C
#define MAX77650_REG_CNFG_CHG_D
#define MAX77650_REG_CNFG_CHG_E
#define MAX77650_REG_CNFG_CHG_F
#define MAX77650_REG_CNFG_CHG_G
#define MAX77650_REG_CNFG_CHG_H
#define MAX77650_REG_CNFG_CHG_I
#define MAX77650_REG_CNFG_SBB_TOP
#define MAX77650_REG_CNFG_SBB0_A
#define MAX77650_REG_CNFG_SBB0_B
#define MAX77650_REG_CNFG_SBB1_A
#define MAX77650_REG_CNFG_SBB1_B
#define MAX77650_REG_CNFG_SBB2_A
#define MAX77650_REG_CNFG_SBB2_B
#define MAX77650_REG_CNFG_LDO_A
#define MAX77650_REG_CNFG_LDO_B
#define MAX77650_REG_CNFG_LED0_A
#define MAX77650_REG_CNFG_LED1_A
#define MAX77650_REG_CNFG_LED2_A
#define MAX77650_REG_CNFG_LED0_B
#define MAX77650_REG_CNFG_LED1_B
#define MAX77650_REG_CNFG_LED2_B
#define MAX77650_REG_CNFG_LED_TOP

#define MAX77650_CID_MASK
#define MAX77650_CID_BITS(_reg)

#define MAX77650_CID_77650A
#define MAX77650_CID_77650C
#define MAX77650_CID_77651A
#define MAX77650_CID_77651B

#endif /* MAX77650_H */