WIP FPC-III support
[linux/fpc-iii.git] / Documentation / devicetree / bindings / regulator / qcom-labibb-regulator.yaml
blob53853ec20fe2412d56600922f2e8c97d786b1ca4
1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/regulator/qcom-labibb-regulator.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm's LAB(LCD AMOLED Boost)/IBB(Inverting Buck Boost) Regulator
9 maintainers:
10   - Sumit Semwal <sumit.semwal@linaro.org>
12 description:
13   LAB can be used as a positive boost power supply and IBB can be used as a
14   negative boost power supply for display panels. Currently implemented for
15   pmi8998.
17 properties:
18   compatible:
19     const: qcom,pmi8998-lab-ibb
21   lab:
22     type: object
24     properties:
26       interrupts:
27         maxItems: 1
28         description:
29           Short-circuit interrupt for lab.
31     required:
32       - interrupts
34   ibb:
35     type: object
37     properties:
39       interrupts:
40         maxItems: 1
41         description:
42           Short-circuit interrupt for lab.
44     required:
45       - interrupts
47 required:
48   - compatible
50 additionalProperties: false
52 examples:
53   - |
54     #include <dt-bindings/interrupt-controller/irq.h>
56     labibb {
57       compatible = "qcom,pmi8998-lab-ibb";
59       lab {
60         interrupts = <0x3 0x0 IRQ_TYPE_EDGE_RISING>;
61         interrupt-names = "sc-err";
62       };
64       ibb {
65         interrupts = <0x3 0x2 IRQ_TYPE_EDGE_RISING>;
66         interrupt-names = "sc-err";
67       };
68     };
70 ...