Home
last modified time | relevance | path

Searched +full:flash +full:- +full:led +full:- +full:controller (Results 1 – 25 of 310) sorted by relevance

12345678910>>...13

/linux-6.12.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-6.12.1/Documentation/userspace-api/media/v4l/
Dext-ctrls-flash.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
3 .. _flash-controls:
6 Flash Control Reference
9 The V4L2 flash controls are intended to provide generic access to flash
10 controller devices. Flash controller devices are typically used in
13 The interface can support both LED and xenon flash devices. As of
14 writing this, there is no xenon flash driver using this interface.
17 .. _flash-controls-use-cases:
23 Unsynchronised LED flash (software strobe)
24 ------------------------------------------
[all …]
/linux-6.12.1/drivers/leds/flash/
DKconfig1 # SPDX-License-Identifier: GPL-2.0
6 tristate "LED support for 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
35 tristate "LED support for LM3601x Chips"
40 of flash, torch and indicator classes.
43 tristate "LED support for MAX77693 Flash"
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/leds/
Dqcom,spmi-flash-led.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/leds/qcom,spmi-flash-led.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Flash LED device inside Qualcomm Technologies, Inc. PMICs
10 - Fenglin Wu <quic_fenglinw@quicinc.com>
13 Flash LED controller is present inside some Qualcomm Technologies, Inc. PMICs.
14 The flash LED module can have different number of LED channels supported
24 - enum:
25 - qcom,pm6150l-flash-led
[all …]
Dcommon.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
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.
18 Many LED devices expose more than one current output that can be connected
19 to one or more discrete LED component. Since the arrangement of connections
[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#
7 title: LED driver for MT6360 PMIC from MediaTek Integrated.
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":
[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-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#
7 title: Richtek RT4505 Single Channel LED Driver
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
24 description: I2C slave address of the controller.
[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:
20 - flash-max-microamp : Range from 11mA - 1.5A
[all …]
Dskyworks,aat1290.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
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:
28 flen-gpios:
[all …]
Drichtek,rt8515.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Richtek RT8515 1.5A dual channel LED driver
10 - Linus Walleij <linus.walleij@linaro.org>
13 The Richtek RT8515 is a dual channel (two mode) LED driver that
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:
[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#
7 title: SGMICRO SGM3140 500mA Buck/Boost Charge Pump LED Driver
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
[all …]
/linux-6.12.1/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
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
13 registered in the LED subsystem with led_classdev_flash_register function.
15 Following sysfs attributes are exposed for controlling flash LED devices:
16 (see Documentation/ABI/testing/sysfs-class-led-flash)
[all …]
/linux-6.12.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".
14 Required properties of the LED child node:
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
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/mfd/
Dmediatek,mt6360.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Gene Chen <gene_chen@richtek.com>
14 It is interfaced to host controller using I2C interface.
25 wakeup-source: true
30 interrupt-names:
33 interrupt-controller: true
35 "#interrupt-cells":
41 $ref: /schemas/regulator/mt6360-regulator.yaml#
[all …]
Dmediatek,mt6370.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - ChiYuan Huang <cy_huang@richtek.com>
13 MT6370 is a highly-integrated smart power management IC, which includes a
14 single cell Li-Ion/Li-Polymer switching battery charger, a USB Type-C &
15 Power Delivery (PD) controller, dual flash LED current sources, a RGB LED
26 wakeup-source: true
31 interrupt-controller: true
33 "#interrupt-cells":
[all …]
/linux-6.12.1/include/linux/
Dled-class-flash.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * LED Flash class interface
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 */
51 * Current value of a flash setting along
[all …]
/linux-6.12.1/drivers/leds/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
16 bool "LED Support"
18 Say Y to enable Linux LED support. This allows control of supported
24 tristate "LED Class Support"
26 This option enables the LED sysfs class in /sys/class/leds. You'll
30 tristate "LED Flash Class Support"
33 This option enables the flash LED sysfs class in /sys/class/leds.
34 It wraps LED Class and adds flash LEDs specific sysfs attributes
36 for the flash related features of a LED device. It can be built
40 tristate "LED Multicolor Class Support"
[all …]
/linux-6.12.1/arch/arm/boot/dts/arm/
Darm-realview-eb.dtsi23 #include <dt-bindings/interrupt-controller/irq.h>
24 #include <dt-bindings/gpio/gpio.h>
27 #address-cells = <1>;
28 #size-cells = <1>;
29 compatible = "arm,realview-eb";
48 vmmc: regulator-vmmc {
49 compatible = "regulator-fixed";
50 regulator-name = "vmmc";
51 regulator-min-microvolt = <3300000>;
52 regulator-max-microvolt = <3300000>;
[all …]
Darm-realview-pb1176.dts23 /dts-v1/;
24 #include <dt-bindings/interrupt-controller/irq.h>
25 #include <dt-bindings/gpio/gpio.h>
28 #address-cells = <1>;
29 #size-cells = <1>;
31 compatible = "arm,realview-pb1176";
50 vmmc: regulator-vmmc {
51 compatible = "regulator-fixed";
52 regulator-name = "vmmc";
53 regulator-min-microvolt = <3300000>;
[all …]
Darm-realview-pbx.dtsi23 #include <dt-bindings/interrupt-controller/irq.h>
24 #include <dt-bindings/gpio/gpio.h>
27 #address-cells = <1>;
28 #size-cells = <1>;
29 compatible = "arm,realview-pbx";
49 vmmc: regulator-vmmc {
50 compatible = "regulator-fixed";
51 regulator-name = "vmmc";
52 regulator-min-microvolt = <3300000>;
53 regulator-max-microvolt = <3300000>;
[all …]
/linux-6.12.1/arch/arm64/boot/dts/qcom/
Dmsm8916-longcheer-l8910.dts1 // 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>
11 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
16 chassis-type = "handset";
25 stdout-path = "serial0";
[all …]
Dmsm8939-longcheer-l9100.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 /dts-v1/;
5 #include "msm8939-pm8916.dtsi"
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/input/input.h>
9 #include <dt-bindings/interrupt-controller/irq.h>
10 #include <dt-bindings/leds/common.h>
11 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
12 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h>
17 chassis-type = "handset";
[all …]
Dpm8350c.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
6 #include <dt-bindings/interrupt-controller/irq.h>
7 #include <dt-bindings/spmi/spmi.h>
11 compatible = "qcom,pm8350c", "qcom,spmi-pmic";
13 #address-cells = <1>;
14 #size-cells = <0>;
16 pm8350c_temp_alarm: temp-alarm@a00 {
17 compatible = "qcom,spmi-temp-alarm";
20 #thermal-sensor-cells = <0>;
24 compatible = "qcom,pm8350c-gpio", "qcom,spmi-gpio";
[all …]
/linux-6.12.1/arch/mips/boot/dts/mti/
Dsead3.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
8 #include <dt-bindings/interrupt-controller/mips-gic.h>
11 #address-cells = <1>;
12 #size-cells = <1>;
13 compatible = "mti,sead-3";
14 model = "MIPS SEAD-3";
17 stdout-path = "serial1:115200";
36 cpu_intc: interrupt-controller {
37 compatible = "mti,cpu-interrupt-controller";
[all …]

12345678910>>...13