Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp382890rwl; Sat, 25 Mar 2023 04:08:56 -0700 (PDT) X-Google-Smtp-Source: AKy350bly+UbgeNKNTmsd7ZAKUJg/8RxbeyfdTODIuXu9N44Im2c3rMAhN+mHZp04ptzmOlsiFjF X-Received: by 2002:a17:903:11d1:b0:1a2:3135:51a0 with SMTP id q17-20020a17090311d100b001a2313551a0mr1527050plh.46.1679742536625; Sat, 25 Mar 2023 04:08:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679742536; cv=none; d=google.com; s=arc-20160816; b=WtMrK5pqwRQGkbecn5lKVFFrTwVN5ld7ns0x7i7OrsxAo/m5Zktlrpp9VYQTlhNxuF i1AH2HUePOFw2u1Y4eQS8Ryv1elVU0ICIaZJTxaUe4tO35t5Vzn48ez49/MYdhuSRL1k xnuNJSo+E41BR5VhMD7v5sOwpZGmVF5iWE7QMZTXxExF75JolxkstamUmEm65e4VfKDR b4/oXllmjKRwj3NM+Wb6UOS9C1MOQl24f0QtuH9lEnXh0C0d7ZDRmH/pQ4W157gyeeqf JvW8QFE0DN9fyvIo4JMU2vfdayspp9lMNuMlMakteoSOQFVYCEcG3Pc4xdF2BrxXXXUi XRRw== 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=kyJllvbXUI0QQOEow8J1KqOMI3Ya0GwTOdR2vNWkDWs=; b=wsyFZrP46QGm5exN/QGJRUZla4GIXvSeHhSMt8LpAJFSAPmCkeE/uJZZhtNKDCM+g0 0m4Qyaoi0ddFyGorM/5ZqkMobuRisX5OKs/pOrAvl+7W61dluWBZTiR1emPSPwFyIK5N eC9q6NrOMEKaXNrEu5un9/jqyDxwLt+kJeqvIYWsi3LT72uapuPG4PPOf0/FKq7CwSa7 /ICNqwSbuFrHM0s/YOxgGLb8dgyhiglGfn84PhvYgMvE2j5HMefhYiJ2WpdKrzL0XJ04 lKDKCHjPfTxe9DnLTyxu7sxTO2ow7I7FH0c+Y3iFAly/sB3s+/2FAMLCq1CJUQmVIXms GieQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ToqEBbhg; 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 a8-20020a631a08000000b004fba312c234si22186735pga.401.2023.03.25.04.08.44; Sat, 25 Mar 2023 04:08:56 -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=ToqEBbhg; 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 S231922AbjCYLGP (ORCPT + 99 others); Sat, 25 Mar 2023 07:06:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57286 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231905AbjCYLGI (ORCPT ); Sat, 25 Mar 2023 07:06:08 -0400 Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2926E168BB for ; Sat, 25 Mar 2023 04:06:05 -0700 (PDT) Received: by mail-ed1-x536.google.com with SMTP id x3so17256315edb.10 for ; Sat, 25 Mar 2023 04:06:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679742364; 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=kyJllvbXUI0QQOEow8J1KqOMI3Ya0GwTOdR2vNWkDWs=; b=ToqEBbhgy+Rx0IB00+BZl7MUtHd+MGQ06N0l4x7AyU/WnUQh6FieK/VSsvmAeS7BWi POuP5eEVcdO76IYIxZBNkkSIju5MG0rarkJzImWFquFNqCIsOV54GW/j6+dIMJlcewmV 8/el+Fe3l9HtsepRw0TSaFQLV10QIJ1QkTrNMKJh3IhrfkoN4Cs0ccJVKRcIKeYmBhip psB5g1/JzkDJ7WywjLPGoHL+ZqiCFt6LikR8u+7UN5RSBA15zu6AOfiSCVxUk7UUUPP2 ZsJ2wr2Tg/hSM3M9XoLF0oZW1koJD/Vt+KDG5xRFUez1kW/4pzR/ds7YBCyz6/YXSICQ 6z0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679742364; 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=kyJllvbXUI0QQOEow8J1KqOMI3Ya0GwTOdR2vNWkDWs=; b=hotIf53FeWfT2EVCk2MD4rw5c4Rb78sNRA8pjl+htGlj8bWcq3vN0HZdg6towEIHHC 8ddTS18GEA22U2RgDUSC9J6ivGU+XsnU78n5BFi9EXwkAfmFGvXy5ULMm+/LdSl5J2sY Oy4SSuadT5zCJvKjFbV1ack8BtnuFdCalBD6d2n9Ai4uQ6RDFzYoU0IX+G8wyAXwkz5d v3D9IH7y7mG9CRzQAYVk49eJnjLuGOwE+OTGrYECl0dqT88uL/TFqUMb3mWBvFnY3K53 laid9cVTUQH2GgN4PT45v1R+TPCUkhKkauHoGdsMo6V+ndltaqWBihh0aDXcq6FMHMpu pviQ== X-Gm-Message-State: AAQBX9eJm8Q4sveCanNxBn6x+a/MDGPkVkkpmNsSb5xFFDT2IFeKBn9N BTnRUmnKf2WtyRTPU7XG0fw4AA== X-Received: by 2002:a17:906:e0c6:b0:93b:a133:f7e6 with SMTP id gl6-20020a170906e0c600b0093ba133f7e6mr5300187ejb.46.1679742364346; Sat, 25 Mar 2023 04:06:04 -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 v15-20020a170906858f00b0093229e527cdsm11163398ejx.42.2023.03.25.04.06.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 25 Mar 2023 04:06:04 -0700 (PDT) Message-ID: Date: Sat, 25 Mar 2023 12:06:03 +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 02/10] dt-bindings: timestamp: Add Tegra234 support 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-3-dipenp@nvidia.com> From: Krzysztof Kozlowski In-Reply-To: <20230323012929.10815-3-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: > Added timestamp provider support for the Tegra234 in devicetree > bindings. > > Signed-off-by: Dipen Patel > --- > v2: > - Removed nvidia,slices property > - Added nvidia,gpio-controller based on review comments from Thierry, > this will help simplify the hte provider driver. > > v3: > - Explained changes in detail in commit message > - Added allOf section per review comment > > v4: > - Logically divide the v3 patch as follows > - Created Tegra234 support patch > - Created depracate nvidia,slices property patch > - Created addition of the nvidia,gpio-controller property patch > > .../timestamp/nvidia,tegra194-hte.yaml | 44 +++++++++++++++++-- > 1 file changed, 40 insertions(+), 4 deletions(-) > > diff --git a/Documentation/devicetree/bindings/timestamp/nvidia,tegra194-hte.yaml b/Documentation/devicetree/bindings/timestamp/nvidia,tegra194-hte.yaml > index c31e207d1652..158dbe58c49f 100644 > --- a/Documentation/devicetree/bindings/timestamp/nvidia,tegra194-hte.yaml > +++ b/Documentation/devicetree/bindings/timestamp/nvidia,tegra194-hte.yaml > @@ -4,7 +4,7 @@ > $id: http://devicetree.org/schemas/timestamp/nvidia,tegra194-hte.yaml# > $schema: http://devicetree.org/meta-schemas/core.yaml# > > -title: Tegra194 on chip generic hardware timestamping engine (HTE) > +title: Tegra on chip generic hardware timestamping engine (HTE) provider > > maintainers: > - Dipen Patel > @@ -23,6 +23,8 @@ properties: > enum: > - nvidia,tegra194-gte-aon > - nvidia,tegra194-gte-lic > + - nvidia,tegra234-gte-aon > + - nvidia,tegra234-gte-lic > > reg: > maxItems: 1 > @@ -43,9 +45,8 @@ properties: > 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 depends on the HTE instance in the chip. The value 3 is for > - GPIO GTE and 11 for IRQ GTE. > - enum: [3, 11] > + property and the value depends on the HTE instance in the chip. > + enum: [3, 11, 17] > > '#timestamp-cells': > description: > @@ -55,6 +56,41 @@ 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 > + ... and looking at your next patch - unreviewed... Best regards, Krzysztof