Skip to content

Commit 82566eb

Browse files
kmaincentkuba-moo
authored andcommitted
dt-bindings: net: pse-pd: ti,tps23881: Add interrupt description
Add an interrupt property to the device tree bindings for the TI TPS23881 PSE controller. The interrupt is primarily used to detect classification and disconnection events, which are essential for managing the PSE controller in compliance with the PoE standard. Interrupt support is essential for the proper functioning of the TPS23881 controller. Without it, after a power-on (PWON), the controller will no longer perform detection and classification. This could lead to potential hazards, such as connecting a non-PoE device after a PoE device, which might result in magic smoke. Signed-off-by: Kory Maincent (Dent Project) <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 56cfc97 commit 82566eb

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Documentation/devicetree/bindings/net/pse-pd/ti,tps23881.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ properties:
2020
reg:
2121
maxItems: 1
2222

23+
interrupts:
24+
maxItems: 1
25+
2326
'#pse-cells':
2427
const: 1
2528

@@ -62,16 +65,21 @@ unevaluatedProperties: false
6265
required:
6366
- compatible
6467
- reg
68+
- interrupts
6569

6670
examples:
6771
- |
72+
#include <dt-bindings/interrupt-controller/irq.h>
73+
6874
i2c {
6975
#address-cells = <1>;
7076
#size-cells = <0>;
7177
7278
ethernet-pse@20 {
7379
compatible = "ti,tps23881";
7480
reg = <0x20>;
81+
interrupts = <8 IRQ_TYPE_LEVEL_HIGH>;
82+
interrupt-parent = <&gpiog>;
7583
7684
channels {
7785
#address-cells = <1>;

0 commit comments

Comments
 (0)