xref: /linux/include/dt-bindings/regulator/nxp,pca9450-regulator.h (revision bf977a9ad33d204c8ca646cef83184eb364820ff)
1*d7181a2dSMartijn de Gouw /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
2*d7181a2dSMartijn de Gouw /*
3*d7181a2dSMartijn de Gouw  * Device Tree binding constants for the NXP PCA9450A/B/C PMIC regulators
4*d7181a2dSMartijn de Gouw  */
5*d7181a2dSMartijn de Gouw 
6*d7181a2dSMartijn de Gouw #ifndef _DT_BINDINGS_REGULATORS_NXP_PCA9450_H
7*d7181a2dSMartijn de Gouw #define _DT_BINDINGS_REGULATORS_NXP_PCA9450_H
8*d7181a2dSMartijn de Gouw 
9*d7181a2dSMartijn de Gouw /*
10*d7181a2dSMartijn de Gouw  * Buck mode constants which may be used in devicetree properties (eg.
11*d7181a2dSMartijn de Gouw  * regulator-initial-mode, regulator-allowed-modes).
12*d7181a2dSMartijn de Gouw  * See the manufacturer's datasheet for more information on these modes.
13*d7181a2dSMartijn de Gouw  */
14*d7181a2dSMartijn de Gouw 
15*d7181a2dSMartijn de Gouw #define PCA9450_BUCK_MODE_AUTO		0
16*d7181a2dSMartijn de Gouw #define PCA9450_BUCK_MODE_FORCE_PWM	1
17*d7181a2dSMartijn de Gouw 
18*d7181a2dSMartijn de Gouw #endif
19