Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2267532rwd; Mon, 15 May 2023 09:17:39 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6eY/ykFrW9j137vTDPZUHi1sgtun71Pzw5cuL3/0FSqyzMrvZWuz27l3DMftvaWm6Q6SS8 X-Received: by 2002:a05:6a20:7faa:b0:fa:1f3a:8f56 with SMTP id d42-20020a056a207faa00b000fa1f3a8f56mr43518611pzj.12.1684167458562; Mon, 15 May 2023 09:17:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684167458; cv=none; d=google.com; s=arc-20160816; b=UaRa7VtQaInvO9SfrTsiMvzGoZSblDNIbciB1ToZtK0JchZG5RZgGlVIxuvoPAG0Te b8Sp42XYpsO7R/dM4sC32WL2qPCdrdmu11YLsBYnIUVWnfpaBMilMYu5QkcULDE6EUrt jkb5sxZbSp1T13tz/WekG+sb6+xiRotkN1mWbhUn/7VIoV0Cy5W58dpk2tcXp0o5q2jM qnx+/ivvVy9xvAkgowutNsrfXanGlxH4H2/V7Gi1wsIer0QTByNkCVcvipz+I4KaoYQY JIMy7jeT3yk+LPPokC7RgDPXI0IRIdmECPaFQMh6sRX9p0FlmmHPEfqU3HSktK5JqdiT w6ZA== 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=f5u9vDehDmYuDw7sZnsIeSRZIwkHStHgFkydaXN+v5o=; b=K6xyqezqRHg12sv2qjRUifb5/DzSeNu47xJ9pBCrm1BroW80gC4MRuKjPhXeGW5kQc nEL71ZF/+Tesuu0R1kXc7XAkE37qS+5FxQ0mZn9uQ9AdyXRoaqPoY16KrH98uBZHz6pn I3Cz0xcO9dX0/T7qz7VhXjjxemuZtHx/QdQhqn4X3/xmwa/eOJOxFSudIjN67QAlu8h7 ikdMb/kTG16TwUIhXP8haNrrVqv+lr9LtlxONZfvgQUFAiBYV2vYFqM3Sp8IkRfAyes9 2MS5qfk55YD+Xj8yGdN5vWDCq99iqynQpZVgZmSjRMzkvW/3ewJA0wmde+cL0FRLalzw gPPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YCa8T8ln; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bt30-20020a63291e000000b00520d737cf49si15814733pgb.271.2023.05.15.09.17.22; Mon, 15 May 2023 09:17:38 -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=@linaro.org header.s=google header.b=YCa8T8ln; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242625AbjEOQK6 (ORCPT + 99 others); Mon, 15 May 2023 12:10:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242602AbjEOQKy (ORCPT ); Mon, 15 May 2023 12:10:54 -0400 Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 01C892685 for ; Mon, 15 May 2023 09:10:35 -0700 (PDT) Received: by mail-ed1-x531.google.com with SMTP id 4fb4d7f45d1cf-50bc070c557so24147162a12.0 for ; Mon, 15 May 2023 09:10:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1684167032; x=1686759032; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=f5u9vDehDmYuDw7sZnsIeSRZIwkHStHgFkydaXN+v5o=; b=YCa8T8lnx/Yl/WK1Sl0I2bPrxrqOKduRQx0hc9FYzW7PZ/u3q8/FJE3fO6U9Dv+Q7c TFglYIqVXWhLmPPr9HctX33pBldxbpeZ+7LjbpSCIM9f+l6dFpIg70EMcbRVD8xgWON8 Uut/nJPGb82ErKtaXI7ZndAJopZWNriV0fU9ZMaaK+0DsM8qfeivbvCV0cxl/FENLuaT SYNoqSAAC4GTFLFAl3/Rrls77mLeo0CYe9fkC76Bii3MS176EbN+6S+D7dW21d0ZbBg+ MOv2FiDAxbE6ofcwuVi0iSipmy5qN/6AOjgfGBTMJt8XQ0iqd5d66Bw+ww7q8WQlle0v /Z/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684167032; x=1686759032; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=f5u9vDehDmYuDw7sZnsIeSRZIwkHStHgFkydaXN+v5o=; b=RJ3QzKfRq76cooPPqogfrIoNE4oBNlqouuy5czj3sHp71BSYVFr1M+yJbgj51AvHqa CiVP/JUEg/nmwSZqGLfbkVtdabQLgLi2/8uhHqnzatlNNcO1p1I3mODBOplPcpshw7lp l92dr+4hu6WrQsKIUDj5cB8T1semVX8gd6o32Z4VMO0Th4ZlPb4wVAyTOWzQ3i6rq+1Y VNc81XyJ1DOcpG4cXF03BJOASBnwC4ifLM2Frx8WhyHv54Ii2rLBBaikrOrpBNQyzlTo Y6Ce+l9X6Dv0hZUV44D2cqmDgpQ7khjzKOxi0Nc5gLtzgDsakPj58by8mlNVxHIfQLW6 Uucg== X-Gm-Message-State: AC+VfDxui7gMZxooOjrGkttKrQReC4fUmzIzrHtZs6g8+wL0cIImPIuu doLmrn3U6RssMktGv5GfO8m/mQ== X-Received: by 2002:aa7:c919:0:b0:510:487d:c0a7 with SMTP id b25-20020aa7c919000000b00510487dc0a7mr4454291edt.5.1684167031930; Mon, 15 May 2023 09:10:31 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:6470:25b8:7c2d:1992? ([2a02:810d:15c0:828:6470:25b8:7c2d:1992]) by smtp.gmail.com with ESMTPSA id bf18-20020a0564021a5200b004bd6e3ed196sm7290137edb.86.2023.05.15.09.10.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 15 May 2023 09:10:31 -0700 (PDT) Message-ID: Date: Mon, 15 May 2023 18:10:29 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH v3 2/4] dt-bindings: thermal: tsens: Add ipq9574 compatible Content-Language: en-US To: Varadarajan Narayanan , agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, amitk@kernel.org, thara.gopinath@gmail.com, rafael@kernel.org, daniel.lezcano@linaro.org, rui.zhang@intel.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Praveenkumar I References: <37adcf5d8d545a076e8ed971a4fb6c6c2833ef3c.1684140883.git.quic_varada@quicinc.com> From: Krzysztof Kozlowski In-Reply-To: <37adcf5d8d545a076e8ed971a4fb6c6c2833ef3c.1684140883.git.quic_varada@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 15/05/2023 12:13, Varadarajan Narayanan wrote: > 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 Nope, these are not correct. > + - const: qcom,ipq8074-tsens Also nope, this is already there. > + > - 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 Why? > + items: > + - enum: > + - qcom,ipq9574-tsens > + - const: qcom,ipq8074-tsens > > reg: > items: > @@ -279,6 +286,7 @@ allOf: > contains: > enum: > - qcom,ipq8074-tsens > + - qcom,ipq9574-tsens Not needed, drop. > then: > properties: > interrupts: > @@ -294,6 +302,7 @@ allOf: > contains: > enum: > - qcom,ipq8074-tsens > + - qcom,ipq9574-tsens Ditto. Best regards, Krzysztof