Richtek RTQ2208 SubPMIC Regulator

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

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

Maintainers (maintainers): "Alina Yu <alina_yu@richtek.com>"

RTQ2208 is a highly integrated power converter that offers functional safety dual multi-configurable synchronous buck converters and two LDOs.

Bucks support "regulator-allowed-modes" and "regulator-mode". The former defines the permitted switching operation in normal mode; the latter defines the operation in suspend to RAM mode.

No matter the RTQ2208 is configured to normal or suspend to RAM mode, there are two switching operation modes for all buck rails, automatic power saving mode (Auto mode) and forced continuous conduction mode (FCCM).

The definition of modes is in the datasheet which is available in below link
and their meaning is::
  0 - Auto mode for power saving, which reducing the switching frequency at light load condition
  to maintain high frequency.
  1 - FCCM to meet the strict voltage regulation accuracy, which keeping constant switching frequency.

Datasheet will be available soon at https://www.richtek.com/assets/Products

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "richtek,rtq2208"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

richtek,mtp-sel-high — not listed as required here #

Value type (type): "boolean"

vout register selection based on this boolean value. false - Using DVS0 register setting to adjust vout true - Using DVS1 register setting to adjust vout

regulators — required here #

Value type (type): "object"

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

false

Not allowed by this rule.

Properties matching a name pattern (patternProperties) #

^buck-[a-h]$ — 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.

description for buck-[a-h] regulator.

Properties and child nodes (properties)

regulator-allowed-modes — not listed as required here

two buck modes in different switching accuracy. 0 - Auto mode 1 - FCCM

Array item rules (items)

Allowed values (enum): 0, 1

^ldo[1-2]$ — 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.

regulator description for ldo[1-2].

Properties and child nodes (properties)

richtek,fixed-microvolt — not listed as required here

Deprecated (deprecated): true

This property can be used to set a fixed operating voltage that lies outside the range of the regulator's adjustable mode.

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

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>
i2c {
  #address-cells = <1>;
  #size-cells = <0>;

  pmic@10 {
    compatible = "richtek,rtq2208";
    reg = <0x10>;
    interrupts-extended = <&gpio26 0 IRQ_TYPE_LEVEL_LOW>;
    richtek,mtp-sel-high;

    regulators {
      buck-a {
        regulator-min-microvolt = <400000>;
        regulator-max-microvolt = <2050000>;
        regulator-allowed-modes = <0 1>;
        regulator-always-on;
        regulator-state-mem {
          regulator-on-in-suspend;
          regulator-mode = <1>;
        };
      };
      buck-b {
        regulator-min-microvolt = <400000>;
        regulator-max-microvolt = <2050000>;
        regulator-allowed-modes = <0 1>;
        regulator-always-on;
        regulator-state-mem {
          regulator-on-in-suspend;
          regulator-mode = <1>;
        };
      };
      buck-c {
        regulator-min-microvolt = <400000>;
        regulator-max-microvolt = <2050000>;
        regulator-allowed-modes = <0 1>;
        regulator-always-on;
        regulator-state-mem {
          regulator-on-in-suspend;
          regulator-mode = <1>;
        };
      };
      buck-d {
        regulator-min-microvolt = <400000>;
        regulator-max-microvolt = <2050000>;
        regulator-allowed-modes = <0 1>;
        regulator-always-on;
        regulator-state-mem {
          regulator-on-in-suspend;
          regulator-mode = <1>;
        };
      };
      buck-e {
        regulator-min-microvolt = <400000>;
        regulator-max-microvolt = <2050000>;
        regulator-allowed-modes = <0 1>;
        regulator-always-on;
        regulator-state-mem {
          regulator-on-in-suspend;
          regulator-mode = <1>;
        };
      };
      buck-f {
        regulator-min-microvolt = <400000>;
        regulator-max-microvolt = <2050000>;
        regulator-allowed-modes = <0 1>;
        regulator-always-on;
        regulator-state-mem {
          regulator-on-in-suspend;
          regulator-mode = <1>;
        };
      };
      buck-g {
        regulator-min-microvolt = <400000>;
        regulator-max-microvolt = <2050000>;
        regulator-allowed-modes = <0 1>;
        regulator-always-on;
        regulator-state-mem {
          regulator-on-in-suspend;
          regulator-mode = <1>;
        };
      };
      buck-h {
        regulator-min-microvolt = <400000>;
        regulator-max-microvolt = <2050000>;
        regulator-allowed-modes = <0 1>;
        regulator-always-on;
        regulator-state-mem {
          regulator-on-in-suspend;
          regulator-mode = <1>;
        };
      };
      ldo1 {
        /* Fixed LDO VOUT */
        richtek,fixed-microvolt = <1200000>;
        regulator-min-microvolt = <1200000>;
        regulator-max-microvolt = <1200000>;
        regulator-always-on;
        regulator-state-mem {
          regulator-on-in-suspend;
        };
      };
      ldo2 {
        /* Adjustable LDO VOUT */
        regulator-min-microvolt = <1800000>;
        regulator-max-microvolt = <3300000>;
        regulator-always-on;
        regulator-state-mem {
          regulator-on-in-suspend;
        };
      };
    };
  };
};

Source notes #

Annotations retained from the schema source

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

Edit this page