summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2025-02-07 10:53:43 -0600
committerTom Rini <trini@konsulko.com>2025-02-07 11:39:24 -0600
commit7a20c89bd05155675bd9f316c4cffc36961f1070 (patch)
tree1f438dd275380cd515a1951b29071eea51deb74a /doc
parentc2e00482d0058908014014b1c703e0eaaf1490d7 (diff)
parent592b6f394aeb2c9eec47a70b7b1fc0e5108cfa90 (diff)
Merge patch series "led: add function naming option from linux"
Heiko Schocher <hs@denx.de> says: In linux we have the option to create the name of a led optionally through the following properties: - function - color - function-enumerator This series adds support for parsing this properties if there is no label property. Link: https://lore.kernel.org/r/20250128135246.74838-1-hs@denx.de [trini: Document name parameter in led.h]
Diffstat (limited to 'doc')
-rw-r--r--doc/device-tree-bindings/leds/common.txt23
1 files changed, 0 insertions, 23 deletions
diff --git a/doc/device-tree-bindings/leds/common.txt b/doc/device-tree-bindings/leds/common.txt
deleted file mode 100644
index 2d88816dd55..00000000000
--- a/doc/device-tree-bindings/leds/common.txt
+++ /dev/null
@@ -1,23 +0,0 @@
-Common leds properties.
-
-Optional properties for child nodes:
-- label : The label for this LED. If omitted, the label is
- taken from the node name (excluding the unit address).
-
-- linux,default-trigger : This parameter, if present, is a
- string defining the trigger assigned to the LED. Current triggers are:
- "backlight" - LED will act as a back-light, controlled by the framebuffer
- system
- "default-on" - LED will turn on (but for leds-gpio see "default-state"
- property in Documentation/devicetree/bindings/gpio/led.txt)
- "heartbeat" - LED "double" flashes at a load average based rate
- "ide-disk" - LED indicates disk activity
- "timer" - LED flashes at a fixed, configurable rate
-
-Examples:
-
-system-status {
- label = "Status";
- linux,default-trigger = "heartbeat";
- ...
-};