Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp2746512rwa; Mon, 22 Aug 2022 12:59:24 -0700 (PDT) X-Google-Smtp-Source: AA6agR7iYuPtfp5vcfLizwD0yJRRQZraiImTk5Hwix7seKIq2M0cw5RHXpoWy8XZTFJ/Oa5TO5l7 X-Received: by 2002:a63:1e5c:0:b0:41d:b225:9ee1 with SMTP id p28-20020a631e5c000000b0041db2259ee1mr17748873pgm.245.1661198364408; Mon, 22 Aug 2022 12:59:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661198364; cv=none; d=google.com; s=arc-20160816; b=I+0k5qIf/zHj3cb42PDkoKP8vIsOjmqRASO4hvYBubXURszIxPc42h3e883V4RBlJe F2f8G7GGDvwtM5q8TEx4JH5WMRDJJGw+yg9ZisSOFznBA40u9vvMug2nt+7qle/HM/eJ 9gRUKvMuM+gI+8aY0dOqu1R8sASex2Z3M/6tAjFNBp0hL8z9x2t4djAjMs4C6ThGf0UQ QSRN1ZR0aiXLXWFMGjKNWMGlwuYxW9vPtsK2CbLLDoeBP0h9Fey1hDFbwHpT1oRYBW5r I4gZyhDzRUGl4W5ca+bmogytZFIwYSa38vV3TKCo1VxTMPrvOtcfcbC8O76BCdghL5Hj MYzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=s+WOD4snVC2BO4C8+qcd2CiG5Hiex2If1dPYRMgMw+o=; b=vmP8hkJEZ96e7CvneI340LZmWKtREijv2UlnIrlJeWHGVv+PCAe2QtKH9sc8Wo2C8o 76r4PwES7N4L12UO80BMQzqVQHiqgYsVl+nXhknpSLdKgb2nCLy43jqV0MikL5z2IcxQ 6U+p6P2YnikUZk1cxx2LIB3CtYuSvmkYvWTeAfbp5j2sdXfzt+b0C8gBqHQg0hBC/M0p jfoGC2yRK2mFjI2Za5httAXewoV9iYYgj4266Sli1qgSSbuAqBwkLXFH0Vzmjx4Kmj+N dbDzfpWr6+OZr9sDoFRtAFP/9Oj0hA5ODNwXZOeC4bhUnjgSyr5mgVT3ymeJULo/neJS OP6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b="sASj/zfd"; 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 u1-20020a170902e80100b0016ee3b6681esi6063191plg.75.2022.08.22.12.59.12; Mon, 22 Aug 2022 12:59:24 -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; dkim=pass header.i=@lunn.ch header.s=20171124 header.b="sASj/zfd"; 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 S238731AbiHVTfN (ORCPT + 99 others); Mon, 22 Aug 2022 15:35:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49232 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231196AbiHVTfG (ORCPT ); Mon, 22 Aug 2022 15:35:06 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [185.16.172.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D87E52DF8; Mon, 22 Aug 2022 12:35:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=s+WOD4snVC2BO4C8+qcd2CiG5Hiex2If1dPYRMgMw+o=; b=sASj/zfdSac/ORxHDWtaQhrBc7 JXKbH6Asx8kxMk/iucxS7jiIZBR9/M5gHblzOGGqjKf80/VkCvWELJiZagYmWOkxRYD9hm1NC8qGr mWKrSzDgSPydFgDQSMjFMSSS5BQ+/u9YO1Ynk2/ulIvp7tH6ZYc+esBER5ZEmDfqmn2c=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1oQDCB-00EFxo-VL; Mon, 22 Aug 2022 21:34:47 +0200 Date: Mon, 22 Aug 2022 21:34:47 +0200 From: Andrew Lunn To: Rob Herring Cc: Oleksij Rempel , 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: 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=us-ascii Content-Disposition: inline In-Reply-To: <20220822184534.GB113650-robh@kernel.org> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,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 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. Andrew