Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp129512rwp; Wed, 12 Jul 2023 10:42:29 -0700 (PDT) X-Google-Smtp-Source: APBJJlF4RFd3NPROcdP942QTNnSW/Hu6NYZjSKmnb7hsVg4Jjiqmyfe7CLPOcM0FY67FZdLnzHG/ X-Received: by 2002:a05:6358:726:b0:134:e503:dfb3 with SMTP id e38-20020a056358072600b00134e503dfb3mr16288691rwj.4.1689183749217; Wed, 12 Jul 2023 10:42:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689183749; cv=none; d=google.com; s=arc-20160816; b=DTOnkmqDFxqiMWwDAChJkplFmKHL28rkW7txcaivwEuzZ7yB71IgeY9iuEZjTxUlvY G/b/FevR8WUnsAh7IjEg+wurERjkWwRZe1Y03N3BrxSxcwKyaZO9j8wuYez0fC7Erdnn yCsBJRCCYYhdUiKmZ5Q2oJk+CpVx01xubM57k8vah5UY636tzcaHWEQJ1n9qcqQASiqO 5IxK7IrhpNdtD4QNbOCalSPGa5jMI4yPIhmBo2krNt5PfgtV6KvbgnVFkLXrLIER0jEr F61B+epqX6LAZjFT0bz6LeDw+MgrgJBLV4ZH2P6TwiDbJyY9an0i7HTScL8ZYWhjgU4+ YbCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=Ecv2JxhYijVtgzl9hWfCcUgczVGuOQqmpvz3ynsFnRA=; fh=5yEkW1UBc3Yvu2+2i8t9opq9LEavzT6WCdN1yZdlql4=; b=DRWNIwW2mWsGaLg0hhg/nPevGeaa9I0ibeynn1zpIX+6vXxsys+R9rH78n815Ca5i3 sWFw4qf9OE4bqiiRKf6JfR3J+IH/Czck+NsrKQmREjGeh8pc/OPVmflOOpIyEA8U8jDK uobt01EM+5xczZCIBZxvc+cMHhUso2F1Kp88Ozy/7+yFknTFbVp2UctSmEuEaHE3DQ/p axiL8/pJu0eNvUWMQuNDBYJzzyYiYUNNTDMhE7olB9A3ul6OVfIJIb8p4G87KkzEvd8B daGCUKQ0NgDuheG00XMsuwRtluDxsSIhG2PZiH8pLcCgxHYqW3qtsRnn6fxz3g6z42WU fqRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=XDVNGf24; 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 y72-20020a638a4b000000b005575a066782si3641108pgd.255.2023.07.12.10.42.17; Wed, 12 Jul 2023 10:42:29 -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=XDVNGf24; 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 S233015AbjGLQpb (ORCPT + 99 others); Wed, 12 Jul 2023 12:45:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46074 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229668AbjGLQp3 (ORCPT ); Wed, 12 Jul 2023 12:45:29 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DBA4611B; Wed, 12 Jul 2023 09:45:28 -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 36CDgDhU024621; Wed, 12 Jul 2023 16:44:53 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=Ecv2JxhYijVtgzl9hWfCcUgczVGuOQqmpvz3ynsFnRA=; b=XDVNGf240CXJcETtLNGEh/cCBRb4pCDtJOJQXvr+FBj/CsY39az+BTh/jUwChJBvHeT/ 7+UMYE+EYs5m4d7/6c4CI2Tmabhk90gPXRkurTGnOdbV2wCKG8oYC1zs4OWDdpDkmk5L 8otzzSVBFOCak154MjOmus/+ca8Ct8G9OVAg/r5sEHoumcP9m4jKE8qb26UZ4lRa3f+y 40of8jEuGwS87dCorbYbz3xMMz2fhQUzbAjdAG8q/vIZppdTe8HsmCVnfH0l0F1ACBNT kN+isPcRShr/o87oNK1G0xHdWTB6wZJdONQuSNuu94g7PrtXtTtxSKVxqza8TtU449KZ dQ== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3rseqpt48v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 12 Jul 2023 16:44:53 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 36CGipGb013382 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 12 Jul 2023 16:44:52 GMT Received: from [10.216.33.107] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.30; Wed, 12 Jul 2023 09:44:46 -0700 Message-ID: <4adcdd78-8cc3-8ea8-7195-4ece0527d627@quicinc.com> Date: Wed, 12 Jul 2023 22:14:42 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH v2 2/5] dt-bindings: thermal: tsens: Add ipq5332 compatible Content-Language: en-US To: Krzysztof Kozlowski , , , , , , , , , , , , , , , CC: References: <20230712113539.4029941-1-quic_ipkumar@quicinc.com> <20230712113539.4029941-3-quic_ipkumar@quicinc.com> From: Praveenkumar I In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: R5CWdmS8An8U0na_MfefeWrU8AF9HpJc X-Proofpoint-ORIG-GUID: R5CWdmS8An8U0na_MfefeWrU8AF9HpJc X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-12_11,2023-07-11_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 lowpriorityscore=0 bulkscore=0 suspectscore=0 phishscore=0 mlxlogscore=999 clxscore=1015 impostorscore=0 adultscore=0 malwarescore=0 priorityscore=1501 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2307120150 X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,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 On 7/12/2023 7:55 PM, Krzysztof Kozlowski wrote: > On 12/07/2023 13:35, Praveenkumar I wrote: >> IPQ5332 uses TSENS v2.3.3 with combined interrupt. RPM is not >> available in the SoC, hence adding new compatible to have the >> sensor enablement and calibration function. >> >> This patch also adds nvmem-cell-names for ipq5332 >> >> Signed-off-by: Praveenkumar I >> --- >> [v2]: >> Followed the order for ipq5332 and added nvmem-cell-names. >> >> .../devicetree/bindings/thermal/qcom-tsens.yaml | 12 ++++++++++++ >> 1 file changed, 12 insertions(+) >> >> diff --git a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml b/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml >> index 27e9e16e6455..cca115906762 100644 >> --- a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml >> +++ b/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml >> @@ -69,6 +69,7 @@ properties: >> >> - description: v2 of TSENS with combined interrupt >> enum: >> + - qcom,ipq5332-tsens >> - qcom,ipq8074-tsens >> >> - description: v2 of TSENS with combined interrupt >> @@ -205,6 +206,15 @@ properties: >> - const: s9_p2_backup >> - const: s10_p1_backup >> - const: s10_p2_backup >> + - items: >> + - const: mode >> + - const: base0 >> + - const: base1 >> + - pattern: '^s[0-9]+$' >> + - pattern: '^s[0-9]+$' >> + - pattern: '^s[0-9]+$' >> + - pattern: '^s[0-9]+$' >> + - pattern: '^s[0-9]+$' > Previously there were 17 items here. What changed? Previously I have added all the available sensor offsets in QFPROM. But in IPQ5332,only 5 sensors are present. Other sensors not present/wired in the SoC, hence updated only for 5 sensors now. -- Thanks, Praveenkumar > > Best regards, > Krzysztof >