xref: /OK3568_Linux_fs/kernel/include/dt-bindings/regulator/mediatek,mt6360-regulator.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0 */
2*4882a593Smuzhiyun 
3*4882a593Smuzhiyun #ifndef __DT_BINDINGS_MEDIATEK_MT6360_REGULATOR_H__
4*4882a593Smuzhiyun #define __DT_BINDINGS_MEDIATEK_MT6360_REGULATOR_H__
5*4882a593Smuzhiyun 
6*4882a593Smuzhiyun /*
7*4882a593Smuzhiyun  * BUCK/LDO mode constants which may be used in devicetree properties
8*4882a593Smuzhiyun  * (eg. regulator-allowed-modes).
9*4882a593Smuzhiyun  * See the manufacturer's datasheet for more information on these modes.
10*4882a593Smuzhiyun  */
11*4882a593Smuzhiyun 
12*4882a593Smuzhiyun #define MT6360_OPMODE_LP		2
13*4882a593Smuzhiyun #define MT6360_OPMODE_ULP		3
14*4882a593Smuzhiyun #define MT6360_OPMODE_NORMAL		0
15*4882a593Smuzhiyun 
16*4882a593Smuzhiyun #endif
17