Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp456499rwr; Wed, 3 May 2023 00:50:46 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4ZjVuXZlW33WMZLY8hRANPOkxSmQEB+a2LGOCbAQQrIUf+aUuOtkIhD0hkXFKuBw/41jXl X-Received: by 2002:a17:902:ec8d:b0:1a1:ab92:5c88 with SMTP id x13-20020a170902ec8d00b001a1ab925c88mr1535449plg.13.1683100246077; Wed, 03 May 2023 00:50:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683100246; cv=none; d=google.com; s=arc-20160816; b=dta53TgOFxBrZS6sDUkSv1gwt+ZM4o5MVPSUUm/TAMRyNUTOe559i+f42TSekZw5Up Yg/jLHlzNhFe5IQVVrA3zQX5A/AIXWeAwPYmC34Kq/fbDJ++2EDqmLruifhOcRULW1G+ XU3uIhgMZSg9aU55fWuX3v+0l+AaJs8Xft+a2ZeU0iRzRU/nnJidp+MVgVvcVuHpLGSs tfQRwwriScQtoLgN8tDAac3IAOT7+FZdh7hWpZ6hdbppiPB5znljFE1dArekBXBxOqLG hgij1v8pZGcQbm3HembXL8nCGHZCrAD6Pk9SAz22spDFleA0eNhLj6/2y/eaTNDxJRiR 0/Tw== 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=ndE9+pB7brffk/7YIwrb3ZQg3LFDw+vNaQtTCPye8HE=; b=0N+j5+0LulxZfU/rsFjg+F+ak0ihjtPVlbNLToUdNDUpvQ8cMIAwUrX9hyYeAcwH1A yGVmnZq+D6OsYSgkvLB/LRpaY1uMrb2Jz/bOQTPWvhHMMtEb6SKwhsFZYZNLvMMajQ8N 9IyvPaesNt7kCHWgB9KzjtwpsFf2gJktroCwRN4+HxYEKdVsdbtKD9Lb7cTWPUjRM2Et ZlT30ROvqPT3ygC6l5LKatOw9G1WXvaqUYtkX9Zlv+6/YOI7UqPGkP8/WTBJw5uK5wzt Hpxq/Z/muxNQN3R0Ehk4rFhvl8z7broCEYpqaNYdZfYw5YmDdG9+ir4Vuez2c0Es/OLv PYYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MEuqWv5v; 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 l20-20020a170903005400b001a66b9d5e19si24477289pla.329.2023.05.03.00.50.31; Wed, 03 May 2023 00:50:46 -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=MEuqWv5v; 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 S229689AbjECHmf (ORCPT + 99 others); Wed, 3 May 2023 03:42:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48166 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229660AbjECHme (ORCPT ); Wed, 3 May 2023 03:42:34 -0400 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C6B7B1981 for ; Wed, 3 May 2023 00:42:31 -0700 (PDT) Received: by mail-ed1-x529.google.com with SMTP id 4fb4d7f45d1cf-50bc34b98edso5825354a12.3 for ; Wed, 03 May 2023 00:42:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683099750; x=1685691750; 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=ndE9+pB7brffk/7YIwrb3ZQg3LFDw+vNaQtTCPye8HE=; b=MEuqWv5vtqiSKvg52mayWX30IwRPxUz+cfDtHkhPig2Vn4wK2G77Xqtxf0PtTqhlxA 16nQiG9aPckN2qpF/woUA6glbvY56otJpWOAo/zdSQFhueLPBMgTNqxG6ZkljU4pfEIC h6havLlECzkgz7gUpPLZrpJSCVhTKME9HfrpRw0Ow1F29TJCux4r7Yx9BbDzXsm1RokG MUUg8LuC3YWdFX9IoLMEJOWRbZiEWetJTQkUL6OzCz5FZdr4IZVSuA0PihD5lqKIDA+k bYSpbiSzzvkFY2JwYdgQ/0EhEMESuAGMe1MG8FcTmx+K61vMXUUcYlrAv15cbDDo8pTf QnRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683099750; x=1685691750; 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=ndE9+pB7brffk/7YIwrb3ZQg3LFDw+vNaQtTCPye8HE=; b=M0nyg3Nxu0uBSCZVQRcpgwJE757R0k/nyCcwDLFhREaCL/vRp5etswu0Scho5WmH1D Db5Q3TH+AfuWpy31hh+82iSfaMA1xDV9vxjk+DdJ0e0gIvrWOxCBM/oWkroBIPGnGH5t 0fLXXOe9SYqwGqbuf6glXHl45ytACIgcA6gUkZfXo/uXVkJ9obnTSTWp/QStc+59wShs M2jOxoUO+v2bJgmVqtIOU5alRd01Vm50OTMJXDjbu+y4kfQe0BHkg8jXKpcGi22VmMa5 xzevx4YX+qJ0XPqxcreZ7tHCG8KulI8rEhzKZzFYbl5wifEU3mmktsSKW8Y3ebXCZSd1 89JQ== X-Gm-Message-State: AC+VfDwhWsGV10aTFs/Q95E5rpDM8ajy3DixcsrhL20G7W6/c8yEzsmd qdF0kXvIu5jqaywKotlzhZzbng== X-Received: by 2002:a05:6402:1608:b0:50b:de1f:8792 with SMTP id f8-20020a056402160800b0050bde1f8792mr1998633edv.37.1683099750257; Wed, 03 May 2023 00:42:30 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:a40b:9d8:1fa0:ecc5? ([2a02:810d:15c0:828:a40b:9d8:1fa0:ecc5]) by smtp.gmail.com with ESMTPSA id d16-20020aa7d5d0000000b0050bd427a539sm397161eds.60.2023.05.03.00.42.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 03 May 2023 00:42:29 -0700 (PDT) Message-ID: <915eea5b-6cef-d346-7cbd-b679726113ad@linaro.org> Date: Wed, 3 May 2023 09:42:28 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Subject: Re: [PATCH 1/4] dt-bindings: thermal: tsens: Add ipq9574 compatible Content-Language: en-US To: Varadarajan Narayanan Cc: 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, linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Praveenkumar I References: <3c6f7510d175ba5a3c81730b010f6c421b2fbf2d.1682682753.git.quic_varada@quicinc.com> <16443d11-7948-d224-cfef-b6c1b5c3d60d@linaro.org> <20230503071055.GB1087@varda-linux.qualcomm.com> From: Krzysztof Kozlowski In-Reply-To: <20230503071055.GB1087@varda-linux.qualcomm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.4 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,URIBL_BLOCKED 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 03/05/2023 09:10, Varadarajan Narayanan wrote: > On Mon, May 01, 2023 at 09:08:49AM +0200, Krzysztof Kozlowski wrote: >> On 28/04/2023 16:52, 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 >>> --- >>> Documentation/devicetree/bindings/thermal/qcom-tsens.yaml | 3 +++ >>> 1 file changed, 3 insertions(+) >>> >>> diff --git a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml b/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml >>> index d1ec963..8e2208c 100644 >>> --- a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml >>> +++ b/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml >>> @@ -66,6 +66,7 @@ properties: >>> - description: v2 of TSENS with combined interrupt >>> enum: >>> - qcom,ipq8074-tsens >>> + - qcom,ipq9574-tsens >> >> Your drive change indicates they are compatible, so make them >> compatible. 9574 followed by 8074. > > Not able to understand. You want IPQ9574 to use "qcom,ipq8074-tsens" > instead of adding a "qcom,ipq9574-tsens" and no need to add an extra > entry to the driver like Assuming the devices are really compatible, which your driver change suggests, I want to use two compatibles. 9574 followed by 8074 fallback, just like we do for all Qualcomm IP blocks. Then as you said - no need for driver change. Best regards, Krzysztof