Skip to content

Commit f05dfda

Browse files
oleremkuba-moo
authored andcommitted
dt-bindings: net: pse-dt: add bindings for regulator based PoDL PSE controller
Add bindings for the regulator based Ethernet PoDL PSE controller and generic bindings for all PSE controllers. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent 18ff0bc commit f05dfda

File tree

2 files changed

+73
-0
lines changed

2 files changed

+73
-0
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/net/pse-pd/podl-pse-regulator.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Regulator based Power Sourcing Equipment
8+
9+
maintainers:
10+
- Oleksij Rempel <o.rempel@pengutronix.de>
11+
12+
description: Regulator based PoDL PSE controller. The device must be referenced
13+
by the PHY node to control power injection to the Ethernet cable.
14+
15+
allOf:
16+
- $ref: "pse-controller.yaml#"
17+
18+
properties:
19+
compatible:
20+
const: podl-pse-regulator
21+
22+
'#pse-cells':
23+
const: 0
24+
25+
pse-supply:
26+
description: Power supply for the PSE controller
27+
28+
additionalProperties: false
29+
30+
required:
31+
- compatible
32+
- pse-supply
33+
34+
examples:
35+
- |
36+
ethernet-pse {
37+
compatible = "podl-pse-regulator";
38+
pse-supply = <&reg_t1l1>;
39+
#pse-cells = <0>;
40+
};
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/net/pse-pd/pse-controller.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Power Sourcing Equipment (PSE).
8+
9+
description: Binding for the Power Sourcing Equipment (PSE) as defined in the
10+
IEEE 802.3 specification. It is designed for hardware which is delivering
11+
power over twisted pair/ethernet cable. The ethernet-pse nodes should be
12+
used to describe PSE controller and referenced by the ethernet-phy node.
13+
14+
maintainers:
15+
- Oleksij Rempel <o.rempel@pengutronix.de>
16+
17+
properties:
18+
$nodename:
19+
pattern: "^ethernet-pse(@.*)?$"
20+
21+
"#pse-cells":
22+
description:
23+
Used to uniquely identify a PSE instance within an IC. Will be
24+
0 on PSE nodes with only a single output and at least 1 on nodes
25+
controlling several outputs.
26+
enum: [0, 1]
27+
28+
required:
29+
- "#pse-cells"
30+
31+
additionalProperties: true
32+
33+
...

0 commit comments

Comments
 (0)