Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

Header file for nPM10xx Devicetree helpers. More...

Go to the source code of this file.

Macros

nPM10xx BUCK regulator modes
#define NPM10XX_BUCK_PWRMODE_LP   BIT(0)
 BUCK Low Power mode.
#define NPM10XX_BUCK_PWRMODE_ULP   BIT(1)
 BUCK Ultra-Low Power mode.
#define NPM10XX_BUCK_PASSTHRU_OFF   BIT(2)
 BUCK disable Pass-through mode.
#define NPM10XX_BUCK_PASSTHRU_ON   BIT(3)
 BUCK enable Pass-through mode.
nPM10xx LDO regulator modes
#define NPM10XX_LDO_MODE_LDO   BIT(0)
 LDO mode.
#define NPM10XX_LDO_MODE_LS   BIT(1)
 Load Switch mode.
nPM10xx regulator GPIO control

Multiple GPIO control flags can be combined on the BUCK regulator.

#define NPM10XX_REG_GPIO_EN   BIT(4)
 Turn on enable GPIO control of a regulator.
#define NPM10XX_BUCK_GPIO_PWRMODE   BIT(5)
 Turn on power mode switching GPIO control of BUCK.
#define NPM10XX_BUCK_GPIO_ALTVOUT   BIT(6)
 Turn on alternate VOUT switching GPIO control of BUCK.
#define NPM10XX_REG_GPIO_NONE   BIT(7)
 Disable all GPIO control of a regulator.

Detailed Description

Header file for nPM10xx Devicetree helpers.