lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220822184112.GA113650-robh@kernel.org>
Date:   Mon, 22 Aug 2022 13:41:12 -0500
From:   Rob Herring <robh@...nel.org>
To:     Oleksij Rempel <o.rempel@...gutronix.de>
Cc:     Andrew Lunn <andrew@...n.ch>,
        Heiner Kallweit <hkallweit1@...il.com>,
        "David S. Miller" <davem@...emloft.net>,
        Eric Dumazet <edumazet@...gle.com>,
        Jakub Kicinski <kuba@...nel.org>,
        Paolo Abeni <pabeni@...hat.com>,
        Russell King <linux@...linux.org.uk>,
        Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
        Jonathan Corbet <corbet@....net>, kernel@...gutronix.de,
        linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
        devicetree@...r.kernel.org, linux-doc@...r.kernel.org,
        David Jander <david@...tonic.nl>
Subject: Re: [PATCH net-next v1 1/7] dt-bindings: net: pse-dt: add bindings
 for generic PSE controller

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 <o.rempel@...gutronix.de>
> ---
>  .../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 <o.rempel@...gutronix.de>
> +
> +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 = <&reg_t1l1>;
> +      #pse-cells = <0>;
> +    };
> -- 
> 2.30.2
> 
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ