Documentation/devicetree/bindings/regulator/richtek,rt5133.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/regulator/richtek,rt5133.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/regulator/richtek,rt5133.yaml
Extension
.yaml
Size
4871 bytes
Lines
179
Domain
Support Tooling And Documentation
Bucket
Documentation
Inferred role
Support Tooling And Documentation: configuration, schema, or hardware description
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/regulator/richtek,rt5133.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Richtek RT5133 PMIC Regulator

maintainers:
  - ShihChia Chang <jeff_chang@richtek.com>

description:
  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:
  compatible:
    enum:
      - richtek,rt5133

  reg:
    maxItems: 1

  enable-gpios:
    maxItems: 1

  wakeup-source: true

  interrupts:
    maxItems: 1

  gpio-controller: true

  "#gpio-cells":
    const: 2

  richtek,oc-shutdown-all:
    type: boolean
    description:
      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:
    type: boolean
    description:
      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:
    type: object
    additionalProperties: false

    properties:
      base:
        type: object
        $ref: regulator.yaml#
        unevaluatedProperties: false
        description:
          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:
          - regulator-name

Annotation

Implementation Notes