Home
last modified time | relevance | path

Searched refs:LED (Results 1 – 25 of 260) sorted by relevance

1234567891011

/Linux-v5.4/drivers/leds/
DKconfig10 bool "LED Support"
12 Say Y to enable Linux LED support. This allows control of supported
18 tristate "LED Class Support"
24 tristate "LED Flash Class Support"
27 This option enables the flash LED sysfs class in /sys/class/leds.
28 It wraps LED Class and adds flash LEDs specific sysfs attributes
30 for the flash related features of a LED device. It can be built
34 bool "LED Class brightness_hw_changed attribute support"
42 comment "LED drivers"
45 tristate "LED Support for Marvell 88PM860x PMIC"
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/leds/
Dcommon.txt3 LED and flash LED devices provide the same basic functionality as current
4 regulators, but extended with LED and flash LED specific features like
7 Many LED devices expose more than one current output that can be connected
8 to one or more discrete LED component. Since the arrangement of connections
9 can influence the way of the LED device initialization, the LED components
10 have to be tightly coupled with the LED device binding. They are represented
11 by child nodes of the parent LED device binding.
15 - led-sources : List of device current outputs the LED is connected to. The
17 in the LED device binding documentation.
19 - function: LED functon. Use one of the LED_FUNCTION_* prefixed definitions
[all …]
Dleds-bcm6328.txt13 BCM6328 LED controller has a HWDIS register, which controls whether a LED
16 is usually 1:1 for hardware to LED signals, but through the activity/link
18 explained later in brcm,link-signal-sources). Even if a LED is hardware
21 reason, hardware controlled LEDs aren't registered as LED class devices.
27 - reg : BCM6328 LED controller address and size.
41 Each LED is represented as a sub-node of the brcm,bcm6328-leds device.
43 LED sub-node required properties:
44 - reg : LED pin number (only LEDs 0 to 23 are valid).
46 LED sub-node optional properties:
49 - active-low : Boolean, makes LED active low.
[all …]
Dleds-ktd2692.txt1 * Kinetic Technologies - KTD2692 Flash LED Driver
6 The ExpressWire interface through CTRL pin can control LED on/off and
11 LED current will be ramped up to the flash-mode current level.
19 - vin-supply : "vin" LED supply (2.7V to 5.5V).
22 A discrete LED element connected to the device must be represented by a child
25 Required properties for flash LED child nodes:
29 - flash-max-microamp : Flash LED maximum current
31 - flash-max-timeout-us : Flash LED maximum timeout.
33 Optional properties for flash LED child nodes:
Dleds-ns2.txt1 Binding for dual-GPIO LED found on Network Space v2 (and parents).
6 Each LED is represented as a sub-node of the ns2-leds device.
9 - cmd-gpio: Command LED GPIO. See OF device-tree GPIO specification.
10 - slow-gpio: Slow LED GPIO. See OF device-tree GPIO specification.
11 - modes-map: A mapping between LED modes (off, on or SATA activity blinking) and
16 - label: Name for this LED. If omitted, the label is taken from the node name.
17 - linux,default-trigger: Trigger assigned to the LED.
Dleds-mt6323.txt1 Device Tree Bindings for LED support on MT6323 PMIC
3 MT6323 LED controller is subfunction provided by MT6323 PMIC, so the LED
20 describes the initial behavior for each LED physically and currently only four
21 LED child nodes can be supported.
23 Required properties for the LED child node:
24 - reg : LED channel number (0..3)
26 Optional properties for the LED child node:
Dleds-lt3593.txt1 Bindings for Linear Technologies LT3593 LED controller
8 The hardware supports only one LED. The properties of this LED are
14 - label: A label for the LED. If none is given, the LED will be
16 - linux,default-trigger: The default trigger for the LED.
18 - default-state: The initial state of the LED.
Dleds-pm8058.txt1 Qualcomm PM8058 LED driver
4 an LED driver block for up to six LEDs: three normal LEDs, two
5 "flash" LEDs and one "keypad backlight" LED. The names are
6 quoted because sometimes these LED drivers are used for wildly
12 do they support external triggers. They are just powerful LED
19 Each LED is represented as a sub-node of the syscon device. Each
20 node's name represents the name of the corresponding LED.
22 LED sub-node properties:
27 "qcom,pm8058-keypad-led" (for the "keypad" LED at 0x48)
Dleds-pwm.txt1 LED connected to PWM
6 Each LED is represented as a sub-node of the pwm-leds device. Each
7 node's name represents the name of the corresponding LED.
9 LED sub-node properties:
15 - max-brightness : Maximum brightness possible for the LED
16 - active-low : (optional) For PWMs where the LED is wired to supply
32 /* provides one PWM (id 0 for Charing indicator LED) */
Dleds-trigger-pattern.txt1 * Pattern format for LED pattern trigger
4 The LED is expected to traverse the series and each brightness value for the
19 It will make the LED go gradually from zero-intensity to max (255) intensity in
22 LED brightness
31 2. To make the LED go instantly from one brightness value to another, we should
39 It will make the LED stay off for one second, then stay at max brightness for
42 LED brightness
Dleds-sc27xx-bltc.txt4 red LED, green LED and blue LED. Each LED can work at normal
14 - reg: Port this LED is connected to.
Dleds-gpio.txt6 Each LED is represented as a sub-node of the gpio-leds device. Each
7 node's name represents the name of the corresponding LED.
9 LED sub-node properties:
10 - gpios : Should specify the LED's GPIO, see "gpios property" in
21 - default-state: (optional) The initial state of the LED.
25 - retain-state-shutdown: (optional) Retain the state of the LED on shutdown.
46 /* Keep LED on if BIOS detected hardware fault */
Dregister-bit-led.txt5 single LED. The register bit LEDs appear as children to the
10 Each LED is represented as a sub-node of the syscon device. Each
11 node's name represents the name of the corresponding LED.
13 LED sub-node properties:
17 - offset : register offset to the register controlling this LED
18 - mask : bit mask for the bit controlling this LED in the register
26 - default-state: (optional) The initial state of the LED
Dleds-is31fl32xx.txt1 Binding for ISSI IS31FL32xx and Si-En SN32xx LED Drivers
3 The IS31FL32xx/SN32xx family of LED drivers are I2C devices with multiple
5 Each LED is represented as a sub-node of the device.
19 LED sub-node properties:
20 - reg : LED channel number (1..N)
/Linux-v5.4/Documentation/leds/
Dleds-class-flash.rst2 Flash LED handling under Linux
5 Some LED devices provide two modes - torch and flash. In the LED subsystem
6 those modes are supported by LED class (see Documentation/leds/leds-class.rst)
7 and LED Flash class respectively. The torch mode related features are enabled
12 must be defined in the kernel config. A LED Flash class driver must be
13 registered in the LED subsystem with led_classdev_flash_register function.
15 Following sysfs attributes are exposed for controlling flash LED devices:
29 A LED subsystem driver can be controlled also from the level of VideoForLinux2
39 of_node of the LED, may be NULL if the same as device's
41 LED flash class device to wrap
[all …]
Dleds-class.rst2 LED handling under Linux
5 In its simplest form, the LED class just allows control of LEDs from
7 LED is defined in max_brightness file. The brightness file will set the brightness
8 of the LED (taking a value 0-max_brightness). Most LEDs don't have hardware
11 The class also introduces the optional concept of an LED trigger. A trigger
18 Complex triggers while available to all LEDs have LED specific
19 parameters and work on a per LED basis. The timer trigger is an example.
20 The timer trigger will periodically change the LED brightness between
23 You can change the brightness value of a LED independently of the timer
41 LED Device Naming
[all …]
Dledtrig-usbport.rst2 USB port LED trigger
5 This LED trigger can be used for signalling to the user a presence of USB device
6 in a given port. It simply turns on LED when device appears and turns it off
14 LED.
18 1) Device with single USB LED and few physical ports
21 In such a case LED will be turned on as long as there is at least one connected
29 only one LED user will most likely want to assign ports from all 3 hubs.
37 This adds sysfs attributes to the LED that are documented in:
Dledtrig-transient.rst2 LED Transient Trigger
8 to be off. The delay_on value specifies the time period an LED should stay
9 in on state, followed by a delay_off value that specifies how long the LED
33 class device, the LED state does not change.
36 trigger will be called, and LED state is changed to LED_OFF.
38 Driver suspend changes the LED state to LED_OFF and resume doesn't change
40 suspend and resume actions and the currently enabled trigger. LED state
43 being able to actually change the LED state. Once driver is resumed, triggers
46 LED state changes are controlled using brightness which is a common led
53 registration, the LED state does not change, unless there is another trigger
[all …]
/Linux-v5.4/Documentation/firmware-guide/acpi/dsd/
Dleds.rst9 device node, the LED driver chip. The "reg" property in the LED specific nodes
10 tells the numerical ID of each individual LED output to which the LEDs are
12 number of the LED output.
23 combination of the LED driver device reference and an integer argument,
24 referring to the "reg" property of the relevant LED, is used to identify
26 firmware and software, it uniquely identifies the LED driver outputs.
28 Under the LED driver device, The first hierarchical data extension package list
29 entry shall contain the string "led@" followed by the number of the LED,
30 followed by the referred object name. That object shall be named "LED" followed
31 by the number of the LED.
[all …]
/Linux-v5.4/drivers/leds/trigger/
DKconfig3 bool "LED Trigger support"
13 tristate "LED Timer Trigger"
16 via sysfs. Some LED hardware can be programmed to start
17 blinking the LED without any further software interaction.
23 tristate "LED One-shot Trigger"
28 or on dense events, where this blinks the LED at constant rate if
36 bool "LED Disk Trigger"
43 bool "LED MTD (NAND/NOR) Trigger"
50 tristate "LED Heartbeat Trigger"
58 tristate "LED backlight Trigger"
[all …]
/Linux-v5.4/Documentation/media/uapi/v4l/
Dext-ctrls-flash.rst20 The interface can support both LED and xenon flash devices. As of
30 Unsynchronised LED flash (software strobe)
33 Unsynchronised LED flash is controlled directly by the host as the
41 Synchronised LED flash (hardware strobe)
44 The synchronised LED flash is pre-programmed by the host (power and
52 LED flash as torch
55 LED flash may be used as torch in conjunction with another use case
68 Defines the mode of the flash LED, the high-power white LED attached
88 Defines the source of the flash LED strobe.
125 Intensity of the flash strobe when the flash LED is in flash mode
[all …]
/Linux-v5.4/Documentation/ABI/testing/
Dsysfs-class-led-trigger-netdev13 Specifies the duration of the LED blink in milliseconds.
22 If set to 0 (default), the LED's normal state is off.
23 If set to 1, the LED's normal state reflects the link state
25 Setting this value also immediately changes the LED state.
33 If set to 0 (default), the LED will not blink on transmission.
34 If set to 1, the LED will blink for the milliseconds specified
43 If set to 0 (default), the LED will not blink on reception.
44 If set to 1, the LED will blink for the milliseconds specified
Dsysfs-class-led-flash6 Set the brightness of this LED in the flash strobe mode, in
7 microamperes. The file is created only for the flash LED devices
18 Maximum brightness level for this LED in the flash strobe mode,
28 of the strobe. The file is created only for the flash LED
36 Maximum flash timeout for this LED, in microseconds.
58 * led-over-voltage - flash controller voltage to the flash LED
67 * led-power-supply-over-current - current in the LED power
71 a short or open circuit condition on the indicator LED
73 LED has been below the minimum limit specific to
79 * led-over-temperature - the temperature of the LED has exceeded
Dsysfs-class-led6 Set the brightness of the LED. Most LEDs don't
21 Maximum brightness level for this LED, default is 255 (LED_FULL).
23 If the LED does not support different brightness levels, this
30 Last hardware set brightness level for this LED. Some LEDs
48 Set the trigger for this LED. A trigger is a kernel based source
49 of LED events.
60 Invert the LED on/off state. This parameter is specific to
62 it is useful when driving a LED which is intended to indicate
/Linux-v5.4/Documentation/devicetree/bindings/media/i2c/
Dadp1653.txt1 * Analog Devices ADP1653 flash LED driver
11 There are two LED outputs available - flash and indicator. One LED is
14 Required properties of the LED child node:
17 Required properties of the flash LED child node:

1234567891011