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