/linux-6.12.1/Documentation/devicetree/bindings/iio/light/ |
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 …]
|
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-6.12.1/Documentation/devicetree/bindings/leds/ |
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 …]
|
D | leds-lp8860.txt | 1 * 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 …]
|
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 …]
|
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 …]
|
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-6.12.1/include/linux/ |
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-6.12.1/arch/arm/boot/dts/samsung/ |
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 …]
|
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 …]
|
D | exynos4212-tab3.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 9 /dts-v1/; 11 #include "exynos4412-ppmu-common.dtsi" 12 #include "exynos-mfc-reserved-memory.dtsi" 13 #include <dt-bindings/clock/samsung,s2mps11.h> 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/leds/common.h> 16 #include <dt-bindings/input/gpio-keys.h> 17 #include <dt-bindings/input/input.h> 18 #include <dt-bindings/interrupt-controller/irq.h> [all …]
|
/linux-6.12.1/drivers/leds/ |
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 …]
|
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 …]
|
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 …]
|
D | leds-lp8860.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * TI LP8860 4-Channel LED Driver 94 * @regulator: LED supply regulator pointer 143 mutex_lock(&led->lock); in lp8860_unlock_eeprom() 146 ret = regmap_write(led->regmap, in lp8860_unlock_eeprom() 150 dev_err(&led->client->dev, "EEPROM Unlock failed\n"); in lp8860_unlock_eeprom() 154 ret = regmap_write(led->regmap, in lp8860_unlock_eeprom() 158 dev_err(&led->client->dev, "EEPROM Unlock failed\n"); in lp8860_unlock_eeprom() 161 ret = regmap_write(led->regmap, in lp8860_unlock_eeprom() 165 dev_err(&led->client->dev, "EEPROM Unlock failed\n"); in lp8860_unlock_eeprom() [all …]
|
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> 173 * struct lp50xx_chip_info - 273 * struct lp50xx - 275 * @regulator: LED supply regulator pointer 306 const struct lp50xx_chip_info *led_chip = led->priv->chip_info; in lp50xx_brightness_set() 311 mutex_lock(&led->priv->lock); in lp50xx_brightness_set() 312 if (led->ctrl_bank_enabled) in lp50xx_brightness_set() 313 reg_val = led_chip->bank_brt_reg; in lp50xx_brightness_set() [all …]
|
/linux-6.12.1/arch/arm64/boot/dts/rockchip/ |
D | rk3566-pinetab2.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 #include <dt-bindings/gpio/gpio.h> 4 #include <dt-bindings/input/gpio-keys.h> 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/leds/common.h> 7 #include <dt-bindings/pinctrl/rockchip.h> 8 #include <dt-bindings/soc/rockchip,vop2.h> 9 #include <dt-bindings/usb/pd.h> 13 chassis-type = "tablet"; 21 stdout-path = "serial2:1500000n8"; [all …]
|
/linux-6.12.1/arch/arm/boot/dts/st/ |
D | ste-ux500-samsung-codina-tmo.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Devicetree for the Samsung Galaxy Exhibit SGH-T599 also known as Codina-TMO, 4 * the "TMO" shall be read "T-Mobile" as this phone was produced exlusively 5 * for T-Mobile in the United States. 8 * - No CPU speed cap, full ~1GHz rate 9 * - Different power management IC, AB8505 10 * - As AB8505 has a micro USB phy, no TI TSU6111 11 * - Different power routing such as the removal of the external LDO for the 13 * - Using a regulator for the key backlight LED 14 * - Using the Samsung S6D27A1 panel by default [all …]
|
/linux-6.12.1/arch/arm64/boot/dts/freescale/ |
D | imx8mq-librem5.dtsi | 1 // 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/leds/common.h> 11 #include "dt-bindings/pwm/pwm.h" 12 #include "dt-bindings/usb/pd.h" 18 chassis-type = "handset"; 20 backlight_dsi: backlight-dsi { [all …]
|
/linux-6.12.1/drivers/misc/ |
D | apds990x.c | 1 // 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 …]
|