mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-23 17:55:05 +03:00
Ethernet pad calibration needs to be triggered for temperature changes in steps of 35C from -40C to 110C. In order to get indication of current operating temperature, register a ethernet cooling device with thermal zones defined as per above requirement. When the temperature trips these zones, callback function is invoked from kernel thermal framework, and ethernet driver can trigger pad calibration. Bug 1679250 Change-Id: Iaeccca650e371843fa571f7b368bb5464e106314 Signed-off-by: Srinivas Ramachandran <srinivasra@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2120431 GVS: Gerrit_Virtual_Submit Reviewed-by: Ajay Gupta <ajayg@nvidia.com> Reviewed-by: Ashutosh Jha <ajha@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>