Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp3773026rwa; Tue, 23 Aug 2022 09:53:13 -0700 (PDT) X-Google-Smtp-Source: AA6agR6zNbzFaaJDqyj7Hx/WBxrCnuEPorrECSm0ZexIgv9UxqlAYOdVJw1DXxnfkGUUceouEWWT X-Received: by 2002:a17:902:8d8c:b0:172:e237:9a4e with SMTP id v12-20020a1709028d8c00b00172e2379a4emr11851432plo.158.1661273592886; Tue, 23 Aug 2022 09:53:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661273592; cv=none; d=google.com; s=arc-20160816; b=XL6lhd164R87f1gn5OZJaDqRKabL27eP+tKdEqBHV6WeAOk7HbndOyq8Vwe3GZvT0m 0e+p8qY3algAFFi0c7k1+jXEbkghSbFZ31iARN7G/xCCZKogrDp9DeyCA1W+2havZUzd eNp/GpxSC9w36omo3kzc8PoYdDxfIF82kfpk2BLVMXC9SwSVP8Xw7UvujN6T00pBBSh/ Y8PqOiHySa1OlenGKmpQNhdZA9LqDGm0H4fpzvDZ7YJrt2B3EVOUTYF4aZOiK0E/eLaD gAka69Pu2BY27k/2025qYQOAQgZLr1VLiqij+E+EdAHFIEc91y8OZC0Qxv4arefiiD5d R5mg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=oiMj8YSdYX1hsD7Heaj8NUelx9UZZc6VTycRYHzDz6k=; b=j7TCirPrBXUmIxjNAP0V7UVqRG0YPky2E1fW3/cHq3sCoSLB1vlwSoSl3RZ34VINVp tBlGyMsptaOwcxfbxL8dHDWXNkGWue4Qq/aILvRwn9TBR9ktAFzBiU5SByLKNIGZSj8r lakYkqtUY27EnWT7a52omOjc7O9TMfM5dOEzrLDJUYFc445bunxHpAz8zfrZBRAkgYuf ixOvCwcj7bZWh9HI27wRPMFS3L1d+Z/5w1MpKu0uPUzOrjvl7PIkwi3WCSWF7jpyxoFQ m8Fupknji611cXLeOxK2Kb2N+rh9w+3Vb0QVFtDjUI8+eqxwkOPhLHUJyJ/wSLJWWC5e m7+A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b12-20020a63714c000000b003c64eaa98cbsi16386511pgn.58.2022.08.23.09.53.02; Tue, 23 Aug 2022 09:53:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245138AbiHWQiM (ORCPT + 99 others); Tue, 23 Aug 2022 12:38:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244962AbiHWQhZ (ORCPT ); Tue, 23 Aug 2022 12:37:25 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F5A29AFC5 for ; Tue, 23 Aug 2022 07:44:56 -0700 (PDT) Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oQV8x-0004ge-UB; Tue, 23 Aug 2022 16:44:39 +0200 Received: from ore by ptx.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1oQV8v-0007MC-At; Tue, 23 Aug 2022 16:44:37 +0200 Date: Tue, 23 Aug 2022 16:44:37 +0200 From: Oleksij Rempel To: Andrew Lunn Cc: Rob Herring , Heiner Kallweit , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Russell King , Krzysztof Kozlowski , Jonathan Corbet , kernel@pengutronix.de, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-doc@vger.kernel.org, David Jander Subject: Re: [PATCH net-next v1 2/7] dt-bindings: net: phy: add PoDL PSE property Message-ID: <20220823144437.GN10138@pengutronix.de> References: <20220819120109.3857571-1-o.rempel@pengutronix.de> <20220819120109.3857571-3-o.rempel@pengutronix.de> <20220822184534.GB113650-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain User-Agent: Mutt/1.10.1 (2018-07-13) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c0 X-SA-Exim-Mail-From: ore@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 22, 2022 at 09:34:47PM +0200, Andrew Lunn wrote: > On Mon, Aug 22, 2022 at 01:45:34PM -0500, Rob Herring wrote: > > On Fri, Aug 19, 2022 at 02:01:04PM +0200, Oleksij Rempel wrote: > > > Add property to reference node representing a PoDL Power Sourcing Equipment. > > > > > > Signed-off-by: Oleksij Rempel > > > --- > > > Documentation/devicetree/bindings/net/ethernet-phy.yaml | 6 ++++++ > > > 1 file changed, 6 insertions(+) > > > > > > diff --git a/Documentation/devicetree/bindings/net/ethernet-phy.yaml b/Documentation/devicetree/bindings/net/ethernet-phy.yaml > > > index ed1415a4381f2..49c74e177c788 100644 > > > --- a/Documentation/devicetree/bindings/net/ethernet-phy.yaml > > > +++ b/Documentation/devicetree/bindings/net/ethernet-phy.yaml > > > @@ -144,6 +144,12 @@ properties: > > > Mark the corresponding energy efficient ethernet mode as > > > broken and request the ethernet to stop advertising it. > > > > > > + ieee802.3-podl-pse: > > > + $ref: /schemas/types.yaml#/definitions/phandle > > > + description: > > > + Specifies a reference to a node representing a Power over Data Lines > > > + Power Sourcing Equipment. > > > > Ah, here is the consumer. > > > > Why do you anything more than just a -supply property here for the > > PoE/PoDL supply? The only reason I see is you happen to want a separate > > driver for this and a separate node happens to be a convenient way to > > instantiate drivers in Linux. Convince me otherwise. > > The regulator binding provides a lot of very useful properties, which > look to do a good job describing the regulator part of a PoE/PeDL > supplier side. What however is missing is the communication part, the > power provider and the power consumer communicate with each other, via > a serial protocol. They negotiate the supply of power, a sleep mode > where power is reduced, but not removed, etc. > > So a Power Sourcing Equipment driver is very likely to have a > regulator embedded in it, but its more than a regulator. @Rob, is it enough to convince? Regards, Oleksij -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |