Qualcomm's LAB(LCD AMOLED Boost)/IBB(Inverting Buck Boost) Regulator

Schema identifier ($id): "http://devicetree.org/schemas/regulator/qcom-labibb-regulator.yaml#"

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

Maintainers (maintainers): "Sumit Semwal <sumit.semwal@linaro.org>"

LAB can be used as a positive boost power supply and IBB can be used as a negative boost power supply for display panels. Currently implemented for pmi8998.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "qcom,pmi8998-lab-ibb"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "qcom,pmi8950-lab-ibb"

Item 2

Exact value (const): "qcom,pmi8998-lab-ibb"

lab — 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 and child nodes (properties) #

qcom,soft-start-us — not listed as required here

Regulator soft start time in microseconds.

Allowed values (enum): 200, 400, 600, 800

Default value (default): 200

interrupts — required here

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

Short-circuit and over-current interrupts for lab.

interrupt-names — required here

Minimum number of items (minItems): 1

Array item rules (items)

Item 1

Exact value (const): "sc-err"

Item 2

Exact value (const): "ocp"

Required in this object (required): "interrupts", "interrupt-names"

ibb — 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 and child nodes (properties) #

qcom,discharge-resistor-kohms — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Discharge resistor value in KiloOhms.

Allowed values (enum): 300, 64, 32, 16

Default value (default): 300

interrupts — required here

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

Short-circuit and over-current interrupts for ibb.

interrupt-names — required here

Minimum number of items (minItems): 1

Array item rules (items)

Item 1

Exact value (const): "sc-err"

Item 2

Exact value (const): "ocp"

Required in this object (required): "interrupts", "interrupt-names"

Required in this object (required): "compatible"

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>

labibb {
  compatible = "qcom,pmi8998-lab-ibb";

  lab {
    interrupts = <0x3 0xde 0x1 IRQ_TYPE_EDGE_RISING>,
                 <0x3 0xde 0x0 IRQ_TYPE_LEVEL_LOW>;
    interrupt-names = "sc-err", "ocp";
  };

  ibb {
    interrupts = <0x3 0xdc 0x2 IRQ_TYPE_EDGE_RISING>,
                 <0x3 0xdc 0x0 IRQ_TYPE_LEVEL_LOW>;
    interrupt-names = "sc-err", "ocp";
  };
};

Source notes #

Annotations retained from the schema source

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

Edit this page