Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp2239101rwr; Fri, 28 Apr 2023 07:54:27 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6miEIH/8jtV4xwnOZHQ1kax36Z805k1GclYw2W6rpV0prf4qb2255R6tI713l4eYzRDlzG X-Received: by 2002:a05:6a20:258b:b0:ef:95ee:895a with SMTP id k11-20020a056a20258b00b000ef95ee895amr7129272pzd.30.1682693666586; Fri, 28 Apr 2023 07:54:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682693666; cv=none; d=google.com; s=arc-20160816; b=fAahAPmtDOXt5FLk4uW2yulE8pTl+eRZmZWw+VXvu5ZFphUF+9rAbTNQ4ZR3sGJcdY NjmYG3N/fV4N4YO/UO6ZH5HlUsVX6DyFYlFjFCVbw+Wp4PSxNXKu7V6ZTpD0IXJs+Fpy b0lpEqgwhXzwyHEEKSV3e1anQ56WuMfhGACAHIpZuCgyi1X+rbNiiBeXMkrsfl42WsdR Opq4pwToKlKiH+X1Nbmx2BERyS9y+VkwH8hi5dSeumGddFcTzBptcNufA+ehdC4b7Ek8 F/WD9TujCD3ChtxilSxTEhs3OjgtnksDhsNYbV4i/BIXPVO4K8Vt7uyTVP61rwhBpGkx 5gQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=ZNnbYavv2uT96ywFml2/+NG8q3f4n1FmuxGTKopRGoY=; b=BeQSbx2FvMJcMQeCmBZmWlFhi7uzUrxcba8M1WPqGR17Y56qN9uh2S02mUN7iKKa4R wngk2Loz4avZdXLHgwlq5hlirj7TPk5E5H7ppHYN+kXS2yU9cvDjAdIu6BUZ2PlTHWDN g3v+OJvOnaw6Bhep6YPS176bUOvoYj5vI/yV3yzBtd6OIEQDwyN7HQuW4n7EE7mdkUn0 ayGooEWxXoqf4isnfsJVdxF+I2aZmhJYfcZpr8yjJsF3R53JCJ57FSozLfTAXremIk3I p76LhkaZWZJlz5sh61+OVqy5JU+walBUL0GLgJhvdIbbY77CquVooB6EdV6uaEUVqh5v OCbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=AtGPSdWJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bk13-20020a056a02028d00b0051b603fe4f9si20954709pgb.876.2023.04.28.07.54.12; Fri, 28 Apr 2023 07:54:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=AtGPSdWJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346146AbjD1OxV (ORCPT + 99 others); Fri, 28 Apr 2023 10:53:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230502AbjD1OxR (ORCPT ); Fri, 28 Apr 2023 10:53:17 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D71CA213A; Fri, 28 Apr 2023 07:53:16 -0700 (PDT) Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 33S7GJop002989; Fri, 28 Apr 2023 14:53:12 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=qcppdkim1; bh=ZNnbYavv2uT96ywFml2/+NG8q3f4n1FmuxGTKopRGoY=; b=AtGPSdWJ4HkqJqIFFznUhsn3F2Dtw1vRW8RG5m7OowWZHepklousPe05O7LIA0o0+DgL skQohxUFW8+HmO5SMw1s7EyoIKmQd5Cip92uBarK77b0PiycYlmGqaT5Ot87QxpckvyL k+HJZdWM9h7rSX/FV2i4Z8p/Rbjlk6ppbIqNOBaLETxnUj/HmjRKyjfWQ0GVUK3EsBba 2OSJS3n5lVj0X1GyAdU/jhJSjn4k+NqX7nc0OKvix+lY98Cfw77wcOjHaUkNtXf8ljSh vvTg1HTp1dVFnVM7hyOrhTj5yYsrIUIG9rSyyow2x/0YHkrhsaduevxQJAnkFvTJj4Aw GQ== Received: from nasanppmta05.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3q89kssces-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 28 Apr 2023 14:53:11 +0000 Received: from nasanex01a.na.qualcomm.com (nasanex01a.na.qualcomm.com [10.52.223.231]) by NASANPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 33SErBPm007336 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 28 Apr 2023 14:53:11 GMT Received: from varda-linux.qualcomm.com (10.80.80.8) by nasanex01a.na.qualcomm.com (10.52.223.231) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.42; Fri, 28 Apr 2023 07:53:06 -0700 From: Varadarajan Narayanan To: , , , , , , , , , , , , , CC: Praveenkumar I , Varadarajan Narayanan Subject: [PATCH 2/4] thermal/drivers/tsens: Add IPQ9574 support Date: Fri, 28 Apr 2023 20:22:32 +0530 Message-ID: X-Mailer: git-send-email 2.7.4 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nasanex01a.na.qualcomm.com (10.52.223.231) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: se5uJO9PrH0rmP5ZgMwJDQ6oZERTMMvi X-Proofpoint-ORIG-GUID: se5uJO9PrH0rmP5ZgMwJDQ6oZERTMMvi X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-04-28_04,2023-04-27_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 spamscore=0 priorityscore=1501 adultscore=0 clxscore=1015 bulkscore=0 mlxlogscore=999 impostorscore=0 malwarescore=0 mlxscore=0 lowpriorityscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2304280119 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Praveenkumar I Qualcomm IPQ9574 uses tsens v2.3.1 IP, which is similar to IPQ8074 tsens. Hence reusing the data_ipq8074 for IPQ9574. Signed-off-by: Praveenkumar I Signed-off-by: Varadarajan Narayanan --- drivers/thermal/qcom/tsens.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/thermal/qcom/tsens.c b/drivers/thermal/qcom/tsens.c index d321812..e752b7d 100644 --- a/drivers/thermal/qcom/tsens.c +++ b/drivers/thermal/qcom/tsens.c @@ -1093,6 +1093,9 @@ static const struct of_device_id tsens_table[] = { .compatible = "qcom,ipq8074-tsens", .data = &data_ipq8074, }, { + .compatible = "qcom,ipq9574-tsens", + .data = &data_ipq8074, + }, { .compatible = "qcom,mdm9607-tsens", .data = &data_9607, }, { -- 2.7.4