linux/include/linux/mfd/samsung/s2mps14.h

/* SPDX-License-Identifier: GPL-2.0+ */
/*
 * Copyright (c) 2014 Samsung Electronics Co., Ltd
 *              http://www.samsung.com
 */

#ifndef __LINUX_MFD_S2MPS14_H
#define __LINUX_MFD_S2MPS14_H

/* S2MPS14 registers */
enum s2mps14_reg {};

/* S2MPS14 regulator ids */
enum s2mps14_regulators {};

/* Regulator constraints for BUCKx */
#define S2MPS14_BUCK1235_START_SEL
#define S2MPS14_BUCK4_START_SEL
/*
 * Default ramp delay in uv/us. Datasheet says that ramp delay can be
 * controlled however it does not specify which register is used for that.
 * Let's assume that default value will be set.
 */
#define S2MPS14_BUCK_RAMP_DELAY

#define S2MPS14_LDO_VSEL_MASK
#define S2MPS14_BUCK_VSEL_MASK
#define S2MPS14_ENABLE_MASK
#define S2MPS14_ENABLE_SHIFT
/* On/Off controlled by PWREN */
#define S2MPS14_ENABLE_SUSPEND
/* On/Off controlled by LDO10EN or EMMCEN */
#define S2MPS14_ENABLE_EXT_CONTROL
#define S2MPS14_LDO_N_VOLTAGES
#define S2MPS14_BUCK_N_VOLTAGES

#endif /*  __LINUX_MFD_S2MPS14_H */