/linux-6.12.1/Documentation/devicetree/bindings/leds/ |
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 …]
|
D | qcom,spmi-flash-led.yaml | 1 # 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 …]
|
D | skyworks,aat1290.yaml | 1 # 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 …]
|
D | ams,as3645a.txt | 3 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 …]
|
D | richtek,rt8515.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 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: 34 resistors limits the maximum flash current. This must be set [all …]
|
D | kinetic,ktd2692.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 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). 21 LED current will be ramped up to the flash-mode current level. [all …]
|
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: 20 - flash-max-microamp : Range from 11mA - 1.5A [all …]
|
D | maxim,max77693.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 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. 38 maxim,boost-mvout: 41 Valid values: 3300 - 5500, step by 25 (rounded down) [all …]
|
D | common.yaml | 1 # 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. 25 led-sources: 30 $ref: /schemas/types.yaml#/definitions/uint32-array [all …]
|
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 …]
|
/linux-6.12.1/Documentation/devicetree/bindings/media/i2c/ |
D | adp1653.txt | 1 * 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-6.12.1/Documentation/devicetree/bindings/mfd/ |
D | mediatek,mt6370.yaml | 1 # 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 …]
|
D | maxim,max77693.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chanwoo Choi <cw00.choi@samsung.com> 11 - Krzysztof Kozlowski <krzk@kernel.org> 18 includes voltage current regulators, charger, LED/flash, haptic motor driver 37 max77693-muic: 44 const: maxim,max77693-muic 47 - compatible 55 const: maxim,max77693-muic [all …]
|
D | mediatek,mt6360.yaml | 1 # 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> 25 wakeup-source: true 30 interrupt-names: 33 interrupt-controller: true 35 "#interrupt-cells": 41 $ref: /schemas/regulator/mt6360-regulator.yaml# 47 $ref: /schemas/usb/mediatek,mt6360-tcpc.yaml# [all …]
|
/linux-6.12.1/drivers/leds/flash/ |
D | leds-aat1290.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * LED Flash class driver for the AAT1290 4 * 1.5A Step-Up Current Regulator for Flash LEDs 13 #include <linux/led-class-flash.h> 21 #include <media/v4l2-flash-led-class.h> 52 /* maximum LED current in flash mode */ 54 /* maximum flash timeout */ 58 /* max LED brightness level */ 68 /* corresponding LED Flash class device */ 70 /* V4L2 Flash device */ [all …]
|
D | leds-as3645a.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * drivers/leds/leds-as3645a.c - AS3645A and LM3555 flash controllers driver 5 * Copyright (C) 2008-2011 Nokia Corporation 16 #include <linux/led-class-flash.h> 23 #include <media/v4l2-flash-led-class.h> 25 #define AS_TIMER_US_TO_CODE(t) (((t) / 1000 - 100) / 50) 30 /* Read-only Design info register: Reset state: xxxx 0001 */ 35 /* Read-only Version control register: Reset state: 0000 0000 105 ((min_t(u32, AS_PEAK_mA_MAX, a) - 1250) / 250) 156 static int as3645a_write(struct as3645a *flash, u8 addr, u8 val) in as3645a_write() argument [all …]
|
D | leds-ktd2692.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * LED driver : leds-ktd2692.c 12 #include <linux/leds-expresswire.h> 13 #include <linux/led-class-flash.h> 25 /* Value related the flash mode */ 30 /* Macro for getting offset of flash timeout */ 44 /* Movie / Flash Mode Control */ 54 /* maximum LED current in flash mode */ 56 /* maximum flash timeout */ 58 /* max LED brightness level */ [all …]
|
D | leds-rt4505.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include <linux/led-class-flash.h> 11 #include <media/v4l2-flash-led-class.h> 48 struct led_classdev_flash flash; member 56 container_of(lcdev, struct rt4505_priv, flash.led_cdev); in rt4505_torch_brightness_set() 60 mutex_lock(&priv->lock); in rt4505_torch_brightness_set() 63 ret = regmap_update_bits(priv->regmap, in rt4505_torch_brightness_set() 65 (level - 1) << RT4505_ITORCH_SHIFT); in rt4505_torch_brightness_set() 72 ret = regmap_update_bits(priv->regmap, RT4505_REG_ENABLE, in rt4505_torch_brightness_set() 76 mutex_unlock(&priv->lock); in rt4505_torch_brightness_set() [all …]
|
D | leds-mt6360.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include <linux/led-class-flash.h> 9 #include <linux/led-class-multicolor.h> 15 #include <media/v4l2-flash-led-class.h> 29 #define MT6360_ISNK_ENMASK(_led_no) BIT(7 - (_led_no)) 39 #define MT6360_REG_FLEDBASE(_id) (0x372 + 4 * (_id - MT6360_LED_FLASH1)) 49 #define MT6360_FLCSEN_MASK(_id) BIT(MT6360_LED_FLASH2 - _id) 78 struct led_classdev_flash flash; member 102 struct mt6360_priv *priv = led->priv; in mt6360_mc_brightness_set() 106 mutex_lock(&priv->lock); in mt6360_mc_brightness_set() [all …]
|
D | leds-lm3601x.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Flash and torch driver for Texas Instruments LM3601X LED 3 // Flash driver chip family 4 // Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/ 9 #include <linux/led-class-flash.h> 73 * struct lm3601x_led - private lm3601x LED data 74 * @fled_cdev: flash LED class device pointer 78 * @flash_timeout: the timeout for the flash 81 * @flash_current_max: maximum current for the flash 82 * @max_flash_timeout: maximum timeout for the flash [all …]
|
D | leds-qcom-flash.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 #include <linux/led-class-flash.h> 14 #include <media/v4l2-flash-led-class.h> 163 struct led_classdev_flash flash; member 177 struct qcom_flash_data *flash_data = led->flash_data; in set_flash_module_en() 181 for (i = 0; i < led->chan_count; i++) in set_flash_module_en() 182 led_mask |= BIT(led->chan_id[i]); in set_flash_module_en() 184 mutex_lock(&flash_data->lock); in set_flash_module_en() 186 flash_data->chan_en_bits |= led_mask; in set_flash_module_en() 188 flash_data->chan_en_bits &= ~led_mask; in set_flash_module_en() [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/power/supply/ |
D | bq25980.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: TI BQ25980 Flash Charger 11 - Andrew Davis <afd@ti.com> 14 The BQ25980, BQ25975, and BQ25960 are a series of flash chargers intended 15 for use in high-power density portable electronics. These inductorless 20 - $ref: power-supply.yaml# 25 - ti,bq25980 26 - ti,bq25975 [all …]
|
/linux-6.12.1/Documentation/firmware-guide/acpi/dsd/ |
D | leds.rst | 1 .. SPDX-License-Identifier: GPL-2.0 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]. 44 ToUUID("dbb8e3e6-5886-4ba6-8795-1319f52a966b"), 51 ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"), 54 Package () { "flash-max-microamp", 1000000 }, 55 Package () { "flash-timeout-us", 200000 }, 56 Package () { "led-max-microamp", 100000 }, [all …]
|
/linux-6.12.1/arch/arm64/boot/dts/qcom/ |
D | sdm845-xiaomi-beryllium-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 /dts-v1/; 5 #include <dt-bindings/leds/common.h> 6 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 7 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 8 #include <dt-bindings/sound/qcom,q6afe.h> 9 #include <dt-bindings/sound/qcom,q6asm.h> 11 #include "sdm845-wcd9340.dtsi" 19 /delete-node/ &tz_mem; 20 /delete-node/ &adsp_mem; [all …]
|
/linux-6.12.1/arch/arm64/boot/dts/marvell/ |
D | armada-7040-db.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/gpio/gpio.h> 9 #include "armada-7040.dtsi" 13 compatible = "marvell,armada7040-db", "marvell,armada7040", 14 "marvell,armada-ap806-quad", "marvell,armada-ap806"; 17 stdout-path = "serial0:115200n8"; 31 cp0_exp_usb3_0_current_regulator: gpio-regulator { 32 compatible = "regulator-gpio"; 33 regulator-name = "cp0-usb3-0-current-regulator"; 34 regulator-type = "current"; [all …]
|