brintos

brintos / linux-shallow public Read only

0
0
Text · 2.1 KiB · 63e18d6 Raw
108 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/mfd/qcom-pm8xxx.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Qualcomm PM8xxx PMIC multi-function devices8 9maintainers:10  - Satya Priya <quic_c_skakit@quicinc.com>11 12description: |13  The PM8xxx family of Power Management ICs are used to provide regulated14  voltages and other various functionality to Qualcomm SoCs.15 16properties:17  compatible:18    oneOf:19      - enum:20          - qcom,pm805821          - qcom,pm882122          - qcom,pm890123          - qcom,pm892124      - items:25          - enum:26              - qcom,pm801827          - const: qcom,pm892128 29  reg:30    maxItems: 131 32  '#address-cells':33    const: 134 35  '#size-cells':36    const: 037 38  interrupts:39    maxItems: 140 41  '#interrupt-cells':42    const: 243 44  interrupt-controller: true45 46patternProperties:47  "gpio@[0-9a-f]+$":48    type: object49    $ref: /schemas/pinctrl/qcom,pmic-gpio.yaml#50 51  "keypad@[0-9a-f]+$":52    type: object53    $ref: /schemas/input/qcom,pm8921-keypad.yaml#54 55  "led@[0-9a-f]+$":56    type: object57    $ref: /schemas/leds/qcom,pm8058-led.yaml#58 59  "mpps@[0-9a-f]+$":60    type: object61    $ref: /schemas/pinctrl/qcom,pmic-mpp.yaml#62 63  "pwrkey@[0-9a-f]+$":64    type: object65    $ref: /schemas/input/qcom,pm8921-pwrkey.yaml#66 67  "rtc@[0-9a-f]+$":68    type: object69    $ref: /schemas/rtc/qcom-pm8xxx-rtc.yaml#70 71  "vibrator@[0-9a-f]+$":72    type: object73    $ref: /schemas/input/qcom,pm8xxx-vib.yaml#74 75  "xoadc@[0-9a-f]+$":76    type: object77    $ref: /schemas/iio/adc/qcom,pm8018-adc.yaml#78 79required:80  - compatible81  - '#address-cells'82  - '#size-cells'83  - interrupts84  - '#interrupt-cells'85  - interrupt-controller86 87additionalProperties: false88 89examples:90  - |91    #include <dt-bindings/interrupt-controller/irq.h>92    ssbi {93      #address-cells = <1>;94      #size-cells = <0>;95      pmic@0 {96        compatible = "qcom,pm8921";97        reg = <0>;98        #address-cells = <1>;99        #size-cells = <0>;100        interrupt-controller;101        #interrupt-cells = <2>;102 103        interrupt-parent = <&tlmm>;104        interrupts = <32 IRQ_TYPE_EDGE_RISING>;105      };106    };107...108