Lines Matching +full:pmi8998 +full:- +full:charger
1 // SPDX-License-Identifier: BSD-3-Clause
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
8 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
12 #include "pmi8998.dtsi"
15 qcom,msm-id = <321 0x20001>; /* SDM845 v2.1 */
16 qcom,board-id = <8 0>;
24 stdout-path = "serial0:115200n8";
27 gpio-keys {
28 compatible = "gpio-keys";
30 pinctrl-0 = <&focus_n &snapshot_n &vol_down_n &vol_up_n>;
31 pinctrl-names = "default";
33 key-camera-focus {
37 debounce-interval = <15>;
38 linux,can-disable;
39 wakeup-source;
42 key-camera-snapshot {
46 debounce-interval = <15>;
47 linux,can-disable;
48 wakeup-source;
51 key-volume-down {
55 debounce-interval = <15>;
56 linux,can-disable;
57 wakeup-source;
60 key-volume-up {
64 debounce-interval = <15>;
65 linux,can-disable;
66 wakeup-source;
70 cam_vana_front_vreg: cam-vana-front-regulator {
71 compatible = "regulator-fixed";
72 regulator-name = "cam_vana_front_vreg";
74 enable-active-high;
76 pinctrl-0 = <&chat_cam_pwr_en>;
77 pinctrl-names = "default";
80 cam_vana_rear_vreg: cam-vana-rear-regulator {
81 compatible = "regulator-fixed";
82 regulator-name = "cam_vana_rear_vreg";
84 enable-active-high;
86 pinctrl-0 = <&main_cam_pwr_en>;
87 pinctrl-names = "default";
90 cam_vio_vreg: cam-vio-reagulator {
91 compatible = "regulator-fixed";
92 regulator-name = "cam_vio_vreg";
94 enable-active-high;
96 pinctrl-0 = <&cam_io_en>;
97 pinctrl-names = "default";
100 vph_pwr: vph-pwr-regulator {
101 compatible = "regulator-fixed";
102 regulator-name = "vph_pwr";
103 regulator-min-microvolt = <3700000>;
104 regulator-max-microvolt = <3700000>;
107 vreg_s4a_1p8: pm8998-smps4 {
108 compatible = "regulator-fixed";
109 regulator-name = "vreg_s4a_1p8";
111 regulator-min-microvolt = <1800000>;
112 regulator-max-microvolt = <1800000>;
114 regulator-always-on;
115 regulator-boot-on;
117 vin-supply = <&vph_pwr>;
120 reserved-memory {
124 no-map;
130 record-size = <0x10000>;
131 console-size = <0x60000>;
132 ftrace-size = <0x10000>;
133 pmsg-size = <0x20000>;
134 ecc-size = <16>;
135 no-map;
141 firmware-name = "qcom/sdm845/Sony/tama/adsp.mbn";
146 regulators-0 {
147 compatible = "qcom,pm8998-rpmh-regulators";
148 qcom,pmic-id = "a";
150 vdd-s1-supply = <&vph_pwr>;
151 vdd-s2-supply = <&vph_pwr>;
152 vdd-s3-supply = <&vph_pwr>;
153 vdd-s4-supply = <&vph_pwr>;
154 vdd-s5-supply = <&vph_pwr>;
155 vdd-s6-supply = <&vph_pwr>;
156 vdd-s7-supply = <&vph_pwr>;
157 vdd-s8-supply = <&vph_pwr>;
158 vdd-s9-supply = <&vph_pwr>;
159 vdd-s10-supply = <&vph_pwr>;
160 vdd-s11-supply = <&vph_pwr>;
161 vdd-s12-supply = <&vph_pwr>;
162 vdd-s13-supply = <&vph_pwr>;
163 vdd-l1-l27-supply = <&vreg_s7a_0p9>;
164 vdd-l2-l8-l17-supply = <&vreg_s3a_1p3>;
165 vdd-l3-l11-supply = <&vreg_s7a_0p9>;
166 vdd-l4-l5-supply = <&vreg_s7a_0p9>;
167 vdd-l6-supply = <&vph_pwr>;
168 vdd-l7-l12-l14-l15-supply = <&vreg_s5a_1p9>;
169 vdd-l9-supply = <&vreg_s5a_1p9>;
170 vdd-l10-l23-l25-supply = <&src_vreg_bob>;
171 vdd-l13-l19-l21-supply = <&src_vreg_bob>;
172 vdd-l16-l28-supply = <&src_vreg_bob>;
173 vdd-l18-l22-supply = <&src_vreg_bob>;
174 vdd-l20-l24-supply = <&src_vreg_bob>;
175 vdd-l26-supply = <&vreg_s3a_1p3>;
176 vin-lvs-1-2-supply = <&vreg_s4a_1p8>;
179 regulator-min-microvolt = <1100000>;
180 regulator-max-microvolt = <1100000>;
184 regulator-min-microvolt = <1352000>;
185 regulator-max-microvolt = <1352000>;
189 regulator-min-microvolt = <1904000>;
190 regulator-max-microvolt = <2040000>;
194 regulator-min-microvolt = <900000>;
195 regulator-max-microvolt = <1028000>;
199 regulator-min-microvolt = <880000>;
200 regulator-max-microvolt = <880000>;
201 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
205 regulator-min-microvolt = <1200000>;
206 regulator-max-microvolt = <1200000>;
207 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
208 regulator-always-on;
212 regulator-min-microvolt = <1000000>;
213 regulator-max-microvolt = <1000000>;
214 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
218 regulator-min-microvolt = <800000>;
219 regulator-max-microvolt = <800000>;
220 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
224 regulator-min-microvolt = <1856000>;
225 regulator-max-microvolt = <1856000>;
226 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
230 regulator-min-microvolt = <1800000>;
231 regulator-max-microvolt = <1800000>;
232 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
236 regulator-min-microvolt = <1200000>;
237 regulator-max-microvolt = <1248000>;
238 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
242 regulator-min-microvolt = <1704000>;
243 regulator-max-microvolt = <2928000>;
244 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
248 regulator-min-microvolt = <1704000>;
249 regulator-max-microvolt = <2928000>;
250 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
254 regulator-min-microvolt = <1000000>;
255 regulator-max-microvolt = <1048000>;
256 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
260 regulator-min-microvolt = <1800000>;
261 regulator-max-microvolt = <1800000>;
262 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
266 regulator-min-microvolt = <1800000>;
267 regulator-max-microvolt = <2960000>;
268 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
272 regulator-min-microvolt = <1800000>;
273 regulator-max-microvolt = <1800000>;
274 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
275 regulator-system-load = <62000>;
279 regulator-min-microvolt = <1800000>;
280 regulator-max-microvolt = <1800000>;
281 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
285 regulator-min-microvolt = <2704000>;
286 regulator-max-microvolt = <2704000>;
287 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
291 regulator-min-microvolt = <1304000>;
292 regulator-max-microvolt = <1304000>;
293 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
297 regulator-min-microvolt = <2704000>;
298 regulator-max-microvolt = <2960000>;
299 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
303 regulator-min-microvolt = <2700000>;
304 regulator-max-microvolt = <2700000>;
305 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
309 * saying that it could not get the current voltage (-ENOTRECOVERABLE)
317 regulator-min-microvolt = <2704000>;
318 regulator-max-microvolt = <2960000>;
319 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
323 regulator-min-microvolt = <2704000>;
324 regulator-max-microvolt = <2960000>;
325 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
329 regulator-min-microvolt = <2800000>;
330 regulator-max-microvolt = <2800000>;
331 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
335 regulator-min-microvolt = <3000000>;
336 regulator-max-microvolt = <3312000>;
337 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
341 regulator-min-microvolt = <3088000>;
342 regulator-max-microvolt = <3088000>;
343 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
347 regulator-min-microvolt = <3000000>;
348 regulator-max-microvolt = <3312000>;
349 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
353 regulator-min-microvolt = <1200000>;
354 regulator-max-microvolt = <1200000>;
355 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
359 regulator-min-microvolt = <2856000>;
360 regulator-max-microvolt = <3008000>;
361 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
362 regulator-system-load = <100000>;
366 regulator-min-microvolt = <1800000>;
367 regulator-max-microvolt = <1800000>;
368 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
372 regulator-min-microvolt = <1800000>;
373 regulator-max-microvolt = <1800000>;
374 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
378 regulators-1 {
379 compatible = "qcom,pmi8998-rpmh-regulators";
380 qcom,pmic-id = "b";
383 regulator-min-microvolt = <3312000>;
384 regulator-max-microvolt = <3600000>;
385 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
389 regulators-2 {
390 compatible = "qcom,pm8005-rpmh-regulators";
391 qcom,pmic-id = "c";
393 vdd-s1-supply = <&vph_pwr>;
394 vdd-s2-supply = <&vph_pwr>;
395 vdd-s3-supply = <&vph_pwr>;
396 vdd-s4-supply = <&vph_pwr>;
399 regulator-min-microvolt = <600000>;
400 regulator-max-microvolt = <600000>;
406 firmware-name = "qcom/sdm845/Sony/tama/cdsp.mbn";
411 protected-clocks = <GCC_QSPI_CORE_CLK>,
433 zap-shader {
434 memory-region = <&gpu_mem>;
435 firmware-name = "qcom/sdm845/Sony/tama/a630_zap.mbn";
440 clock-frequency = <400000>;
444 compatible = "syna,rmi4-i2c";
447 interrupts-extended = <&tlmm 125 IRQ_TYPE_EDGE_FALLING>;
448 vdd-supply = <&vreg_l14a_1p8>;
454 incell-supply = <&panel>;
456 syna,reset-delay-ms = <220>;
457 syna,startup-delay-ms = <1000>;
459 pinctrl-0 = <&ts_default>;
460 pinctrl-1 = <&ts_sleep>;
461 pinctrl-names = "default", "sleep";
463 #address-cells = <1>;
464 #size-cells = <0>;
466 rmi4-f01@1 {
468 syna,nosleep-mode = <1>;
471 rmi4-f12@12 {
473 syna,sensor-type = <1>;
480 clock-frequency = <400000>;
484 /* Renesas IDTP9221 Qi charger @ 61 */
489 clock-frequency = <400000>;
496 qcom,discharge-resistor-kohms = <300>;
497 regulator-min-microvolt = <5500000>;
498 regulator-max-microvolt = <5700000>;
499 regulator-min-microamp = <0>;
500 regulator-max-microamp = <800000>;
501 regulator-over-current-protection;
502 regulator-soft-start;
503 regulator-pull-down;
507 regulator-min-microvolt = <5500000>;
508 regulator-max-microvolt = <5700000>;
509 regulator-min-microamp = <200000>;
510 regulator-max-microamp = <200000>;
511 regulator-over-current-protection;
512 regulator-soft-start;
513 regulator-pull-down;
521 vdda-supply = <&vreg_l26a_1p2>;
529 vddio-supply = <&vreg_l14a_1p8>;
530 vsp-supply = <&lab>;
531 vsn-supply = <&ibb>;
532 panel-reset-gpios = <&tlmm 6 GPIO_ACTIVE_HIGH>;
533 touch-reset-gpios = <&tlmm 99 GPIO_ACTIVE_HIGH>;
535 pinctrl-0 = <&sde_dsi_active &sde_te_active_sleep>;
536 pinctrl-1 = <&sde_dsi_sleep &sde_te_active_sleep>;
537 pinctrl-names = "default", "sleep";
541 remote-endpoint = <&mdss_dsi0_out>;
548 remote-endpoint = <&panel_in>;
549 data-lanes = <0 1 2 3>;
553 vdds-supply = <&vreg_l1a_0p9>;
558 gpio-line-names = "NC", /* GPIO_1 */
565 gpio-line-names = "NC", /* GPIO_1 */
592 focus_n: focus-n-state {
595 power-source = <0>;
596 bias-pull-up;
597 input-enable;
600 vol_down_n: vol-down-n-state {
603 power-source = <0>;
604 bias-pull-up;
605 input-enable;
608 vol_up_n: vol-up-n-state {
611 power-source = <0>;
612 bias-pull-up;
613 input-enable;
616 snapshot_n: snapshot-n-state {
619 power-source = <0>;
620 bias-pull-up;
621 input-enable;
626 cam_io_en: cam-io-en-state {
629 qcom,drive-strength = <3>;
630 power-source = <0>;
631 drive-push-pull;
632 output-low;
637 default-brightness = <800>;
638 qcom,switching-freq = <800>;
639 qcom,ovp-millivolt = <29600>;
640 qcom,current-boost-limit = <970>;
641 qcom,current-limit-microamp = <20000>;
642 qcom,enabled-strings = <0 1 2 3>;
657 vmmc-supply = <&vreg_l21a_2p7>;
658 vqmmc-supply = <&vreg_l13a_1p8>;
659 cd-gpios = <&tlmm 126 GPIO_ACTIVE_HIGH>;
660 pinctrl-0 = <&sdc2_default_state>;
661 pinctrl-names = "default";
662 bus-width = <4>;
663 no-sdio;
664 no-mmc;
668 gpio-reserved-ranges = <0 4>, <81 4>;
670 sdc2_default_state: sdc2-default-state {
671 clk-pins {
673 drive-strength = <16>;
674 bias-disable;
677 cmd-pins {
679 drive-strength = <10>;
680 bias-pull-up;
683 data-pins {
685 drive-strength = <10>;
686 bias-pull-up;
690 sde_dsi_active: sde-dsi-active-state {
693 drive-strength = <8>;
694 bias-disable;
697 sde_dsi_sleep: sde-dsi-sleep-state {
700 drive-strength = <2>;
701 bias-pull-down;
704 chat_cam_pwr_en: chat-cam-pwr-en-state {
707 drive-strength = <2>;
708 bias-disable;
709 output-low;
712 sde_te_active_sleep: sde-te-active-sleep-state {
715 drive-strength = <2>;
716 bias-pull-down;
719 main_cam_pwr_en: main-cam-pwr-en-state {
722 drive-strength = <2>;
723 bias-disable;
724 output-low;
727 ts_default: ts-default-state {
728 reset-pins {
731 drive-strength = <2>;
732 bias-pull-up;
735 int-pins {
738 drive-strength = <2>;
739 bias-pull-up;
743 ts_sleep: ts-sleep-state {
744 reset-pins {
747 drive-strength = <2>;
748 bias-pull-down;
751 int-pins {
754 drive-strength = <2>;
755 bias-pull-down;
775 qcom,select-utmi-as-pipe-clk;
781 maximum-speed = "high-speed";
783 phy-names = "usb2-phy";
789 vdd-supply = <&vreg_l1a_0p9>;
790 vdda-pll-supply = <&vreg_l12a_1p8>;
791 vdda-phy-dpdm-supply = <&vreg_l24a_3p1>;
795 firmware-name = "qcom/sdm845/Sony/tama/venus.mbn";