1*1c537b2dSAnand K Mistry /* SPDX-License-Identifier: GPL-2.0 */ 2*1c537b2dSAnand K Mistry 3*1c537b2dSAnand K Mistry #ifndef _DT_BINDINGS_REGULATOR_MEDIATEK_MT6397_H_ 4*1c537b2dSAnand K Mistry #define _DT_BINDINGS_REGULATOR_MEDIATEK_MT6397_H_ 5*1c537b2dSAnand K Mistry 6*1c537b2dSAnand K Mistry /* 7*1c537b2dSAnand K Mistry * Buck mode constants which may be used in devicetree properties (eg. 8*1c537b2dSAnand K Mistry * regulator-initial-mode, regulator-allowed-modes). 9*1c537b2dSAnand K Mistry * See the manufacturer's datasheet for more information on these modes. 10*1c537b2dSAnand K Mistry */ 11*1c537b2dSAnand K Mistry 12*1c537b2dSAnand K Mistry #define MT6397_BUCK_MODE_AUTO 0 13*1c537b2dSAnand K Mistry #define MT6397_BUCK_MODE_FORCE_PWM 1 14*1c537b2dSAnand K Mistry 15*1c537b2dSAnand K Mistry #endif 16