The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/regulator/qcom-labibb-regulator.yaml

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    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


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.