Re: [PATCH v4 2/5] platform: arm64: Add driver for EC found on Qualcomm reference devices

From: Anvesh Jain P

Date: Mon Mar 16 2026 - 13:25:05 EST




On 3/16/2026 3:59 PM, Konrad Dybcio wrote:
>> + * | Offset | Name | Description |
>> + * ------------------------------------------------------------------------------
>> + * | 0x00 | Byte count | Number of bytes in response |
>> + * | | | (exluding byte count) |
>> + * ------------------------------------------------------------------------------
>> + * | 0x02 (LSB) | EC Thermal | Bit 0-1: Number of fans |
> qcom_ec_fan_debug_mode_off() documentation only mentions values 1/2
> to be correct - is that the case?
>

Yes, qcom_ec_fan_debug_mode_off() will only support values 1/2. The
above documentation mentions about number of fans available, max being 2.

>> + * | 0x3 | Capabilities | Bit 2-4: Type of fan |
> What types are there? CPU/AUX or similar?
>

This is fan vendor identification byte. 0 being invalid/not present.

--
Best Regards,
Anvesh