Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp4489947rwe; Tue, 30 Aug 2022 11:01:30 -0700 (PDT) X-Google-Smtp-Source: AA6agR5GjwgxqJRLKcegrps90eRTZM9Y+xWjdfOoRl3lzgRWv5nJWgTDuxyWiyNWxuSuqNFO3Cjv X-Received: by 2002:a63:f904:0:b0:42c:7045:d49e with SMTP id h4-20020a63f904000000b0042c7045d49emr5631109pgi.172.1661882490070; Tue, 30 Aug 2022 11:01:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661882490; cv=none; d=google.com; s=arc-20160816; b=WscATY1aIHp838vLkbNfD3QUsdwYda1ZDtIJ3OVPqvaPRyKLWNU9wZRFvDqzWaIEaA MQH32n25nT+VrrzKBYgqTae9assPUFfiTw4XeH+C07h9y7zkX/6SCHYC077qyWuA6Q+8 xuv1ddpxcyiLwPOVDwNNrYFmHk/MhMJHrRolhlcR9gZApOjI3SN6F2mao5TLKCmlRTSe VW/+LWcWb586P3l9NxRmGDz+Ew9oFdo06K0Coi2684TjEUcf0cAapwUKdB8RqRX5xyOh 9Y2KK+t6+5u0i3UsbO9NpQhBwuL7mqx8O4MqydYUlZdWuu6o+cATLnp7OA4wfvchViBN swtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=g068sDOtegZG3B0E3N9qqa73w8mC4luwa5PK1E841Oc=; b=RQQYOQVHq/zjJd3laNRe9Gx0fDr4Eb0TV1FdbYQN4pDfYV9B3Cmy980IPZ/yqLxjKR U10fqXELvF0Q6QqAW90TXJdVDKjZgjwkdRhUg51W53D8ZNiZCRiMn5xXsaT5lkkbHDy6 an2OExYU8Xd3NvIV1DbshikzyeojEr9YiKBEyVXvlGa/D9bd63ZXYRAhfizPtO9CQgll MszmTvRQPUeq1WhqjcyOc/N9P955AA+r4cI+un5kKQc3JKpLMIGx6WHZnEfPybGxVn64 NYZkCxiwgyu1kyEZdCYBoTBs3MdT02See3REPHQXF34dQuvkEJPEB/bwa8ELEtgLEh4s 11oQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OXFHI8yp; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e6-20020a17090301c600b00170d738f328si320749plh.447.2022.08.30.11.01.15; Tue, 30 Aug 2022 11:01:30 -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=@linaro.org header.s=google header.b=OXFHI8yp; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231979AbiH3Rov (ORCPT + 99 others); Tue, 30 Aug 2022 13:44:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34650 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231707AbiH3Rof (ORCPT ); Tue, 30 Aug 2022 13:44:35 -0400 Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1BAB1163B58 for ; Tue, 30 Aug 2022 10:41:22 -0700 (PDT) Received: by mail-lj1-x22b.google.com with SMTP id z23so9292071ljk.1 for ; Tue, 30 Aug 2022 10:41:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc; bh=g068sDOtegZG3B0E3N9qqa73w8mC4luwa5PK1E841Oc=; b=OXFHI8yptvhucT4YUUOtygY4O7bsAiXGdV3sDBj4S+zCmz1ExWyE5Lrl/YAU0EQt3e DGiqZsoyHdZGWxAR791s3ykxSAKk9LaPiUPPlLblSgHmFTuFinaSfSvMkZeFSvkUz0xm SMxLLMEFPxRr+jU9Gg6SrQd7V3caOTsV7RpSXgxLP84LZZ5nrdf6x2Gtn58CpSYKn7Ik gAAtZd3LTMKXhxyF79ygES+pSq3T2kz3zuASe5uQrH6/yvqBZIIGLdYW81ORN+njF2y5 MZ/35FjfCPC5TGpqRrXmotp+iCvxIF1b5Gjjc4vIG1F03NYQo5fOT1Ts/jrvVHa0I8ry hEGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc; bh=g068sDOtegZG3B0E3N9qqa73w8mC4luwa5PK1E841Oc=; b=4Cf8QXCGq0A1jzTYRMhwMRKO6Sq/X+uyGRWdrxjR3ZT2GAnPzILRCi5ssdWPIoyPr/ 4lC8B6U7RgXnzt6HQM2PoB9TjWtTojsPgk7WngZOgrOi4FMZOTIfFbJij1VxhK9Z82I3 nrj6AfLVwpgSZHQ6kPzgvHyI4Ame6Kpf/bXgJl2yPEmMQNWwMqjnL0y6rQJm1fBtoWRY lCqMWz306eGI1gdxxETmerTerJxv/rZzNLY/0scxPSQl1hCeybcGgSiG/ySarPZa8Vap 2HxNnahUXFldXKkS+uqG5/47usppgEeIuIVIVvYOlxtANAdRso7uTfZKNMeoFqEZOd0d Z9lw== X-Gm-Message-State: ACgBeo3Ct2NPJCyXG5fjIpb1x/i8jk3h1SIf5fEMA2CII9Zv85WjzcZW F5rZsOHSdouFyU+A+Z/1vl8oNQ== X-Received: by 2002:a05:651c:238c:b0:261:d468:d633 with SMTP id bk12-20020a05651c238c00b00261d468d633mr7294676ljb.479.1661881275308; Tue, 30 Aug 2022 10:41:15 -0700 (PDT) Received: from [192.168.28.124] (balticom-73-99-134.balticom.lv. [109.73.99.134]) by smtp.gmail.com with ESMTPSA id h5-20020a2ea485000000b0025e6a3556ffsm1846445lji.22.2022.08.30.10.41.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 30 Aug 2022 10:41:14 -0700 (PDT) Message-ID: Date: Tue, 30 Aug 2022 20:41:13 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Subject: Re: [PATCH net-next v4 6/7] dt-bindings: net: pse-dt: add bindings for generic PSE controller Content-Language: en-US To: Oleksij Rempel , Andrew Lunn , Heiner Kallweit , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Russell King , Rob Herring , Krzysztof Kozlowski , Jonathan Corbet Cc: kernel@pengutronix.de, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-doc@vger.kernel.org, David Jander , Luka Perkov , Robert Marko References: <20220828063021.3963761-1-o.rempel@pengutronix.de> <20220828063021.3963761-7-o.rempel@pengutronix.de> From: Krzysztof Kozlowski In-Reply-To: <20220828063021.3963761-7-o.rempel@pengutronix.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, 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 28/08/2022 09:30, Oleksij Rempel wrote: > Add binding for generic Ethernet PSE controller. > > Signed-off-by: Oleksij Rempel > --- > changes v4: > - rename to PSE regulator > - drop currently unused properties > - use own compatible for PoDL PSE > changes v2: > - rename compatible to more generic "ieee802.3-pse" > - add class and type properties for PoDL and PoE variants > - add pairs property > --- > .../bindings/net/pse-pd/pse-regulator.yaml | 40 +++++++++++++++++++ > 1 file changed, 40 insertions(+) > create mode 100644 Documentation/devicetree/bindings/net/pse-pd/pse-regulator.yaml > > diff --git a/Documentation/devicetree/bindings/net/pse-pd/pse-regulator.yaml b/Documentation/devicetree/bindings/net/pse-pd/pse-regulator.yaml > new file mode 100644 > index 0000000000000..1a906d2135a7a > --- /dev/null > +++ b/Documentation/devicetree/bindings/net/pse-pd/pse-regulator.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/pse-regulator.yaml# The convention is filename based on compatible, so "podl-pse-regulator.yaml" > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Regulator based Power Sourcing Equipment > + > +maintainers: > + - Oleksij Rempel > + > +description: Regulator based PSE controller. The device must be referenced by > + the PHY node to control power injection to the Ethernet cable. > + > +properties: > + compatible: > + description: Regulator based PoDL PSE controller for a single twisted-pair > + link. Why description of compatible? Description of hardware goes to top-level description. > + const: podl-pse-regulator > + > + '#pse-cells': > + const: 0 > + > + pse-supply: > + description: Power supply for the PSE controller > + > +additionalProperties: false > + > +required: > + - compatible > + - '#pse-cells' > + - pse-supply > + > +examples: > + - | > + pse_t1l2: ethernet-pse-1 { Node name: ethernet-pse (unless -1 stands for something generic?) Also, no need for label. Best regards, Krzysztof