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