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