pms405.dtsi (9a87ffc99ec8eb8d35eed7c4f816d75f5cc9662e) pms405.dtsi (41c1855232ed277e74daedbecac8d328b6c2ceb8)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright (c) 2018, Linaro Limited
4 */
5
6#include <dt-bindings/spmi/spmi.h>
7#include <dt-bindings/input/linux-event-codes.h>
8#include <dt-bindings/iio/qcom,spmi-vadc.h>

--- 67 unchanged lines hidden (view full) ---

76 pms405_adc: adc@3100 {
77 compatible = "qcom,pms405-adc", "qcom,spmi-adc-rev2";
78 reg = <0x3100>;
79 interrupts = <0x0 0x31 0x0 IRQ_TYPE_EDGE_RISING>;
80 #address-cells = <1>;
81 #size-cells = <0>;
82 #io-channel-cells = <1>;
83
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright (c) 2018, Linaro Limited
4 */
5
6#include <dt-bindings/spmi/spmi.h>
7#include <dt-bindings/input/linux-event-codes.h>
8#include <dt-bindings/iio/qcom,spmi-vadc.h>

--- 67 unchanged lines hidden (view full) ---

76 pms405_adc: adc@3100 {
77 compatible = "qcom,pms405-adc", "qcom,spmi-adc-rev2";
78 reg = <0x3100>;
79 interrupts = <0x0 0x31 0x0 IRQ_TYPE_EDGE_RISING>;
80 #address-cells = <1>;
81 #size-cells = <0>;
82 #io-channel-cells = <1>;
83
84 ref_gnd@0 {
84 channel@0 {
85 reg = <ADC5_REF_GND>;
86 qcom,pre-scaling = <1 1>;
85 reg = <ADC5_REF_GND>;
86 qcom,pre-scaling = <1 1>;
87 label = "ref_gnd";
87 };
88
88 };
89
89 vref_1p25@1 {
90 channel@1 {
90 reg = <ADC5_1P25VREF>;
91 qcom,pre-scaling = <1 1>;
91 reg = <ADC5_1P25VREF>;
92 qcom,pre-scaling = <1 1>;
93 label = "vref_1p25";
92 };
93
94 };
95
94 pon_1: vph_pwr@131 {
96 channel@131 {
95 reg = <ADC5_VPH_PWR>;
96 qcom,pre-scaling = <1 3>;
97 reg = <ADC5_VPH_PWR>;
98 qcom,pre-scaling = <1 3>;
99 label = "vph_pwr";
97 };
98
100 };
101
99 die_temp@6 {
102 channel@6 {
100 reg = <ADC5_DIE_TEMP>;
101 qcom,pre-scaling = <1 1>;
103 reg = <ADC5_DIE_TEMP>;
104 qcom,pre-scaling = <1 1>;
105 label = "die_temp";
102 };
103
106 };
107
104 pa_therm1: thermistor1@77 {
108 channel@77 {
105 reg = <ADC5_AMUX_THM1_100K_PU>;
106 qcom,ratiometric;
107 qcom,hw-settle-time = <200>;
108 qcom,pre-scaling = <1 1>;
109 reg = <ADC5_AMUX_THM1_100K_PU>;
110 qcom,ratiometric;
111 qcom,hw-settle-time = <200>;
112 qcom,pre-scaling = <1 1>;
113 label = "pa_therm1";
109 };
110
114 };
115
111 pa_therm3: thermistor3@79 {
116 channel@79 {
112 reg = <ADC5_AMUX_THM3_100K_PU>;
113 qcom,ratiometric;
114 qcom,hw-settle-time = <200>;
115 qcom,pre-scaling = <1 1>;
117 reg = <ADC5_AMUX_THM3_100K_PU>;
118 qcom,ratiometric;
119 qcom,hw-settle-time = <200>;
120 qcom,pre-scaling = <1 1>;
121 label = "pa_therm3";
116 };
117
122 };
123
118 xo_therm: xo_temp@76 {
124 channel@76 {
119 reg = <ADC5_XO_THERM_100K_PU>;
120 qcom,ratiometric;
121 qcom,hw-settle-time = <200>;
122 qcom,pre-scaling = <1 1>;
125 reg = <ADC5_XO_THERM_100K_PU>;
126 qcom,ratiometric;
127 qcom,hw-settle-time = <200>;
128 qcom,pre-scaling = <1 1>;
129 label = "xo_therm";
123 };
124 };
125
126 rtc@6000 {
127 compatible = "qcom,pm8941-rtc";
128 reg = <0x6000>, <0x6100>;
129 reg-names = "rtc", "alarm";
130 interrupts = <0x0 0x61 0x1 IRQ_TYPE_NONE>;

--- 12 unchanged lines hidden ---
130 };
131 };
132
133 rtc@6000 {
134 compatible = "qcom,pm8941-rtc";
135 reg = <0x6000>, <0x6100>;
136 reg-names = "rtc", "alarm";
137 interrupts = <0x0 0x61 0x1 IRQ_TYPE_NONE>;

--- 12 unchanged lines hidden ---