Documentation/devicetree/bindings/net/pse-pd/pse-controller.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/net/pse-pd/pse-controller.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/net/pse-pd/pse-controller.yaml
Extension
.yaml
Size
4587 bytes
Lines
129
Domain
Support Tooling And Documentation
Bucket
Documentation
Inferred role
Support Tooling And Documentation: configuration, schema, or hardware description
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/net/pse-pd/pse-controller.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Power Sourcing Equipment (PSE).

description: Binding for the Power Sourcing Equipment (PSE) as defined in the
  IEEE 802.3 specification. It is designed for hardware which is delivering
  power over twisted pair/ethernet cable. The ethernet-pse nodes should be
  used to describe PSE controller and referenced by the ethernet-phy node.

maintainers:
  - Oleksij Rempel <o.rempel@pengutronix.de>
  - Kory Maincent <kory.maincent@bootlin.com>

properties:
  $nodename:
    pattern: "^ethernet-pse(@.*|-([0-9]|[1-9][0-9]+))?$"

  "#pse-cells":
    description:
      Used to uniquely identify a PSE instance within an IC. Will be
      0 on PSE nodes with only a single output and at least 1 on nodes
      controlling several outputs which are not described in the pse-pis
      subnode. This property is deprecated, please use pse-pis instead.
    enum: [0, 1]

  pse-pis:
    type: object
    description:
      Overview of the PSE PIs provided by the controller.

    properties:
      "#address-cells":
        const: 1

      "#size-cells":
        const: 0

    required:
      - "#address-cells"
      - "#size-cells"

    patternProperties:
      "^pse-pi@[0-9a-f]+$":
        type: object
        description:
          PSE PI for power delivery via pairsets, compliant with IEEE
          802.3-2022, Section 145.2.4. Each pairset comprises a positive and
          a negative VPSE pair, adhering to the pinout configurations
          detailed in the standard.
          See Documentation/networking/pse-pd/pse-pi.rst for details.

        properties:
          reg:
            description:
              Address describing the PSE PI index.
            maxItems: 1

          "#pse-cells":
            const: 0

          pairset-names:
            $ref: /schemas/types.yaml#/definitions/string-array
            description:
              Names of the pairsets as per IEEE 802.3-2022, Section 145.2.4.
              Each name should correspond to a phandle in the 'pairset'
              property pointing to the power supply for that pairset.

Annotation

Implementation Notes