Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp3078753pxp; Tue, 8 Mar 2022 07:21:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJxZG20hkvPV9oew6KJvz9ya8lhl49FK3W0AC9sZuSaKOPHnNGMxkpq9B2xSCdiMWIbog17D X-Received: by 2002:a05:6a00:1705:b0:4e1:5a1:c626 with SMTP id h5-20020a056a00170500b004e105a1c626mr18744061pfc.1.1646752895592; Tue, 08 Mar 2022 07:21:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646752895; cv=none; d=google.com; s=arc-20160816; b=OeMn95fWv//1HhVoDjv/KyTkdddtU7rN++UnLgIB5I27GpLqKPYHHFv9+vtAeCJdjl B+nsJa1uh3yytJX78DGsiwbxE62z6wd/UV7IN/uiQJOjPxzFv8uU6ylS6Z6USj+zl/iC 6+YvXJB9q6mfpPW9/8yZKlm5U0crFTXDUz7Ax7vQ6aK6nf2Bc5LhGxQ4Oxy3o6v/2irP VYo47riPT92iiM6boRS4m5yxOnXUgA4rjaIBQt0el5tSD7qqXRlBHsJ/sU8hFNPYYYVx FYQGFnnBRyvUP95UsbZFHJHjOsmoMYveW/2EeZb5FgJrLogA/zHz2T1T8063bXXBKy95 EgfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=uCy/gA56prUv6k177gbvGjRcg4ELHge9R0lbNx4U59E=; b=lTIxx7rde4SmYT0dXMOWjn+Jk+PAGR98HMuKg2aBwIuCBDPScMdLXeHIhtejmSsGE3 dSiccm/ELIf+BU6shGTE3xY+Y+2Quxz2a7RIpF3AkpGxIag2c9tdi1Nt+LBRIsEf+oJ5 kjabW50mjeiZAH+VFh8qSulZ9irAa2RHxJrYJczkovvam9LQsKg+9PizCnlmcS6sYDvu bg+7hIkqHpBD9rOzdLmXjzK5Ld6qQIG1siOTRd5gVSyggbqFFn/e7nVbadGowJoMlkxD B/aAsNpy4jqjMxSyBleNhci7MGQJgrWAAA2j81VpdJ7nenUrHZPwZ7BIjSix4ZMobt2q nnAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b="5O/+mGWx"; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u17-20020a627911000000b004f6cf0f409asi10627469pfc.156.2022.03.08.07.21.18; Tue, 08 Mar 2022 07:21:35 -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=@lunn.ch header.s=20171124 header.b="5O/+mGWx"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347235AbiCHNzm (ORCPT + 99 others); Tue, 8 Mar 2022 08:55:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236514AbiCHNzl (ORCPT ); Tue, 8 Mar 2022 08:55:41 -0500 Received: from vps0.lunn.ch (vps0.lunn.ch [185.16.172.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4526149C8F; Tue, 8 Mar 2022 05:54:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=uCy/gA56prUv6k177gbvGjRcg4ELHge9R0lbNx4U59E=; b=5O/+mGWxmoYFRJQHGGRYH62gbk ZEK2YyIw0yGG8Rr/BC62rihhJ2a/Vi9wxIeCtfoF6H4bDd4meOEsyjBzZVL3PYQ9M+G5wsWAgH2YE y2oe2qFW0kv8qFKiTZJxc2KYVyVzMB7GyRLNBe8O9bbslRND5ph7OD+bjeqkuh6uP5VU=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1nRaIP-009nsT-29; Tue, 08 Mar 2022 14:54:37 +0100 Date: Tue, 8 Mar 2022 14:54:37 +0100 From: Andrew Lunn To: Divya.Koppera@microchip.com Cc: netdev@vger.kernel.org, hkallweit1@gmail.com, linux@armlinux.org.uk, davem@davemloft.net, kuba@kernel.org, robh+dt@kernel.org, devicetree@vger.kernel.org, richardcochran@gmail.com, linux-kernel@vger.kernel.org, UNGLinuxDriver@microchip.com, Madhuri.Sripada@microchip.com, Manohar.Puri@microchip.com Subject: Re: [PATCH net-next 2/3] dt-bindings: net: micrel: Configure latency values and timestamping check for LAN8814 phy Message-ID: References: <20220304093418.31645-1-Divya.Koppera@microchip.com> <20220304093418.31645-3-Divya.Koppera@microchip.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham 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 > > Thanks for the reply, but you did not answer my question: > > > > Does this mean the hardware itself cannot tell you it is missing the > > needed hardware? > > > > Don't you have different IDs in register 2 and 3 for those devices with clock > > register and those without? > > > > The purpose of this option is, if both PHY and MAC supports > timestamping then always timestamping is done in PHY. If > timestamping need to be done in MAC we need a way to stop PHY > timestamping. If this flag is used then timestamping is taken care > by MAC. This is not a valid use of DT, since this is configuration, not describing the hardware. There has been recent extension in the UAPI to allow user space to do this configuration. Please look at that work. > Sorry I answered wrong. Latency values vary depending on the position of PHY in board. > We have used this PHY in different hardware's, where latency values differs based on PHY positioning. > So we used latency option in DTS file. > If you have other ideas or I'm wrong please let me know? So this is a function of the track length between the MAC and the PHY? How do you determine these values? There is no point having configuration values if you don't document how to determine what value should be used. Andrew