From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7F3E8C55ABA for ; Wed, 5 Aug 2026 14:17:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=dxZTcS7icuwHy+GPl4eFhHQ7WS9ogVb6dFNoW4qCt8I=; b=Tw/2nvYoo0YvEY DuiDe6NzH1vqfkFTI+CaSL2NRdsHjtTHXWQzn3atsA41NR8RXV84eEk5gxq5tto/Rn5+g1DCN7tnX hrUF3rIoPyiLRHOFXH9HpmabpQSrmjbepIpZOZyOyL0hcPoxAix2uU5DB1V22zqLfdby4CxfAfEr7 FhdaHOFZaVmzlJ4KcDxnh79fNtk8cxF2JZYglhguDLDBDJ78OgSF60BXQGjISLf1GjsQ+YQfOSAM3 tFxfyP/a/4EBeHP62JgZ4VNZIuMCyXOnkeMI25hozuv+2OJzRdndpnAQJKpeQjYhMNiznP8f6T9Qp 5ZBNMDYd9CLUEInOeRWA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wrcRB-000000044A7-1rvm; Wed, 05 Aug 2026 14:17:41 +0000 Received: from sea.source.kernel.org ([172.234.252.31]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wrcR9-0000000449K-1SQ9; Wed, 05 Aug 2026 14:17:39 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by sea.source.kernel.org (Postfix) with ESMTP id BD5EF43AE4; Wed, 5 Aug 2026 14:17:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 76BAC1F000E9; Wed, 5 Aug 2026 14:17:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1785939458; bh=JDuXv4mytSaw3QUpQ4W/0Z9j0VJSFj4YqRtc976l3kw=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=BTmyM5ty0rO4V6Jhc9sL9DMndsBFHlqLTQgLY9LUoxFgvGpr2SC9LBcvTIdE5qgy3 VoIHsoyYSOoIgFoTdEkA4oZ1ZzvIZhgXymlnc4Tvu4YApXBwTAVrT269JzTQTSd3/C UGjrmH+36Tw4L6TO5bnWMId9rWjTzIymEET1CU3TIRHlD6aHAwsmMkW9HYVohBAnSS 2aK+1y89RZsYhJt7Tz1WVkT46VJDLEh6j7+v8e0IlptUfgHy1Bwxlzer0IxHfj9Jou 8KjMuZdHwKtymSyblYhLz3+XH1lZ2maTo2wUJYwrF0VWpU6bxJgBavxS03UhcbWGhS 377MhFlw9Hc3w== Date: Wed, 5 Aug 2026 09:17:37 -0500 From: Rob Herring To: James Hilliard Cc: Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Krzysztof Kozlowski , Conor Dooley , Lee Jones , Andrew Lunn , Heiner Kallweit , Russell King , Heiko Stuebner , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, mfd@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: Re: [PATCH net-next v2 5/8] dt-bindings: net: x-powers: add AC300 EPHY control Message-ID: <20260805141737.GA715959-robh@kernel.org> References: <20260804-submit-acx00-of-dynamic-v1-v2-0-3eef49ff1d8c@gmail.com> <20260804-submit-acx00-of-dynamic-v1-v2-5-3eef49ff1d8c@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20260804-submit-acx00-of-dynamic-v1-v2-5-3eef49ff1d8c@gmail.com> X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org On Tue, Aug 04, 2026 at 08:27:03PM -0600, James Hilliard wrote: > The AC300 exposes its Fast Ethernet PHY control registers through a > separate non-PHY Clause 22 address. The manual defines that address as > the link PHY address plus 16, giving control addresses 16 through 23 and > link addresses 0 through 7. That's not a separate device, but just a second address range. You should make 'reg' have 2 entries. > > Describe the control endpoint, its required VCC1 supply, its 24, 25 or > 27 MHz input clock and its SoC SID calibration cell. The actual PHY > remains a separate ethernet-phy node and supplies the MAC-selected > interface mode at runtime. > > Signed-off-by: James Hilliard > --- > .../bindings/net/x-powers,ac300-ephy-ctl.yaml | 70 ++++++++++++++++++++++ > 1 file changed, 70 insertions(+) > > diff --git a/Documentation/devicetree/bindings/net/x-powers,ac300-ephy-ctl.yaml b/Documentation/devicetree/bindings/net/x-powers,ac300-ephy-ctl.yaml > new file mode 100644 > index 000000000000..8a616ff3e89f > --- /dev/null > +++ b/Documentation/devicetree/bindings/net/x-powers,ac300-ephy-ctl.yaml > @@ -0,0 +1,70 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/net/x-powers,ac300-ephy-ctl.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: X-Powers AC300 Ethernet PHY control interface > + > +maintainers: > + - James Hilliard > + > +description: > + The AC300 Fast Ethernet PHY has a separate control interface accessed as a > + non-PHY Clause 22 device. Its address is 16 plus the address of the link PHY. > + > +properties: > + compatible: > + const: x-powers,ac300-ephy-ctl > + > + reg: > + minimum: 16 > + maximum: 23 > + > + clocks: > + maxItems: 1 > + description: > + AC300 input clock. Its configured rate must be 24, 25, or 27 MHz and > + determines the corresponding EPHY_CLK_SEL value. > + > + vcc1-supply: > + description: > + 3.3 V supply for the AC300 I/O, bandgap, Ethernet PHY analog front end, > + and internal digital LDO Sounds like this supply and clock would need to be enabled before accessing the "link PHY address"? If so, then 2 nodes is really a problem. Rob _______________________________________________ Linux-rockchip mailing list Linux-rockchip@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-rockchip