Reducing max battery charge voltage to 4.2V from dts
for ST8 A03 and A04 platforms for Yoku battery
powered devices.
Updating thermal configuration based on new battery soc
scaling
Updating VINDPM configuration based on new battery soc
scaling
Bug
200117878
Change-Id: Ic426403d134ad522baddddc80ad402c91a05293d
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/760137
(cherry picked from commit
754e7438f5dfdea440ed61fb7a0cd7428e9ade60)
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/763460
(cherry picked from commit
3d8964bef4b8a2d13b2b09f7ffa59157bfe65482)
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/763959
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
i2c@7000c400 {
battery-gauge@0b {
onsemi,kernel-threshold-soc = <2>;
- onsemi,kernel-maximum-soc = <99>;
+ onsemi,kernel-maximum-soc = <88>;
io-channels = <&ina3221x INA3221_CHAN_INDEX(0, CURRENT, NORMAL)>;
io-channel-names = "battery-current";
dt-override-status-odm-data = <0x00C00000 0x00400000>;
};
battery-charger@6b {
charger {
- ti,charge-voltage-limit-millivolt = <4352>;
+ ti,charge-voltage-limit-millivolt = <4200>;
ti,temp-range = <10 15 25 45 50 60>;
- ti,charge-thermal-voltage-limit = <4352 4352 4352 4352 4200 4200>;
- ti,charge-current-limit = <520 1040 2600 5200 2600 520>;
- ti,soc-range = <50 60 70 80 85 90 95 101>;
- ti,input-voltage-soc-limit = <4200 4280 4360 4440 4520 4600 4680 4760>;
+ ti,charge-thermal-voltage-limit = <4200 4200 4200 4200 4200 4200>;
+ ti,charge-current-limit = <520 1040 2600 2600 2600 520>;
+ ti,soc-range = <56 68 79 91 97 101>;
+ ti,input-voltage-soc-limit = <4200 4280 4360 4440 4520 4600>;
ti,charge-term-current-limit-milliamp = <1>;
dt-override-status-odm-data = <0x00C00000 0x00400000>;
};
/ {
nvidia,dtsfilename = __FILE__;
+
+ i2c@7000c400 {
+ lc709203f@0b {
+ onsemi,kernel-maximum-soc = <99>;
+ };
+
+ hpa2163@6b {
+ charger {
+ ti,charge-voltage-limit-millivolt = <4352>;
+ ti,temp-range = <10 15 25 45 50 60>;
+ ti,charge-thermal-voltage-limit = <4352 4352 4352 4352 4200 4200>;
+ ti,charge-current-limit = <520 1040 2600 2600 2600 520>;
+ ti,soc-range = <50 60 70 80 85 90 95 101>;
+ ti,input-voltage-soc-limit = <4200 4280 4360 4440 4520 4600 4680 4760>;
+ };
+ };
+ };
+
};
i2c@7000c400 {
battery-gauge@0b {
onsemi,kernel-threshold-soc = <2>;
- onsemi,kernel-maximum-soc = <99>;
+ onsemi,kernel-maximum-soc = <88>;
io-channels = <&ina3221x INA3221_CHAN_INDEX(0, CURRENT, NORMAL)>;
io-channel-names = "battery-current";
dt-override-status-odm-data = <0x00C00000 0x00400000>;
battery-charger@6b {
charger {
- ti,charge-voltage-limit-millivolt = <4352>;
+ ti,charge-voltage-limit-millivolt = <4200>;
ti,temp-range = <10 15 25 45 50 60>;
- ti,charge-thermal-voltage-limit = <4352 4352 4352 4352 4200 4200>;
- ti,charge-current-limit = <520 1040 2600 5200 2600 520>;
- ti,soc-range = <50 60 70 80 85 90 95 101>;
- ti,input-voltage-soc-limit = <4200 4280 4360 4440 4520 4600 4680 4760>;
+ ti,charge-thermal-voltage-limit = <4200 4200 4200 4200 4200 4200>;
+ ti,charge-current-limit = <520 1040 2600 2600 2600 520>;
+ ti,soc-range = <56 68 79 91 97 101>;
+ ti,input-voltage-soc-limit = <4200 4280 4360 4440 4520 4600>;
ti,charge-term-current-limit-milliamp = <1>;
dt-override-status-odm-data = <0x00C00000 0x00400000>;
};