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