/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (c) 2011 Samsung Electronics Co., Ltd * http://www.samsung.com */ #ifndef __LINUX_MFD_S5M8767_H #define __LINUX_MFD_S5M8767_H /* S5M8767 registers */ enum s5m8767_reg { … }; /* S5M8767 regulator ids */ enum s5m8767_regulators { … }; /* LDO_EN/BUCK_EN field in registers */ #define S5M8767_ENCTRL_SHIFT … #define S5M8767_ENCTRL_MASK … /* * LDO_EN/BUCK_EN register value for controlling this Buck or LDO * by GPIO (PWREN, BUCKEN). */ #define S5M8767_ENCTRL_USE_GPIO … /* * Values for BUCK_RAMP field in DVS_RAMP register, matching raw values * in mV/us. */ enum s5m8767_dvs_buck_ramp_values { … }; #define S5M8767_DVS_BUCK_RAMP_SHIFT … #define S5M8767_DVS_BUCK_RAMP_MASK … #endif /* __LINUX_MFD_S5M8767_H */