Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp382783rwl; Sat, 25 Mar 2023 04:08:50 -0700 (PDT) X-Google-Smtp-Source: AKy350b0Zr6fVrG0qQnidxxOHTk8Ee2WE2yIbaUQpo+2vzdQF5tQccKGw2VbkD7fqMP6dKXfqRgd X-Received: by 2002:a17:90b:3b4d:b0:240:3dc7:4939 with SMTP id ot13-20020a17090b3b4d00b002403dc74939mr6801189pjb.27.1679742530322; Sat, 25 Mar 2023 04:08:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679742530; cv=none; d=google.com; s=arc-20160816; b=MMFM5h1r/hAdvssT4/YBupJsBsK79sA/XnE3WMoqg4q7BbUEXmRic51Zgc2zbKGTyn QL9aC9Pp9ti35oWPnFIlwN4FEXiq0g2DHMgHaDdhuXACbfVoV41KyanDCOHRqLIIV82C V5V6NxvlZy2Fwv4IZHi3D3nyPDFSbybwfsjFu4hBuwD5JWk/Rwnv3A72mDAefiGO03yA ji3DqyNp7RwEwvHesri8ceHa3ugdgx25B2uBbv05XPp0mCOGFxnOyYgQ7oc/XO8lrdSo pKOzq89rnFjDRABycYWFobR7XcjWyV25EPFplV54YKFslK2ZNjjI83LzFoAtzt9a2jpG bpjA== 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:to:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=HJ+YX1Je9jtZyNwMQVxLzTWCIOluw4CEQGsvPNKY5WI=; b=D6MJx9U6z2Fuwbd6Fy6u+8XHym2KG4cbzO06dmcddfuF1c9HXPtffqa9zms/Qh03ZC ei8coTXAG6NIyFVJrHuvVdgBCApinjelWynhRIhaiy8N9HJQGzXepDKhyqPu2tsxeci6 j1gAZoWN/qnATAa7VGEyJM/ysjv1aGF58A1qFKo5ISjUGAITaeVvgWtIvRKZMSinTPRe IDj+42RBAVfSIlyNe7AfxigHtrTrpiAwkq8BjIjZIeGUdHLb2B378bJu/IO5c2naGdLc dfXGRgrNeCIYXFRrmDZ4+vY8yzrEmTvRtCoGS+FhWCR98XRjPZLsG5nvAsF1SrvBE8vn rpzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tm+5zepF; 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 rj3-20020a17090b3e8300b0023d1463524dsi6945233pjb.113.2023.03.25.04.08.38; Sat, 25 Mar 2023 04:08:50 -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=tm+5zepF; 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 S231327AbjCYLGC (ORCPT + 99 others); Sat, 25 Mar 2023 07:06:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229446AbjCYLGA (ORCPT ); Sat, 25 Mar 2023 07:06:00 -0400 Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA87C126EE for ; Sat, 25 Mar 2023 04:05:57 -0700 (PDT) Received: by mail-ed1-x52e.google.com with SMTP id ek18so17341221edb.6 for ; Sat, 25 Mar 2023 04:05:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679742356; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=HJ+YX1Je9jtZyNwMQVxLzTWCIOluw4CEQGsvPNKY5WI=; b=tm+5zepFGWyCmvXiEylO9foN9td4HN3bv6rnc455QiCc+x5PSQZlfGFCQwKdUsOlIx fBJxjTJkDAoNqjXeqE3AVjgkfEcYbpyibqSraS+p+E8bnZIvd3LIOC9RGlcQbVhCNIM0 q36RMwnyF4Jvi3zLIxd3RUVzH4+6GYmKLdGqRFXuY6PVgIFfdDLq1tvD686lJe5K52O7 T0ySShjABhOIGYRZgyAa7JWOuT5lMEyDFW5n0lvYBNqJAFZol8ATJq3tUfFZLWDP6d9q FEeSGTZy2JMkbIrH/ukq4R0zY0qMEaOwCfuMaPyTJ+dbUNeztqgnLAVhJ68Sxw9N6aD2 eHpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679742356; h=content-transfer-encoding:in-reply-to:from:references: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=HJ+YX1Je9jtZyNwMQVxLzTWCIOluw4CEQGsvPNKY5WI=; b=hr4QABeZ3G4vVGLfT0t2a47G+0nGq2WLw2Ihdb6TI+n0zAPpyOicOeZ3tzHbZAwS3T QZpKur8QYxx2WwX2E/ebEyGSFRGTMyxzk+YPH9LJD4hJD/qkt8yxYodlsnY8yWWsR2IP Y+0LCZK37Ug2V07CKRnDGOKzn7mZDE1Smfha2IVJP6sCbgZhPMb9cvOoB3xI0/gaL9xC 7aJhxMq5ccdRy5CW48LQwQxuDtEJel7DcgWFqT8RcWXvQrYf2mtloGM5ubPb5OI401pN QARusFjlYjXi8Yj5PCKPxCk+qjauJCls2ozXNSiEHhVMUKwLf5ODpfze9bVBEGOshKAL u4Nw== X-Gm-Message-State: AAQBX9fqbAUUdSyVb2MceQK/aQJsPGOY2qH70e2ym/t5fxx3AhQDU4VE dVGADmcAwLr6VzgpSsGDfvOuaw== X-Received: by 2002:a17:906:2f96:b0:932:8cd:1021 with SMTP id w22-20020a1709062f9600b0093208cd1021mr5439137eji.33.1679742355974; Sat, 25 Mar 2023 04:05:55 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:d230:b2c7:d55:c9c8? ([2a02:810d:15c0:828:d230:b2c7:d55:c9c8]) by smtp.gmail.com with ESMTPSA id u6-20020a50d506000000b004fd2aab4953sm12120437edi.45.2023.03.25.04.05.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 25 Mar 2023 04:05:55 -0700 (PDT) Message-ID: Date: Sat, 25 Mar 2023 12:05:53 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH V4 03/10] dt-bindings: timestamp: Deprecate nvidia,slices property Content-Language: en-US To: Dipen Patel , thierry.reding@gmail.com, jonathanh@nvidia.com, linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org, linux-gpio@vger.kernel.org, linus.walleij@linaro.org, devicetree@vger.kernel.org, linux-doc@vger.kernel.org, robh+dt@kernel.org, timestamp@lists.linux.dev, krzysztof.kozlowski+dt@linaro.org, brgl@bgdev.pl, corbet@lwn.net, gregkh@linuxfoundation.org References: <20230323012929.10815-1-dipenp@nvidia.com> <20230323012929.10815-4-dipenp@nvidia.com> From: Krzysztof Kozlowski In-Reply-To: <20230323012929.10815-4-dipenp@nvidia.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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 23/03/2023 02:29, Dipen Patel wrote: > The property is not necessary as it is a constant value and can be > hardcoded in the driver code. > > Signed-off-by: Dipen Patel > --- > .../timestamp/nvidia,tegra194-hte.yaml | 43 ++----------------- > 1 file changed, 4 insertions(+), 39 deletions(-) > > diff --git a/Documentation/devicetree/bindings/timestamp/nvidia,tegra194-hte.yaml b/Documentation/devicetree/bindings/timestamp/nvidia,tegra194-hte.yaml > index 158dbe58c49f..eafc33e9ae2e 100644 > --- a/Documentation/devicetree/bindings/timestamp/nvidia,tegra194-hte.yaml > +++ b/Documentation/devicetree/bindings/timestamp/nvidia,tegra194-hte.yaml > @@ -42,10 +42,13 @@ properties: > > nvidia,slices: > $ref: /schemas/types.yaml#/definitions/uint32 > + deprecated: true > description: > HTE lines are arranged in 32 bit slice where each bit represents different > line/signal that it can enable/configure for the timestamp. It is u32 > - property and the value depends on the HTE instance in the chip. > + property and the value depends on the HTE instance in the chip. The AON > + GTE instances for both Tegra194 and Tegra234 has 3 slices. The Tegra194 > + LIC instance has 11 slices and Tegra234 LIC has 17 slices. > enum: [3, 11, 17] > > '#timestamp-cells': > @@ -56,46 +59,10 @@ properties: > mentioned in the nvidia GPIO device tree binding document. > const: 1 > > -allOf: > - - if: > - properties: > - compatible: > - contains: > - enum: > - - nvidia,tegra194-gte-aon > - - nvidia,tegra234-gte-aon > - then: > - properties: > - nvidia,slices: > - const: 3 > - > - - if: > - properties: > - compatible: > - contains: > - enum: > - - nvidia,tegra194-gte-lic > - then: > - properties: > - nvidia,slices: > - const: 11 > - > - - if: > - properties: > - compatible: > - contains: > - enum: > - - nvidia,tegra234-gte-lic > - then: > - properties: > - nvidia,slices: > - const: 17 You just added this entire block in previous patch. Adding it there and immediately removing does not make much sense. > - Best regards, Krzysztof