thermal: Initial thermal configuration
Setup blueline/crosshatch, vr/default thermal config files.
Initial naive strategy:
- Limit die temp on CPU0/CPU4 to 75C
- Limit CPUs for battery temp at 55C
- Limit charge rate at battery temp 50C
- Use XO Therm as a front temp, to limit gold/silver cores to 47C/45C
The thermistor on the fingerprint flex should be useful proxy for rear
skin temp, but I don't have this flex (and thermistor) to test with.
Test: Check thermal config found at boot by logcat
Test: Check thermal config found with setVrMode(true), setVrMode(false)
Test: Check throttling when loading CPU with 8 copies of memtest
Bug: 67675199
Change-Id: I927894ad5d31831f664975e8ce785280c59de13e
7 files changed