12eb4d8dcSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 22eb4d8dcSEmmanuel Vadot%YAML 1.2 32eb4d8dcSEmmanuel Vadot--- 42eb4d8dcSEmmanuel Vadot$id: http://devicetree.org/schemas/mfd/qcom-pm8xxx.yaml# 52eb4d8dcSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 62eb4d8dcSEmmanuel Vadot 72eb4d8dcSEmmanuel Vadottitle: Qualcomm PM8xxx PMIC multi-function devices 82eb4d8dcSEmmanuel Vadot 92eb4d8dcSEmmanuel Vadotmaintainers: 10b97ee269SEmmanuel Vadot - Satya Priya <quic_c_skakit@quicinc.com> 112eb4d8dcSEmmanuel Vadot 122eb4d8dcSEmmanuel Vadotdescription: | 132eb4d8dcSEmmanuel Vadot The PM8xxx family of Power Management ICs are used to provide regulated 142eb4d8dcSEmmanuel Vadot voltages and other various functionality to Qualcomm SoCs. 152eb4d8dcSEmmanuel Vadot 162eb4d8dcSEmmanuel Vadotproperties: 172eb4d8dcSEmmanuel Vadot compatible: 188bab661aSEmmanuel Vadot oneOf: 198bab661aSEmmanuel Vadot - enum: 202eb4d8dcSEmmanuel Vadot - qcom,pm8058 212eb4d8dcSEmmanuel Vadot - qcom,pm8821 22*7d0873ebSEmmanuel Vadot - qcom,pm8901 232eb4d8dcSEmmanuel Vadot - qcom,pm8921 248bab661aSEmmanuel Vadot - items: 258bab661aSEmmanuel Vadot - enum: 268bab661aSEmmanuel Vadot - qcom,pm8018 278bab661aSEmmanuel Vadot - const: qcom,pm8921 282eb4d8dcSEmmanuel Vadot 292eb4d8dcSEmmanuel Vadot reg: 302eb4d8dcSEmmanuel Vadot maxItems: 1 312eb4d8dcSEmmanuel Vadot 322eb4d8dcSEmmanuel Vadot '#address-cells': 332eb4d8dcSEmmanuel Vadot const: 1 342eb4d8dcSEmmanuel Vadot 352eb4d8dcSEmmanuel Vadot '#size-cells': 362eb4d8dcSEmmanuel Vadot const: 0 372eb4d8dcSEmmanuel Vadot 382eb4d8dcSEmmanuel Vadot interrupts: 392eb4d8dcSEmmanuel Vadot maxItems: 1 402eb4d8dcSEmmanuel Vadot 412eb4d8dcSEmmanuel Vadot '#interrupt-cells': 422eb4d8dcSEmmanuel Vadot const: 2 432eb4d8dcSEmmanuel Vadot 442eb4d8dcSEmmanuel Vadot interrupt-controller: true 452eb4d8dcSEmmanuel Vadot 462eb4d8dcSEmmanuel VadotpatternProperties: 4784943d6fSEmmanuel Vadot "gpio@[0-9a-f]+$": 4884943d6fSEmmanuel Vadot type: object 4984943d6fSEmmanuel Vadot $ref: /schemas/pinctrl/qcom,pmic-gpio.yaml# 5084943d6fSEmmanuel Vadot 5184943d6fSEmmanuel Vadot "keypad@[0-9a-f]+$": 5284943d6fSEmmanuel Vadot type: object 5384943d6fSEmmanuel Vadot $ref: /schemas/input/qcom,pm8921-keypad.yaml# 5484943d6fSEmmanuel Vadot 558bab661aSEmmanuel Vadot "led@[0-9a-f]+$": 568bab661aSEmmanuel Vadot type: object 578bab661aSEmmanuel Vadot $ref: /schemas/leds/qcom,pm8058-led.yaml# 588bab661aSEmmanuel Vadot 5984943d6fSEmmanuel Vadot "mpps@[0-9a-f]+$": 6084943d6fSEmmanuel Vadot type: object 6184943d6fSEmmanuel Vadot $ref: /schemas/pinctrl/qcom,pmic-mpp.yaml# 6284943d6fSEmmanuel Vadot 6384943d6fSEmmanuel Vadot "pwrkey@[0-9a-f]+$": 6484943d6fSEmmanuel Vadot type: object 6584943d6fSEmmanuel Vadot $ref: /schemas/input/qcom,pm8921-pwrkey.yaml# 6684943d6fSEmmanuel Vadot 672eb4d8dcSEmmanuel Vadot "rtc@[0-9a-f]+$": 682eb4d8dcSEmmanuel Vadot type: object 6984943d6fSEmmanuel Vadot $ref: /schemas/rtc/qcom-pm8xxx-rtc.yaml# 7084943d6fSEmmanuel Vadot 7184943d6fSEmmanuel Vadot "vibrator@[0-9a-f]+$": 7284943d6fSEmmanuel Vadot type: object 7384943d6fSEmmanuel Vadot $ref: /schemas/input/qcom,pm8xxx-vib.yaml# 7484943d6fSEmmanuel Vadot 7584943d6fSEmmanuel Vadot "xoadc@[0-9a-f]+$": 7684943d6fSEmmanuel Vadot type: object 7784943d6fSEmmanuel Vadot $ref: /schemas/iio/adc/qcom,pm8018-adc.yaml# 782eb4d8dcSEmmanuel Vadot 792eb4d8dcSEmmanuel Vadotrequired: 802eb4d8dcSEmmanuel Vadot - compatible 812eb4d8dcSEmmanuel Vadot - '#address-cells' 822eb4d8dcSEmmanuel Vadot - '#size-cells' 832eb4d8dcSEmmanuel Vadot - interrupts 842eb4d8dcSEmmanuel Vadot - '#interrupt-cells' 852eb4d8dcSEmmanuel Vadot - interrupt-controller 862eb4d8dcSEmmanuel Vadot 872eb4d8dcSEmmanuel VadotadditionalProperties: false 888bab661aSEmmanuel Vadot 898bab661aSEmmanuel Vadotexamples: 908bab661aSEmmanuel Vadot - | 918bab661aSEmmanuel Vadot #include <dt-bindings/interrupt-controller/irq.h> 928bab661aSEmmanuel Vadot ssbi { 938bab661aSEmmanuel Vadot #address-cells = <1>; 948bab661aSEmmanuel Vadot #size-cells = <0>; 958bab661aSEmmanuel Vadot pmic@0 { 968bab661aSEmmanuel Vadot compatible = "qcom,pm8921"; 978bab661aSEmmanuel Vadot reg = <0>; 988bab661aSEmmanuel Vadot #address-cells = <1>; 998bab661aSEmmanuel Vadot #size-cells = <0>; 1008bab661aSEmmanuel Vadot interrupt-controller; 1018bab661aSEmmanuel Vadot #interrupt-cells = <2>; 1028bab661aSEmmanuel Vadot 1038bab661aSEmmanuel Vadot interrupt-parent = <&tlmm>; 1048bab661aSEmmanuel Vadot interrupts = <32 IRQ_TYPE_EDGE_RISING>; 1058bab661aSEmmanuel Vadot }; 1068bab661aSEmmanuel Vadot }; 1072eb4d8dcSEmmanuel Vadot... 108