1f2f2bc3cSsatya priya# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2f2f2bc3cSsatya priya%YAML 1.2 3f2f2bc3cSsatya priya--- 4f2f2bc3cSsatya priya$id: http://devicetree.org/schemas/mfd/qcom-pm8xxx.yaml# 5f2f2bc3cSsatya priya$schema: http://devicetree.org/meta-schemas/core.yaml# 6f2f2bc3cSsatya priya 7f2f2bc3cSsatya priyatitle: Qualcomm PM8xxx PMIC multi-function devices 8f2f2bc3cSsatya priya 9f2f2bc3cSsatya priyamaintainers: 1076659e20SSatya Priya - Satya Priya <quic_c_skakit@quicinc.com> 11f2f2bc3cSsatya priya 12f2f2bc3cSsatya priyadescription: | 13f2f2bc3cSsatya priya The PM8xxx family of Power Management ICs are used to provide regulated 14f2f2bc3cSsatya priya voltages and other various functionality to Qualcomm SoCs. 15f2f2bc3cSsatya priya 16f2f2bc3cSsatya priyaproperties: 17f2f2bc3cSsatya priya compatible: 18*6af338b0SNeil Armstrong oneOf: 19*6af338b0SNeil Armstrong - enum: 20f2f2bc3cSsatya priya - qcom,pm8058 21f2f2bc3cSsatya priya - qcom,pm8821 22f2f2bc3cSsatya priya - qcom,pm8921 23*6af338b0SNeil Armstrong - items: 24*6af338b0SNeil Armstrong - enum: 25*6af338b0SNeil Armstrong - qcom,pm8018 26*6af338b0SNeil Armstrong - const: qcom,pm8921 27f2f2bc3cSsatya priya 28f2f2bc3cSsatya priya reg: 29f2f2bc3cSsatya priya maxItems: 1 30f2f2bc3cSsatya priya 31f2f2bc3cSsatya priya '#address-cells': 32f2f2bc3cSsatya priya const: 1 33f2f2bc3cSsatya priya 34f2f2bc3cSsatya priya '#size-cells': 35f2f2bc3cSsatya priya const: 0 36f2f2bc3cSsatya priya 37f2f2bc3cSsatya priya interrupts: 38f2f2bc3cSsatya priya maxItems: 1 39f2f2bc3cSsatya priya 40f2f2bc3cSsatya priya '#interrupt-cells': 41f2f2bc3cSsatya priya const: 2 42f2f2bc3cSsatya priya 43f2f2bc3cSsatya priya interrupt-controller: true 44f2f2bc3cSsatya priya 45f2f2bc3cSsatya priyapatternProperties: 46f2f2bc3cSsatya priya "rtc@[0-9a-f]+$": 47f2f2bc3cSsatya priya type: object 48f2f2bc3cSsatya priya $ref: "../rtc/qcom-pm8xxx-rtc.yaml" 49f2f2bc3cSsatya priya 50f2f2bc3cSsatya priyarequired: 51f2f2bc3cSsatya priya - compatible 52f2f2bc3cSsatya priya - '#address-cells' 53f2f2bc3cSsatya priya - '#size-cells' 54f2f2bc3cSsatya priya - interrupts 55f2f2bc3cSsatya priya - '#interrupt-cells' 56f2f2bc3cSsatya priya - interrupt-controller 57f2f2bc3cSsatya priya 58f2f2bc3cSsatya priyaadditionalProperties: false 59*6af338b0SNeil Armstrong 60*6af338b0SNeil Armstrongexamples: 61*6af338b0SNeil Armstrong - | 62*6af338b0SNeil Armstrong #include <dt-bindings/interrupt-controller/irq.h> 63*6af338b0SNeil Armstrong ssbi { 64*6af338b0SNeil Armstrong #address-cells = <1>; 65*6af338b0SNeil Armstrong #size-cells = <0>; 66*6af338b0SNeil Armstrong pmic@0 { 67*6af338b0SNeil Armstrong compatible = "qcom,pm8921"; 68*6af338b0SNeil Armstrong reg = <0>; 69*6af338b0SNeil Armstrong #address-cells = <1>; 70*6af338b0SNeil Armstrong #size-cells = <0>; 71*6af338b0SNeil Armstrong interrupt-controller; 72*6af338b0SNeil Armstrong #interrupt-cells = <2>; 73*6af338b0SNeil Armstrong 74*6af338b0SNeil Armstrong interrupt-parent = <&tlmm>; 75*6af338b0SNeil Armstrong interrupts = <32 IRQ_TYPE_EDGE_RISING>; 76*6af338b0SNeil Armstrong }; 77*6af338b0SNeil Armstrong }; 78f2f2bc3cSsatya priya... 79