Home
last modified time | relevance | path

Searched +full:vled +full:- +full:supply (Results 1 – 16 of 16) sorted by relevance

/Linux-v5.10/Documentation/devicetree/bindings/iio/light/
Dgp2ap020a00f.txt3 The proximity detector sensor requires power supply
4 for its built-in led. It is also defined by this binding.
8 - compatible : should be "sharp,gp2ap020a00f"
9 - reg : the I2C slave address of the light sensor
10 - interrupts : interrupt specifier for the sole interrupt generated
12 - vled-supply : VLED power supply, as covered in ../regulator/regulator.txt
20 vled-supply = <...>;
Dcm36651.txt4 - compatible: must be "capella,cm36651"
5 - reg: the I2C address of the device
6 - interrupts: interrupt-specifier for the sole interrupt
8 - vled-supply: regulator for the IR LED. IR_LED is a part
14 i2c_cm36651: i2c-gpio {
20 interrupt-parent = <&gpx0>;
22 vled-supply = <&ps_als_reg>;
/Linux-v5.10/Documentation/devicetree/bindings/leds/
Dleds-lp8860.txt1 * Texas Instruments - lp8860 4-Channel LED Driver
3 The LP8860-Q1 is an high-efficiency LED
4 driver with boost controller. It has 4 high-precision
9 - compatible :
11 - reg : I2C slave address
12 - #address-cells : 1
13 - #size-cells : 0
16 - enable-gpios : gpio pin to enable (active high)/disable the device.
17 - vled-supply : LED supply
20 - reg : 0
[all …]
Dleds-lm3692x.txt1 * 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.
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
21 - ti,ovp-microvolt: Overvoltage protection in
[all …]
Dleds-lm3697.txt1 * Texas Instruments - LM3697 Highly Efficient White LED Driver
3 The LM3697 11-bit LED driver provides high-
10 - compatible:
12 - reg : I2C slave address
13 - #address-cells : 1
14 - #size-cells : 0
17 - enable-gpios : GPIO pin to enable/disable the device
18 - vled-supply : LED supply
21 - reg : 0 - LED is Controlled by bank A
22 1 - LED is Controlled by bank B
[all …]
Dleds-lp50xx.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/leds/leds-lp50xx.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Dan Murphy <dmurphy@ti.com>
13 The LP50XX is multi-channel, I2C RGB LED Drivers that can group RGB LEDs into
27 - ti,lp5009
28 - ti,lp5012
29 - ti,lp5018
30 - ti,lp5024
[all …]
/Linux-v5.10/include/linux/
Dleds-regulator.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * leds-regulator.h - platform data structure for regulator driven LEDs.
12 * Use "vled" as supply id when declaring the regulator consumer:
15 * { .dev_name = "leds-regulator.0", .supply = "vled" },
27 * .name = "leds-regulator",
/Linux-v5.10/arch/arm/boot/dts/
Dexynos4412-galaxy-s3.dtsi1 // 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 …]
Ds5pv210-aries.dtsi1 // SPDX-License-Identifier: GPL-2.0
6 /dts-v1/;
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
32 reserved-memory {
33 #address-cells = <1>;
34 #size-cells = <1>;
38 compatible = "shared-dma-pool";
39 no-map;
44 compatible = "shared-dma-pool";
[all …]
/Linux-v5.10/drivers/leds/
Dleds-regulator.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * leds-regulator.c - LED class driver for regulator driven LEDs.
7 * Inspired by leds-wm8350 driver.
14 #include <linux/leds-regulator.h>
29 static inline int led_regulator_get_max_brightness(struct regulator *supply) in led_regulator_get_max_brightness() argument
32 int voltage = regulator_list_voltage(supply, 0); in led_regulator_get_max_brightness()
41 ret = regulator_set_voltage(supply, voltage, voltage); in led_regulator_get_max_brightness()
45 return regulator_count_voltages(supply); in led_regulator_get_max_brightness()
48 static int led_regulator_get_voltage(struct regulator *supply, in led_regulator_get_voltage() argument
52 return -EINVAL; in led_regulator_get_voltage()
[all …]
Dleds-lm3692x.c1 // SPDX-License-Identifier: GPL-2.0
3 // Copyright (C) 2017-18 Texas Instruments Incorporated - https://www.ti.com/
99 * struct lm3692x_led -
100 * @lock - Lock for reading/writing the device
101 * @client - Pointer to the I2C client
102 * @led_dev - LED class device pointer
103 * @regmap - Devices register map
104 * @enable_gpio - VDDIO/EN gpio to enable communication interface
105 * @regulator - LED supply regulator pointer
106 * @led_enable - LED sync to be enabled
[all …]
Dleds-lm3697.c1 // SPDX-License-Identifier: GPL-2.0
3 // Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
10 #include <linux/leds-ti-lmu-common.h>
42 * struct lm3697_led -
63 * struct lm3697 -
65 * @regulator: LED supply regulator pointer
118 int ctrl_en_val = (1 << led->control_bank); in lm3697_brightness_set()
119 struct device *dev = led->priv->dev; in lm3697_brightness_set()
122 mutex_lock(&led->priv->lock); in lm3697_brightness_set()
125 ret = regmap_update_bits(led->priv->regmap, LM3697_CTRL_ENABLE, in lm3697_brightness_set()
[all …]
Dleds-lp8860.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * TI LP8860 4-Channel LED Driver
88 * struct lp8860_led -
89 * @lock - Lock for reading/writing the device
90 * @client - Pointer to the I2C client
91 * @led_dev - led class device pointer
92 * @regmap - Devices register map
93 * @eeprom_regmap - EEPROM register map
94 * @enable_gpio - VDDIO/EN gpio to enable communication interface
95 * @regulator - LED supply regulator pointer
[all …]
Dleds-lp50xx.c1 // SPDX-License-Identifier: GPL-2.0
3 // Copyright (C) 2018-20 Texas Instruments Incorporated - https://www.ti.com/
18 #include <linux/led-class-multicolor.h>
174 * struct lp50xx_chip_info -
276 * struct lp50xx -
278 * @regulator: LED supply regulator pointer
311 const struct lp50xx_chip_info *led_chip = led->priv->chip_info; in lp50xx_brightness_set()
316 mutex_lock(&led->priv->lock); in lp50xx_brightness_set()
317 if (led->ctrl_bank_enabled) in lp50xx_brightness_set()
318 reg_val = led_chip->bank_brt_reg; in lp50xx_brightness_set()
[all …]
/Linux-v5.10/arch/arm64/boot/dts/freescale/
Dimx8mq-librem5.dtsi1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright 2018-2020 Purism SPC
6 /dts-v1/;
8 #include "dt-bindings/input/input.h"
9 #include <dt-bindings/interrupt-controller/irq.h>
10 #include "dt-bindings/pwm/pwm.h"
11 #include "dt-bindings/usb/pd.h"
18 backlight_dsi: backlight-dsi {
19 compatible = "led-backlight";
23 pmic_osc: clock-pmic {
[all …]
/Linux-v5.10/drivers/misc/
Dapds990x.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
184 static const char reg_vled[] = "Vled";
188 struct i2c_client *client = chip->client; in apds990x_read_byte()
201 struct i2c_client *client = chip->client; in apds990x_read_word()
214 struct i2c_client *client = chip->client; in apds990x_write_byte()
226 struct i2c_client *client = chip->client; in apds990x_write_word()
242 if (chip->prox_en) in apds990x_mode_on()
270 * (count-per-lux) in apds990x_lux_to_threshold()
274 lux = lux * (APDS_CALIB_SCALER / 4) / (chip->lux_calib / 4); in apds990x_lux_to_threshold()
[all …]