linux/include/linux/mfd/as3711.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * AS3711 PMIC MFC driver header
 *
 * Copyright (C) 2012 Renesas Electronics Corporation
 * Author: Guennadi Liakhovetski, <[email protected]>
 */

#ifndef MFD_AS3711_H
#define MFD_AS3711_H

/*
 * Client data
 */

/* Register addresses */
#define AS3711_SD_1_VOLTAGE
#define AS3711_SD_2_VOLTAGE
#define AS3711_SD_3_VOLTAGE
#define AS3711_SD_4_VOLTAGE
#define AS3711_LDO_1_VOLTAGE
#define AS3711_LDO_2_VOLTAGE
#define AS3711_LDO_3_VOLTAGE
#define AS3711_LDO_4_VOLTAGE
#define AS3711_LDO_5_VOLTAGE
#define AS3711_LDO_6_VOLTAGE
#define AS3711_LDO_7_VOLTAGE
#define AS3711_LDO_8_VOLTAGE
#define AS3711_SD_CONTROL
#define AS3711_GPIO_SIGNAL_OUT
#define AS3711_GPIO_SIGNAL_IN
#define AS3711_SD_CONTROL_1
#define AS3711_SD_CONTROL_2
#define AS3711_CURR_CONTROL
#define AS3711_CURR1_VALUE
#define AS3711_CURR2_VALUE
#define AS3711_CURR3_VALUE
#define AS3711_STEPUP_CONTROL_1
#define AS3711_STEPUP_CONTROL_2
#define AS3711_STEPUP_CONTROL_4
#define AS3711_STEPUP_CONTROL_5
#define AS3711_REG_STATUS
#define AS3711_INTERRUPT_STATUS_1
#define AS3711_INTERRUPT_STATUS_2
#define AS3711_INTERRUPT_STATUS_3
#define AS3711_CHARGER_STATUS_1
#define AS3711_CHARGER_STATUS_2
#define AS3711_ASIC_ID_1
#define AS3711_ASIC_ID_2

#define AS3711_MAX_REG
#define AS3711_NUM_REGS

/* Regulators */
enum {};

struct device;
struct regmap;

struct as3711 {};

#define AS3711_MAX_STEPDOWN
#define AS3711_MAX_STEPUP
#define AS3711_MAX_LDO

enum as3711_su2_feedback {};

enum as3711_su2_fbprot {};

/*
 * Platform data
 */

struct as3711_regulator_pdata {};

struct as3711_bl_pdata {};

struct as3711_platform_data {};

#endif