Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5508115rwd; Wed, 24 May 2023 02:52:57 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6ccJY4mbSgwqAE3MYKRihl/ZJ1MoyORnaGxrDd4j69qYX8Pvj9XZk/ktfEK4AH7F8nU8WN X-Received: by 2002:a05:6a20:6a1d:b0:10c:4bf8:c82c with SMTP id p29-20020a056a206a1d00b0010c4bf8c82cmr7605314pzk.19.1684921977191; Wed, 24 May 2023 02:52:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684921977; cv=none; d=google.com; s=arc-20160816; b=sB8A/jB7VyoCBmVXzq8UlQbNOTXQ3NxleS9F84yUpImkdHYmYMQEZXX2pRv4c3Nh15 ERmH6OTVUctHzIWGbk82XGqnA4xP/Ko6UMFZnVdzkULxyXMcltRRB8tlM1DQTAroKRZ5 JNI6Kmwu7mVytKIJrtIqZu0Zl6cYCjpaE2/CoEWuxnoJCf1CVKXBdMBPrMYWJElVRCGC phhZuWscz72qguo8fyHAkp/OOsUBgmyITuwYQxzfWXd664qvc+ZO1roCuX0/MNO6zsfB aUyOIuCV42Py6Vs8LpXdj2USlxFlMt96kEkNhQyOAeQKu55PqyD6nvAeSL2XyauiQWgH u4Sg== 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=lTgEoLEClly75ZaPY/LxUJAjr1KveL9eAdClMXWG1iU=; b=QBJ2x2nnbs7kaCxrR8jnIi19zVFjg8q1/yp+Zjm6EJn81Z+XkspASxe1taVOEeVGeC tkMCz9262fnonQCsLGpOdB7BlPDjjwqhtZJPTz2d5SReHvouH0ENWaeJDDdCvSfvA7bQ MHx/MdDm9fVbae8MPGurSi+rlQJJ5jxDQUGIrA1wvm0tA5AZNPbBh1NQJJk/74ybd0Ui 9KkfkGGnfZ+V/BzMQ+tlwTonbm7/0qReFnL6mHZrTm1ceqjFl85rhZYrQskiRUFM4VrF Xs4EbFM/T5MWwZkat969NuMR6kF8waK6dF/6xpitryU9qfZFKgEY/cSm7yaUz5jpDcDO O/+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=KOafFjsF; 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 t64-20020a638143000000b0051a096769d2si931549pgd.628.2023.05.24.02.52.42; Wed, 24 May 2023 02:52:57 -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=KOafFjsF; 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 S230026AbjEXJhj (ORCPT + 99 others); Wed, 24 May 2023 05:37:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230006AbjEXJhF (ORCPT ); Wed, 24 May 2023 05:37:05 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A03A3184; Wed, 24 May 2023 02:37:04 -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 34O5gvEb032600; Wed, 24 May 2023 09:36:29 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=lTgEoLEClly75ZaPY/LxUJAjr1KveL9eAdClMXWG1iU=; b=KOafFjsFRgIMHx9DBNQfv28PbqKUYAHuaItWHzDBPjKzvrVzZU12jkW/GlZ8AwTuWb+f WOn6xC2zRQ7a5Nn5O9/en+QLEFzF8ehrtXMEvVETCYSVR2Pc3gUgqLs/HycA6Ef9aHWn 3HEAhbCV5vIbneBQly5gYvvbR+Gu5tjhhPPmmmSoLlPVTfXa4/iSbZZZC0OZRdqjP0Xn r1gQ9SEo9MtK+i+oeChyzcojFpNo9f5DXrMXF+Y8hBu4anF1vVSQdsaFQ/jOgABkH5vl rkks6hCvKK1rxRXwDyGm8gAQrcKure2OQIcbV4j1dl2d6Ryzk1DquGt4goot7RJmSfKq PQ== Received: from nasanppmta05.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3qs4df9c1b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 24 May 2023 09:36:29 +0000 Received: from nasanex01a.na.qualcomm.com (nasanex01a.na.qualcomm.com [10.52.223.231]) by NASANPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 34O9aSUi002064 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 24 May 2023 09:36:28 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; Wed, 24 May 2023 02:36:23 -0700 From: Varadarajan Narayanan To: , , , , , , , , , , , , , , CC: Praveenkumar I , Varadarajan Narayanan Subject: [PATCH v4 1/3] dt-bindings: thermal: tsens: Add ipq9574 compatible Date: Wed, 24 May 2023 15:06:09 +0530 Message-ID: X-Mailer: git-send-email 2.7.4 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain 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-GUID: dwiKsLY2MstIBf8KaXp76hAgLRfpbC7w X-Proofpoint-ORIG-GUID: dwiKsLY2MstIBf8KaXp76hAgLRfpbC7w X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-05-24_05,2023-05-23_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 mlxlogscore=999 suspectscore=0 impostorscore=0 phishscore=0 malwarescore=0 spamscore=0 lowpriorityscore=0 adultscore=0 bulkscore=0 priorityscore=1501 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305240081 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 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 --- [v4]: Add description about IPQ9574 and remove unnecessary additions to the file [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 | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml b/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml index d1ec963..1a752e0 100644 --- a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml +++ b/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml @@ -16,9 +16,14 @@ description: | The IP versions are named v0.1, v1 and v2 in the driver, where v0.1 captures everything before v1 when there was no versioning information. + Since IPQ9574 is similar to IPQ8074, mapping it to IPQ8074 without + introducing a new compatible. + properties: compatible: oneOf: + - const: qcom,ipq8074-tsens + - description: msm8960 TSENS based items: - enum: @@ -64,8 +69,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: -- 2.7.4