Skip to content

Ec thermistor support - #1127

Open
ajainp01 wants to merge 4 commits into
qualcomm-linux:qcom-7.2from
ajainp01:ec_thermistor_support
Open

ajainp01 wants to merge 4 commits into
qualcomm-linux:qcom-7.2from
ajainp01:ec_thermistor_support

Conversation

@ajainp01

Copy link
Copy Markdown

No description provided.

Describe the Hamoa embedded controller as a thermal-sensor provider with
one cell for selecting one of up to seven thermistors. The populated
channels are discovered from the EC firmware capability response, while
board thermal zones can reference a channel with <&ec N>.

Signed-off-by: Anvesh Jain P <anvesh.p@oss.qualcomm.com>
Register each thermistor reported by the EC thermal capability response
with devm_thermal_of_zone_register(). Read signed 16-bit temperatures
returned by the EC and convert the 0.1 degree Celsius values to the
millidegree units expected by the thermal framework.

Signed-off-by: Anvesh Jain P <anvesh.p@oss.qualcomm.com>
Advertise one thermal-sensor cell on the embedded controller so board
thermal zones can reference the firmware-reported thermistors by index.

Signed-off-by: Anvesh Jain P <anvesh.p@oss.qualcomm.com>
Describe the EC-reported SoC, keyboard, and cover temperature sensors as
thermal zones on the Glymur CRD.

Signed-off-by: Anvesh Jain P <anvesh.p@oss.qualcomm.com>
@qcomlnxci

Copy link
Copy Markdown

Test jobs on 331fee1

@qcomlnxci

Copy link
Copy Markdown

Test Matrix

Test Case glymur-crd-multimedia
Audio_Card_Registration ✅ Pass
BT_FW_KMD_Service ✅ Pass
BT_ON_OFF ✅ Pass
BT_SCAN ✅ Pass
CPUFreq_Validation ✅ Pass
CPU_affinity ✅ Pass
DSP_AudioPD ✅ Pass
Ethernet_Basic_Validation ⚠️ skip
Freq_Scaling ✅ Pass
GIC ✅ Pass
IPA ✅ Pass
Interrupts ✅ Pass
KVM_Driver ✅ Pass
KVM_EL2_DTB ✅ Pass
KVM_Infra ✅ Pass
OpenCV ✅ Pass
PCIe ✅ Pass
Probe_Failure_Check ❌ Fail
RMNET ✅ Pass
UFS_Validation ⚠️ skip
USBHost ✅ Pass
WiFi_Firmware_Driver ✅ Pass
WiFi_OnOff ✅ Pass
adsp_remoteproc ✅ Pass
cdsp_remoteproc ✅ Pass
gpdsp_remoteproc ⚠️ skip
hotplug ✅ Pass
irq ✅ Pass
kaslr ✅ Pass
pinctrl ✅ Pass
qcom_hwrng ✅ Pass
rngtest ✅ Pass
shmbridge ✅ Pass
smmu ❌ Fail
watchdog ✅ Pass
wpss_remoteproc ✅ Pass

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants