From patchwork Mon May 15 10:13:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varadarajan Narayanan X-Patchwork-Id: 94079 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp6807065vqo; Mon, 15 May 2023 03:18:19 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7A/41DdCATllpSU5UcIDTK/dqWK/lfpn4naBNxUuCCNVpCi+Ok3/x5E4CAWAVBJ/ttjuqb X-Received: by 2002:a17:903:2451:b0:1a6:9762:6eed with SMTP id l17-20020a170903245100b001a697626eedmr38012465pls.22.1684145899365; Mon, 15 May 2023 03:18:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684145899; cv=none; d=google.com; s=arc-20160816; b=feiP1hRC6iMWipzH6/OrKunEtAxNeUrugySxlFGC8WNLLmKLkT3qpJfWS5VqvNtcmB ALGHbDaA/0TCq7FVsHoAhfSIr+uYT4XxDaHybvYilJ7Psg7r6sNko3kr8ORTEw7H1imQ 4wm5uHeeYYCOCa1dfa7LxcW78BZzVLS0hPjAgyhewTF0Steq5VWTkHWBMlPgicvCh5Sc DsjktgkobO1K5mBFeMzJNBatLwm+ZhiWaCN/cPoUP4t0FyGQWcZpXTdnjNodMDpvyzxf pCK/IrXDcSArn4vxAuR9ZM6ebidDy8uPNJtdWC0MdzFfCapab3+eqHfAUs+lfYf0VQCq Uv6Q== 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=fr0/amL9fESiq6HiNnuJ+IWCWGVBCZYuEb+7C93doRc=; b=c3LUQiNhzDxY3rsjTwqrYjgHcY183ATrL9ndNUg5iAjLsZ4PZOnFxU4o36QKBzTyF+ 3qG3yt2E1eiAAA+ZYGR+W+yYJiP5kUrkSM8IDbw9s84SYDXVaxcOSRrkPmBOfDbxt3dJ zY8Qv7RJH/jzwiAwetV58aQr6B2CjF5xEvzWJHsdEekwCRdXg0lsIbH6LvxLPhEb2yay egWkybsOW2gnObc7ZvLDtOZoWOUQgTtFmKHJ8fZTQHz44VGresWa4DjyXecrCTGYd5dt oOg4l8OhKgCa5EaAXExTqsf3X3PBhxv7F+XDJzY6XaNRbsHUOpD6qHeCMeV3I2UhVadi koaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="PF/V/2iL"; 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 e2-20020a170902b78200b001ab197cb503si15415186pls.355.2023.05.15.03.18.07; Mon, 15 May 2023 03:18:19 -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="PF/V/2iL"; 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 S241005AbjEOKON (ORCPT + 99 others); Mon, 15 May 2023 06:14:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47536 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238353AbjEOKOI (ORCPT ); Mon, 15 May 2023 06:14:08 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 41D181700; Mon, 15 May 2023 03:14:07 -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 34FAAt1X003592; Mon, 15 May 2023 10:14:03 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=fr0/amL9fESiq6HiNnuJ+IWCWGVBCZYuEb+7C93doRc=; b=PF/V/2iLT5ilzP0H+l0jWaUnhHz6lL3XUN+Yy0+9/1Qzybq7o649PeBulnVytHnoc+1d cm9MaSTEARQ9s6RupvwqgunsRPpbBdQ2pRrtb7ZmFzjUioEHU+GJVl3rSWfbOc4JMmK/ bwXbnHYFmhtx9+Ju1cOcYilZ1eSZ9aCTUr0DJt5WwCEMqEOEAJ9FZVjVmhuS/1uePGCl piE53cTgsCFYIYABxuSK4uhZJOhmxDLgbyCvCkY4RE3TljvXBtM8PyA2dXB+Y6oHzKV7 3DbfANHTEFk0+lbqhQ1E47ZlLoT5QVmMmDisnaI9CuLb8uMdmIkJ+C9g7wCxHYM+5Vt2 4g== Received: from nasanppmta03.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3qkjr000hr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 15 May 2023 10:14:03 +0000 Received: from nasanex01a.na.qualcomm.com (nasanex01a.na.qualcomm.com [10.52.223.231]) by NASANPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 34FAE2xn031720 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 15 May 2023 10:14:02 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; Mon, 15 May 2023 03:13:57 -0700 From: Varadarajan Narayanan To: , , , , , , , , , , , , , , CC: Praveenkumar I , Varadarajan Narayanan Subject: [PATCH v3 2/4] dt-bindings: thermal: tsens: Add ipq9574 compatible Date: Mon, 15 May 2023 15:43:33 +0530 Message-ID: <37adcf5d8d545a076e8ed971a4fb6c6c2833ef3c.1684140883.git.quic_varada@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) 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-ORIG-GUID: Mm_XQMBsnNpJ_OfITEVzaeItapsiJOhv X-Proofpoint-GUID: Mm_XQMBsnNpJ_OfITEVzaeItapsiJOhv 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-15_07,2023-05-05_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 clxscore=1015 spamscore=0 malwarescore=0 phishscore=0 suspectscore=0 mlxscore=0 priorityscore=1501 mlxlogscore=999 adultscore=0 bulkscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305150088 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 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: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1765954970708501149?= X-GMAIL-MSGID: =?utf-8?q?1765954970708501149?= From: Praveenkumar I Qualcomm IPQ9574 has tsens v2.3.1 block, which is similar to IPQ8074 tsens. Signed-off-by: Praveenkumar I Signed-off-by: Varadarajan Narayanan --- [v3]: Fix dt_binding_check & dtbs_check errors (Used Documentation/devicetree/bindings/display/allwinner,sun4i-a10-tcon.yaml as reference/example) Drop 'Acked-by: Rob Herring' as suggested in review [v2]: Thanks to Krzysztof Kozlowski for the tip to make qcom,ipq8074-tsens as fallback. --- Documentation/devicetree/bindings/thermal/qcom-tsens.yaml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml b/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml index d9aa54c..57e3908 100644 --- a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml +++ b/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml @@ -19,6 +19,11 @@ description: | properties: compatible: oneOf: + - const: qcom,tsens-v0_1 + - const: qcom,tsens-v1 + - const: qcom,tsens-v2 + - const: qcom,ipq8074-tsens + - description: msm8960 TSENS based items: - enum: @@ -66,8 +71,10 @@ properties: - const: qcom,tsens-v2 - description: v2 of TSENS with combined interrupt - enum: - - qcom,ipq8074-tsens + items: + - enum: + - qcom,ipq9574-tsens + - const: qcom,ipq8074-tsens reg: items: @@ -279,6 +286,7 @@ allOf: contains: enum: - qcom,ipq8074-tsens + - qcom,ipq9574-tsens then: properties: interrupts: @@ -294,6 +302,7 @@ allOf: contains: enum: - qcom,ipq8074-tsens + - qcom,ipq9574-tsens - qcom,tsens-v0_1 - qcom,tsens-v1 - qcom,tsens-v2