Home | History | Annotate | Line # | Download | only in regulator
      1 /*	$NetBSD: mediatek,mt6397-regulator.h,v 1.1.1.1 2021/11/07 16:49:57 jmcneill Exp $	*/
      2 
      3 /* SPDX-License-Identifier: GPL-2.0 */
      4 
      5 #ifndef _DT_BINDINGS_REGULATOR_MEDIATEK_MT6397_H_
      6 #define _DT_BINDINGS_REGULATOR_MEDIATEK_MT6397_H_
      7 
      8 /*
      9  * Buck mode constants which may be used in devicetree properties (eg.
     10  * regulator-initial-mode, regulator-allowed-modes).
     11  * See the manufacturer's datasheet for more information on these modes.
     12  */
     13 
     14 #define MT6397_BUCK_MODE_AUTO		0
     15 #define MT6397_BUCK_MODE_FORCE_PWM	1
     16 
     17 #endif
     18