diff --git a/notes/thermals.md b/notes/thermals.md index 6178bd6..00ed6b8 100644 --- a/notes/thermals.md +++ b/notes/thermals.md @@ -14,19 +14,19 @@ Relevant docs: ##### pm6150l_adc (adc@3100) -| downstram name | reg | upstream name | need to add | added? | corresponding thermal zone | can get value from corresponding thermal zone | -| -------------------- | ---- | -------------------- | ----------- | ------ | -------------------------- | --------------------------------------------- | -| ref_gnd | 0x00 | | | | | | -| vref_1p25 | 0x01 | | | | | | -| die_temp | 0x06 | | | | | | -| vph_pwr | 0x83 | | | | | | -| pa_therm2 | 0x4d | pa-therm1 | yes | yes | pa1-thermal | yes | -| msm_therm | 0x4e | | yes | yes | sdm-skin-thermal | | -| pa_therm1 | 0x4f | pa-therm0 | yes | yes | pa0-thermal | yes | -| get_stageid_adc | 0x52 | | | | | | -| rfc_cam_therm | 0x53 | rear-cam-sensor | yes | yes | rear-cam-thermal | yes | -| rear_cam_flash_therm | 0x54 | rear-cam-flash-therm | yes | yes | rfc-flash-thermal | yes | -| quiet_therm | 0x55 | quiet-therm | yes | yes | quiet-thermal | yes | +| downstram name | reg | upstream name | need to add | added? | corresponding thermal zone | can get value from corresponding thermal zone | +| -------------------- | ---- | -------------------- | ----------- | ------------------------- | -------------------------- | --------------------------------------------- | +| ref_gnd | 0x00 | | | | | | +| vref_1p25 | 0x01 | | | | | | +| die_temp | 0x06 | | | | | | +| vph_pwr | 0x83 | | | | | | +| pa_therm2 | 0x4d | pa-therm1 | yes | yes | pa1-thermal | yes | +| msm_therm | 0x4e | | yes | yes | sdm-skin-thermal | | +| pa_therm1 | 0x4f | pa-therm0 | yes | yes | pa0-thermal | yes | +| get_stageid_adc | 0x52 | | | | | | +| rfc_cam_therm | 0x53 | rear-cam-sensor | yes | no, could not get working | rear-cam-thermal | yes -> no..? Getting -40 °C | +| rear_cam_flash_therm | 0x54 | rear-cam-flash-therm | yes | yes | rfc-flash-thermal | yes | +| quiet_therm | 0x55 | quiet-therm | yes | yes | quiet-thermal | yes | Table complete from downstram DT: yes @@ -54,7 +54,7 @@ compatible string: `qcom,adc-tm5-iio` | downstram name | reg | gpio | upstream name | | -------------- | --- | ---- | ------------- | | msm_therm | 0x4e | n/a | | -| rfc_cam_therm | 0x53 | gpio6 | rear_cam_therm | +| rfc_cam_therm | 0x53 | gpio6 ("invalid argument") -> gpio2? (-40000...) | rear_cam_therm | Table complete from downstram DT: yes