Debian Codegraph @

scripts/dtc/include-prefixes/arm64/qcom/pm8550vs.dtsi

raw
1 // SPDX-License-Identifier: BSD-3-Clause
2 /*
3 * Copyright (c) 2022, Linaro Limited
4 */
5
6 #include <dt-bindings/interrupt-controller/irq.h>
7 #include <dt-bindings/spmi/spmi.h>
8
9 / {
10 thermal-zones {
11 pm8550vs-c-thermal {
12 polling-delay-passive = <100>;
13
14 thermal-sensors = <&pm8550vs_c_temp_alarm>;
15
16 trips {
17 trip0 {
18 temperature = <95000>;
19 hysteresis = <0>;
20 type = "passive";
21 };
22
23 trip1 {
24 temperature = <115000>;
25 hysteresis = <0>;
26 type = "hot";
27 };
28 };
29 };
30
31 pm8550vs-d-thermal {
32 polling-delay-passive = <100>;
33
34 thermal-sensors = <&pm8550vs_d_temp_alarm>;
35
36 trips {
37 trip0 {
38 temperature = <95000>;
39 hysteresis = <0>;
40 type = "passive";
41 };
42
43 trip1 {
44 temperature = <115000>;
45 hysteresis = <0>;
46 type = "hot";
47 };
48 };
49 };
50
51 pm8550vs-e-thermal {
52 polling-delay-passive = <100>;
53
54 thermal-sensors = <&pm8550vs_e_temp_alarm>;
55
56 trips {
57 trip0 {
58 temperature = <95000>;
59 hysteresis = <0>;
60 type = "passive";
61 };
62
63 trip1 {
64 temperature = <115000>;
65 hysteresis = <0>;
66 type = "hot";
67 };
68 };
69 };
70
71 pm8550vs-g-thermal {
72 polling-delay-passive = <100>;
73
74 thermal-sensors = <&pm8550vs_g_temp_alarm>;
75
76 trips {
77 trip0 {
78 temperature = <95000>;
79 hysteresis = <0>;
80 type = "passive";
81 };
82
83 trip1 {
84 temperature = <115000>;
85 hysteresis = <0>;
86 type = "hot";
87 };
88 };
89 };
90 };
91 };
92
93
94 &spmi_bus {
95 pm8550vs_c: pmic@2 {
96 compatible = "qcom,pm8550", "qcom,spmi-pmic";
97 reg = <0x2 SPMI_USID>;
98 #address-cells = <1>;
99 #size-cells = <0>;
100
101 status = "disabled";
102
103 pm8550vs_c_temp_alarm: temp-alarm@a00 {
104 compatible = "qcom,spmi-temp-alarm";
105 reg = <0xa00>;
106 interrupts = <0x2 0xa 0x0 IRQ_TYPE_EDGE_BOTH>;
107 #thermal-sensor-cells = <0>;
108 };
109
110 pm8550vs_c_gpios: gpio@8800 {
111 compatible = "qcom,pm8550vs-gpio", "qcom,spmi-gpio";
112 reg = <0x8800>;
113 gpio-controller;
114 gpio-ranges = <&pm8550vs_c_gpios 0 0 6>;
115 #gpio-cells = <2>;
116 interrupt-controller;
117 #interrupt-cells = <2>;
118 };
119 };
120
121 pm8550vs_d: pmic@3 {
122 compatible = "qcom,pm8550", "qcom,spmi-pmic";
123 reg = <0x3 SPMI_USID>;
124 #address-cells = <1>;
125 #size-cells = <0>;
126
127 status = "disabled";
128
129 pm8550vs_d_temp_alarm: temp-alarm@a00 {
130 compatible = "qcom,spmi-temp-alarm";
131 reg = <0xa00>;
132 interrupts = <0x3 0xa 0x0 IRQ_TYPE_EDGE_BOTH>;
133 #thermal-sensor-cells = <0>;
134 };
135
136 pm8550vs_d_gpios: gpio@8800 {
137 compatible = "qcom,pm8550vs-gpio", "qcom,spmi-gpio";
138 reg = <0x8800>;
139 gpio-controller;
140 gpio-ranges = <&pm8550vs_d_gpios 0 0 6>;
141 #gpio-cells = <2>;
142 interrupt-controller;
143 #interrupt-cells = <2>;
144 };
145 };
146
147 pm8550vs_e: pmic@4 {
148 compatible = "qcom,pm8550", "qcom,spmi-pmic";
149 reg = <0x4 SPMI_USID>;
150 #address-cells = <1>;
151 #size-cells = <0>;
152
153 status = "disabled";
154
155 pm8550vs_e_temp_alarm: temp-alarm@a00 {
156 compatible = "qcom,spmi-temp-alarm";
157 reg = <0xa00>;
158 interrupts = <0x4 0xa 0x0 IRQ_TYPE_EDGE_BOTH>;
159 #thermal-sensor-cells = <0>;
160 };
161
162 pm8550vs_e_gpios: gpio@8800 {
163 compatible = "qcom,pm8550vs-gpio", "qcom,spmi-gpio";
164 reg = <0x8800>;
165 gpio-controller;
166 gpio-ranges = <&pm8550vs_e_gpios 0 0 6>;
167 #gpio-cells = <2>;
168 interrupt-controller;
169 #interrupt-cells = <2>;
170 };
171 };
172
173 pm8550vs_g: pmic@6 {
174 compatible = "qcom,pm8550", "qcom,spmi-pmic";
175 reg = <0x6 SPMI_USID>;
176 #address-cells = <1>;
177 #size-cells = <0>;
178
179 status = "disabled";
180
181 pm8550vs_g_temp_alarm: temp-alarm@a00 {
182 compatible = "qcom,spmi-temp-alarm";
183 reg = <0xa00>;
184 interrupts = <0x6 0xa 0x0 IRQ_TYPE_EDGE_BOTH>;
185 #thermal-sensor-cells = <0>;
186 };
187
188 pm8550vs_g_gpios: gpio@8800 {
189 compatible = "qcom,pm8550vs-gpio", "qcom,spmi-gpio";
190 reg = <0x8800>;
191 gpio-controller;
192 gpio-ranges = <&pm8550vs_g_gpios 0 0 6>;
193 #gpio-cells = <2>;
194 interrupt-controller;
195 #interrupt-cells = <2>;
196 };
197 };
198 };