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: 186af338b0SNeil Armstrong oneOf: 196af338b0SNeil Armstrong - enum: 20f2f2bc3cSsatya priya - qcom,pm8058 21f2f2bc3cSsatya priya - qcom,pm8821 22f2f2bc3cSsatya priya - qcom,pm8921 236af338b0SNeil Armstrong - items: 246af338b0SNeil Armstrong - enum: 256af338b0SNeil Armstrong - qcom,pm8018 266af338b0SNeil 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: 466afd8bd5SKrzysztof Kozlowski "led@[0-9a-f]+$": 476afd8bd5SKrzysztof Kozlowski type: object 486afd8bd5SKrzysztof Kozlowski $ref: /schemas/leds/qcom,pm8058-led.yaml# 496afd8bd5SKrzysztof Kozlowski 50f2f2bc3cSsatya priya "rtc@[0-9a-f]+$": 51f2f2bc3cSsatya priya type: object 52*9896a19cSRob Herring $ref: ../rtc/qcom-pm8xxx-rtc.yaml 53f2f2bc3cSsatya priya 54f2f2bc3cSsatya priyarequired: 55f2f2bc3cSsatya priya - compatible 56f2f2bc3cSsatya priya - '#address-cells' 57f2f2bc3cSsatya priya - '#size-cells' 58f2f2bc3cSsatya priya - interrupts 59f2f2bc3cSsatya priya - '#interrupt-cells' 60f2f2bc3cSsatya priya - interrupt-controller 61f2f2bc3cSsatya priya 62f2f2bc3cSsatya priyaadditionalProperties: false 636af338b0SNeil Armstrong 646af338b0SNeil Armstrongexamples: 656af338b0SNeil Armstrong - | 666af338b0SNeil Armstrong #include <dt-bindings/interrupt-controller/irq.h> 676af338b0SNeil Armstrong ssbi { 686af338b0SNeil Armstrong #address-cells = <1>; 696af338b0SNeil Armstrong #size-cells = <0>; 706af338b0SNeil Armstrong pmic@0 { 716af338b0SNeil Armstrong compatible = "qcom,pm8921"; 726af338b0SNeil Armstrong reg = <0>; 736af338b0SNeil Armstrong #address-cells = <1>; 746af338b0SNeil Armstrong #size-cells = <0>; 756af338b0SNeil Armstrong interrupt-controller; 766af338b0SNeil Armstrong #interrupt-cells = <2>; 776af338b0SNeil Armstrong 786af338b0SNeil Armstrong interrupt-parent = <&tlmm>; 796af338b0SNeil Armstrong interrupts = <32 IRQ_TYPE_EDGE_RISING>; 806af338b0SNeil Armstrong }; 816af338b0SNeil Armstrong }; 82f2f2bc3cSsatya priya... 83