Richtek RT5133 PMIC Regulator

Schema identifier ($id): "http://devicetree.org/schemas/regulator/richtek,rt5133.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "ShihChia Chang <jeff_chang@richtek.com>"

The RT5133 is an integrated Power Management IC for portable devices, featuring 8 LDOs and 3 GPOs. It allows programmable output voltages, soft-start times, and protections via I2C. GPO operation depends on LDO1 voltage.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "richtek,rt5133"

reg — required here #

Maximum number of items (maxItems): 1

enable-gpios — not listed as required here #

Maximum number of items (maxItems): 1

wakeup-source — not listed as required here #

true — No constraints added by this property rule.

interrupts — required here #

Maximum number of items (maxItems): 1

gpio-controller — not listed as required here #

true — No constraints added by this property rule.

#gpio-cells — not listed as required here #

Exact value (const): 2

richtek,oc-shutdown-all — not listed as required here #

Value type (type): "boolean"

Controls the behavior when any LDO (Low Dropout Regulator) enters an Over Current state. If set to true, all LDO channels will be shut down. If set to false, only the affected LDO channel will shut down itself.

richtek,pgb-shutdown-all — not listed as required here #

Value type (type): "boolean"

Controls the behavior when any LDO enters a Power Good Bad state. If set to true, all LDO channels will be shut down. If set to false, only the affected LDO channel will shut down itself.

regulators — not listed as required here #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

base — not listed as required here

Value type (type): "object"

Shared schema rule ($ref): regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties for the base regulator, which is the top-level supply for LDO1 to LDO6. It functions merely as an on/off switch rather than regulating voltages. If none of LDO1 to LDO6 are in use, switching off the base will reduce the quiescent current.

Required in this object (required): "regulator-name"

Properties matching a name pattern (patternProperties) #

^ldo([1-6])$ — name matches this regular expression

Value type (type): "object"

Shared schema rule ($ref): regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties for single LDO regulator

Required in this object (required): "regulator-name"

^ldo([7-8])$ — name matches this regular expression

Value type (type): "object"

Shared schema rule ($ref): regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties for single LDO regulator

Properties and child nodes (properties)

vin-supply — required here

true — No constraints added by this property rule.

Required in this object (required): "regulator-name", "vin-supply"

Required in this object (required): "compatible", "reg", "interrupts"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/gpio/gpio.h>
i2c {
  #address-cells = <1>;
  #size-cells = <0>;

  pmic@18 {
    compatible = "richtek,rt5133";
    reg = <0x18>;
    wakeup-source;
    interrupts-extended = <&gpio 0 IRQ_TYPE_EDGE_FALLING>;
    enable-gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
    gpio-controller;
    #gpio-cells = <2>;
    richtek,oc-shutdown-all;
    richtek,pgb-shutdown-all;
    regulators {
      base {
        regulator-name = "base";
      };
      pvin78: ldo1 {
        regulator-name = "ldo1";
        regulator-min-microvolt = <1800000>;
        regulator-max-microvolt = <3199998>;
        regulator-active-discharge = <1>;
      };
      ldo2 {
        regulator-name = "ldo2";
        regulator-min-microvolt = <1800000>;
        regulator-max-microvolt = <3200000>;
        regulator-active-discharge = <1>;
      };
      ldo3 {
        regulator-name = "ldo3";
        regulator-min-microvolt = <1700000>;
        regulator-max-microvolt = <3000000>;
        regulator-active-discharge = <1>;
      };
      ldo4 {
        regulator-name = "ldo4";
        regulator-min-microvolt = <1700000>;
        regulator-max-microvolt = <3000000>;
        regulator-active-discharge = <1>;
      };
      ldo5 {
        regulator-name = "ldo5";
        regulator-min-microvolt = <1700000>;
        regulator-max-microvolt = <3000000>;
        regulator-active-discharge = <1>;
      };
      ldo6 {
        regulator-name = "ldo6";
        regulator-min-microvolt = <1700000>;
        regulator-max-microvolt = <3000000>;
        regulator-active-discharge = <1>;
      };
      ldo7 {
        regulator-name = "ldo7";
        regulator-min-microvolt = <900000>;
        regulator-max-microvolt = <1200000>;
        regulator-active-discharge = <1>;
        vin-supply = <&pvin78>;
      };
      ldo8 {
        regulator-name = "ldo8";
        regulator-min-microvolt = <855000>;
        regulator-max-microvolt = <1200000>;
        regulator-active-discharge = <1>;
        vin-supply = <&pvin78>;
      };
    };
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Edit this page