Searched +full:vled +full:- +full:supply (Results 1 – 13 of 13) sorted by relevance
/linux/Documentation/devicetree/bindings/iio/light/ |
H A D | sharp,gp2ap020a00f.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Kyungmin Park <kyungmin.park@samsung.com> 13 The proximity detector sensor requires power supply for its built-in led. 25 vled-supply: true 30 - compatible 31 - reg 32 - interrupts 33 - vled-supply [all …]
|
H A D | capella,cm36651.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Beomho Seo <beomho.seo@samsung.com> 22 vled-supply: 24 Supply for the IR_LED which is part of the cm36651 for proximity detection. 29 - compatible 30 - reg 31 - interrupts 32 - vled-supply [all …]
|
/linux/Documentation/devicetree/bindings/leds/ |
H A D | regulator-led.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/leds/regulator-led.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Linus Walleij <linus.walleij@linaro.org> 20 - $ref: common.yaml# 27 const: regulator-led 29 vled-supply: 35 linux,default-trigger: true 36 default-state: true [all …]
|
H A D | leds-lm3697.txt | 1 * 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 …]
|
H A D | ti.lm36922.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: Texas Instruments - LM3692x Highly Efficient White LED Driver 10 - Dan Murphy <dmurphy@ti.com> 13 The LM3692x is an ultra-compact, highly efficient, 14 white-LED driver designed for LCD display backlighting. 26 - ti,lm36922 27 - ti,lm36923 32 "#address-cells": [all …]
|
H A D | leds-lp50xx.yaml | 1 # 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 - Andrew Davis <afd@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/include/linux/ |
H A D | leds-regulator.h | 1 /* 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/arch/arm/boot/dts/samsung/ |
H A D | exynos4412-galaxy-s3.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 9 /dts-v1/; 10 #include <dt-bindings/leds/common.h> 11 #include "exynos4412-midas.dtsi" 19 led-controller { 21 flen-gpios = <&gpj1 1 GPIO_ACTIVE_HIGH>; 22 enset-gpios = <&gpj1 2 GPIO_ACTIVE_HIGH>; 24 pinctrl-names = "default", "host", "isp"; 25 pinctrl-0 = <&camera_flash_host>; 26 pinctrl-1 = <&camera_flash_host>; [all …]
|
H A D | s5pv210-aries.dtsi | 1 // 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/drivers/leds/ |
H A D | leds-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * leds-regulator.c - LED class driver for regulator driven LEDs. 7 * Inspired by leds-wm8350 driver. 15 #include <linux/leds-regulator.h> 30 static inline int led_regulator_get_max_brightness(struct regulator *supply) in led_regulator_get_max_brightness() argument 33 int voltage = regulator_list_voltage(supply, 0); in led_regulator_get_max_brightness() 42 ret = regulator_set_voltage(supply, voltage, voltage); in led_regulator_get_max_brightness() 46 return regulator_count_voltages(supply); in led_regulator_get_max_brightness() 49 static int led_regulator_get_voltage(struct regulator *supply, in led_regulator_get_voltage() argument 53 return -EINVAL; in led_regulator_get_voltage() [all …]
|
H A D | leds-lm3692x.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // Copyright (C) 2017-18 Texas Instruments Incorporated - https://www.ti.com/ 104 * @regulator: LED supply regulator pointer 150 ret = regmap_read(led->regmap, LM3692X_FAULT_FLAGS, &read_buf); in lm3692x_fault_check() 155 dev_err(&led->client->dev, "Detected a fault 0x%X\n", read_buf); in lm3692x_fault_check() 160 regmap_read(led->regmap, LM3692X_FAULT_FLAGS, &read_buf); in lm3692x_fault_check() 162 dev_err(&led->client->dev, "Second read of fault flags 0x%X\n", in lm3692x_fault_check() 173 if (led->enabled) in lm3692x_leds_enable() 176 if (led->regulator) { in lm3692x_leds_enable() 177 ret = regulator_enable(led->regulator); in lm3692x_leds_enable() [all …]
|
H A D | leds-lm3697.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/ 15 #include <linux/leds-ti-lmu-common.h> 47 * struct lm3697_led - 70 * struct lm3697 - 72 * @regulator: LED supply regulator pointer 127 int ctrl_en_val = (1 << led->control_bank); in lm3697_brightness_set() 128 struct device *dev = led->priv->dev; in lm3697_brightness_set() 131 mutex_lock(&led->priv->lock); in lm3697_brightness_set() 134 ret = regmap_update_bits(led->priv->regmap, LM3697_CTRL_ENABLE, in lm3697_brightness_set() [all …]
|
H A D | leds-lp50xx.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // Copyright (C) 2018-20 Texas Instruments Incorporated - https://www.ti.com/ 17 #include <linux/led-class-multicolor.h> 171 * struct lp50xx_chip_info - 271 * struct lp50xx - 273 * @regulator: LED supply regulator pointer 304 const struct lp50xx_chip_info *led_chip = led->priv->chip_info; in lp50xx_brightness_set() 309 mutex_lock(&led->priv->lock); in lp50xx_brightness_set() 310 if (led->ctrl_bank_enabled) in lp50xx_brightness_set() 311 reg_val = led_chip->bank_brt_reg; in lp50xx_brightness_set() [all …]
|