[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220503153613.15320-2-zajec5@gmail.com>
Date: Tue, 3 May 2022 17:36:11 +0200
From: Rafał Miłecki <zajec5@...il.com>
To: Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>
Cc: Pavel Machek <pavel@....cz>,
"David S . Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>,
Florian Fainelli <f.fainelli@...il.com>,
Hauke Mehrtens <hauke@...ke-m.de>,
Jacek Anaszewski <jacek.anaszewski@...il.com>,
devicetree@...r.kernel.org, netdev@...r.kernel.org,
linux-leds@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org,
bcm-kernel-feedback-list@...adcom.com,
Rafał Miłecki <rafal@...ecki.pl>
Subject: [PATCH 2/4] dt-bindings: net: allow Ethernet devices as LED triggers
From: Rafał Miłecki <rafal@...ecki.pl>
This allows specifying Ethernet interfaces and switch ports as triggers
for LEDs activity.
Signed-off-by: Rafał Miłecki <rafal@...ecki.pl>
---
Documentation/devicetree/bindings/net/ethernet-controller.yaml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Documentation/devicetree/bindings/net/ethernet-controller.yaml b/Documentation/devicetree/bindings/net/ethernet-controller.yaml
index 817794e56227..ec4679e23939 100644
--- a/Documentation/devicetree/bindings/net/ethernet-controller.yaml
+++ b/Documentation/devicetree/bindings/net/ethernet-controller.yaml
@@ -226,6 +226,9 @@ properties:
required:
- speed
+allOf:
+ - $ref: /schemas/leds/trigger-source.yaml
+
additionalProperties: true
...
--
2.34.1
Powered by blists - more mailing lists