Backport the pending v6 poll-based event detection (devm_pse_poll_helper) and per-PI LED triggers via the notification path, plus the poll-interval-ms binding. Unblocks the hs104 poll path and PoE LED triggers. Pending upstream as [PATCH net-next v5 0/2] (reviewed; v6 pending, merge expected soon). Link: https://lore.kernel.org/all/20260429213224.1747410-1-github@szelinsky.de/ Signed-off-by: Carlo Szelinsky <github@szelinsky.de> Link: https://github.com/openwrt/openwrt/pull/22245 Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
31 lines
1.1 KiB
Diff
31 lines
1.1 KiB
Diff
From af1b9d9d0b357d14e54abff6ec9335e5fb426f75 Mon Sep 17 00:00:00 2001
|
|
From: Carlo Szelinsky <github@szelinsky.de>
|
|
Date: Sun, 29 Mar 2026 16:24:08 +0200
|
|
Subject: dt-bindings: net: pse-pd: add poll-interval-ms property
|
|
|
|
Add the optional poll-interval-ms property for PSE controllers that
|
|
use poll-based event detection instead of interrupts. Defaults to
|
|
500ms if not specified.
|
|
|
|
Reviewed-by: Kory Maincent <kory.maincent@bootlin.com>
|
|
Signed-off-by: Carlo Szelinsky <github@szelinsky.de>
|
|
|
|
---
|
|
--- a/Documentation/devicetree/bindings/net/pse-pd/pse-controller.yaml
|
|
+++ b/Documentation/devicetree/bindings/net/pse-pd/pse-controller.yaml
|
|
@@ -27,6 +27,14 @@ properties:
|
|
subnode. This property is deprecated, please use pse-pis instead.
|
|
enum: [0, 1]
|
|
|
|
+ poll-interval-ms:
|
|
+ description:
|
|
+ Polling interval in milliseconds for PSE controllers using
|
|
+ poll-based event detection instead of interrupts. Used when the
|
|
+ controller lacks IRQ support or the IRQ line is not wired.
|
|
+ default: 500
|
|
+ minimum: 50
|
|
+
|
|
pse-pis:
|
|
type: object
|
|
description:
|