Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2078927pxp; Sun, 13 Mar 2022 08:11:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzDjZI7Yk8HIwMafMyw4GBbm3hf5IHkDVXNMTxTUNzRfyIChOFx4gB693CdhQhwHrsZ/EAO X-Received: by 2002:a17:902:ee95:b0:151:8518:9f49 with SMTP id a21-20020a170902ee9500b0015185189f49mr19382264pld.1.1647184262988; Sun, 13 Mar 2022 08:11:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647184262; cv=none; d=google.com; s=arc-20160816; b=rPjC5PaMb1AfgjyJtpSjP2KicbrAwG0WWNVEN7lR9UbjJDRkg5SGBXq9pjrhesFqcm e83ZQTnl/AX3eEplgZLf1hl/O13bPlT8LfKy8XkNFiWE+IpjmQtjV6llpneXYB533qe3 D374nDcIgcUk+grk9CLhxvTQDJAC5XXw2foToC8sMoswGm1ZLDZ8Y48Zyp+WmVoWQC3C yRpR+hlWdeOndG3pnAbiP+Mt4oU360MUw1LZNxlS0XwdQ1rSCjsIKUyn3k2vtjcHRpEk NMjkNkqKnnGdBZWZhxxmvUHlWQO6+xefetw/hFd5X+IShgitd74YEoalw/s+G8ErbBbx WNZw== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=rGqBRcNw4s56JzIh4WiyNNxrcGXW+DdMyOtuGHG9ozs=; b=vglDDFuEgU6wlvN2QNgNMtCFEM7ofEtFp8sSpYee8x6uNfEdw4HhxCKzT0l6Gv0i4G aZxWEAge5EyFqjMowF3X2CQieD7ZN3xqZZ0LIAPN4+KJzr7sQvwxoTXjdl9LHAcjQRD7 c+aBA3zrI7vjx8kFAJv6jyFtGpvHISvkXC5UEKcikfqroTLf5cIyyLf8t3DG84+7nv/4 hYTI6zTPBPPhtiyK8fi3MGNOeuAWqLHSlH8HBsiNTyw5jdaoWrF5HAGrVcqKX5ekOOTY YQXJ0WI8zCRdYo84SyufrJ/ClCK7KoKDiiatKFmIplcTGX98XQxruALB73BpSV64vJdL BPtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=Thq7cmAG; 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 ba11-20020a170902720b00b0015337d6b4d6si6647515plb.602.2022.03.13.08.10.48; Sun, 13 Mar 2022 08:11:02 -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=@lunn.ch header.s=20171124 header.b=Thq7cmAG; 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 S232555AbiCLUFp (ORCPT + 99 others); Sat, 12 Mar 2022 15:05:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42316 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231804AbiCLUFp (ORCPT ); Sat, 12 Mar 2022 15:05:45 -0500 Received: from vps0.lunn.ch (vps0.lunn.ch [185.16.172.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 68C44532F1; Sat, 12 Mar 2022 12:04:39 -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-Transfer-Encoding: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=rGqBRcNw4s56JzIh4WiyNNxrcGXW+DdMyOtuGHG9ozs=; b=Th q7cmAGUFE8nRztSu7eUZNV1O7EeMSsqNdrjI7WI0cQIeFuv1kPRsRUaRvYA/UY7L5Tt3Q0ZoidFMw XmV+pmrS23Qb/0J6GhIRUbv+cKaLmt2leNehEFa7JYwmSxqNoQzGBgLmhyce+dzrBbqVuKqPKjFlX ph1KD5vJHJVUG90=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1nT7yZ-00AVKz-Qt; Sat, 12 Mar 2022 21:04:31 +0100 Date: Sat, 12 Mar 2022 21:04:31 +0100 From: Andrew Lunn To: Richard Cochran Cc: Woojung.Huh@microchip.com, linux@armlinux.org.uk, Horatiu.Vultur@microchip.com, Divya.Koppera@microchip.com, netdev@vger.kernel.org, hkallweit1@gmail.com, davem@davemloft.net, kuba@kernel.org, robh+dt@kernel.org, devicetree@vger.kernel.org, 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: <20220308154345.l4mk2oab4u5ydn5r@soft-dev3-1.localhost> <20220308221404.bwhujvsdp253t4g3@soft-dev3-1.localhost> <20220309132443.axyzcsc5kyb26su4@soft-dev3-1.localhost> <20220309195252.GB9663@hoboy.vegasvil.org> <20220312024828.GA15046@hoboy.vegasvil.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220312024828.GA15046@hoboy.vegasvil.org> 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 > PTP4l(8) System Manager's Manual PTP4l(8) > > NAME > ptp4l - PTP Boundary/Ordinary/Transparent Clock > > ... > > egressLatency > Specifies the difference in nanoseconds between the actual > transmission time at the reference plane and the reported trans‐ > mit time stamp. This value will be added to egress time stamps > obtained from the hardware. The default is 0. > > ingressLatency > Specifies the difference in nanoseconds between the reported re‐ > ceive time stamp and the actual reception time at reference > plane. This value will be subtracted from ingress time stamps > obtained from the hardware. The default is 0. > Hi Richard Do these get passed to the kernel so the hardware can act on them, or are they used purely in userspace by ptp4l? If they has passed to the kernel, could we provide a getter as well as a setter, so the defaults hard coded in the driver can be read back? Andrew