From: Rob Herring <robh@kernel.org>
To: Robert Marko <robert.marko@sartura.hr>
Cc: andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org,
kuba@kernel.org, pabeni@redhat.com, krzk+dt@kernel.org,
conor+dt@kernel.org, lxu@maxlinear.com, hkallweit1@gmail.com,
linux@armlinux.org.uk, lgirdwood@gmail.com, broonie@kernel.org,
michael@walle.cc, netdev@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
lrosu@maxlinear.com, luka.perkov@sartura.hr
Subject: Re: [PATCH net-next v3 1/5] dt-bindings: net: maxlinear: add MxL86211C VDDP supply
Date: Fri, 30 Oct 2026 11:11:36 -0500 [thread overview]
Message-ID: <20261030161136.GA259810-robh@kernel.org> (raw)
In-Reply-To: <20261020093655.344585-1-robert.marko@sartura.hr>
On Tue, Oct 20, 2026 at 11:35:34AM +0200, Robert Marko wrote:
> Describe the optional VDDP supply used by the MxL86211C PHY. Its
> voltage determines whether the MDIO, MDC, and MDINT pads use 1.8 V or
> 3.3 V.
>
> Existing device trees do not describe the supply and rely on the hardware
> reset default. Keep the property optional to preserve their compatibility.
>
> Select the MxL86211C PHY ID and nodes using the existing MaxLinear
> broken-interrupt property, so this binding is checked during normal DT
> validation. Restrict the new supply property to the MxL86211C with the
> compatible conditional.
>
> Signed-off-by: Robert Marko <robert.marko@sartura.hr>
> ---
> Changes in v3:
> - Make VDDP optional for existing device trees.
> - Select MxL86211C nodes and nodes using the legacy MaxLinear property.
> - Replace the empty then branch with a negated compatible condition.
>
> Changes in v2:
> - Model VDDP as a supply instead of a regulator provider.
> - Select the schema for the MxL86211C PHY ID.
>
> .../bindings/net/maxlinear,gpy2xx.yaml | 48 +++++++++++++++++++
> 1 file changed, 48 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/net/maxlinear,gpy2xx.yaml b/Documentation/devicetree/bindings/net/maxlinear,gpy2xx.yaml
> index 8a3713abd1ca9..53f430e121510 100644
> --- a/Documentation/devicetree/bindings/net/maxlinear,gpy2xx.yaml
> +++ b/Documentation/devicetree/bindings/net/maxlinear,gpy2xx.yaml
> @@ -10,10 +10,37 @@ maintainers:
> - Andrew Lunn <andrew@lunn.ch>
> - Michael Walle <michael@walle.cc>
>
> +select:
> + anyOf:
> + - properties:
> + compatible:
> + contains:
> + const: ethernet-phy-idc133.5400
> + required:
> + - compatible
> + - required:
> + - maxlinear,use-broken-interrupts
> +
> allOf:
> - $ref: ethernet-phy.yaml#
> + - if:
> + not:
> + properties:
> + compatible:
> + contains:
> + const: ethernet-phy-idc133.5400
> + required:
> + - compatible
> + then:
> + properties:
> + vddp-supply: false
>
> properties:
> + vddp-supply:
> + description: |
Don't need '|'.
> + Optional regulator supplying the VDDP pin. Its voltage configures the
> + MDIO, MDC, and MDINT pad voltage and must be either 1.8 V or 3.3 V.
> +
> maxlinear,use-broken-interrupts:
> description: |
> Interrupts are broken on some GPY2xx PHYs in that they keep the
> @@ -45,4 +72,25 @@ examples:
> };
> };
>
> + - |
> + vddp: regulator-vddp {
> + compatible = "regulator-fixed";
> + regulator-name = "vddp";
> + regulator-min-microvolt = <1800000>;
> + regulator-max-microvolt = <1800000>;
> + };
Drop. Examples don't show providers.
> +
> + ethernet {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + ethernet-phy@0 {
> + compatible = "ethernet-phy-idc133.5400",
> + "ethernet-phy-ieee802.3-c45";
> + reg = <0>;
> + vddp-supply = <&vddp>;
> +
> + };
> + };
> +
> ...
> --
> 2.56.0
>
prev parent reply other threads:[~2026-10-30 16:11 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-20 9:35 Robert Marko
2026-10-20 9:35 ` [PATCH net-next v3 2/5] net: phy: mxl-gpy: " Robert Marko
2026-10-20 12:39 ` Andrew Lunn
2026-10-20 12:49 ` Robert Marko
2026-10-20 12:56 ` Andrew Lunn
2026-10-23 3:36 ` netdev-bot+sashiko
2026-10-20 9:35 ` [PATCH net-next v3 3/5] net: phy: mxl-gpy: release MxL86211C Super Isolate Robert Marko
2026-10-20 12:48 ` Andrew Lunn
2026-10-20 13:04 ` Robert Marko
2026-10-20 14:06 ` Andrew Lunn
2026-10-23 3:36 ` netdev-bot+sashiko
2026-10-20 9:35 ` [PATCH net-next v3 4/5] dt-bindings: net: maxlinear: add MxL86211C lane mapping support Robert Marko
2026-10-23 3:36 ` netdev-bot+sashiko
2026-10-30 16:07 ` Rob Herring (Arm)
2026-10-20 9:35 ` [PATCH net-next v3 5/5] net: phy: mxl-gpy: support MxL86211C lane mapping Robert Marko
2026-10-21 1:32 ` [PATCH net-next v3 1/5] dt-bindings: net: maxlinear: add MxL86211C VDDP supply Jakub Kicinski
2026-10-23 3:36 ` netdev-bot+sashiko
2026-10-30 16:11 ` Rob Herring [this message]
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=20261030161136.GA259810-robh@kernel.org \
--to=robh@kernel.org \
--cc=andrew+netdev@lunn.ch \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@kernel.org \
--cc=hkallweit1@gmail.com \
--cc=krzk+dt@kernel.org \
--cc=kuba@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=lrosu@maxlinear.com \
--cc=luka.perkov@sartura.hr \
--cc=lxu@maxlinear.com \
--cc=michael@walle.cc \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=robert.marko@sartura.hr \
/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
all inboxes | Powered by JetHome®