From: Andrew Lunn <andrew@lunn.ch>
To: James Hilliard <james.hilliard1@gmail.com>
Cc: Lee Jones <lee@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Andrew Lunn <andrew+netdev@lunn.ch>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Heiner Kallweit <hkallweit1@gmail.com>,
Russell King <linux@armlinux.org.uk>,
mfd@lists.linux.dev, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, netdev@vger.kernel.org
Subject: Re: [PATCH net-next v4 1/4] dt-bindings: mfd: x-powers: Add AC200
Date: Sun, 9 Aug 2026 22:48:13 +0200 [thread overview]
Message-ID: <e8b813e2-eccb-4292-9ecc-15ee656ee6d5@lunn.ch> (raw)
In-Reply-To: <CADvTj4oa=G0WYAG1Hw9se3dCXxer24X-L0Oe2X-D14m7FpLOFg@mail.gmail.com>
On Sun, Aug 09, 2026 at 01:33:22PM -0600, James Hilliard wrote:
> On Sun, Aug 9, 2026 at 9:34 AM Andrew Lunn <andrew@lunn.ch> wrote:
> >
> > > +description:
> > > + The AC200 is a mixed-signal companion IC containing audio, video, RTC and
> > > + Fast Ethernet PHY functions. Its control registers are accessed over I2C.
> > > +
> > > +properties:
> > > + compatible:
> > > + const: x-powers,ac200
> > > +
> > > + reg:
> > > + maxItems: 1
> > > +
> > > + clocks:
> > > + maxItems: 1
> > > + description:
> > > + AC200 input clock. When using the Ethernet PHY, its configured rate must
> > > + be 24 or 27 MHz, matching the rates encoded by the documented EPHY clock
> > > + selector.
> >
> > What is the scope of this clock. Is the PHY the only consumer?
>
> No. This is the AC200's external CKI system-clock input, not an
> EPHY-local clock.
O.K, good.
> > > + ephy-vcc-supply:
> > > + description: 3.3 V supply for the Ethernet PHY analog front end
> >
> > This sounds to be specific to the PHY, so the PHY driver should be the
> > consumer, not the MFD as a whole. That then would allow the PHY to
> > perform power management, turn the regulator off when the link is
> > admin down, so suspended.
>
> EPHY_VCC is specific to the Ethernet PHY, even when a board connects it
> to the same physical 3.3 V regulator as other AC200 supply pins. The
> regulator core will retain the shared rail while any other consumer
> still has it enabled.
>
> For v5 I have removed ephy-vcc-supply from the AC200 MFD node and moved
> the supply to the Ethernet PHY package. Both variants now use a common
> vcc-supply property, connected to EPHY_VCC on AC200 and VCC1 on AC300.
Great, thanks
Andrew
next prev parent reply other threads:[~2026-08-09 20:48 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-07 4:51 [PATCH net-next v4 0/4] net: phy: add X-Powers AC200/AC300 EPHY support James Hilliard
2026-08-07 4:51 ` [PATCH net-next v4 1/4] dt-bindings: mfd: x-powers: Add AC200 James Hilliard
2026-08-09 15:34 ` Andrew Lunn
2026-08-09 19:33 ` James Hilliard
2026-08-09 20:48 ` Andrew Lunn [this message]
2026-08-07 4:51 ` [PATCH net-next v4 2/4] mfd: ac200: Add X-Powers AC200 support James Hilliard
2026-08-07 4:51 ` [PATCH net-next v4 3/4] dt-bindings: net: x-powers: add AC200/AC300 EPHY packages James Hilliard
2026-08-07 4:51 ` [PATCH net-next v4 4/4] net: phy: add X-Powers AC200/AC300 EPHY driver James Hilliard
2026-08-09 15:50 ` Andrew Lunn
2026-08-09 20:29 ` James Hilliard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e8b813e2-eccb-4292-9ecc-15ee656ee6d5@lunn.ch \
--to=andrew@lunn.ch \
--cc=andrew+netdev@lunn.ch \
--cc=conor+dt@kernel.org \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@google.com \
--cc=hkallweit1@gmail.com \
--cc=james.hilliard1@gmail.com \
--cc=krzk+dt@kernel.org \
--cc=kuba@kernel.org \
--cc=lee@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=mfd@lists.linux.dev \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox