Adding thermal zone name to battery charger node
to read battery temperature to configure input voltage,
input current based on battery temperature and also
to disable battery charging beyond 50C,
providing battery temp read polling time.
Bug
1633184
Change-Id: I3a5e0c54593f5fff2fe6e5dd6c3bc6133d6b3088
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/740568
(cherry picked from commit
c7967ef3e9fa408d2a1f32d6e7f9c0bf810c65ab)
Reviewed-on: http://git-master/r/744711
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
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,thermal-zone = "Battery";
+ ti,temp-polling-time-sec = <20>;
};
usb0_vbus: vbus {