Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp2713010rwa; Mon, 22 Aug 2022 12:16:43 -0700 (PDT) X-Google-Smtp-Source: AA6agR6NWUg63m7fJtZWTg/xY55WxsZPk820EtThR9sUDOa9HRvg5EEtkKd4TjpOzJXlTiRg7fTJ X-Received: by 2002:a62:a21a:0:b0:532:4191:610a with SMTP id m26-20020a62a21a000000b005324191610amr22228423pff.75.1661195803336; Mon, 22 Aug 2022 12:16:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661195803; cv=none; d=google.com; s=arc-20160816; b=L6eXK2sYMETPdh2vcqpFcn3oWdqmUk+nn4frJmOQcX1IAdnsNmSASRQMFPAyaZIDac GT84U6/2ksPb8MNT9v9MTNUjVy7MwEiWqLayF618eTX8u8itXkI4gqThaIQqAcnmQpIp Mbntfk0Ljj02uyQKibYQUcZx/E4ui9hfSnnlnrVPcO8OXKYKI0g5KC77M5eCKNJzYvdG 13oHVazheB6bhckV/tEdvV+1yMtE58PbirhOytgcYEwAQAkOTAUOXsOpXPs+JEzHAb4o gqqWMbSSF1Wp6mfM7sY0Nc3SfCK8bMPSfZQc/wlTeJks8JuQBxKs+YXU+NWsdgth+HOB jesA== 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; bh=nSpbooGUn1Mt7oSof4jzbbiXRG+FuCsB5diR7kREr48=; b=IXsAxqlZSYL6O5w/ALVI9Rz3Lq7DmzMjbFuduShWWiAuJbAsqhExWGqwRevK/M8bMu 1xFQamgsUjdnyyEoy4WMC4yd2yB5P9OxFzhfnXo6/Tuvrx7BIsb2EN10Wg6DUCAUR9kP ycWtlG3m0+jbfx7F0PGzY9ZeKPloHd2d0NODDVktrDVBNCY/KrozxMUEp9Tl4p5j+6Rn I8bFO3IvOuQylucmgBo5VELxNkuvp+TdKeRtWtDcEAtFeLa194miGhMtXW+ZXhPuCOp1 e82YXr+pG381Ue8iEZHiFz4LGiabILrc6Aj0PZ3HWmMiD/JOEYaw/9LzehFAs8XM6jIo KBsA== 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u30-20020a63235e000000b0041d17df9731si14086704pgm.14.2022.08.22.12.16.31; Mon, 22 Aug 2022 12:16:43 -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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235503AbiHVSof (ORCPT + 99 others); Mon, 22 Aug 2022 14:44:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52848 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237662AbiHVSoQ (ORCPT ); Mon, 22 Aug 2022 14:44:16 -0400 Received: from mail-oi1-f170.google.com (mail-oi1-f170.google.com [209.85.167.170]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9868E3ECCE; Mon, 22 Aug 2022 11:41:39 -0700 (PDT) Received: by mail-oi1-f170.google.com with SMTP id bb16so13240813oib.11; Mon, 22 Aug 2022 11:41:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc; bh=nSpbooGUn1Mt7oSof4jzbbiXRG+FuCsB5diR7kREr48=; b=I3bAS+z4rQrKcYjEmnf3bZkofjfffokWqkz6TaRIEY73pi1507fZRw3gCYdS+HxYTE GvQgSePvH3T25LOae6yyFGNFU7SZdFuPraiH2Oi4tJLsPuQiHam6d/HbCiDWl15af3YR blqI5nTU0AtBznd+EzDyHgfIi89Uj1MU4RvXV4yt4hGyeGDMsmEJd9hbOqHyAG783ckH p0uJGUhSjMlO9I7pCawRtohvVNC+GuIX4Wb0wNsZpcNa2mGGcAZku+q1Gq2Low4DaT2v jQXh23M5ryRgD/Yb+o6mVaUbXSXh7TxjfGNEFhLWx0sdZiu+FPzT8Qf7ysZJzo0bLqRf 4n9A== X-Gm-Message-State: ACgBeo3VabRSyc4gl44VmVHMWzHkSiu+nmTFXTWCZ5G5uKUvCspXsl/3 xGiDJhQcPbaypsbYixJNyg== X-Received: by 2002:a05:6808:1892:b0:344:d066:5171 with SMTP id bi18-20020a056808189200b00344d0665171mr9439150oib.195.1661193673435; Mon, 22 Aug 2022 11:41:13 -0700 (PDT) Received: from robh.at.kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id kw37-20020a056870ac2500b0011c6b9abb67sm3043748oab.46.2022.08.22.11.41.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Aug 2022 11:41:13 -0700 (PDT) Received: (nullmailer pid 138889 invoked by uid 1000); Mon, 22 Aug 2022 18:41:12 -0000 Date: Mon, 22 Aug 2022 13:41:12 -0500 From: Rob Herring To: Oleksij Rempel Cc: Andrew Lunn , 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 1/7] dt-bindings: net: pse-dt: add bindings for generic PSE controller Message-ID: <20220822184112.GA113650-robh@kernel.org> References: <20220819120109.3857571-1-o.rempel@pengutronix.de> <20220819120109.3857571-2-o.rempel@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220819120109.3857571-2-o.rempel@pengutronix.de> X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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 Fri, Aug 19, 2022 at 02:01:03PM +0200, Oleksij Rempel wrote: > Add binding for generic Ethernet PSE controller. > > Signed-off-by: Oleksij Rempel > --- > .../bindings/net/pse-pd/generic-pse.yaml | 40 +++++++++++++++++++ > 1 file changed, 40 insertions(+) > create mode 100644 Documentation/devicetree/bindings/net/pse-pd/generic-pse.yaml > > diff --git a/Documentation/devicetree/bindings/net/pse-pd/generic-pse.yaml b/Documentation/devicetree/bindings/net/pse-pd/generic-pse.yaml > new file mode 100644 > index 0000000000000..64f91efa79a56 > --- /dev/null > +++ b/Documentation/devicetree/bindings/net/pse-pd/generic-pse.yaml > @@ -0,0 +1,40 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/net/pse-pd/generic-pse.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Generic Power Sourcing Equipment > + > +maintainers: > + - Oleksij Rempel > + > +description: | > + Generic PSE controller. The device must be referenced by the PHY node > + to control power injection to the Ethernet cable. Isn't this separate from the PHY other than you need to associate supplies with ethernet ports? Is there a controller here? Or it is just a regulator consumer associated with an ethernet port? > + > +properties: > + compatible: > + const: ieee802.3-podl-pse-generic Is this for 802.3bu only (which is where PoDL comes from) or all the flavors? If all, do they need to be distinguished? 'generic' is redundant. > + > + '#pse-cells': What's this for? You don't have a consumer. > + const: 0 > + > + ieee802.3-podl-pse-supply: Seems a bit long > + description: | Don't need '|' if no formatting to maintain. > + Power supply for the PSE controller > + > +additionalProperties: false > + > +required: > + - compatible > + - '#pse-cells' > + - ieee802.3-podl-pse-supply > + > +examples: > + - | > + ethernet-pse-1 { > + compatible = "ieee802.3-podl-pse-generic"; > + ieee802.3-podl-pse-supply = <®_t1l1>; > + #pse-cells = <0>; > + }; > -- > 2.30.2 > >