Article View: linux.kernel.netdev
Article #13418Re: [PATCH net-next v1 2/3] r8169: add PTP hardware clock support for RTL8127a
From: Andrew Lunn
Date: Mon, 09 Nov 2026 20:51
Date: Mon, 09 Nov 2026 20:51
12 lines
8586 bytes
8586 bytes
On Mon, Nov 09, 2026 at 10:30:21AM +0800, javen wrote: > From: Javen Xu <javen_xu@realsil.com.cn> > > RTL8127a has a PTP clock in its PHY, accessed through the PHY OCP > interface. Register it as a PTP hardware clock supporting adjfine, > adjtime, gettimex64 and settime64. What PHY is this? Why is the PHY driver not exporting the clock, like other PHY drivers do. Andrew
Technical Details
Message-ID:
<e4b6394d-11b2-4244-85f2-5c4aa89ed463@lunn.ch>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!nntp.comgw.net!eternal-september.org!feeder.eternal-september.org!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-359604-linux-kernel-netdev=dewy.ruReferences:
<20261109023022.770-1-javen_xu@realsil.com.cn> <20261109023022.770-3-javen_xu@realsil.com.cn>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!nntp.comgw.net!eternal-september.org!feeder.eternal-september.org!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-359604-linux-kernel-netdev=dewy.ru From: andrew@lunn.ch (Andrew Lunn) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net-next v1 2/3] r8169: add PTP hardware clock support for RTL8127a Date: Mon, 9 Nov 2026 21:51:15 +0100 Organization: Usenet Network Message-ID: <e4b6394d-11b2-4244-85f2-5c4aa89ed463@lunn.ch> References: <20261109023022.770-1-javen_xu@realsil.com.cn> <20261109023022.770-3-javen_xu@realsil.com.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: usenet.network; logging-data="447945"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:Aurljsq46EY8vCxdw3TJjvA7NE4= sha256:ovkIB+Gb4r6tqEN6PYtklLoQlzPVK9TTOvS9VplXEn4= sha1:deRtpf/LqCBwf1LC98YA9ODoG+s= sha256:Nn80Npj7arVMAumSIzyQIuhGybDPEySGgYcWY0gMHwE= Content-Disposition: inline List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id 2057611391D; Mon, 9 Nov 2026 23:54:47 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.051 X-Spam-Status: No, score=-3.051 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (1024-bit key) header.d=lunn.ch X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eBde0wH59W3T; Mon, 9 Nov 2026 23:54:43 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-359604-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=lunn.ch X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id 295A7113891; Mon, 9 Nov 2026 23:54:34 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sea.lore.kernel.org (Postfix) with ESMTP id 86DAD84EF6; Mon, 9 Nov 2026 20:51:56 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1794257507; b=SkYdlREFT3Z962wRcd6NrTT9+kMdIGHcLKQAR6RK3o9Yl/A4FBBkZihNeN4Q77SHz6Zh 1Fb0WPXp8tJeF3nZYLYAKN3CYZc950Wv83titwy2m/KVsQCikVLO7m4MoGMchLQhIpSBR GP6GXX+UQ1y535zYN7gPBxme9KMvOiosBM4ztm7guIL0zZTsL3xaUowup3wiA0PtmuqDg 7Nvg1R5D++cJhj4XxFFdOrV9eH5gwiWibS+K4vrBbhHxaCz1j21X4u8VPNYP0EBiWWN4r jaXUG4W8r+WQ0d5reGX5N+KMPlUvZg6xpfF1vAQ5K4eVlfj1Ga5dbACRsc6tYUn3Ffg== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794257507; h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received:Date: From:To:Cc:Subject:Message-ID:References:X-Mailing-List:List-Id: List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner: Precedence:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=L4zXAJ3yW63ryN+gw48d3K33QL1qFIrjuPfLxKdzEno=; b=cOgtdBpclMztTVh9JbLQHhAOc06+BKKlQb5CGp4IzRMOzrJV2rsfLeQYZI8GzBnBTbZx l9yFG+fOMRPZ5Tu8/IsWBhuC4i397oKwO3mgj8PtAPX0O6GQKoC1xLfNbZx2oVGbB567i D+9wZLxchRsbdeqcIExJkr6VZDtLzWcKKFmWtxuGolr/0QTzpi1fOdnyoQOZ/dqtWWg5u K4OwXJyzpbLri6Amgc0SEOonCWq7QzmhL0Bg0ZsJyczgc2iGjiM1Ati7zOXb0EmFhDv6D e4SQenp9YwXEz4OXUuPd2QjXFwJ42k5QYGQ6NzsaiXo3I8NCC32gsmukEYU4W1P4n2w== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b="cCMY3r/L"; dmarc=pass header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1C97B60A2601; Mon, 9 Nov 2026 20:51:47 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=cCMY3r/L X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=156.67.10.101 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794257501; b=WMmu5HTRGnuq0o5crnLzeLZlTq5HlRmxtxkD3Unpks5H21eUai0ijvAVSwn9p8z/3dCV 1KaEwJP2MonGE7ehv78v3dpkdCbq4Hv1sNCRM0pF+bZglTBy7R1kWgh43TkL8tTFsqx4F CGL8wtkI/jeYCOUXahSmuU8qaeabyNef9IxZXWPJdD/8H/2sJ/xIrR7L9DHjchqeR/MQO oDH50IEu8JyBUV4QbXuDZVlMS5jhqgPXCgkGrl0honX3vKZBZGKDtFR8h8mZz//sjkkiR HLebCZXshHpxhNE3vmDtAax9v7m1BemXFI9QPfDvw40jYQ/Xb7okUGGgD8CXYOs0oFA== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794257501; h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject: Message-ID:References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To; bh=L4zXAJ3yW63ryN+gw48d3K33QL1qFIrjuPfLxKdzEno=; b=AwTnbNLj5BufHrXKI+Hpm/E4+73nnJQsL1EziAbtagMPF6WErqEiYfm8uKJKWibae1nD Lgr51p5v1ZnV/feHNeHN85TqhoYQ1aFkANrHNw2nN60El/mDwWbQA1LBdVlPJfakf6snU wjsh8LeRNVXw6GshlE3n+tlhNWXcarEnrZfgrMNWees/gzCZ5jT99TNfvzU/WumbljJ+a jewVL+qTJoAsty7QbAyxF8teCAOo70C2jIWjlWEFsJlQcamrX4WXjUuiAFs6ijL1XsVLQ f53GyMX2PGe0yg2ziCCkeoV6C835R2WccuUAYQcIADMQSV6yf19PQV86GVYuH9roAAQ== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b="cCMY3r/L"; arc=none smtp.remote-ip=156.67.10.101 X-Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D9BA1606A330; Mon, 9 Nov 2026 20:51:40 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org D9BA1606A330 X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch X-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=L4zXAJ3yW63ryN+gw48d3K33QL1qFIrjuPfLxKdzEno=; b=cCMY3r/Le/jeF9GaTJ6+A6bLat RUMBthYmwyWH0IZYfmRIS9BnzmriPlNHa1FWkbKhTMXgRWv4CP/HuzDZsf/ikGmNO4F+kp6OIv/K8 6/sTVUB7uSCMMvCZhuGzb7sSDbCxLZ0iMwHg3kCXy32QSaEr6V5i6aBstuQTcBuTUROM=; X-Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from <andrew@lunn.ch>) id 1xQWKh-00FL2i-Uo; Mon, 09 Nov 2026 21:51:15 +0100 X-Cc: hkallweit1@gmail.com, nic_swsd@realtek.com, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, horms@kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list X-In-Reply-To: <20261109023022.770-3-javen_xu@realsil.com.cn>