Lines Matching +full:charge +full:- +full:status +full:- +full:gpios

1 // SPDX-License-Identifier: GPL-2.0
2 #include "qcom-msm8974.dtsi"
3 #include "qcom-pm8841.dtsi"
4 #include "qcom-pm8941.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
11 compatible = "sony,xperia-honami", "qcom,msm8974";
18 stdout-path = "serial0:115200n8";
21 gpio-keys {
22 compatible = "gpio-keys";
23 input-name = "gpio-keys";
25 pinctrl-names = "default";
26 pinctrl-0 = <&gpio_keys_pin_a>;
28 volume-down {
30 gpios = <&pm8941_gpios 2 GPIO_ACTIVE_LOW>;
31 linux,input-type = <1>;
35 camera-snapshot {
37 gpios = <&pm8941_gpios 3 GPIO_ACTIVE_LOW>;
38 linux,input-type = <1>;
42 camera-focus {
44 gpios = <&pm8941_gpios 4 GPIO_ACTIVE_LOW>;
45 linux,input-type = <1>;
49 volume-up {
51 gpios = <&pm8941_gpios 5 GPIO_ACTIVE_LOW>;
52 linux,input-type = <1>;
65 pm8841-regulators {
67 regulator-min-microvolt = <675000>;
68 regulator-max-microvolt = <1050000>;
72 regulator-min-microvolt = <500000>;
73 regulator-max-microvolt = <1050000>;
77 regulator-min-microvolt = <500000>;
78 regulator-max-microvolt = <1050000>;
82 regulator-min-microvolt = <500000>;
83 regulator-max-microvolt = <1050000>;
87 pm8941-regulators {
88 vdd_l1_l3-supply = <&pm8941_s1>;
89 vdd_l2_lvs1_2_3-supply = <&pm8941_s3>;
90 vdd_l4_l11-supply = <&pm8941_s1>;
91 vdd_l5_l7-supply = <&pm8941_s2>;
92 vdd_l6_l12_l14_l15-supply = <&pm8941_s2>;
93 vdd_l9_l10_l17_l22-supply = <&vreg_boost>;
94 vdd_l13_l20_l23_l24-supply = <&vreg_boost>;
95 vdd_l21-supply = <&vreg_boost>;
98 regulator-min-microvolt = <1300000>;
99 regulator-max-microvolt = <1300000>;
100 regulator-always-on;
101 regulator-boot-on;
105 regulator-min-microvolt = <2150000>;
106 regulator-max-microvolt = <2150000>;
107 regulator-boot-on;
111 regulator-min-microvolt = <1800000>;
112 regulator-max-microvolt = <1800000>;
113 regulator-always-on;
114 regulator-boot-on;
118 regulator-min-microvolt = <5000000>;
119 regulator-max-microvolt = <5000000>;
123 regulator-min-microvolt = <1225000>;
124 regulator-max-microvolt = <1225000>;
126 regulator-always-on;
127 regulator-boot-on;
131 regulator-min-microvolt = <1200000>;
132 regulator-max-microvolt = <1200000>;
136 regulator-min-microvolt = <1200000>;
137 regulator-max-microvolt = <1200000>;
141 regulator-min-microvolt = <1225000>;
142 regulator-max-microvolt = <1225000>;
146 regulator-min-microvolt = <1800000>;
147 regulator-max-microvolt = <1800000>;
151 regulator-min-microvolt = <1800000>;
152 regulator-max-microvolt = <1800000>;
154 regulator-boot-on;
158 regulator-min-microvolt = <1800000>;
159 regulator-max-microvolt = <1800000>;
161 regulator-boot-on;
165 regulator-min-microvolt = <1800000>;
166 regulator-max-microvolt = <1800000>;
170 regulator-min-microvolt = <1800000>;
171 regulator-max-microvolt = <2950000>;
175 regulator-min-microvolt = <1300000>;
176 regulator-max-microvolt = <1350000>;
180 regulator-min-microvolt = <1800000>;
181 regulator-max-microvolt = <1800000>;
183 regulator-always-on;
184 regulator-boot-on;
188 regulator-min-microvolt = <1800000>;
189 regulator-max-microvolt = <2950000>;
191 regulator-boot-on;
195 regulator-min-microvolt = <1800000>;
196 regulator-max-microvolt = <1800000>;
200 regulator-min-microvolt = <2050000>;
201 regulator-max-microvolt = <2050000>;
205 regulator-min-microvolt = <2700000>;
206 regulator-max-microvolt = <2700000>;
210 regulator-min-microvolt = <2700000>;
211 regulator-max-microvolt = <2700000>;
215 regulator-min-microvolt = <2850000>;
216 regulator-max-microvolt = <2850000>;
220 regulator-min-microvolt = <3300000>;
221 regulator-max-microvolt = <3300000>;
225 regulator-min-microvolt = <2950000>;
226 regulator-max-microvolt = <2950000>;
228 regulator-allow-set-load;
229 regulator-boot-on;
230 regulator-system-load = <200000>;
234 regulator-min-microvolt = <2950000>;
235 regulator-max-microvolt = <2950000>;
237 regulator-boot-on;
241 regulator-min-microvolt = <3000000>;
242 regulator-max-microvolt = <3000000>;
246 regulator-min-microvolt = <2800000>;
247 regulator-max-microvolt = <2800000>;
251 regulator-min-microvolt = <3075000>;
252 regulator-max-microvolt = <3075000>;
254 regulator-boot-on;
264 status = "ok";
267 phy-select = <&tcsr 0xb000 0>;
269 vbus-supply = <&chg_otg>;
271 hnp-disable;
272 srp-disable;
273 adp-disable;
277 status = "ok";
279 v1p8-supply = <&pm8941_l6>;
280 v3p3-supply = <&pm8941_l24>;
283 qcom,init-seq = /bits/ 8 <0x1 0x64>;
289 status = "ok";
291 vmmc-supply = <&pm8941_l20>;
292 vqmmc-supply = <&pm8941_s3>;
294 bus-width = <8>;
295 non-removable;
297 pinctrl-names = "default";
298 pinctrl-0 = <&sdhc1_pin_a>;
302 status = "ok";
304 bus-width = <4>;
306 vmmc-supply = <&pm8941_l21>;
307 vqmmc-supply = <&pm8941_l13>;
309 cd-gpios = <&msmgpio 62 GPIO_ACTIVE_LOW>;
311 pinctrl-names = "default";
312 pinctrl-0 = <&sdhc2_pin_a>, <&sdhc2_cd_pin_a>;
316 status = "ok";
318 pinctrl-names = "default";
319 pinctrl-0 = <&blsp1_uart2_pin_a>;
323 status = "ok";
325 clock-frequency = <355000>;
326 qcom,src-freq = <50000000>;
328 pinctrl-names = "default";
329 pinctrl-0 = <&i2c2_pins>;
332 compatible = "syna,rmi4-i2c";
335 interrupts-extended = <&msmgpio 61 IRQ_TYPE_EDGE_FALLING>;
337 #address-cells = <1>;
338 #size-cells = <0>;
340 vdd-supply = <&pm8941_l22>;
341 vio-supply = <&pm8941_lvs3>;
343 pinctrl-names = "default";
344 pinctrl-0 = <&ts_int_pin>;
346 syna,startup-delay-ms = <10>;
348 rmi4-f01@1 {
350 syna,nosleep-mode = <1>;
353 rmi4-f11@11 {
355 touchscreen-inverted-x;
356 syna,sensor-type = <1>;
362 blsp1_uart2_pin_a: blsp1-uart2-pin-active {
367 drive-strength = <2>;
368 bias-pull-up;
375 drive-strength = <4>;
376 bias-disable;
385 drive-strength = <2>;
386 bias-disable;
390 sdhc1_pin_a: sdhc1-pin-active {
393 drive-strength = <16>;
394 bias-disable;
397 cmd-data {
399 drive-strength = <10>;
400 bias-pull-up;
404 sdhc2_cd_pin_a: sdhc2-cd-pin-active {
408 drive-strength = <2>;
409 bias-disable;
412 sdhc2_pin_a: sdhc2-pin-active {
415 drive-strength = <10>;
416 bias-disable;
419 cmd-data {
421 drive-strength = <6>;
422 bias-pull-up;
426 ts_int_pin: touch-int {
431 drive-strength = <2>;
432 bias-disable;
433 input-enable;
438 dma-controller@f9944000 {
439 qcom,controlled-remotely;
446 qcom,fast-charge-safe-current = <1500000>;
447 qcom,fast-charge-current-limit = <1500000>;
448 qcom,dc-current-limit = <1800000>;
449 qcom,fast-charge-safe-voltage = <4400000>;
450 qcom,fast-charge-high-threshold-voltage = <4350000>;
451 qcom,fast-charge-low-threshold-voltage = <3400000>;
452 qcom,auto-recharge-threshold-voltage = <4200000>;
453 qcom,minimum-input-voltage = <4300000>;
456 gpios@c000 {
457 gpio_keys_pin_a: gpio-keys-active {
461 bias-pull-up;
462 power-source = <PM8941_GPIO_S3>;
467 status = "ok";
468 qcom,rset-ohms = <2100>;
469 qcom,vset-millivolts = <3000>;
475 status = "ok";
477 qcom,cs-out;
478 qcom,current-limit = <20>;
479 qcom,current-boost-limit = <805>;
480 qcom,switching-freq = <1600>;
482 qcom,num-strings = <2>;