[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20191030090124.24900-2-manivannan.sadhasivam@linaro.org>
Date: Wed, 30 Oct 2019 14:31:21 +0530
From: Manivannan Sadhasivam <manivannan.sadhasivam@...aro.org>
To: shawnguo@...nel.org, s.hauer@...gutronix.de, robh+dt@...nel.org
Cc: kernel@...gutronix.de, festevam@...il.com, linux-imx@....com,
darshak.patel@...fochips.com, prajose.john@...fochips.com,
devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org,
Manivannan Sadhasivam <manivannan.sadhasivam@...aro.org>,
Jacek Anaszewski <jacek.anaszewski@...il.com>,
Pavel Machek <pavel@....cz>, Dan Murphy <dmurphy@...com>,
linux-leds@...r.kernel.org
Subject: [PATCH v2 1/4] dt-bindings: leds: Document commonly used LED triggers
This commit documents the LED triggers used commonly in the SoCs. Not
all triggers are documented as some of them are very application specific.
Most of the triggers documented here are currently used in devicetrees
of many SoCs.
Cc: Jacek Anaszewski <jacek.anaszewski@...il.com>
Cc: Pavel Machek <pavel@....cz>
Cc: Dan Murphy <dmurphy@...com>
Cc: linux-leds@...r.kernel.org
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@...aro.org>
---
.../devicetree/bindings/leds/common.txt | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/Documentation/devicetree/bindings/leds/common.txt b/Documentation/devicetree/bindings/leds/common.txt
index 9fa6f9795d50..2a6806161590 100644
--- a/Documentation/devicetree/bindings/leds/common.txt
+++ b/Documentation/devicetree/bindings/leds/common.txt
@@ -55,6 +55,23 @@ Optional properties for child nodes:
"timer" - LED flashes at a fixed, configurable rate
"pattern" - LED alters the brightness for the specified duration with one
software timer (requires "led-pattern" property)
+ "mmc[N]" - LED indicates [N]th MMC storage activity
+ "flash" - LED indicates camera flash state
+ "torch" - LED indicates camera torch state
+ "audio-mute" - LED indicates audio mute state
+ "audio-micmute" - LED indicates mic mute state
+ "bluetooth-power" - LED indicates bluetooth power state
+ "usb-gadget" - LED indicates USB gadget activity
+ "usb-host" - LED indicates USB host activity
+ "mtd" - LED indicates MTD memory activity
+ "nand-disk" - LED indicates NAND memory activity (deprecated),
+ in new implementations use "mtd"
+ "disk-read" - LED indicates disk read activity
+ "disk-write" - LED indicates disk write activity
+ "none" - No trigger assigned to the LED. This is the default mode
+ if trigger is absent
+ "cpu" - LED indicates activity of all CPUs
+ "cpu[N]" - LED indicates activity of [N]th CPU
- led-pattern : Array of integers with default pattern for certain triggers.
Each trigger may parse this property differently:
--
2.17.1
Powered by blists - more mailing lists