Message ID | 760555de9101e19a2301ad676dfe687ffb499622.1683027347.git.quic_varada@quicinc.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1076981vqo; Tue, 2 May 2023 21:52:19 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7J2Eu8dcZkjZLV/Zmk8BQwZP2HV4fMaH590HFrnepdGc8aEq5r0SvNA/itKtethuRqItAL X-Received: by 2002:a17:90b:1989:b0:24d:fab5:5f57 with SMTP id mv9-20020a17090b198900b0024dfab55f57mr1106474pjb.17.1683089538856; Tue, 02 May 2023 21:52:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683089538; cv=none; d=google.com; s=arc-20160816; b=tLL0EtHB8r1QrG9pdOknlFJ9r6gv0qz4R9fm4NkmlkxoSw+ecJDHzYhcEbzcwthjZO iVkXWxBJGSAloa9t5qDWJ/d3QmVfQzQ1ATn6H3JwJRbcVeOknHTVVpHnJZOxj6ZqL0Q7 zsWp/W0ArwjJEQMhHlZdzj5I8QzzK3IGl42ouGOPcdFy5OYEV0HhmqmAGNEog5+PP7KW Hh1TKbQW4wFPpQVgt9xvva4Yz3E42ngTh+sH8TVG2vfYD7TFQf6Nv6gzxMXf4P48i8xM 6lvN5rQJEtOMskAbnIoHVPJGvx65VlsGbmgwzb0Nl5tdvzBEpVYkGe3okY6coNnDKiQw RnWw== 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=HwvSwhmc4TvdFpr6kGlmJx9iQACnY0xmxGQfC3dgeffR+Fab5HwSh1CyghZ/B5p7LC 8Y27wQSTpYBmO/2HIajSAtFWxY54xUm6NX0A5ZZe+SBnXLspVH/L4D28TVlEBIL0CIW5 PMVksISRk/kuhVl1klYkA/hQJiZNnvDqUyt+OUJYne7lOq1D9UZnC/mHWSkCJ5BUQJHK CPmyeHt4mNAhEMvIsGMlrXNFh/AbFNqX4Mgt7VAaBxQf4onGlniN+x4+s5imllevc0Qx LRJ94TLD1SaLEgwBMUuz0Wa+8RJyYcONB8A2nYeIYNIM1Ty3E6QP8qn9S6e5FbCAQmcW hVug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=VxKfbMCx; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z19-20020a63e113000000b0050971cbf2dbsi32682049pgh.226.2023.05.02.21.52.05; Tue, 02 May 2023 21:52:18 -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=VxKfbMCx; 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 S229690AbjECErU (ORCPT <rfc822;heyuhang3455@gmail.com> + 99 others); Wed, 3 May 2023 00:47:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47580 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229684AbjECErD (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 3 May 2023 00:47:03 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3C48A3C14; Tue, 2 May 2023 21:46:58 -0700 (PDT) Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3434hwZN028051; Wed, 3 May 2023 04:46:39 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=VxKfbMCx4jfenP9aWGZ9nmdxBJceSd3uOsnnK/Pajr2yOhVCkTKBeBMzxpS/cG3aMkry tEOx0Z5VNSwXhcD23tYiC1RPDEm6mcil0gpt5gF3j3llpv72tP6eGbcAUyG/i3V78u38 HGMmQB/1Mn7QZSkPw6o8FTPmZxZdja7Q2h3x23pju3P0ADawJxmvM6+RoRx4mzXxVDyf MfHJknoi2lrcQJQZiD6Uj/K0KXR5WZbJHRjXQ9i4uGmVyBeztwyOV+uWn2AGSNTlBhAs Q+SAT6tWEpZxHeW/X23oSHdAer4/SEpldZVcjIcCCKEN344OUiZIckXGf7+3BfBSqV+q aw== Received: from nasanppmta04.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3qbbsw0e74-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 03 May 2023 04:46:39 +0000 Received: from nasanex01a.na.qualcomm.com (nasanex01a.na.qualcomm.com [10.52.223.231]) by NASANPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3434kcle029597 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 3 May 2023 04:46:38 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; Tue, 2 May 2023 21:46:33 -0700 From: Varadarajan Narayanan <quic_varada@quicinc.com> To: <amitk@kernel.org>, <thara.gopinath@gmail.com>, <agross@kernel.org>, <andersson@kernel.org>, <konrad.dybcio@linaro.org>, <rafael@kernel.org>, <daniel.lezcano@linaro.org>, <rui.zhang@intel.com>, <robh+dt@kernel.org>, <krzysztof.kozlowski+dt@linaro.org>, <linux-pm@vger.kernel.org>, <linux-arm-msm@vger.kernel.org>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org> CC: Praveenkumar I <quic_ipkumar@quicinc.com>, Varadarajan Narayanan <quic_varada@quicinc.com> Subject: [PATCH v1 2/4] thermal/drivers/tsens: Add IPQ9574 support Date: Wed, 3 May 2023 10:16:00 +0530 Message-ID: <760555de9101e19a2301ad676dfe687ffb499622.1683027347.git.quic_varada@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <cover.1683027347.git.quic_varada@quicinc.com> References: <cover.1683027347.git.quic_varada@quicinc.com> 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: cljUZxiGMyRbG-47ODSsQeTt8reEO5Be X-Proofpoint-ORIG-GUID: cljUZxiGMyRbG-47ODSsQeTt8reEO5Be 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-05-03_01,2023-04-27_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 lowpriorityscore=0 adultscore=0 suspectscore=0 malwarescore=0 mlxlogscore=999 impostorscore=0 bulkscore=0 mlxscore=0 phishscore=0 spamscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2305030036 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764847296426993754?= X-GMAIL-MSGID: =?utf-8?q?1764847296426993754?= |
Series |
Enable IPQ9574 TSENS support
|
|
Commit Message
Varadarajan Narayanan
May 3, 2023, 4:46 a.m. UTC
From: Praveenkumar I <quic_ipkumar@quicinc.com> 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 <quic_ipkumar@quicinc.com> Signed-off-by: Varadarajan Narayanan <quic_varada@quicinc.com> --- drivers/thermal/qcom/tsens.c | 3 +++ 1 file changed, 3 insertions(+)
Comments
On 03/05/2023 06:46, Varadarajan Narayanan wrote: > From: Praveenkumar I <quic_ipkumar@quicinc.com> > > 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 <quic_ipkumar@quicinc.com> > Signed-off-by: Varadarajan Narayanan <quic_varada@quicinc.com> > --- > 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, This is a friendly reminder during the review process. It seems my previous comments were not fully addressed. Maybe my feedback got lost between the quotes, maybe you just forgot to apply it. Please go back to the previous discussion and either implement all requested changes or keep discussing them. Thank you. Best regards, Krzysztof
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, }, {