nordic,npm10xx (on i2c bus)

Description

Nordic nPM10xx PMIC MFD

Examples

npm1012: pmic@6a {
  reg = <0x6a>;
  compatible = "nordic,npm10xx";
  host-int-gpios = <&gpio0 4 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
  pmic-int-gpio-config = <2 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>;

  regulators {
    compatible = "nordic,npm10xx-regulator";
    /* ... */
  };

  charger {
    compatible = "nordic,npm10xx-charger";
    /* ... */
  };

  sensor {
    compatible = "nordic,npm10xx-adc";
    /* ... */
  };
};

Properties

Properties not inherited from the base binding file.

Name

Type

Details

host-int-gpios

phandle-array

Host GPIO for interrupt input. Active level must match that of pmic-int-gpio-config.

pmic-int-gpio-config

array

PMIC GPIO config for interrupt output <idx flags>. Index is 0 to 2. Use flags to provide
additional configuration, for example, GPIO_OPEN_DRAIN.

pwr-cycle-delay-ms

int

Length of the PMIC power cycle in milliseconds.

Legal values: 350, 250, 150, 50

longpress-reset-source

string

Select long press reset source for the PMIC. Choose one of the following:
  none - no reset source, hardware's default
  gpio - reset button connected to GPIO, choose GPIO number using longpress-reset-gpio
  shphld - reset button connected to SHPHLD pin
  both - reset button connected to both SHPHLD and GPIO pins, choose GPIO number

Default value: none

Legal values: none, gpio, shphld, both

longpress-reset-gpio-config

array

GPIO pin config <idx flags> to use for long press reset in combination with "gpio" or "both"
reset source.

longpress-reset-debounce-s

int

Duration in seconds the reset button(s) need to be pressed to issue a reset. Defaults to the
hardware reset value.

Default value: 3

Legal values: 3, 5, 10, 20

shphld-wakeup-disable

boolean

Disable the wake up from hibernation functionality of the SHPHLD pin.

shphld-wakeup-debounce-ms

int

SHPHLD pin wake up debounce in milliseconds.

Legal values: 50, 100, 500, 1000

supply-gpios

phandle-array

GPIO specifier that controls power to the device.

This property should be provided when the device has a dedicated
switch that controls power to the device.  The supply state is
entirely the responsibility of the device driver.

Contrast with vin-supply.

vin-supply

phandle

Reference to the regulator that controls power to the device.
The referenced devicetree node must have a regulator compatible.

This property should be provided when device power is supplied
by a shared regulator.  The supply state is dependent on the
request status of all devices fed by the regulator.

Contrast with supply-gpios.  If both properties are provided
then the regulator must be requested before the supply GPIOS is
set to an active state, and the supply GPIOS must be set to an
inactive state before releasing the regulator.