Home
last modified time | relevance | path

Searched +full:led +full:- +full:current +full:- +full:microamp (Results 1 – 25 of 31) sorted by relevance

12

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/health/
Dmax30102.txt2 Maxim MAX30105 optical particle-sensing module
8 - compatible: must be "maxim,max30102" or "maxim,max30105"
9 - reg: the I2C address of the sensor
10 - interrupts: the sole interrupt generated by the device
12 Refer to interrupt-controller/interrupts.txt for generic
16 - maxim,red-led-current-microamp: configuration for red LED current
17 - maxim,ir-led-current-microamp: configuration for IR LED current
18 - maxim,green-led-current-microamp: configuration for green LED current
29 maxim,red-led-current-microamp = <7000>;
30 maxim,ir-led-current-microamp = <7000>;
[all …]
Dmax30100.txt6 - compatible: must be "maxim,max30100"
7 - reg: the I2C address of the sensor
8 - interrupts: the sole interrupt generated by the device
10 Refer to interrupt-controller/interrupts.txt for generic
14 - maxim,led-current-microamp: configuration for LED current in microamperes
16 the RED LED, and second value is for the IR LED.
18 Refer to the datasheet for the allowed current values.
25 maxim,led-current-microamp = <24000 50000>;
26 interrupt-parent = <&gpio1>;
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/leds/
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
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 …]
Dleds-ktd2692.txt1 * 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 …]
Dleds-aat1290.txt1 * Skyworks Solutions, Inc. AAT1290 Current Regulator for Flash LEDs
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
[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
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 …]
Dleds-is31fl319x.txt1 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 …]
Dleds-lm3532.txt1 * 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
6 current control for all three channels. The adaptive current regulation
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
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/
Dmax77693.txt1 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 …]
Dti-lmu.txt6 ------ ---------------------------------
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 …]
Dmax77650.yaml1 # 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 …]
/kernel/linux/linux-5.10/drivers/leds/
Dleds-aat1290.c1 // 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 */
76 /* movie mode current scale */
[all …]
Dleds-ktd2692.c1 // 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 …]
Dleds-lm3601x.c1 // 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
81 * @torch_current_max: maximum current for the torch
82 * @flash_current_max: maximum current for the flash
135 static int lm3601x_read_faults(struct lm3601x_led *led) in lm3601x_read_faults() argument
[all …]
Dleds-is31fl319x.c1 // 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
44 /* CS (Current Setting) in CONFIG2 register */
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()
[all …]
Dleds-max77693.c1 // 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 */
83 /* maximum torch current values for FLED outputs */
85 /* maximum flash current values for FLED outputs */
[all …]
Dleds-as3645a.c1 // 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
48 /* Read / Write (Current set register): Reset state: 0110 1001 */
105 ((min_t(u32, AS_PEAK_mA_MAX, a) - 1250) / 250)
[all …]
Dleds-lm3532.c1 // SPDX-License-Identifier: GPL-2.0
2 // TI LM3532 LED driver
3 // Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com/
16 #define LM3532_NAME "lm3532-led"
123 * @led_dev: led class device
125 * @control_bank: Control bank the LED is associated to
126 * @mode: Mode of the LED string
128 * @num_leds: Number of LED strings are supported in this array
129 * @full_scale_current: The full-scale current setting for the current sink.
130 * @led_strings: The LED strings supported in this array
[all …]
Dleds-aw2013.c1 // 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 …]
/kernel/linux/linux-5.10/drivers/iio/health/
Dmax30102.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * max30102.c - Support for MAX30102 heart rate and pulse oximeter sensor
8 * Copyright (C) 2017 Peter Meerwald-Stadler <pmeerw@pmeerw.net>
10 * 7-bit I2C chip address: 0x57
71 #define MAX30102_REG_MODE_CONFIG_MODE_HR 0x02 /* red LED */
72 #define MAX30102_REG_MODE_CONFIG_MODE_HR_SPO2 0x03 /* red + IR LED */
73 #define MAX30102_REG_MODE_CONFIG_MODE_MULTI 0x07 /* multi-LED mode */
77 #define MAX30102_REG_MODE_CONTROL_SLOT21 0x11 /* multi-LED control */
111 __be32 processed_buffer[3]; /* 3 x 18-bit (padded to 32-bits) */
154 .scan_index = -1,
[all …]
Dmax30100.c1 // SPDX-License-Identifier: GPL-2.0+
3 * max30100.c - Support for MAX30100 heart rate and pulse oximeter sensor
76 __be16 buffer[2]; /* 2 16-bit channels */
147 .scan_index = -1,
153 return regmap_update_bits(data->regmap, MAX30100_REG_MODE_CONFIG, in max30100_set_powermode()
162 ret = regmap_write(data->regmap, MAX30100_REG_FIFO_WR_PTR, 0); in max30100_clear_fifo()
166 ret = regmap_write(data->regmap, MAX30100_REG_FIFO_OVR_CTR, 0); in max30100_clear_fifo()
170 return regmap_write(data->regmap, MAX30100_REG_FIFO_RD_PTR, 0); in max30100_clear_fifo()
202 ret = regmap_read(data->regmap, MAX30100_REG_INT_STATUS, &val); in max30100_fifo_count()
208 return MAX30100_REG_FIFO_DATA_ENTRY_COUNT - 1; in max30100_fifo_count()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/proximity/
Dvishay,vcnl3020.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Ivan Mikhaylov <i.mikhaylov@yadro.com>
14 that the infrared emitter is included in the package. It has 16-bit
24 - vishay,vcnl3020
32 vdd-supply:
35 vddio-supply:
38 vishay,led-current-microamp:
40 The driver current for the LED used in proximity sensing.
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/usb/
Dusb251xb.txt1 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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/light/
Dtsl2772.yaml1 # 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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/leds/backlight/
Dqcom-wled.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/leds/backlight/qcom-wled.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Bjorn Andersson <bjorn.andersson@linaro.org>
11 - Kiran Gunda <kgunda@codeaurora.org>
21 - qcom,pm8941-wled
22 - qcom,pmi8998-wled
23 - qcom,pm660l-wled
24 - qcom,pm8150l-wled
[all …]

12