From patchwork Wed Jul 19 10:40:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Praveenkumar I X-Patchwork-Id: 122546 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c923:0:b0:3e4:2afc:c1 with SMTP id j3csp2350053vqt; Wed, 19 Jul 2023 03:59:31 -0700 (PDT) X-Google-Smtp-Source: APBJJlFR8CVKuHZRNupseDowfM87JcWAkMsGZ9hAcs3Yu2p7zCSp7NfXRi1cqVPt3GZjMjN1tWv6 X-Received: by 2002:a05:6402:1857:b0:521:775b:ec95 with SMTP id v23-20020a056402185700b00521775bec95mr1969457edy.25.1689764371653; Wed, 19 Jul 2023 03:59:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689764371; cv=none; d=google.com; s=arc-20160816; b=l00DcFtqjQx91IPeON/KECfCgMd2tNETRuLT6jARz4Q4pjU9PGpmaLvpGUeriqPoaH CnJYRRjA58HhKKQ8B+BGm9aok7DkQr6vu4Zi2tIJBcg8Hpls6W4Y74vgsNqQrAmoJWqT Rq9AS4epkc4hwGkRc/z0KK/5qWA+xo0m5pVNMcJZtZ2xZYLyYdZlGLU+iqfR1ng/t6EV fWI848DnoetZ6U7//bAPx6US37EbHBQxvHcBpU6BeEDW4gVFd0pxwbDmyix13GxXPQ5L wPekz/DQ89a6qk65E2aZbyJXZ9liANUUwG4fvJD7HmjmwrvLR6pHymoLmKa8VO8GuimP j0mA== 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=z7a26ieqmvK4KGuiGUjDSE9ifR7hDyfqa1pnvg686U4=; fh=X4rJ+cR0B+d5Oa7pFIBp3MHYxg8a+8b0Sx0w3zuICOE=; b=rDk4NLvMKJp4q46NZp5k7p+VizSBPjgAHMV5XierI++iyQq2YFgi2G0pDJl+Gb5yJu OHMzYRw07tVpvwhdIoxnuCpB4jGJYMIIxKVZbQZmRgcxgRgsRAZn+jWVnYf3kGfEa8qt HSiOGpX479TdF4h81TtTjhgta2L+XPYTlrzVxDkfccLayGbOkbDkTM4jIau/sdxLQi9T DJnJcrr5NuX72Uw83g18rxP2hg9D4HaM9ifly8Dsm+VcAKcBDW16mT7GWnLjDH3QTc3/ Sbu+9nJSEFEjl5p94aQ18wb0D+gNUR5VPNo3WqO0VnsWCK1YtgsB8++EGity3pSvo85o g1pg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=GXcb3uK5; 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 n16-20020aa7d050000000b0051fee9567basi2746366edo.619.2023.07.19.03.59.07; Wed, 19 Jul 2023 03:59:31 -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=GXcb3uK5; 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 S231246AbjGSKlu (ORCPT + 99 others); Wed, 19 Jul 2023 06:41:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59354 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231393AbjGSKlp (ORCPT ); Wed, 19 Jul 2023 06:41:45 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33066E52; Wed, 19 Jul 2023 03:41:44 -0700 (PDT) Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 36J8Gd05003054; Wed, 19 Jul 2023 10:41: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-transfer-encoding : content-type; s=qcppdkim1; bh=z7a26ieqmvK4KGuiGUjDSE9ifR7hDyfqa1pnvg686U4=; b=GXcb3uK5B7BHD2Zzy0uX75UnhpBvbNuIaPbJkicKEJUicgwIro0nDnx7O4cmd6J81CgM lYcRuqoBjdePE+1FPasEr+dYokx2mwVwWsot6TERJ+NWHHmbCpRQvaNKjXcKALvYS+E8 gYvQSexShkXS4LzifB6Xgv2Flau0ZjVG3wU0gryoraC9zOFgqf1scw4tWei7rbR7Pj0+ RD04OWda5dYdAGOy6qW4DjUMJ3609w5FIdzQbnV7xHBo294vw4HGj8REigCBN97VXmKR /sQG0KIrmgqHE/Oo18ENMQ03xrKPIyarcr+1WcwkHJNkHyBIEBHKLudbw999TsUN6tAN 2Q== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3rwnrrk3c6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 19 Jul 2023 10:41:39 +0000 Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 36JAfciA000314 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 19 Jul 2023 10:41:38 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, 19 Jul 2023 03:41:33 -0700 From: Praveenkumar I To: , , , , , , , , , , , , , , CC: Subject: [PATCH v4 2/5] dt-bindings: thermal: tsens: Add ipq5332 compatible Date: Wed, 19 Jul 2023 16:10:38 +0530 Message-ID: <20230719104041.126718-3-quic_ipkumar@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230719104041.126718-1-quic_ipkumar@quicinc.com> References: <20230719104041.126718-1-quic_ipkumar@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) 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-GUID: iRLescyL3-bJH5-0GrDJc14UcB12HZVR X-Proofpoint-ORIG-GUID: iRLescyL3-bJH5-0GrDJc14UcB12HZVR 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-19_06,2023-07-19_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 phishscore=0 malwarescore=0 suspectscore=0 adultscore=0 spamscore=0 lowpriorityscore=0 mlxlogscore=999 priorityscore=1501 impostorscore=0 mlxscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2307190096 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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771846365859224129 X-GMAIL-MSGID: 1771846365859224129 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 Reviewed-by: Krzysztof Kozlowski Signed-off-by: Praveenkumar I --- [v4]: Pick up R-b tag [v3]: No changes. [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