Home
last modified time | relevance | path

Searched +full:flash +full:- +full:leds (Results 1 – 25 of 489) sorted by relevance

12345678910>>...20

/Linux-v6.1/Documentation/leds/
Dleds-lm3556.rst6 1.5 A Synchronous Boost LED Flash Driver w/ High-Side Current Source
10 - Daniel Jeong
12 Contact:Daniel Jeong(daniel.jeong-at-ti.com, gshark.jeong-at-gmail.com)
15 -----------
16 There are 3 functions in LM3556, Flash, Torch and Indicator.
18 Flash Mode
21 In Flash Mode, the LED current source(LED) provides 16 target current levels
22 from 93.75 mA to 1500 mA.The Flash currents are adjusted via the CURRENT
23 CONTROL REGISTER(0x09).Flash mode is activated by the ENABLE REGISTER(0x0A),
26 LM3556 Flash can be controlled through /sys/class/leds/flash/brightness file
[all …]
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
8 by default and the flash ones only if a driver declares it by setting
11 In order to enable the support for flash LEDs CONFIG_LEDS_CLASS_FLASH symbol
12 must be defined in the kernel config. A LED Flash class driver must be
15 Following sysfs attributes are exposed for controlling flash LED devices:
16 (see Documentation/ABI/testing/sysfs-class-led-flash)
18 - flash_brightness
[all …]
Dindex.rst1 .. SPDX-License-Identifier: GPL-2.0
4 LEDs chapter
10 leds-class
11 leds-class-flash
12 leds-class-multicolor
13 ledtrig-oneshot
14 ledtrig-transient
15 ledtrig-usbport
19 leds-blinkm
20 leds-el15203000
[all …]
/Linux-v6.1/Documentation/ABI/testing/
Dsysfs-class-led-flash1 What: /sys/class/leds/<led>/flash_brightness
6 Set the brightness of this LED in the flash strobe mode, in
7 microamperes. The file is created only for the flash LED devices
8 that support setting flash brightness.
11 /sys/class/leds/<led>/max_flash_brightness.
13 What: /sys/class/leds/<led>/max_flash_brightness
18 Maximum brightness level for this LED in the flash strobe mode,
21 What: /sys/class/leds/<led>/flash_timeout
26 Hardware timeout for flash, in microseconds. The flash strobe
28 of the strobe. The file is created only for the flash LED
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/leds/
Dcommon.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/leds/common.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Common leds properties
10 - Jacek Anaszewski <jacek.anaszewski@gmail.com>
11 - Pavel Machek <pavel@ucw.cz>
14 LED and flash LED devices provide the same basic functionality as current
15 regulators, but extended with LED and flash LED specific features like
16 blinking patterns, flash timeout, flash faults and external flash strobe mode.
[all …]
Dams,as3645a.txt3 The AS3645A flash LED controller can drive two LEDs, one high current
4 flash LED and one indicator LED. The high current flash LED can be
18 #address-cells : 1
19 #size-cells : 0
22 Required properties of the flash child node (0)
26 flash-timeout-us: Flash timeout in microseconds. The value must be in
28 flash-max-microamp: Maximum flash current in microamperes. Has to be
31 led-max-microamp: Maximum torch (assist) current in microamperes. The
34 ams,input-max-microamp: Maximum flash controller input current. The
39 Optional properties of the flash child node
[all …]
Dleds-pm8058.txt3 The Qualcomm PM8058 is a multi-functional device which contains
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
7 different things than flash or keypad backlight: their names
8 are more of a suggestion than a hard-wired usecase.
10 Hardware-wise the different LEDs support slightly different
11 output currents. The "flash" LEDs do not need to charge nor
15 The LEDs appear as children to the PM8058 device, with the
17 mfd/qcom-pm8xxx.txt.
19 Each LED is represented as a sub-node of the syscon device. Each
[all …]
Dleds-lm3601x.txt1 * Texas Instruments - lm3601x Single-LED Flash Driver
3 The LM3601X are ultra-small LED flash drivers that
7 - compatible : Can be one of the following
10 - reg : I2C slave address
11 - #address-cells : 1
12 - #size-cells : 0
15 - reg : 0 - Indicates a IR mode
16 1 - Indicates a Torch (white LED) mode
18 Required properties for flash LED child nodes:
19 See Documentation/devicetree/bindings/leds/common.txt
[all …]
Dkinetic,ktd2692.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/leds/kinetic,ktd2692.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: KTD2692 Flash LED Driver from Kinetic Technologies
10 - Markuss Broks <markuss.broks@gmail.com>
13 KTD2692 is the ideal power solution for high-power flash LEDs.
14 It uses ExpressWire single-wire programming for maximum flexibility.
17 enable/disable the IC, Movie(max 1/3 of Flash current) / Flash mode current,
18 Flash timeout, LVP(low voltage protection).
[all …]
Dskyworks,aat1290.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/leds/skyworks,aat1290.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Skyworks Solutions, Inc. AAT1290 Current Regulator for Flash LEDs
10 - Jacek Anaszewski <jacek.anaszewski@gmail.com>
11 - Krzysztof Kozlowski <krzk@kernel.org>
15 asserted high, enable flash strobe and movie mode (max 1/2 of flash current)
18 independent of the flash chip. The switch is controlled with pin control.
24 enset-gpios:
[all …]
Dleds-sgm3140.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/leds/leds-sgm3140.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Luca Weiss <luca@z3ntu.xyz>
13 The SGM3140 is a current-regulated charge pump which can regulate two current
14 levels for Flash and Torch modes.
17 http://www.sg-micro.com/uploads/soft/20190626/1561535688.pdf
23 enable-gpios:
27 flash-gpios:
[all …]
Dmaxim,max77693.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/leds/maxim,max77693.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Maxim MAX77693 MicroUSB and Companion Power Management IC LEDs
10 - Krzysztof Kozlowski <krzk@kernel.org>
16 There are two LED outputs available - FLED1 and FLED2. Each of them can
26 const: maxim,max77693-led
28 maxim,boost-mode:
34 See LEDS_BOOST_* in include/dt-bindings/leds/common.h.
[all …]
Dleds-rt4505.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/leds/leds-rt4505.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - ChiYuan Huang <cy_huang@richtek.com>
13 The RT4505 is a flash LED driver that can support up to 375mA and 1.5A for
14 torch and flash mode, respectively.
17 https://www.richtek.com/assets/product_file/RT4505/DS4505-02.pdf
32 - compatible
33 - reg
[all …]
Dleds-mt6360.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/leds/leds-mt6360.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Gene Chen <gene_chen@richtek.com>
15 Add MT6360 LED driver include 2-channel Flash LED with torch/strobe mode,
16 and 4-channel RGB LED support Register/Flash/Breath Mode
20 const: mediatek,mt6360-led
22 "#address-cells":
25 "#size-cells":
[all …]
Drichtek,rt8515.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/leds/richtek,rt8515.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Linus Walleij <linus.walleij@linaro.org>
14 supports driving a white LED in flash or torch mode. The maximum
22 enf-gpios:
24 description: A connection to the 'ENF' (enable flash) pin.
26 ent-gpios:
30 richtek,rfs-ohms:
[all …]
/Linux-v6.1/drivers/leds/trigger/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
6 This option enables trigger support for the leds class.
7 These triggers allow kernel events to drive the LEDs and can
15 This allows LEDs to be controlled by a programmable timer
18 For more details read Documentation/leds/leds-class.rst.
23 tristate "LED One-shot Trigger"
25 This allows LEDs to blink in one-shot pulses with parameters
39 This allows LEDs to be controlled by disk activity.
46 This allows LEDs to be controlled by MTD activity.
52 This allows LEDs to be controlled by a CPU load average.
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/media/i2c/
Dadp1653.txt1 * Analog Devices ADP1653 flash LED driver
5 - compatible: Must contain "adi,adp1653"
7 - reg: I2C slave address
9 - enable-gpios: Specifier of the GPIO connected to EN pin
11 There are two LED outputs available - flash and indicator. One LED is
12 represented by one child node, nodes need to be named "flash" and "indicator".
15 - led-max-microamp : see Documentation/devicetree/bindings/leds/common.txt
17 Required properties of the flash LED child node:
19 - flash-max-microamp : see Documentation/devicetree/bindings/leds/common.txt
20 - flash-timeout-us : see Documentation/devicetree/bindings/leds/common.txt
[all …]
/Linux-v6.1/drivers/leds/flash/
DKconfig1 # SPDX-License-Identifier: GPL-2.0
12 This option enables support for the LEDs on the AAT1290.
15 tristate "AS3645A and LM3555 LED flash controllers support"
19 Enable LED flash class support for AS3645A LED flash
20 controller. V4L2 flash API is provided as well if
24 tristate "LED support for Kinetic KTD2692 flash LED controller"
28 This option enables support for Kinetic KTD2692 LED flash connected
39 of flash, torch and indicator classes.
42 tristate "LED support for MAX77693 Flash"
47 This option enables support for the flash part of the MAX77693
[all …]
/Linux-v6.1/Documentation/firmware-guide/acpi/dsd/
Dleds.rst1 .. SPDX-License-Identifier: GPL-2.0
5 Describing and referring to LEDs in ACPI
8 Individual LEDs are described by hierarchical data extension [5] nodes under the
10 tells the numerical ID of each individual LED output to which the LEDs are
11 connected. [leds] The hierarchical data nodes are named "led@X", where X is the
14 Referring to LEDs in Device tree is documented in [video-interfaces], in
15 "flash-leds" property documentation. In short, LEDs are directly referred to by
20 the same mechanism on ACPI is not possible. A mechanism to refer to non-device
21 ACPI nodes is documented in [data-node-ref].
26 individual LEDs. The value of the "reg" property is a contract between the
[all …]
/Linux-v6.1/drivers/leds/
DMakefile1 # SPDX-License-Identifier: GPL-2.0
4 obj-$(CONFIG_NEW_LEDS) += led-core.o
5 obj-$(CONFIG_LEDS_CLASS) += led-class.o
6 obj-$(CONFIG_LEDS_CLASS_FLASH) += led-class-flash.o
7 obj-$(CONFIG_LEDS_CLASS_MULTICOLOR) += led-class-multicolor.o
8 obj-$(CONFIG_LEDS_TRIGGERS) += led-triggers.o
10 # LED Platform Drivers (keep this sorted, M-| sort)
11 obj-$(CONFIG_LEDS_88PM860X) += leds-88pm860x.o
12 obj-$(CONFIG_LEDS_ACER_A500) += leds-acer-a500.o
13 obj-$(CONFIG_LEDS_ADP5520) += leds-adp5520.o
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
13 LEDs from both userspace and optionally, by kernel events (triggers).
20 This option enables the LED sysfs class in /sys/class/leds. You'll
21 need this to do anything useful with LEDs. If unsure, say Y.
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
37 This option enables the multicolor LED sysfs class in /sys/class/leds.
40 for multicolor LEDs that are grouped together. This class is not
[all …]
/Linux-v6.1/include/linux/
Dled-class-flash.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * LED Flash class interface
11 #include <linux/leds.h>
17 * Supported led fault bits - must be kept in synch
34 /* set flash brightness */
37 /* get flash brightness */
40 /* set flash strobe state */
42 /* get flash strobe state */
44 /* set flash timeout */
46 /* get the flash LED fault */
[all …]
/Linux-v6.1/Documentation/driver-api/gpio/
Ddrivers-on-gpio.rst6 the right in-kernel and userspace APIs/ABIs for the job, and that these
10 - leds-gpio: drivers/leds/leds-gpio.c will handle LEDs connected to GPIO
13 - ledtrig-gpio: drivers/leds/trigger/ledtrig-gpio.c will provide a LED trigger,
15 (and that LED may in turn use the leds-gpio as per above).
17 - gpio-keys: drivers/input/keyboard/gpio_keys.c is used when your GPIO line
20 - gpio-keys-polled: drivers/input/keyboard/gpio_keys_polled.c is used when your
24 - gpio_mouse: drivers/input/mouse/gpio_mouse.c is used to provide a mouse with
29 - gpio-beeper: drivers/input/misc/gpio-beeper.c is used to provide a beep from
32 - extcon-gpio: drivers/extcon/extcon-gpio.c is used when you need to read an
36 - restart-gpio: drivers/power/reset/gpio-restart.c is used to restart/reboot
[all …]
/Linux-v6.1/arch/arm/boot/dts/
Dgemini-dlink-dir-685.dts2 * Device Tree file for D-Link DIR-685 Xtreme N Storage Router
5 /dts-v1/;
8 #include <dt-bindings/input/input.h>
11 model = "D-Link DIR-685 Xtreme N Storage Router";
12 compatible = "dlink,dir-685", "cortina,gemini";
13 #address-cells = <1>;
14 #size-cells = <1>;
17 /* 128 MB SDRAM in 2 x Hynix HY5DU121622DTP-D43 */
24 stdout-path = "uart0:19200n8";
28 compatible = "gpio-keys";
[all …]
Dsocfpga_cyclone5_socrates.dts1 // SPDX-License-Identifier: GPL-2.0+
10 compatible = "ebv,socrates", "altr,socfpga-cyclone5", "altr,socfpga";
18 stdout-path = "serial0:115200n8";
27 leds: gpio-leds { label
32 phy-mode = "rgmii";
53 &leds {
54 compatible = "gpio-leds";
59 linux,default-trigger = "heartbeat";
80 flash: flash@0 { label
81 #address-cells = <1>;
[all …]

12345678910>>...20