Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4369348rwd; Tue, 30 May 2023 04:39:11 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7dcnbS29e4ZcpU/LvKTyHjc0tWAhfCGE8pmL1K2HSntP+bYuFaJ8gS4UqsErf13wBqckQN X-Received: by 2002:a17:90a:f011:b0:256:4cbf:c85f with SMTP id bt17-20020a17090af01100b002564cbfc85fmr2227750pjb.30.1685446751481; Tue, 30 May 2023 04:39:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685446751; cv=none; d=google.com; s=arc-20160816; b=dNKIxw20Q6kqXC9IOflfmHS4YLQRpFu2K+ioISOKCkHjxfh7Mz+3cxjXJRuuBVf/Nc O3+pYza9GIVm/2jBcfKikYlpwDEOIJeCia6LeWAOInqxVIOdepJUek97CV5F0nMcwOpi X5mwxECnZIhUYz5RXrA6hHm+izbJU9LHKvXE96lex/dyYJdML47ee3Li/ivVjvnCO2uJ 1DXtYqTnKwO8AgSfkToItJMBEuv7KHlTDDO/YZUD2sUgoQ0hCU4aWLEmcTeDbYbU7Gej +WECLjFPVKW9ZX1te7ce2gHneQ/opdKf7Vh3Wry2WQ9f9xRgAd37a3nVmZc2gb/i/+Vc mJvQ== 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=GUGM9vwyi3bSbkT57iVkDIziKVOQ8v/LTR1nAotjTgg=; b=S2FCgUleScS8udkurYA3T4hbOQyiMhd/YHI7c8s3yEDMoIf3MCMQj3Rl+S2QVIgpJ2 V+6SvUgl5UrcjBiWsJtA82NIP/DAzVaYDe56GpSlXFlgsHCHsi8IrAbqJn14hegNtn/m 5Feo/RHrJFjyq2EC6USf8xmnnhJ5L3LCIiiDeccKbmENvXROeydw5aA1sdxrXqpptH47 zckUGhdT6N5YDvEhw3GumPBVC5hw/QWWPhZeyNr/GR0arm8hkVq2MNQM1XV6KVGdDd1P 8LB1FeKAAbkAqk3l20vQzkPso6B0PNQDHF163CX6E0Cqbvju6/paHwEFid8mwheVN3mV +r+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nh1cIMyM; 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 q5-20020a632a05000000b0053fc2857c07si271874pgq.828.2023.05.30.04.38.57; Tue, 30 May 2023 04:39:11 -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=nh1cIMyM; 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 S231965AbjE3L2p (ORCPT + 99 others); Tue, 30 May 2023 07:28:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37652 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231935AbjE3L2i (ORCPT ); Tue, 30 May 2023 07:28:38 -0400 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 64BE810C for ; Tue, 30 May 2023 04:28:35 -0700 (PDT) Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-96f53c06babso773466766b.3 for ; Tue, 30 May 2023 04:28:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685446114; x=1688038114; 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=GUGM9vwyi3bSbkT57iVkDIziKVOQ8v/LTR1nAotjTgg=; b=nh1cIMyMIIVbE/20jQbHGjREBn1rbgCyE8VEshFq7JIYMMP6B9PDcJ6HC+UetWNx0F /o11oGuJ3bXvaKs+6y4hncrrQmiEOuX8vuCccmawAE2Aq47yC7J+R8zHUz8nr2y1rDEu Y0dS2jh0fW3jKqoWluxSU+6CYsHNQtyTjnTrUOq9KGmpQ7/97XONLbkxxNujJv7VEYPj rpm3sFUuSTcq1OMbeO8ig4Y8ZL/CZrdk/NOz2SOxjH93Qi3pUfO8bMTuRnQvII2qcCCx LtT3DF02tSBskeq0+Jar+1IzAZad0N3eeGga7m5RUbTz+E1GHL/HC6ZfEfXl10AwVqxo dVNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685446114; x=1688038114; 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=GUGM9vwyi3bSbkT57iVkDIziKVOQ8v/LTR1nAotjTgg=; b=QAtlXPxdZBOelsJhA4d0VCrCxOkG0cBTdsr3EfsUm6NJ4tpzFeFJlKUpFVuDwEJo/a xLntQMjVwlSS9ZsBDSFK6ttT9yilJu2NvoF8QWq0/fHjtrGS6nUCNVVAA8mtlkKrlUYj mFgxKs1NVwsGxmAusqsPd+ne2wG3Wi6GW0nEeE55l7cmbvxZ4XO5R1CQI92zxFMwhKx6 SCmxiLkmIqdX9q+DajDeBnI7cOKb/q4oWqPMyuJGWF+eK4bYakq5DI1eFOyoYS7lN2i0 TYa1nTGqWw4l7fcGofwLxgYQ/yqvuV1CMYEg2B6lkmq0FSslLWYbFvI/4nDf4Ev3FlxU sXgg== X-Gm-Message-State: AC+VfDyNEO5EHcKDuDCK941H4ZZYquDqUf2Vk5cWwu+DKe/VZfkfDCS/ LATxm/3iUj9C5yvN55mxWUd8Gw== X-Received: by 2002:a17:907:9707:b0:974:1ef7:15be with SMTP id jg7-20020a170907970700b009741ef715bemr1990950ejc.30.1685446113893; Tue, 30 May 2023 04:28:33 -0700 (PDT) Received: from [192.168.1.20] ([178.197.199.204]) by smtp.gmail.com with ESMTPSA id j23-20020a170906475700b00967a18df1easm7207714ejs.117.2023.05.30.04.28.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 30 May 2023 04:28:33 -0700 (PDT) Message-ID: <98e4684b-725f-92f0-2920-d7bd582f60db@linaro.org> Date: Tue, 30 May 2023 13:28:30 +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 v4 1/3] 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: From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 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 24/05/2023 11:36, 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 > --- > [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 No, no need to move it to const. Was correct before. > + > - 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 Again, "-" means you remove a diff hunk. `man diff` and `man patch` (or Wikipedia, dunno). > + items: > + - enum: > + - qcom,ipq9574-tsens > + - const: qcom,ipq8074-tsens No, do not touch existing entry. You need new item on entire list with two compatibles: + items: + - enum: + - qcom,ipq9574-tsens + - const: qcom,ipq8074-tsens That's it. There should be no removal hunks in your diff (so one with "-"). Best regards, Krzysztof