1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
/*
* Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include "gila-touch.dtsi"
&pm660_fg {
qcom,fg-jeita-thresholds = <2 16 46 60>;
qcom,fg-jeita-hyst-temp = <2>;
qcom,fg-jeita-en = <1>;
qcom,fg-jeita-soft-hot-fv-cc = <4200 300>;
qcom,fg-jeita-soft-cold-fv-cc = <4000 75>;
qcom,battery-data = <&qrd_batterydata>;
qcom,fg-chg-term-current = <25>;
qcom,battery-thermal-coefficients = [d2 50 ff];
qcom,fg-rsense-sel = <1>;
qcom,fg-force-load-profile;
qcom,fg-recharge-soc-thr = <99>;
qcom,fg-cutoff-current = <40>;
qcom,fg-cutoff-voltage = <3200>;
qcom,twm-soc-reserve = <1>;
};
/ {
/delete-node/ qcom,battery-data;
mtp_batterydata: qcom,battery-data {
qcom,batt-id-range-pct = <15>;
#include "../common/fg-gen3-batterydata-itech-3000mah.dtsi"
};
qrd_batterydata: qcom,battery-data {
qcom,batt-id-range-pct = <60>;
#include "../common/fg-gen3-batterydata-apack-310mah.dtsi"
};
};
&pm660_pon {
qcom,pon_2 {
linux,code = <266>;
};
};
&rpm_bus {
rpm-regulator-ldoa18 {
pm660_l18: regulator-l18 {
/delete-property/ supply-min-voltage;
/delete-property/ supply-max-voltage;
/delete-property/ qcom,init-voltage;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
qcom,init-voltage = <3300000>;
};
};
/* Reconfig for PPG sensor of DVT */
rpm-regulator-ldoa14 {
pm660_l14: regulator-l14 {
regulator-always-on;
regulator-min-microvolt = <1900000>;
regulator-max-microvolt = <1900000>;
qcom,init-voltage = <1900000>;
};
};
};
&mdss_dsi {
qcom,mdss_dsi_ctrl0@1ac8000 {
/delete-property/ bklt-supply;
};
};
&soc {
/delete-node/ bob_vreg;
};
|