thermal: Support reading sensor via property.
- Add field "temp_path_type" to identify if sensor read to be done via
sysfs or device property.
- Add support to read file of right type on basis of the added field and
implement reading device property file.
- Add support to get temp_path_type info via thermal_config using field
TempPathType
- Cleanup unused headers
- Update thermal_config_field_names to cover TempPath and TempPathType
Bug: 406271187
Test: Build locally, update thermal config and verify thermal log and
lshal for the readings.
Change-Id: Ib14910ede2b2b2a48d3524994031b44050100ac5
6 files changed