/Linux-v6.1/Documentation/devicetree/bindings/iio/health/ |
D | maxim,max30102.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Maxim MAX30102 heart rate and pulse oximeter and MAX30105 particle-sensor 10 - Matt Ranostay <matt.ranostay@konsulko.com> 15 - maxim,max30102 16 - maxim,max30105 25 maxim,red-led-current-microamp: 26 description: RED LED current. Each step is approximately 200 microamps. 30 maxim,ir-led-current-microamp: [all …]
|
D | maxim,max30100.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Matt Ranostay <matt.ranostay@konsulko.com> 23 maxim,led-current-microamp: 27 LED current whilst the engine is running. First indexed value is 28 the configuration for the RED LED, and second value is for the IR LED. 33 - compatible 34 - reg 35 - interrupts [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/leds/ |
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# 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 15 current for each mode is defined in hardware using two resistors 22 enf-gpios: 26 ent-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 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 | 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) 24 enset-gpios: 28 flen-gpios: 32 led: [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. 16 The ExpressWire interface through CTRL pin can control LED on/off and 17 enable/disable the IC, Movie(max 1/3 of Flash current) / Flash mode current, 21 LED current will be ramped up to the flash-mode current level. [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 17 control a separate LED or they can be connected together to double the 18 maximum current for a single connected LED. One LED is represented by one 26 const: maxim,max77693-led 28 maxim,boost-mode: 30 In boost mode the device can produce up to 1.2A of total current on both [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 | issi,is31fl319x.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: ISSI LED controllers bindings for IS31FL319{0,1,3,6,9} 10 - Vincent Knecht <vincent.knecht@mailoo.org> 13 The IS31FL319X are LED controllers with I2C interface. 14 Previously known as Si-En SN319{0,1,3,6,9}. 26 - issi,is31fl3190 27 - issi,is31fl3191 28 - issi,is31fl3193 [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 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 …]
|
/Linux-v6.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 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 …]
|
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 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 …]
|
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) 105 struct mt6360_led *led = container_of(mccdev, struct mt6360_led, mc); in mt6360_mc_brightness_set() local 106 struct mt6360_priv *priv = led->priv; in mt6360_mc_brightness_set() 110 mutex_lock(&priv->lock); in mt6360_mc_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 */ 83 /* maximum torch current values for FLED outputs */ 85 /* maximum flash current values for FLED outputs */ [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/mfd/ |
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 34 led: 37 max77693-muic: 43 const: maxim,max77693-muic 46 - compatible [all …]
|
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 | 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 …]
|
/Linux-v6.1/drivers/iio/health/ |
D | max30102.c | 1 // 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 …]
|
D | max30100.c | 1 // 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 …]
|
/Linux-v6.1/drivers/leds/ |
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 69 /* CS (Current Setting) in CONFIG2 register */ 128 return true; /* always write-through */ in is31fl3190_volatile_reg() 160 return true; /* always write-through */ in is31fl3196_volatile_reg() 194 struct is31fl319x_led *led = container_of(cdev, struct is31fl319x_led, cdev); in is31fl3190_brightness_set() local 195 struct is31fl319x_chip *is31 = led->chip; in is31fl3190_brightness_set() 196 int chan = led - is31->leds; in is31fl3190_brightness_set() 201 dev_dbg(&is31->client->dev, "channel %d: %d\n", chan, brightness); in is31fl3190_brightness_set() [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/iio/proximity/ |
D | vishay,vcnl3020.yaml | 1 # 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 …]
|
/Linux-v6.1/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-v6.1/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-v6.1/Documentation/devicetree/bindings/leds/backlight/ |
D | richtek,rt4831-backlight.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/leds/backlight/richtek,rt4831-backlight.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - ChiYuan Huang <cy_huang@richtek.com> 17 Each channel driving current is up to 30mA 20 https://www.richtek.com/assets/product_file/RT4831A/DS4831A-05.pdf 23 - $ref: common.yaml# 27 const: richtek,rt4831-backlight 29 default-brightness: [all …]
|