Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp38199862rwd; Wed, 12 Jul 2023 04:40:35 -0700 (PDT) X-Google-Smtp-Source: APBJJlHfLBW3EDCzhNxwaYROvuXxazaJLiPah4x09YWJzyYsAeKo1dcFhkUmrDj+gC3QkAObNf+9 X-Received: by 2002:a05:6a20:72a4:b0:12b:40d3:aeaf with SMTP id o36-20020a056a2072a400b0012b40d3aeafmr2388535pzk.0.1689162034996; Wed, 12 Jul 2023 04:40:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689162034; cv=none; d=google.com; s=arc-20160816; b=NQCq3SGJ9cAYLouE0jA5Qflfe1OxTj/msz6qb2qefNEFqmN68t5b0F73d1/GZf+1X+ MNZA+SN5TXFM2Lw+mNWxNdENwTRZ+NYBcZu78v8zzANOBlbL0jBlgPBmsLNteNzvW22K dscCr6xelpoNNp+RGjSDrllkKykksu+3R4TZD+C3oufv89us6v5YK9u2wxDkiPrlymfi NlX59e/C5XwG3pE/jQAO0s15sEU7nv0dZwg9mxQxE19C+PazJa0OKfTnG9QulrYwntS2 +J++E3tEm2hrJapmjumikGh3ImW+/rrGzScrzhf1mI66sCf0XkPYN3bWmpRMF4UU+/QS kHTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=YWPxoWmZiRhymbr9UVc9ws8hAFdihdiNtyOEtru7Qt4=; fh=hGvN8g5Tc8XbSjS7FvrEf4ONBsfwZeApRyks9Y0cJkQ=; b=bvLNE11shBkPB8Ux6EJK0lUIhjEg9J+++tGJnl+aaRv+0tdeWtRjn/O+TXj4LzgYXw rD7RmJLN1u9pQLE/aTy5MakbirfDNxVvxkwEtYe3jvCae7HbaOoIxz/mGbWtS5sPFjoC ohzLjwbIsXxKsfHe0BP8s/V0KSkMXnwAoJ5Zx1yKg+w6fVKAm97cIyYGaKYVm2PN+X90 n4g+VFN/mbu06HMCs/nHX0GOxubh/VMMCk1rNjgtq+jfGiUJx2641CE3aajk1vVfWZ24 XI9YoLhuBjTUdF3STkZXIDK5T1e4XIrdDSygQQmwnrpccxDkcqEBNqgjmW8PARdZlPdp rwag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=AghYCg5B; 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 m16-20020a63fd50000000b0053074c54c3fsi3137296pgj.868.2023.07.12.04.40.21; Wed, 12 Jul 2023 04:40:34 -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=AghYCg5B; 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 S231825AbjGLLgk (ORCPT + 99 others); Wed, 12 Jul 2023 07:36:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55412 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229506AbjGLLgj (ORCPT ); Wed, 12 Jul 2023 07:36:39 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9641B8F; Wed, 12 Jul 2023 04:36:38 -0700 (PDT) Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 36CB1Av5027631; Wed, 12 Jul 2023 11:36:33 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-transfer-encoding : content-type; s=qcppdkim1; bh=YWPxoWmZiRhymbr9UVc9ws8hAFdihdiNtyOEtru7Qt4=; b=AghYCg5BmnlL4HJYLU5MT3Srq4E+aeV4JWMWjzqeuNt+in7OGz8buvOQSeN6FCl+fuhn XYrt02kAc9kUv+qupY9cgq9y8dfW2Od7QX+ZqrYWC6IrEv14GaJ11Io3vriwiwsghi/w /3tVqzvNsw7dvmGLDizTIy9iE7gUVJvE5c+W7hPbBDX1GNdmMw4J0vBY49FuyD44qbwQ aOf/FSH36ZTjAbd6OAzSRCq6IiWdKlCA/NvJ/GMZjGTOLRB1t9PwcMOm0x+k5fvdnIJ5 HYy12U1nRDI5+NIlwMmachTQa3f3kvIKGn9r2xgtbgnnuyNCppkCoq3lOCF3x0KEpQbW 5w== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3rsf51hajs-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 12 Jul 2023 11:36:33 +0000 Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 36CBaWpk007983 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 12 Jul 2023 11:36:32 GMT Received: from hu-ipkumar-blr.qualcomm.com (10.80.80.8) by nalasex01c.na.qualcomm.com (10.47.97.35) 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 04:36:06 -0700 From: Praveenkumar I To: , , , , , , , , , , , , , , CC: Subject: [PATCH v2 2/5] dt-bindings: thermal: tsens: Add ipq5332 compatible Date: Wed, 12 Jul 2023 17:05:36 +0530 Message-ID: <20230712113539.4029941-3-quic_ipkumar@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230712113539.4029941-1-quic_ipkumar@quicinc.com> References: <20230712113539.4029941-1-quic_ipkumar@quicinc.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: CwXYnLK828oQWJFms9AE1j6L2Iug0r1V X-Proofpoint-GUID: CwXYnLK828oQWJFms9AE1j6L2Iug0r1V 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_06,2023-07-11_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 mlxscore=0 bulkscore=0 lowpriorityscore=0 clxscore=1015 phishscore=0 malwarescore=0 mlxlogscore=999 impostorscore=0 spamscore=0 suspectscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2307120103 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: X-Mailing-List: linux-kernel@vger.kernel.org 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]+$' "#qcom,sensors": description: @@ -266,6 +276,7 @@ allOf: compatible: contains: enum: + - qcom,ipq5332-tsens - qcom,ipq8074-tsens then: properties: @@ -281,6 +292,7 @@ allOf: compatible: contains: enum: + - qcom,ipq5332-tsens - qcom,ipq8074-tsens - qcom,tsens-v0_1 - qcom,tsens-v1 -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project