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

Header file for nPM2100 Devicetree helpers. More...

Go to the source code of this file.

Macros

nPM2100 LDOSW regulator modes
#define NPM2100_REG_LDSW_EN   0x01U
 Enable load switch.
nPM2100 BOOST DPS modes
#define NPM2100_REG_DPS_ALLOW   0x01U
 Allow dynamic power scaling.
#define NPM2100_REG_DPS_ALLOWLP   0x02U
 Allow dynamic power scaling in low power.
nPM2100 regulator operating modes
#define NPM2100_REG_OPER_AUTO   0x00U
 Automatic mode.
#define NPM2100_REG_OPER_HP   0x04U
 High power mode.
#define NPM2100_REG_OPER_LP   0x08U
 Low power mode.
#define NPM2100_REG_OPER_ULP   0x0CU
 Ultra-low power mode.
#define NPM2100_REG_OPER_PASS   0x10U
 Pass-through mode.
#define NPM2100_REG_OPER_NOHP   0x14U
 No high power mode.
#define NPM2100_REG_OPER_OFF   0x18U
 Off mode.
nPM2100 regulator forced modes when GPIO active
#define NPM2100_REG_FORCE_HP   0x20U
 Force high performance mode.
#define NPM2100_REG_FORCE_LP   0x40U
 Force low power mode.
#define NPM2100_REG_FORCE_ULP   0x60U
 Force ultra-low power mode.
#define NPM2100_REG_FORCE_PASS   0x80U
 Force pass-through mode.
#define NPM2100_REG_FORCE_NOHP   0xA0U
 Force no high performance mode.

Detailed Description

Header file for nPM2100 Devicetree helpers.