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