adi,adp5360-regulator

Description

Analog Devices ADP5360 PMIC

The PMIC has one buck converter and one buck-boost converter. Both need to be
defined as children nodes, strictly following the BUCK and BUCKBOOST node
names.

The regulators are modeled in DT as a child device of "adi,adp5360" compatible node.

Examples

pmic@46 {
  compatible = "adi,adp5360";
  reg = <0x46>;
  /* ... */
  regulators {
    compatible = "adi,adp5360-regulator";

    BUCK {
      /* all properties for BUCK */
    };
    BUCKBOOST {
      /* all properties for BUCKBOOST */
    };
  };
};

Properties

Top level properties

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

Properties not inherited from the base binding file.

(None)

Child node properties

Name

Type

Details

regulator-init-microvolt

int

Voltage set during initialisation

This property is required.

adi,switch-delay-us

int

Switch delay time in hysteresis. The device default for this setting is 0us.

Legal values: 0, 5, 10, 20

adi,soft-start-ms

int

Soft start time in milliseconds. The device default for this setting is 1ms.

Default value: 1

Legal values: 1, 8, 64, 512

adi,ilim-milliamp

int

Peak current limit, in milliamperes. Values above 400mA are only
applicable to buck boost.
The device default for this setting is 400mA.

Default value: 400

Legal values: 100, 200, 300, 400, 500, 600, 700, 800

adi,enable-stop-pulse

boolean

With this option selected and the buck/boost enabled, the buck/boost
regulator can be stopped using the STP pin.

adi,enable-output-discharge

boolean

Enable output discharge functionality

adi,enable-gpios

phandle-array

Enable pin for the Buck/Buckboost regulator.
Note that the Buck regulator enable pin is logically AND-ed to its enable bit.
If the enable-gpios pin is not found on the Buck converter, it is assumed
that the EN1 pin is latched to high via hardware configuration.

The Buckboost regulator is logically OR-ed to its enable bit,
thus it is optional to use alongside the enable bit in the buckboost config register.

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.

regulator-boot-off

boolean

Regulator should be disabled on boot.

regulator-initial-mode

int

Initial operating mode. The set of possible operating modes depends on the
capabilities of every hardware so each device binding documentation
explains which values the regulator supports.

regulator-allowed-modes

array

List of operating modes that software is allowed to configure for the
regulator at run-time. Elements may be specified in any order. The set of
possible operating modes depends on the capabilities of every hardware so
each device binding document explains which values the regulator supports.

regulator-active-discharge

int

tristate, enable/disable active discharge of regulators. The values are:
0: Disable active discharge.
1: Enable active discharge.
Absence of this property will leave configuration to default.

Legal values: 0, 1