Re: [PATCH 2/2] thermal/drivers/qcom/tsens: Add support for ipq9650 tsens
From: Konrad Dybcio
Date: Fri May 15 2026 - 08:45:02 EST
On 5/15/26 12:18 PM, Varadarajan Narayanan wrote:
> ipq9650's tsens is similar to ipq5332 tsens but has different number of
> sensors. Re-use the ipq5332 data for ipq9650 and modify the sensor
> related information.
>
> Signed-off-by: Varadarajan Narayanan <varadarajan.narayanan@xxxxxxxxxxxxxxxx>
> ---
> drivers/thermal/qcom/tsens-v2.c | 8 ++++++++
> drivers/thermal/qcom/tsens.c | 3 +++
> drivers/thermal/qcom/tsens.h | 2 +-
> 3 files changed, 12 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/thermal/qcom/tsens-v2.c b/drivers/thermal/qcom/tsens-v2.c
> index 8d9698ea3ec4..ef1fee2266a3 100644
> --- a/drivers/thermal/qcom/tsens-v2.c
> +++ b/drivers/thermal/qcom/tsens-v2.c
> @@ -300,6 +300,14 @@ const struct tsens_plat_data data_ipq5424 = {
> .fields = tsens_v2_regfields,
> };
>
> +const struct tsens_plat_data data_ipq9650 = {
> + .num_sensors = 11,
> + .ops = &ops_ipq5332,
> + .hw_ids = (unsigned int []){5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15},
Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>
Konrad