1 // SPDX-License-Identifier: BSD-3-Clause
3 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
4 * Copyright (c) 2019, Linaro Limited
7 #include <dt-bindings/iio/qcom,spmi-vadc.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
9 #include <dt-bindings/spmi/spmi.h>
14 polling-delay-passive = <100>;
17 thermal-sensors = <&pm8150b_temp>;
21 temperature = <95000>;
27 temperature = <115000>;
33 temperature = <145000>;
44 compatible = "qcom,pm8150b", "qcom,spmi-pmic";
45 reg = <0x2 SPMI_USID>;
50 compatible = "qcom,pm8916-pon";
56 pm8150b_vbus: dcdc@1100 {
57 compatible = "qcom,pm8150b-vbus-reg";
62 pm8150b_temp: temp-alarm@2400 {
63 compatible = "qcom,spmi-temp-alarm";
65 interrupts = <0x2 0x24 0x0 IRQ_TYPE_EDGE_BOTH>;
66 io-channels = <&pm8150b_adc ADC5_DIE_TEMP>;
67 io-channel-names = "thermal";
68 #thermal-sensor-cells = <0>;
71 pm8150b_adc: adc@3100 {
72 compatible = "qcom,spmi-adc5";
76 #io-channel-cells = <1>;
77 interrupts = <0x2 0x31 0x0 IRQ_TYPE_EDGE_RISING>;
81 qcom,pre-scaling = <1 1>;
86 reg = <ADC5_1P25VREF>;
87 qcom,pre-scaling = <1 1>;
92 reg = <ADC5_DIE_TEMP>;
93 qcom,pre-scaling = <1 1>;
98 reg = <ADC5_CHG_TEMP>;
99 qcom,pre-scaling = <1 1>;
104 pm8150b_adc_tm: adc-tm@3500 {
105 compatible = "qcom,spmi-adc-tm5";
107 interrupts = <0x2 0x35 0x0 IRQ_TYPE_EDGE_RISING>;
108 #thermal-sensor-cells = <1>;
109 #address-cells = <1>;
114 pm8150b_gpios: gpio@c000 {
115 compatible = "qcom,pm8150b-gpio";
119 interrupt-controller;
120 #interrupt-cells = <2>;
125 compatible = "qcom,pm8150b", "qcom,spmi-pmic";
126 reg = <0x3 SPMI_USID>;
127 #address-cells = <1>;