Lines Matching +full:auto +full:- +full:recharge

1 // SPDX-License-Identifier: GPL-2.0
2 #include "qcom-msm8974pro.dtsi"
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/leds/common.h>
7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
11 compatible = "sony,xperia-castor", "qcom,msm8974pro", "qcom,msm8974";
12 chassis-type = "tablet";
20 stdout-path = "serial0:115200n8";
23 gpio-keys {
24 compatible = "gpio-keys";
26 pinctrl-names = "default";
27 pinctrl-0 = <&gpio_keys_pin_a>;
29 key-volume-down {
32 linux,input-type = <1>;
36 key-camera-snapshot {
39 linux,input-type = <1>;
43 key-camera-focus {
46 linux,input-type = <1>;
50 key-volume-up {
53 linux,input-type = <1>;
58 vreg_bl_vddio: lcd-backlight-vddio {
59 compatible = "regulator-fixed";
60 regulator-name = "vreg_bl_vddio";
61 regulator-min-microvolt = <3150000>;
62 regulator-max-microvolt = <3150000>;
65 enable-active-high;
67 vin-supply = <&pm8941_s3>;
68 startup-delay-us = <70000>;
70 pinctrl-names = "default";
71 pinctrl-0 = <&lcd_backlight_en_pin_a>;
74 vreg_vsp: lcd-dcdc-regulator {
75 compatible = "regulator-fixed";
76 regulator-name = "vreg_vsp";
77 regulator-min-microvolt = <5600000>;
78 regulator-max-microvolt = <5600000>;
81 enable-active-high;
83 pinctrl-names = "default";
84 pinctrl-0 = <&lcd_dcdc_en_pin_a>;
87 vreg_wlan: wlan-regulator {
88 compatible = "regulator-fixed";
90 regulator-name = "wl-reg";
91 regulator-min-microvolt = <3300000>;
92 regulator-max-microvolt = <3300000>;
95 enable-active-high;
97 pinctrl-names = "default";
98 pinctrl-0 = <&wlan_regulator_pin>;
108 clock-frequency = <355000>;
111 compatible = "syna,rmi4-i2c";
114 interrupt-parent = <&tlmm>;
117 #address-cells = <1>;
118 #size-cells = <0>;
120 vdd-supply = <&pm8941_l22>;
121 vio-supply = <&pm8941_lvs3>;
123 pinctrl-names = "default";
124 pinctrl-0 = <&ts_int_pin>;
126 syna,startup-delay-ms = <100>;
128 rmi4-f01@1 {
130 syna,nosleep-mode = <1>;
133 rmi4-f11@11 {
135 syna,sensor-type = <1>;
136 touchscreen-inverted-x;
143 clock-frequency = <355000>;
148 power-supply = <&vreg_bl_vddio>;
150 bl-name = "backlight";
151 dev-ctrl = /bits/ 8 <0x05>;
152 init-brt = /bits/ 8 <0x3f>;
154 rom-a0h {
155 rom-addr = /bits/ 8 <0xa0>;
156 rom-val = /bits/ 8 <0xff>;
158 rom-a1h {
159 rom-addr = /bits/ 8 <0xa1>;
160 rom-val = /bits/ 8 <0x3f>;
162 rom-a2h {
163 rom-addr = /bits/ 8 <0xa2>;
164 rom-val = /bits/ 8 <0x20>;
166 rom-a3h {
167 rom-addr = /bits/ 8 <0xa3>;
168 rom-val = /bits/ 8 <0x5e>;
170 rom-a4h {
171 rom-addr = /bits/ 8 <0xa4>;
172 rom-val = /bits/ 8 <0x02>;
174 rom-a5h {
175 rom-addr = /bits/ 8 <0xa5>;
176 rom-val = /bits/ 8 <0x04>;
178 rom-a6h {
179 rom-addr = /bits/ 8 <0xa6>;
180 rom-val = /bits/ 8 <0x80>;
182 rom-a7h {
183 rom-addr = /bits/ 8 <0xa7>;
184 rom-val = /bits/ 8 <0xf7>;
186 rom-a9h {
187 rom-addr = /bits/ 8 <0xa9>;
188 rom-val = /bits/ 8 <0x80>;
190 rom-aah {
191 rom-addr = /bits/ 8 <0xaa>;
192 rom-val = /bits/ 8 <0x0f>;
194 rom-aeh {
195 rom-addr = /bits/ 8 <0xae>;
196 rom-val = /bits/ 8 <0x0f>;
205 compatible = "brcm,bcm43438-bt";
206 max-speed = <3000000>;
208 pinctrl-names = "default";
209 pinctrl-0 = <&bt_host_wake_pin>, <&bt_dev_wake_pin>, <&bt_reg_on_pin>;
211 host-wakeup-gpios = <&tlmm 95 GPIO_ACTIVE_HIGH>;
212 device-wakeup-gpios = <&tlmm 96 GPIO_ACTIVE_HIGH>;
213 shutdown-gpios = <&pm8941_gpios 16 GPIO_ACTIVE_HIGH>;
220 qcom,rset-ohms = <2100>;
221 qcom,vset-millivolts = <3000>;
225 gpio_keys_pin_a: gpio-keys-active-state {
229 bias-pull-up;
230 power-source = <PM8941_GPIO_S3>;
233 bt_reg_on_pin: bt-reg-on-state {
237 output-low;
238 power-source = <PM8941_GPIO_S3>;
241 wlan_sleep_clk_pin: wl-sleep-clk-state {
245 output-high;
246 power-source = <PM8941_GPIO_S3>;
249 wlan_regulator_pin: wl-reg-active-state {
253 bias-disable;
254 power-source = <PM8941_GPIO_S3>;
257 lcd_dcdc_en_pin_a: lcd-dcdc-en-active-state {
261 bias-disable;
262 power-source = <PM8941_GPIO_S3>;
263 input-disable;
264 output-low;
272 qcom,power-source = <1>;
274 multi-led {
278 #address-cells = <1>;
279 #size-cells = <0>;
299 cx-supply = <&pm8841_s2>;
303 cx-supply = <&pm8841_s2>;
304 mss-supply = <&pm8841_s3>;
305 mx-supply = <&pm8841_s1>;
306 pll-supply = <&pm8941_l12>;
310 regulators-0 {
311 compatible = "qcom,rpm-pm8841-regulators";
314 regulator-min-microvolt = <675000>;
315 regulator-max-microvolt = <1050000>;
319 regulator-min-microvolt = <500000>;
320 regulator-max-microvolt = <1050000>;
324 regulator-min-microvolt = <500000>;
325 regulator-max-microvolt = <1050000>;
329 regulator-min-microvolt = <500000>;
330 regulator-max-microvolt = <1050000>;
334 regulators-1 {
335 compatible = "qcom,rpm-pm8941-regulators";
337 vdd_l1_l3-supply = <&pm8941_s1>;
338 vdd_l2_lvs1_2_3-supply = <&pm8941_s3>;
339 vdd_l4_l11-supply = <&pm8941_s1>;
340 vdd_l5_l7-supply = <&pm8941_s2>;
341 vdd_l6_l12_l14_l15-supply = <&pm8941_s2>;
342 vdd_l9_l10_l17_l22-supply = <&vreg_boost>;
343 vdd_l13_l20_l23_l24-supply = <&vreg_boost>;
344 vdd_l21-supply = <&vreg_boost>;
347 regulator-min-microvolt = <1300000>;
348 regulator-max-microvolt = <1300000>;
349 regulator-always-on;
350 regulator-boot-on;
354 regulator-min-microvolt = <2150000>;
355 regulator-max-microvolt = <2150000>;
356 regulator-boot-on;
360 regulator-min-microvolt = <1800000>;
361 regulator-max-microvolt = <1800000>;
362 regulator-system-load = <154000>;
363 regulator-always-on;
364 regulator-boot-on;
368 regulator-min-microvolt = <5000000>;
369 regulator-max-microvolt = <5000000>;
373 regulator-min-microvolt = <1225000>;
374 regulator-max-microvolt = <1225000>;
375 regulator-always-on;
376 regulator-boot-on;
380 regulator-min-microvolt = <1200000>;
381 regulator-max-microvolt = <1200000>;
385 regulator-min-microvolt = <1200000>;
386 regulator-max-microvolt = <1200000>;
390 regulator-min-microvolt = <1225000>;
391 regulator-max-microvolt = <1225000>;
395 regulator-min-microvolt = <1800000>;
396 regulator-max-microvolt = <1800000>;
400 regulator-min-microvolt = <1800000>;
401 regulator-max-microvolt = <1800000>;
402 regulator-boot-on;
406 regulator-min-microvolt = <1800000>;
407 regulator-max-microvolt = <1800000>;
408 regulator-boot-on;
412 regulator-min-microvolt = <1800000>;
413 regulator-max-microvolt = <1800000>;
417 regulator-min-microvolt = <1800000>;
418 regulator-max-microvolt = <2950000>;
422 regulator-min-microvolt = <1300000>;
423 regulator-max-microvolt = <1350000>;
427 regulator-min-microvolt = <1800000>;
428 regulator-max-microvolt = <1800000>;
429 regulator-always-on;
430 regulator-boot-on;
434 regulator-min-microvolt = <1800000>;
435 regulator-max-microvolt = <2950000>;
436 regulator-boot-on;
440 regulator-min-microvolt = <1800000>;
441 regulator-max-microvolt = <1800000>;
445 regulator-min-microvolt = <2050000>;
446 regulator-max-microvolt = <2050000>;
450 regulator-min-microvolt = <2700000>;
451 regulator-max-microvolt = <2700000>;
455 regulator-min-microvolt = <2700000>;
456 regulator-max-microvolt = <2700000>;
460 regulator-min-microvolt = <2850000>;
461 regulator-max-microvolt = <2850000>;
465 regulator-min-microvolt = <2850000>;
466 regulator-max-microvolt = <2850000>;
470 regulator-min-microvolt = <2950000>;
471 regulator-max-microvolt = <2950000>;
472 regulator-system-load = <500000>;
473 regulator-allow-set-load;
474 regulator-boot-on;
478 regulator-min-microvolt = <2950000>;
479 regulator-max-microvolt = <2950000>;
480 regulator-boot-on;
484 regulator-min-microvolt = <3000000>;
485 regulator-max-microvolt = <3000000>;
489 regulator-min-microvolt = <2800000>;
490 regulator-max-microvolt = <2800000>;
494 regulator-min-microvolt = <3075000>;
495 regulator-max-microvolt = <3075000>;
496 regulator-boot-on;
506 vmmc-supply = <&pm8941_l20>;
507 vqmmc-supply = <&pm8941_s3>;
509 pinctrl-names = "default", "sleep";
510 pinctrl-0 = <&sdc1_on>;
511 pinctrl-1 = <&sdc1_off>;
517 vmmc-supply = <&pm8941_l21>;
518 vqmmc-supply = <&pm8941_l13>;
520 cd-gpios = <&tlmm 62 GPIO_ACTIVE_LOW>;
522 pinctrl-names = "default", "sleep";
523 pinctrl-0 = <&sdc2_on>;
524 pinctrl-1 = <&sdc2_off>;
530 max-frequency = <100000000>;
531 vmmc-supply = <&vreg_wlan>;
532 non-removable;
534 pinctrl-names = "default";
535 pinctrl-0 = <&sdc3_on>;
537 #address-cells = <1>;
538 #size-cells = <0>;
541 compatible = "brcm,bcm4339-fmac", "brcm,bcm4329-fmac";
544 brcm,drive-strength = <10>;
546 pinctrl-names = "default";
547 pinctrl-0 = <&wlan_sleep_clk_pin>;
552 qcom,fast-charge-safe-current = <1500000>;
553 qcom,fast-charge-current-limit = <1500000>;
554 qcom,dc-current-limit = <1800000>;
555 usb-charge-current-limit = <1800000>;
556 qcom,fast-charge-safe-voltage = <4400000>;
557 qcom,fast-charge-high-threshold-voltage = <4350000>;
558 qcom,fast-charge-low-threshold-voltage = <3400000>;
559 qcom,auto-recharge-threshold-voltage = <4200000>;
560 qcom,minimum-input-voltage = <4300000>;
564 lcd_backlight_en_pin_a: lcd-backlight-vddio-state {
567 drive-strength = <10>;
568 output-low;
569 bias-disable;
572 sdc1_on: sdc1-on-state {
573 clk-pins {
575 drive-strength = <16>;
576 bias-disable;
579 cmd-data-pins {
581 drive-strength = <10>;
582 bias-pull-up;
586 sdc2_on: sdc2-on-state {
587 clk-pins {
589 drive-strength = <6>;
590 bias-disable;
593 cmd-data-pins {
595 drive-strength = <6>;
596 bias-pull-up;
599 cd-pins {
602 drive-strength = <2>;
603 bias-disable;
607 sdc3_on: sdc3-on-state {
608 clk-pins {
611 drive-strength = <10>;
612 bias-disable;
615 cmd-pins {
618 drive-strength = <10>;
619 bias-pull-up;
622 data-pins {
625 drive-strength = <10>;
626 bias-pull-up;
630 ts_int_pin: ts-int-pin-state {
633 drive-strength = <2>;
634 bias-disable;
637 bt_host_wake_pin: bt-host-wake-state {
640 drive-strength = <2>;
641 bias-disable;
642 output-low;
645 bt_dev_wake_pin: bt-dev-wake-state {
648 drive-strength = <2>;
649 bias-disable;
657 phy-select = <&tcsr 0xb000 0>;
659 vbus-supply = <&chg_otg>;
661 hnp-disable;
662 srp-disable;
663 adp-disable;
669 v1p8-supply = <&pm8941_l6>;
670 v3p3-supply = <&pm8941_l24>;
673 qcom,init-seq = /bits/ 8 <0x1 0x64>;