Skip to contentSkip to conversation

dt-bindings: leds: document rfkill default action

PATCH In review David Heidelberg 2 participants 2 messages Sep 19, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dt-bindings: leds: document rfkill default action

Used only in Toshiba AC100 / Dynabook AZ, but throws ugly warning:
arch/arm/boot/dts/tegra20-paz00.dt.yaml: gpio-leds: led-0:linux,default-trigger:0: 'rfkill0' is not one of ['backlight', 'default-on', 'heartbeat', 'disk-activity', 'ide-disk', 'timer', 'pattern']

---
 Documentation/devicetree/bindings/leds/common.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/leds/common.yaml +2 -0
index 697102707703..d3814e6bf3cf 100644
@@ -96,6 +96,8 @@ properties:
       - timer
         # LED alters the brightness for the specified duration with one software
         # timer (requires "led-pattern" property)
+      - rfkill0
+        # LED indicates rfkill state
       - pattern
 
   led-pattern:
Signature · 1 line
2.33.0
#1 lore raw
Quoted 1 line · On Sun, 19 Sep 2021 17:14:44 +0200 David Heidelberg <[email protected]> wrote:

+ - rfkill0

And why does Toshiba AC100 / Dynabook AZ driver need the zero at the end??

Is this a private trigger? There is no such trigger driver in drivers/leds/triggrer.

Anyway linux,default-trigger property is deprecated. Can't Toshiba AC100 / Dynabook AZ be merged to the function property?

Marek