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

title: Regulator based Power Sourcing Equipment

maintainers:
  - Oleksij Rempel <o.rempel@pengutronix.de>

description: Regulator based PoDL PSE controller. The device must be referenced
  by the PHY node to control power injection to the Ethernet cable.

allOf:
  - $ref: pse-controller.yaml#

properties:
  compatible:
    const: podl-pse-regulator

  '#pse-cells':
    const: 0

  pse-supply:
    description: Power supply for the PSE controller

additionalProperties: false

required:
  - compatible
  - pse-supply

examples:
  - |
    ethernet-pse {
      compatible = "podl-pse-regulator";
      pse-supply = <&reg_t1l1>;
      #pse-cells = <0>;
    };
