Lines Matching +full:io +full:- +full:channel +full:- +full:ranges
1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/iio/qcom,spmi-vadc.h>
3 #include <dt-bindings/interrupt-controller/irq.h>
4 #include <dt-bindings/spmi/spmi.h>
8 thermal-zones {
9 pm8941-thermal {
10 polling-delay-passive = <100>;
11 polling-delay = <0>;
12 thermal-sensors = <&pm8941_temp>;
40 compatible = "qcom,pm8941", "qcom,spmi-pmic";
42 #address-cells = <1>;
43 #size-cells = <0>;
46 compatible = "qcom,pm8941-rtc";
49 reg-names = "rtc", "alarm";
54 compatible = "qcom,pm8941-pon";
58 compatible = "qcom,pm8941-pwrkey";
61 bias-pull-up;
65 compatible = "qcom,pm8941-resin";
68 bias-pull-up;
73 usb_id: usb-detect@900 {
74 compatible = "qcom,pm8941-misc";
77 interrupt-names = "usb_id";
81 compatible = "qcom,pm8941-charger";
91 interrupt-names = "chg-done",
92 "chg-fast",
93 "chg-trkl",
94 "bat-temp-ok",
95 "bat-present",
96 "chg-gone",
97 "usb-valid",
98 "dc-valid";
100 usb-otg-in-supply = <&pm8941_5vs1>;
104 chg_otg: otg-vbus { };
108 compatible = "qcom,pm8941-gpio", "qcom,spmi-gpio";
110 gpio-controller;
111 gpio-ranges = <&pm8941_gpios 0 0 36>;
112 #gpio-cells = <2>;
113 interrupt-controller;
114 #interrupt-cells = <2>;
116 boost_bypass_n_pin: boost-bypass-state {
123 compatible = "qcom,pm8941-mpp", "qcom,spmi-mpp";
125 gpio-controller;
126 #gpio-cells = <2>;
127 gpio-ranges = <&pm8941_mpps 0 0 8>;
128 interrupt-controller;
129 #interrupt-cells = <2>;
132 pm8941_temp: temp-alarm@2400 {
133 compatible = "qcom,spmi-temp-alarm";
136 io-channels = <&pm8941_vadc VADC_DIE_TEMP>;
137 io-channel-names = "thermal";
138 #thermal-sensor-cells = <0>;
142 compatible = "qcom,spmi-vadc";
145 #address-cells = <1>;
146 #size-cells = <0>;
147 #io-channel-cells = <1>;
150 channel@6 {
154 channel@8 {
158 channel@9 {
162 channel@a {
166 channel@e {
170 channel@f {
174 channel@30 {
180 compatible = "qcom,pm8941-iadc", "qcom,spmi-iadc";
183 qcom,external-resistor-micro-ohms = <10000>;
187 compatible = "qcom,pm8941-coincell";
194 compatible = "qcom,pm8941", "qcom,spmi-pmic";
196 #address-cells = <1>;
197 #size-cells = <0>;
200 compatible = "qcom,pm8941-lpg";
202 #address-cells = <1>;
203 #size-cells = <0>;
204 #pwm-cells = <2>;
210 compatible = "qcom,pm8916-vib";
216 compatible = "qcom,pm8941-wled";
224 compatible = "qcom,pm8941-regulators";
226 interrupt-names = "ocp-5vs1", "ocp-5vs2";
227 vin_5vs-supply = <&pm8941_5v>;
230 regulator-min-microvolt = <5000000>;
231 regulator-max-microvolt = <5000000>;
232 regulator-enable-ramp-delay = <500>;
236 regulator-enable-ramp-delay = <1000>;
237 regulator-pull-down;
238 regulator-over-current-protection;
239 qcom,ocp-max-retries = <10>;
240 qcom,ocp-retry-delay = <30>;
241 qcom,vs-soft-start-strength = <0>;
242 regulator-initial-mode = <1>;
246 regulator-enable-ramp-delay = <1000>;
247 regulator-pull-down;
248 regulator-over-current-protection;
249 qcom,ocp-max-retries = <10>;
250 qcom,ocp-retry-delay = <30>;
251 qcom,vs-soft-start-strength = <0>;
252 regulator-initial-mode = <1>;