developer | 2cdaeb1 | 2022-10-04 20:25:05 +0800 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
2 | |||||
3 | #ifndef __DT_BINDINGS_RICHTEK_RT5190A_REGULATOR_H__ | ||||
4 | #define __DT_BINDINGS_RICHTEK_RT5190A_REGULATOR_H__ | ||||
5 | |||||
6 | /* | ||||
7 | * BUCK/LDO mode constants which may be used in devicetree properties | ||||
8 | * (eg. regulator-allowed-modes). | ||||
9 | * See the manufacturer's datasheet for more information on these modes. | ||||
10 | */ | ||||
11 | |||||
12 | #define RT5190A_OPMODE_AUTO 0 | ||||
13 | #define RT5190A_OPMODE_FPWM 1 | ||||
14 | |||||
15 | #endif |