1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
4 $id: http://devicetree.org/schemas/mfd/qcom,pm8008.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm Technologies, Inc. PM8008 PMIC
10 - Guru Das Srinagesh <quic_gurus@quicinc.com>
13 Qualcomm Technologies, Inc. PM8008 is a dedicated camera PMIC that integrates
14 all the necessary power management, housekeeping, and interface support
15 functions into a single IC.
30 description: Parent interrupt.
36 The first cell is the IRQ number, the second cell is the IRQ trigger
37 flag. All interrupts are listed in include/dt-bindings/mfd/qcom-pm8008.h.
39 interrupt-controller: true
52 The GPIO peripheral. This node may be specified twice, one for each GPIO.
57 - const: qcom,pm8008-gpio
58 - const: qcom,spmi-gpio
61 description: Peripheral address of one of the two GPIO peripherals.
69 interrupt-controller: true
81 - interrupt-controller
86 additionalProperties: false
96 additionalProperties: false
100 #include <dt-bindings/mfd/qcom-pm8008.h>
101 #include <dt-bindings/interrupt-controller/irq.h>
103 #address-cells = <1>;
106 compatible = "qcom,pm8008";
108 #address-cells = <1>;
110 interrupt-controller;
111 #interrupt-cells = <2>;
113 interrupt-parent = <&tlmm>;
114 interrupts = <32 IRQ_TYPE_EDGE_RISING>;
116 pm8008_gpios: gpio@c000 {
117 compatible = "qcom,pm8008-gpio", "qcom,spmi-gpio";
120 gpio-ranges = <&pm8008_gpios 0 0 2>;
122 interrupt-controller;
123 #interrupt-cells = <2>;