nxp,pca9422-regulator

Vendor: NXP Semiconductors

Note

An implementation of a driver matching this compatible is available in drivers/regulator/regulator_pca9422.c.

Description

NXP PCA9422 PMIC

The PMIC has three buck converters, one buck-boost converter and four LDOs.
All need to be defined as children nodes, strictly following the BUCK1, BUCK2,
BUCK3, BUCKBOOST, LDO1, LDO2, LDO3 and LDO4 node names.
For example:

pmic@61 {
  reg = <0x61>;
  ...
  regulators {
    compatible = "nxp,pca9422-regulator";
    BUCK1 {
      /* all properties for BUCK1 */
    };
    BUCK2 {
      /* all properties for BUCK2 */
    };
    BUCK3 {
      /* all properties for BUCK2 */
    };
    BUCKBOOST {
      /* all properties for BUCKBOOST */
    };
    LDO1 {
      /* all properties for LDO1 */
    };
    LDO2 {
      /* all properties for LDO2 */
    };
    LDO3 {
      /* all properties for LDO3 */
    };
    LDO4 {
      /* all properties for LDO4 */
    };
  };
}

Properties

Top level properties

These property descriptions apply to “nxp,pca9422-regulator” nodes themselves. This page also describes child node properties in the following sections.

Properties not inherited from the base binding file.

Name

Type

Details

nxp,enable-modesel-pins

boolean

When enabled, the PMIC will be configured to allow mode transition by using the SLEEP_MODE0/STBY_MODE1 pins.

nxp,vsys-uvlo-sel-millivolt

int

VSYS UVLO (under voltage lock out) threshold, in millivolts. Defaults to
2700mV to match the IC default value.

Default value: 2700

Legal values: 2600, 2700, 2800

Child node properties

Name

Type

Details

low-power-mode

string

Regulator low power mode setting.

- Normal mode ("Normal")
- Low power mode at STANDBY mode and DPSTANDBY mode ("LPM1")
- Low power mode at DPSTANDBY mode ("LPM2")
- Forced low power mode ("FLPM")

Default value: Normal

Legal values: 'Normal', 'LPM1', 'LPM2', 'FLPM'

enable-mode

string

Regulator enable mode setting.

- ON at ACTIVE, SLEEP, STANDBY and DPSTANDBY mode ("All")
- ON at ACTIVE, SLEEP and STANDBY modes, OFF at DPSTANDBY mode
  ("Active/Sleep/Standby")
- ON at ACTIVE and SLEEP modes, OFF at STANDBY and DPSTANDBY mode
  ("Active/Sleep")
- ON at ACTIVE mode, OFF at SLEEP, STANDBY and DPSTANDBY mode
  ("Active")

Default value: All

Legal values: 'All', 'Active/Sleep/Standby', 'Active/Sleep', 'Active'

nxp,active-microvolt

int

The voltage level to be configured for active mode, in microvolts.

nxp,sleep-microvolt

int

The voltage level to be configured for sleep mode, in microvolts.

nxp,standby-microvolt

int

The voltage level to be configured for standby and dpstandby modes,
in microvolts.

regulator-min-microvolt

int

smallest voltage consumers may set

regulator-max-microvolt

int

largest voltage consumers may set

regulator-always-on

boolean

boolean, regulator should never be disabled

regulator-boot-on

boolean

bootloader/firmware enabled regulator.
It's expected that this regulator was left on by the bootloader.
If the bootloader didn't leave it on then OS should turn it on
at boot but shouldn't prevent it from being turned off later.
This property is intended to only be used for regulators where
software cannot read the state of the regulator.