/linux-5.10/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 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 20 - flash-timeout-us : see Documentation/devicetree/bindings/leds/common.txt [all …]
|
/linux-5.10/Documentation/devicetree/bindings/leds/ |
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 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 51 led-max-microamp: Maximum indicator current. The allowed values are 65 #include <dt-bindings/leds/common.h> [all …]
|
D | leds-ktd2692.txt | 1 * Kinetic Technologies - KTD2692 Flash LED Driver 3 KTD2692 is the ideal power solution for high-power flash LEDs. 4 It uses ExpressWire single-wire programming for maximum flexibility. 6 The ExpressWire interface through CTRL pin can control LED on/off and 7 enable/disable the IC, Movie(max 1/3 of Flash current) / Flash mode current, 11 LED current will be ramped up to the flash-mode current level. 14 - compatible : Should be "kinetic,ktd2692". 15 - ctrl-gpios : Specifier of the GPIO connected to CTRL pin. 16 - aux-gpios : Specifier of the GPIO connected to AUX pin. 19 - vin-supply : "vin" LED supply (2.7V to 5.5V). [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 | leds-aat1290.txt | 4 asserted high, enable flash strobe and movie mode (max 1/2 of flash current) 11 - compatible : Must be "skyworks,aat1290". 12 - flen-gpios : Must be device tree identifier of the flash device FL_EN pin. 13 - enset-gpios : Must be device tree identifier of the flash device EN_SET pin. 16 - pinctrl-names : Must contain entries: "default", "host", "isp". Entries 22 A discrete LED element connected to the device must be represented by a child 23 node - see Documentation/devicetree/bindings/leds/common.txt. 25 Required properties of the LED child node: 26 - led-max-microamp : see Documentation/devicetree/bindings/leds/common.txt 27 - flash-max-microamp : see Documentation/devicetree/bindings/leds/common.txt [all …]
|
D | leds-aw2013.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/leds/leds-aw2013.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: AWINIC AW2013 3-channel LED Driver 10 - Nikita Travkin <nikitos.tr@gmail.com> 13 The AW2013 is a 3-channel LED driver with I2C interface. It can control 14 LED brightness with PWM output. 23 vcc-supply: 26 "#address-cells": [all …]
|
D | leds-is31fl319x.txt | 1 LEDs connected to is31fl319x LED controller chip 4 - compatible : Should be any of 10 "si-en,sn3199". 11 - #address-cells: Must be 1. 12 - #size-cells: Must be 0. 13 - reg: 0x64, 0x65, 0x66, or 0x67. 16 - audio-gain-db : audio gain selection for external analog modulation input. 17 Valid values: 0 - 21, step by 3 (rounded down) 19 - shutdown-gpios : Specifier of the GPIO connected to SDB pin of the chip. 21 Each led is represented as a sub-node of the issi,is31fl319x device. [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 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 20 can influence the way of the LED device initialization, the LED components [all …]
|
D | leds-lm3692x.txt | 1 * Texas Instruments - LM3692x Highly Efficient White LED Driver 3 The LM3692x is an ultra-compact, highly efficient, 4 white-LED driver designed for LCD display backlighting. 7 LED strings it supports. The LM36922 supports two strings while the LM36923 11 - compatible: 14 - reg : I2C slave address 15 - #address-cells : 1 16 - #size-cells : 0 19 - enable-gpios : gpio pin to enable/disable the device. 20 - vled-supply : LED supply [all …]
|
D | leds-lm3532.txt | 1 * Texas Instruments - lm3532 White LED driver with ambient light sensing 4 The LM3532 provides the 3 high-voltage, low-side current sinks. The device is 5 programmable over an I2C-compatible interface and has independent 7 method allows for different LED currents in each current sink thus allowing 11 each with 32 internal voltage setting resistors, 8-bit logarithmic and linear 16 - compatible : "ti,lm3532" 17 - reg : I2C slave address 18 - #address-cells : 1 19 - #size-cells : 0 22 - enable-gpios : gpio pin to enable (active high)/disable the device. [all …]
|
/linux-5.10/Documentation/devicetree/bindings/mfd/ |
D | max77693.txt | 1 Maxim MAX77693 multi-function device 4 - PMIC, 5 - CHARGER, 6 - LED, 7 - MUIC, 8 - HAPTIC 14 - compatible : Must be "maxim,max77693". 15 - reg : Specifies the i2c slave address of PMIC block. 16 - interrupts : This i2c device has an IRQ line connected to the main SoC. 19 - regulators : The regulators of max77693 have to be instantiated under subnode [all …]
|
D | ti-lmu.txt | 6 ------ --------------------------------- 9 LM3633 Backlight, LED and fault monitor 14 - compatible: Should be one of: 20 - reg: I2C slave address. 28 - enable-gpios: A GPIO specifier for hardware enable pin. 29 - ramp-up-us: Current ramping from one brightness level to 31 Range from 2048 us - 117.44 s 32 - ramp-down-us: Current ramping from one brightness level to 34 Range from 2048 us - 117.44 s 35 - ti,brightness-resolution - This determines whether to use 8 bit brightness [all …]
|
D | max77650.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: MAX77650 ultra low-power PMIC from Maxim Integrated. 10 - Bartosz Golaszewski <bgolaszewski@baylibre.com> 13 MAX77650 is an ultra-low power PMIC providing battery charging and power 14 supply for low-power IoT and wearable applications. 16 The GPIO-controller module is represented as part of the top-level PMIC 19 For device-tree bindings of other sub-modules (regulator, power supply, 21 sub-system directories. [all …]
|
/linux-5.10/drivers/leds/ |
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 12 #include <linux/led-class-flash.h> 20 #include <media/v4l2-flash-led-class.h> 49 /* maximum LED current in movie mode */ 51 /* maximum LED current in flash mode */ 57 /* max LED brightness level */ 67 /* corresponding LED Flash class device */ 96 static void aat1290_as2cwire_write(struct aat1290_led *led, int addr, int value) in aat1290_as2cwire_write() argument [all …]
|
D | leds-ktd2692.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * LED driver : leds-ktd2692.c 12 #include <linux/led-class-flash.h> 64 /* maximum LED current in movie mode */ 66 /* maximum LED current in flash mode */ 70 /* max LED brightness level */ 75 /* Related LED Flash class device */ 95 static void ktd2692_expresswire_start(struct ktd2692_context *led) in ktd2692_expresswire_start() argument 97 gpiod_direction_output(led->ctrl_gpio, KTD2692_HIGH); in ktd2692_expresswire_start() 101 static void ktd2692_expresswire_reset(struct ktd2692_context *led) in ktd2692_expresswire_reset() argument [all …]
|
D | leds-lm3601x.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Flash and torch driver for Texas Instruments LM3601X LED 4 // Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/ 9 #include <linux/led-class-flash.h> 73 * struct lm3601x_led - 74 * @fled_cdev: flash LED class device pointer 78 * @led_name: LED label for the Torch or IR LED 135 static int lm3601x_read_faults(struct lm3601x_led *led) in lm3601x_read_faults() argument 140 ret = regmap_read(led->regmap, LM3601X_FLAGS_REG, &flags_val); in lm3601x_read_faults() 142 return -EIO; in lm3601x_read_faults() [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) 107 /* LED numbers for Devicetree */ [all …]
|
D | leds-is31fl319x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright 2015-16 Golden Delicious Computers 7 * LED driver for the IS31FL319{0,1,3,6,9} to drive 1, 3, 6 or 9 light 105 { .compatible = "si-en,sn3199", .data = &is31fl3199_cdef, }, 113 struct is31fl319x_led *led = container_of(cdev, struct is31fl319x_led, in is31fl319x_brightness_set() local 115 struct is31fl319x_chip *is31 = led->chip; in is31fl319x_brightness_set() 116 int chan = led - is31->leds; in is31fl319x_brightness_set() 121 dev_dbg(&is31->client->dev, "%s %d: %d\n", __func__, chan, brightness); in is31fl319x_brightness_set() 123 mutex_lock(&is31->lock); in is31fl319x_brightness_set() 126 ret = regmap_write(is31->regmap, IS31FL319X_PWM(chan), brightness); in is31fl319x_brightness_set() [all …]
|
D | leds-max77693.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * LED Flash class driver for the flash cell of max77693 mfd. 11 #include <linux/led-class-flash.h> 13 #include <linux/mfd/max77693-common.h> 14 #include <linux/mfd/max77693-private.h> 20 #include <media/v4l2-flash-led-class.h> 59 /* corresponding LED Flash class device */ 80 /* sub led data */ 96 /* bitmask of FLED outputs use state (bit 0. - FLED1, bit 1. - FLED2) */ 109 return (ua - FLASH_IOUT_MIN) / FLASH_IOUT_STEP; in max77693_led_iout_to_reg() [all …]
|
D | leds-aw2013.c | 1 // SPDX-License-Identifier: GPL-2.0+ 2 // Driver for Awinic AW2013 3-channel LED driver 23 /* LED channel enable register */ 27 /* LED channel control registers */ 29 #define AW2013_LCFG_IMAX_MASK (BIT(0) | BIT(1)) // Should be 0-3 34 /* LED channel PWM registers */ 37 /* LED channel timing registers */ 39 #define AW2013_LEDT0_T1(x) ((x) << 4) // Should be 0-7 40 #define AW2013_LEDT0_T2(x) (x) // Should be 0-5 43 #define AW2013_LEDT1_T3(x) ((x) << 4) // Should be 0-7 [all …]
|
/linux-5.10/Documentation/firmware-guide/acpi/dsd/ |
D | leds.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 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 11 connected. [3] The hierarchical data nodes are named "led@X", where X is the 12 number of the LED output. 14 Referring to LEDs in Device tree is documented in [4], in "flash-leds" property 19 mechanism on ACPI is not possible. A mechanism to refer to non-device ACPI nodes 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. [all …]
|
/linux-5.10/Documentation/devicetree/bindings/usb/ |
D | usb251xb.txt | 1 Microchip USB 2.0 Hi-Speed Hub Controller 4 Hi-Speed Controller. 7 - compatible : Should be "microchip,usb251xb" or one of the specific types: 11 - reg : I2C address on the selected bus (default is <0x2C>) 14 - reset-gpios : Should specify the gpio for hub reset 15 - vdd-supply : Should specify the phandle to the regulator supplying vdd 16 - skip-config : Skip Hub configuration, but only send the USB-Attach command 17 - vendor-id : Set USB Vendor ID of the hub (16 bit, default is 0x0424) 18 - product-id : Set USB Product ID of the hub (16 bit, default depends on type) 19 - device-id : Set USB Device ID of the hub (16 bit, default is 0x0bb3) [all …]
|
/linux-5.10/Documentation/devicetree/bindings/iio/light/ |
D | tsl2772.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Brian Masney <masneyb@onstation.org> 14 https://ams.com/documents/20143/36005/TSL2772_DS000181_2-00.pdf 19 - amstaos,tsl2571 20 - amstaos,tsl2671 21 - amstaos,tmd2671 22 - amstaos,tsl2771 23 - amstaos,tmd2771 [all …]
|
/linux-5.10/arch/arm64/boot/dts/qcom/ |
D | qrb5165-rb5.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 17 compatible = "qcom,qrb5165-rb5", "qcom,sm8250"; 24 stdout-path = "serial0:115200n8"; 27 dc12v: dc12v-regulator { 28 compatible = "regulator-fixed"; 29 regulator-name = "DC12V"; 30 regulator-min-microvolt = <12000000>; [all …]
|
/linux-5.10/arch/arm/boot/dts/ |
D | exynos4412-galaxy-s3.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 9 /dts-v1/; 10 #include "exynos4412-midas.dtsi" 20 flen-gpios = <&gpj1 1 GPIO_ACTIVE_HIGH>; 21 enset-gpios = <&gpj1 2 GPIO_ACTIVE_HIGH>; 23 pinctrl-names = "default", "host", "isp"; 24 pinctrl-0 = <&camera_flash_host>; 25 pinctrl-1 = <&camera_flash_host>; 26 pinctrl-2 = <&camera_flash_isp>; 28 flash-led { [all …]
|