| /linux/Documentation/leds/ |
| H A D | leds-lm3556.rst | 6 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 …]
|
| H A D | leds-class-flash.rst | 2 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 …]
|
| H A D | index.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 LEDs title 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-cht-wcove [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-class-led-flash | 1 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/drivers/leds/flash/ |
| H A D | Kconfig | 1 # 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" 29 This option enables support for Kinetic KTD2692 LED flash connected 40 of flash, torch and indicator classes. 43 tristate "LED support for MAX77693 Flash" 48 This option enables support for the flash part of the MAX77693 [all …]
|
| H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 3 obj-$(CONFIG_LEDS_MT6360) += leds-mt6360.o 4 obj-$(CONFIG_LEDS_MT6370_FLASH) += leds-mt6370-flash.o 5 obj-$(CONFIG_LEDS_AAT1290) += leds-aat1290.o 6 obj-$(CONFIG_LEDS_AS3645A) += leds-as3645a.o 7 obj-$(CONFIG_LEDS_KTD2692) += leds-ktd2692.o 8 obj-$(CONFIG_LEDS_LM3601X) += leds-lm3601x.o 9 obj-$(CONFIG_LEDS_MAX77693) += leds-max77693.o 10 obj-$(CONFIG_LEDS_QCOM_FLASH) += leds-qcom-flash.o 11 obj-$(CONFIG_LEDS_RT4505) += leds-rt4505.o [all …]
|
| /linux/drivers/leds/trigger/ |
| H A D | Kconfig | 1 # 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/Documentation/devicetree/bindings/leds/ |
| H A D | leds-lm3601x.txt | 1 * 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 …]
|
| H A D | kinetic,ktd2692.yaml | 1 # 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 …]
|
| H A D | skyworks,aat1290.yaml | 1 # 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 …]
|
| H A D | leds-sgm3140.yaml | 1 # 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 22 - ocs,ocp8110 23 - richtek,rt5033-led [all …]
|
| H A D | leds-mt6360.yaml | 1 # 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 …]
|
| H A D | maxim,max77693.yaml | 1 # 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 …]
|
| H A D | leds-rt4505.yaml | 1 # 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 33 - compatible 34 - reg [all …]
|
| H A D | ti,tps61310.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/leds/ti,tps61310.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Texas Instruments TPS6131X flash LED driver 10 - Matthias Fend <matthias.fend@emfend.at> 13 The TPS61310/TPS61311 is a flash LED driver with I2C interface. 15 The TPS6131x provides three constant-current sinks, capable of sinking 16 up to 2 x 400mA (LED1 and LED3) and 800mA (LED2) in flash mode. 19 flash timer, control logic, safety timer and the operating mode, they cannot [all …]
|
| H A D | richtek,rt8515.yaml | 1 # 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/Documentation/firmware-guide/acpi/dsd/ |
| H A D | leds.rst | 1 .. 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 21 individual LEDs. The value of the "reg" property is a contract between the 32 An ASL example of a camera sensor device and a LED driver device for two LEDs is 33 show below. Objects not relevant for LEDs or the references to them have been [all …]
|
| /linux/include/linux/ |
| H A D | led-class-flash.h | 1 /* 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/drivers/leds/ |
| H A D | Makefile | 1 # 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 9 obj-$(CONFIG_LEDS_KUNIT_TEST) += led-test.o 11 # LED Platform Drivers (keep this sorted, M-| sort) 12 obj-$(CONFIG_LEDS_88PM860X) += leds-88pm860x.o 13 obj-$(CONFIG_LEDS_ACER_A500) += leds-acer-a500.o [all …]
|
| /linux/arch/arm/boot/dts/gemini/ |
| H A D | gemini-dlink-dir-685.dts | 2 * 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 …]
|
| H A D | gemini-wbd111.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device Tree file for Wiliboard WBD-111 6 /dts-v1/; 9 #include <dt-bindings/input/input.h> 12 model = "Wiliboard WBD-111"; 13 compatible = "wiligear,wiliboard-wbd111", "cortina,gemini"; 14 #address-cells = <1>; 15 #size-cells = <1>; 25 stdout-path = &uart0; 29 compatible = "gpio-keys"; [all …]
|
| /linux/Documentation/driver-api/gpio/ |
| H A D | drivers-on-gpio.rst | 6 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 31 off/on, for an actual PWM waveform, see pwm-gpio below.) 33 - pwm-gpio: drivers/pwm/pwm-gpio.c is used to toggle a GPIO with a high [all …]
|
| /linux/arch/arm/boot/dts/intel/socfpga/ |
| H A D | socfpga_cyclone5_socrates.dts | 1 // 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 …]
|
| /linux/arch/arm64/boot/dts/qcom/ |
| H A D | msm8916-gplus-fl8005a.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8916-pm8916.dtsi" 6 #include "msm8916-modem-qdsp6.dtsi" 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/leds/common.h> 15 chassis-type = "tablet"; 24 stdout-path = "serial0"; 28 compatible = "simple-battery"; [all …]
|
| /linux/arch/arm/boot/dts/intel/ixp/ |
| H A D | intel-ixp42x-netgear-wg302v1.dts | 1 // SPDX-License-Identifier: ISC 7 /dts-v1/; 9 #include "intel-ixp42x.dtsi" 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 16 #address-cells = <1>; 17 #size-cells = <1>; 28 stdout-path = "uart1:9600n8"; 36 leds { 37 compatible = "gpio-leds"; [all …]
|