Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp707432rwb; Thu, 10 Nov 2022 06:30:38 -0800 (PST) X-Google-Smtp-Source: AMsMyM69YR4vJ/wIgmHANEGvEh5MYVY7ssWjaJff62+STmsEnX9s+r6LBT60JZ77y7UZUtE4tF7M X-Received: by 2002:a17:907:1dd1:b0:7ae:1075:202 with SMTP id og17-20020a1709071dd100b007ae10750202mr34952790ejc.118.1668090638497; Thu, 10 Nov 2022 06:30:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668090638; cv=none; d=google.com; s=arc-20160816; b=k4xmyqG0rd18Es8KOz9lm9uzHrmamTr1f4g1KE1fjd8HQousI4l7ektoKh04x1mCOW G1b3xxeAxxLL9xmSW3laFW9eeNIyHkArERarRACESTio5W3CiGKxoE/zKoenXJ8fliyK kOxov27XKlZLW2BpiTSSl5WnDTWF4taP7Ug8NOOHprsyddTgnj/+dl6u32MKE0Q+7Buf DqDXYcR3PLlVnOQMkAzIS2IpKaizOtKX3nRl09dAYZcfkWp8CPCEXlLsVN1wB3CZhxQ1 D5p/QV0t2DAe9gcofTy9FwJYcK1wdgGdKmKnWEoAcQ9URd9Ch442MI5pIJCtLPVxYPMX P7bA== 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=mU1T17TmUMKJ1FQ3DqAQW105Hs0gFl2y7tVhnhRI/Pc=; b=IMb3wPPcYRo/bWFxWZVdUKIfl18/guV1XvDqwejBOzZR5bPdDzezZ5Dvz2zco3B+SZ 3Y/5wWJagTjLzVYZdQRK5D62D3PI70P7aVoVP9pAYCufX+McReRizDRTERKhcIiZk/6W a63secfCoTBQg+ZDySUAIbW7yaAYjDtZqt5I/mD8T8AjnOrSs+enmpBxls7DFAszFJfR p/IL8pjKuSUI3ILysUNmLxtVHCH19jq+4w992a6xmpDrctkvarnduz9Ry9Mf3k4vjyZj kEM16gR8bFhSRredw/zgnx4lUA4cdgruaY9njQMcwFznxjt+2DgJH8ULpVn4g+/vfEAw 6hng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="TB/vlAiX"; 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 c9-20020a056402120900b004627b98ab6fsi16226492edw.69.2022.11.10.06.30.14; Thu, 10 Nov 2022 06:30:38 -0800 (PST) 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="TB/vlAiX"; 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 S230425AbiKJOGL (ORCPT + 92 others); Thu, 10 Nov 2022 09:06:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230183AbiKJOGF (ORCPT ); Thu, 10 Nov 2022 09:06:05 -0500 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE62478304 for ; Thu, 10 Nov 2022 06:05:57 -0800 (PST) Received: by mail-lf1-x132.google.com with SMTP id j16so3392891lfe.12 for ; Thu, 10 Nov 2022 06:05:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=mU1T17TmUMKJ1FQ3DqAQW105Hs0gFl2y7tVhnhRI/Pc=; b=TB/vlAiX1GaWtQtKZx92rFo7cAYyi7aiddPgCvt8+fucqf+/SW3ZmGdWeNWdfad+kY +ZPQT12nxPZrd/UJrsgOSzEKNWgsHWYZfs1ynhOkN2a1xER4lSEeuwU1V5ZWP3JRq0zJ hTphh2uY4UQT4ihCMuRPzvE7JY9w6yGEx7vVBTU4F3Q3S1/REOL8szTSk/7YaDu+OfxZ t7oPmrtLCOIjG59YpyjWMB2IHddqtpqXByi+/zMY2cRkDRmUKzVCcV9Xp2GTlqt+W1aR V03dtiOcFoxLSYxjrDOL6jRL/CL8hR51BW/m9JRFWuasiJLE7Z5Mew5D50RGu1+eCJbW C6ag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=mU1T17TmUMKJ1FQ3DqAQW105Hs0gFl2y7tVhnhRI/Pc=; b=rE5ZXN236bsQbi9OpRWPlL7pge/nsph03cUfyn5X+7LNASRKIJCY+ktKeiEbH2YzZ2 7AnQSqF2F7ZygXF2hIyk6+lzX00qTUx2JIYbXBOzgwWRwgxKwRThtNjnfS3xXPR3zwtG 6gO5T+wWBoUozvNRTpswA9LGES+cGTt3skUoJgXaeiPTI5FsG0iduyTbTaYvH9RRw9IU BbdPF1vX6aRlcTnnpH6s4VNknVJijV//VePKXhLlK0QyIjU4cyf+kA5Z2FsII5UYAXz6 TpIW3GxNZXeeoSdj8wC1lpV4a6AZhmzlOX6crgGJERZuXgTEuJKQqD2BOaw9IKmk6ado ATNA== X-Gm-Message-State: ACrzQf2Vunj3Rga7rIW79LbDlYy4zXDsARr5z3Hm/GzbWfsq8/08XABB 5oGuuIYFq7NOVn4mZeyiGsPS/A== X-Received: by 2002:a05:6512:1303:b0:4ab:4bef:b3db with SMTP id x3-20020a056512130300b004ab4befb3dbmr24104861lfu.592.1668089156138; Thu, 10 Nov 2022 06:05:56 -0800 (PST) Received: from [192.168.0.20] (088156142199.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.199]) by smtp.gmail.com with ESMTPSA id bp9-20020a056512158900b004b19f766b07sm2776842lfb.91.2022.11.10.06.05.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 10 Nov 2022 06:05:55 -0800 (PST) Message-ID: Date: Thu, 10 Nov 2022 15:05:54 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH net-next V2] dt-bindings: net: ethernet-controller: Add ptp-hardware-clock Content-Language: en-US To: "Gaddam, Sarath Babu Naidu" , "davem@davemloft.net" , "edumazet@google.com" , "kuba@kernel.org" , "pabeni@redhat.com" , "robh+dt@kernel.org" , "richardcochran@gmail.com" Cc: "krzysztof.kozlowski+dt@linaro.org" , "netdev@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "yangbo.lu@nxp.com" , "Pandey, Radhey Shyam" , "Sarangi, Anirudha" , "Katakam, Harini" , "git (AMD-Xilinx)" References: <20221021054111.25852-1-sarath.babu.naidu.gaddam@amd.com> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 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 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 10/11/2022 10:57, Gaddam, Sarath Babu Naidu wrote: >>> >>> + ptp-hardware-clock: >>> + $ref: /schemas/types.yaml#/definitions/phandle >>> + description: >>> + Specifies a reference to a node representing a IEEE1588 timer. >> >> Drop "Specifies a reference to". It's obvious from the schema. >> >> Aren't you expecting here some specific Devicetree node of IEEE1588 timer? >> IOW, you expect to point to timer, but what this timer must provide? How is >> this generic? > > Thanks for review comments. > Format can be as documented by users Documentation/devicetree/bindings/ptp/ members. The node should be accessible to derive the index but the format of the PTP clock node is upto the vendor. I am not sure what do you mean here. Anyway description might need something more specific. > > >> >> In your commit msg you use multiple times "driver", so are you adding it only >> to satisfy Linux driver requirements? What about other drivers, e.g. on BSD >> or U-Boot? > > AFAIK this is for Linux. It is not relevant to uboot as there's no PTP support there. And BSD? Bindings are not for Linux only. Please abstract from any OS specifics. Also your messages needs wrapping. Use mailing list reply style. Best regards, Krzysztof