m5stack,m5pm1-regulator (on m5pm1 bus)

Description

M5Stack M5PM1 fixed-voltage regulators

Examples

i2c {
  pmic@6e {
    compatible = "m5stack,m5pm1";
    reg = <0x6e>;

    regulators {
      compatible = "m5stack,m5pm1-regulator";

      DCDC_3V3 {
      };

      LDO_3V3 {
      };

      BOOST_5V {
      };
    };
  };
};

Properties

Top level properties

These property descriptions apply to “m5stack,m5pm1-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-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.