🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #8961

Re: [PATCH net-next v3 1/5] dt-bindings: net: maxlinear: add MxL86211C VDDP supply

#8961
From: Rob Herring
Date: Fri, 30 Oct 2026 16:11
105 lines
11126 bytes
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
> 
Technical Details
Message-ID: <20261030161136.GA259810-robh@kernel.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-353839-linux-kernel-netdev=dewy.ru
References: <20261020093655.344585-1-robert.marko@sartura.hr>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-353839-linux-kernel-netdev=dewy.ru
From: robh@kernel.org (Rob Herring)
Newsgroups: linux.kernel.netdev
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
Organization: Usenet Network
Message-ID: <20261030161136.GA259810-robh@kernel.org>
References: <20261020093655.344585-1-robert.marko@sartura.hr>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: usenet.network;
	logging-data="2272467"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:NXuzyQm3L/nYhqqEekK8dGMu2yU= sha256:malyOOi/35Z41ZkciqIbjV7BN2gc9UIjyqjJb0OzLws=
	sha1:fLR0dA7nNotrt5VPlPPcohG1vjs= sha256:tJwjR/FrU0ds0g+JzcekhaBv0mJiA/b9Z1YZRdK/r3Q=
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 CCD4F125CA3; Fri, 30 Oct 2026 19:17:49 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.401
X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
	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 (2048-bit key)
	header.d=kernel.org
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 uicKFDSuL5wd;
	Fri, 30 Oct 2026 19:17:46 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-353839-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 26334125CA1; Fri, 30 Oct 2026 19:17:36 +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 452892DFD6; Fri, 30 Oct 2026 16:11:57 +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=1793376717;
	b=OcYlUt5iHLwux1G/oLumVWAg6trlHBwPIQ0/OR2fheHGBnx5WHbCmccaHhWoXFBEhHFW
	 +dqUfIpQ1cviZ2OnRWCT1jGruWherpO94auN5WjZOEU2gW3BCjw23AJGQyFEph77v0n2f
	 dbWm+1eUapWoJcRl1kfz6D7EbYWh7MTNrtW9XU/Rg00AVQhmDUbxDA+ajbeM8Xd2ahzjx
	 5H0HDatWa1I/pJ8+7sXLoAYDvEkdO1GFNnQn6k0KALXC61c2cFWs8KraT9olHvW57puYu
	 uTsI5DI6EzRcPy5yCu87pYFCFk9z46KIlORHsrr+bUEv+XB6KyZCL9oWdRZFSkBaAAw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793376717;
	h=X-Original-To:Received:Received:DKIM-Signature: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=THuUtMwAVhpRA2NrdipfCYJztWnUG7sDWK3sD1+K1lM=;
	b=caZiYs+mE/sSyqaO/gTKqz5Ig+8kb9J9tpLv6yG3yLTw7J3p/fWAfSDNNHMTD2QJEY03
	 xTF6MKJHPUAR2axKAc5VchM6fv2cTjUFGIIv7O7rlHOV/JAInTajMkgOP18sBRWI1kKVL
	 s/MLnd9HoB2jZl7pz41fQEwi+IYtWdb4zl99KGUEksz3xI/Rp/mdVs403tunRpWA8xdmy
	 WWRMkmrMIUoxhjd1nYlE/JuBG/Mzf76BOuwXb4XYOKjydIVtM0cRFEMTjK+A1lfy3ydMs
	 zpahQVkLYpeoZFoJcBdFJMhBpJD0Uw5qOlTdxnNlxaqtNq1aZOOsr2/ZeDfsOLN4zeA==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=fbP+WE9W;
	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 1D268606A320;
	Fri, 30 Oct 2026 16:11:57 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=fbP+WE9W
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1793376701;
	b=AyEVH1CYz68ae19OTZHTlRl1pD2QDXWWU/FFDmT+GNcgTlV50IpwW8Cc2jZ2vTja8Ck8
	 mr6mobLynm1Kp/cOcvDEU/AML5kfWHtH1CA/gA9TBtaRnt6X9NaXXPu/qivzqC+X7ALyy
	 l+Lj2fPoULzActlozpGmyBtZBUL0ySv2r5mxwDUMtk85FxOkOqeJY4BjBm2p65VadI48K
	 eDScXA3nTVP3j5Ln8/eG4y4YrdYyy5TJzMSO6wPF+zUbb6Wbhu+BrgelbNR8xGhQ7eEFa
	 IN+eNxcGyMZm9qUlvuMl1h9C5fBsZz8UZG/9IU/QP1fVp2yw8UMKd0Tp01zp64VAF1w==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793376701;
	h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID:
	 References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To;
	bh=THuUtMwAVhpRA2NrdipfCYJztWnUG7sDWK3sD1+K1lM=;
	b=Vn/lXIhcTVpScUBDFp+jsaNkx7t8+vTnHUxHWLBzyVrDQMJPe5PQ88hacNUZu2pzn/xV
	 TOV6DCRNESJEruHGL69GY9Zcn8EomJ9l0wK63Sd33v5YiPNj3xk1VvPnm24yvDZaq7UwJ
	 9zOa7yK426sj5XVBpOREpq9GxNG99EU41GEVa9Rzgmle1A7XzTEm11fAe5kZRKQ/eDMur
	 dE2FQb2R3RsZ7WMXrly+Or5tKaILNdR2agHkYDsP7T1CAR9UuKhUfv7jbvgLItg/DXvhI
	 ETYXe9kd96fygxmD14dlwKsy+7yCuxXymPlypK/5muvYjQF9gEYVB1eN8b9qIrN+0YA==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=fbP+WE9W;
	arc=none smtp.remote-ip=100.103.45.18
X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id F0C45606A31A;
	Fri, 30 Oct 2026 16:11:40 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4D16C1F000C1;
	Fri, 30 Oct 2026 16:11:40 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1793376700;
	bh=THuUtMwAVhpRA2NrdipfCYJztWnUG7sDWK3sD1+K1lM=;
	h=Date:From:To:Cc:Subject:References:In-Reply-To;
	b=fbP+WE9WgEDroWQuXs/xxxP43YHUSkAqlpiRQE41b7SzSq3/Q6hb64UvFiADwJDXv
	 CJ18QZZ6WHKWQudZ8i5PCsag/0BMfx6mkYpsSeO8e3i5gClIzcLjY1zuI1tGBRV5We
	 KcxOi0xekKwRumSOhPc/wJGh14FnTnRKzDDzEYDwvJ27fRh5bqbIHnke3sha4CPkH9
	 xVxYkLFt+EtAqfCR2OtCRGPFvh2zr/kNtFxs4kQRYlVrbiZ7xb/aRJQ+t0f3fDLn/v
	 knvqtnAis0ljkjIkst4j4uGkthg6m/g26ICo+bOBdzTJPadylKQzgio2uvi6K9hzki
	 jYU6GEt3rlRHA==
X-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
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: <20261020093655.344585-1-robert.marko@sartura.hr>