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#
6
7 title: Qualcomm's LAB(LCD AMOLED Boost)/IBB(Inverting Buck Boost) Regulator
8
9 maintainers:
10 - Sumit Semwal <sumit.semwal@linaro.org>
11
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.
16
17 properties:
18 compatible:
19 const: qcom,pmi8998-lab-ibb
20
21 lab:
22 type: object
23
24 properties:
25 qcom,soft-start-us:
26 description: Regulator soft start time in microseconds.
27 enum: [200, 400, 600, 800]
28 default: 200
29
30 interrupts:
31 minItems: 1
32 maxItems: 2
33 description:
34 Short-circuit and over-current interrupts for lab.
35
36 required:
37 - interrupts
38
39 ibb:
40 type: object
41
42 properties:
43 qcom,discharge-resistor-kohms:
44 $ref: /schemas/types.yaml#/definitions/uint32
45 description: Discharge resistor value in KiloOhms.
46 enum: [300, 64, 32, 16]
47 default: 300
48
49 interrupts:
50 minItems: 1
51 maxItems: 2
52 description:
53 Short-circuit and over-current interrupts for ibb.
54
55 required:
56 - interrupts
57
58 required:
59 - compatible
60
61 additionalProperties: false
62
63 examples:
64 - |
65 #include <dt-bindings/interrupt-controller/irq.h>
66
67 labibb {
68 compatible = "qcom,pmi8998-lab-ibb";
69
70 lab {
71 interrupts = <0x3 0xde 0x1 IRQ_TYPE_EDGE_RISING>,
72 <0x3 0xde 0x0 IRQ_TYPE_LEVEL_LOW>;
73 interrupt-names = "sc-err", "ocp";
74 };
75
76 ibb {
77 interrupts = <0x3 0xdc 0x2 IRQ_TYPE_EDGE_RISING>,
78 <0x3 0xdc 0x0 IRQ_TYPE_LEVEL_LOW>;
79 interrupt-names = "sc-err", "ocp";
80 };
81 };
82
83 ...
Cache object: 4f933332f02a83405b7a4360a77f1f7f
|