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

Nordic nPM2100 PMIC regulator driver Devicetree helpers. More...

Files

file  npm2100.h
 Header file for nPM2100 Devicetree helpers.

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

Nordic nPM2100 PMIC regulator driver Devicetree helpers.

Macro Definition Documentation

◆ NPM2100_REG_DPS_ALLOW

#define NPM2100_REG_DPS_ALLOW   0x01U

#include <zephyr/dt-bindings/regulator/npm2100.h>

Allow dynamic power scaling.

◆ NPM2100_REG_DPS_ALLOWLP

#define NPM2100_REG_DPS_ALLOWLP   0x02U

#include <zephyr/dt-bindings/regulator/npm2100.h>

Allow dynamic power scaling in low power.

◆ NPM2100_REG_FORCE_HP

#define NPM2100_REG_FORCE_HP   0x20U

#include <zephyr/dt-bindings/regulator/npm2100.h>

Force high performance mode.

◆ NPM2100_REG_FORCE_LP

#define NPM2100_REG_FORCE_LP   0x40U

#include <zephyr/dt-bindings/regulator/npm2100.h>

Force low power mode.

◆ NPM2100_REG_FORCE_NOHP

#define NPM2100_REG_FORCE_NOHP   0xA0U

#include <zephyr/dt-bindings/regulator/npm2100.h>

Force no high performance mode.

◆ NPM2100_REG_FORCE_PASS

#define NPM2100_REG_FORCE_PASS   0x80U

#include <zephyr/dt-bindings/regulator/npm2100.h>

Force pass-through mode.

◆ NPM2100_REG_FORCE_ULP

#define NPM2100_REG_FORCE_ULP   0x60U

#include <zephyr/dt-bindings/regulator/npm2100.h>

Force ultra-low power mode.

◆ NPM2100_REG_LDSW_EN

#define NPM2100_REG_LDSW_EN   0x01U

#include <zephyr/dt-bindings/regulator/npm2100.h>

Enable load switch.

◆ NPM2100_REG_OPER_AUTO

#define NPM2100_REG_OPER_AUTO   0x00U

#include <zephyr/dt-bindings/regulator/npm2100.h>

Automatic mode.

◆ NPM2100_REG_OPER_HP

#define NPM2100_REG_OPER_HP   0x04U

#include <zephyr/dt-bindings/regulator/npm2100.h>

High power mode.

◆ NPM2100_REG_OPER_LP

#define NPM2100_REG_OPER_LP   0x08U

#include <zephyr/dt-bindings/regulator/npm2100.h>

Low power mode.

◆ NPM2100_REG_OPER_NOHP

#define NPM2100_REG_OPER_NOHP   0x14U

#include <zephyr/dt-bindings/regulator/npm2100.h>

No high power mode.

◆ NPM2100_REG_OPER_OFF

#define NPM2100_REG_OPER_OFF   0x18U

◆ NPM2100_REG_OPER_PASS

#define NPM2100_REG_OPER_PASS   0x10U

#include <zephyr/dt-bindings/regulator/npm2100.h>

Pass-through mode.

◆ NPM2100_REG_OPER_ULP

#define NPM2100_REG_OPER_ULP   0x0CU

#include <zephyr/dt-bindings/regulator/npm2100.h>

Ultra-low power mode.