| /kernel/linux/linux-6.6/arch/arm/boot/dts/qcom/ |
| D | qcom-ipq8064-rb3011.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-ipq8064.dtsi" 3 #include <dt-bindings/input/input.h> 4 #include <dt-bindings/leds/common.h> 7 model = "MikroTik RB3011UiAS-RM"; 14 mdio-gpio0 = &mdio0; 15 mdio-gpio1 = &mdio1; 20 stdout-path = "serial0:115200n8"; 28 mdio0: mdio-0 { 30 compatible = "virtual,mdio-gpio"; [all …]
|
| /kernel/linux/linux-5.10/Documentation/ABI/testing/ |
| D | sysfs-platform-dell-laptop | 1 What: /sys/class/leds/dell::kbd_backlight/als_enabled 10 mode, 0 to disable it. 12 What: /sys/class/leds/dell::kbd_backlight/als_setting 21 What: /sys/class/leds/dell::kbd_backlight/start_triggers 31 enabled are preceded by '+', those disabled by '-'. 34 this file. To disable a trigger, write its name preceded 35 by '-' instead. 39 echo +keyboard > /sys/class/leds/dell::kbd_backlight/start_triggers 41 To disable it:: 43 echo -keyboard > /sys/class/leds/dell::kbd_backlight/start_triggers [all …]
|
| /kernel/linux/linux-6.6/Documentation/ABI/testing/ |
| D | sysfs-platform-dell-laptop | 1 What: /sys/class/leds/dell::kbd_backlight/als_enabled 10 mode, 0 to disable it. 12 What: /sys/class/leds/dell::kbd_backlight/als_setting 21 What: /sys/class/leds/dell::kbd_backlight/start_triggers 31 enabled are preceded by '+', those disabled by '-'. 34 this file. To disable a trigger, write its name preceded 35 by '-' instead. 39 echo +keyboard > /sys/class/leds/dell::kbd_backlight/start_triggers 41 To disable it:: 43 echo -keyboard > /sys/class/leds/dell::kbd_backlight/start_triggers [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/qcom/ |
| D | msm8916-alcatel-idol347.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8916-pm8916.dtsi" 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/leds/common.h> 13 chassis-type = "handset"; 22 stdout-path = "serial0"; 25 gpio-keys { 26 compatible = "gpio-keys"; [all …]
|
| D | msm8916-gplus-fl8005a.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8916-pm8916.dtsi" 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/input/input.h> 9 #include <dt-bindings/leds/common.h> 14 chassis-type = "tablet"; 23 stdout-path = "serial0"; 26 flash-led-controller { 27 /* Actually qcom,leds-gpio-flash */ [all …]
|
| D | msm8916-longcheer-l8910.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8916-pm8916.dtsi" 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/leds/common.h> 13 chassis-type = "handset"; 22 stdout-path = "serial0"; 25 flash-led-controller { 27 enable-gpios = <&tlmm 49 GPIO_ACTIVE_HIGH>; [all …]
|
| D | msm8916-huawei-g7.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 6 /dts-v1/; 8 #include "msm8916-pm8916.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/leds/common.h> 13 #include <dt-bindings/sound/apq8016-lpass.h> 16 * Note: The original firmware from Huawei can only boot 32-bit kernels. 17 * To boot this device tree using arm64 it is necessary to flash 64-bit TZ/HYP [all …]
|
| /kernel/linux/linux-6.6/arch/riscv/boot/dts/starfive/ |
| D | jh7100-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 7 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/leds/common.h> 11 #include <dt-bindings/pinctrl/pinctrl-starfive-jh7100.h> 19 stdout-path = "serial0:115200n8"; 23 timebase-frequency = <6250000>; 31 leds { 32 compatible = "gpio-leds"; 34 led-ack { [all …]
|
| /kernel/linux/linux-6.6/Documentation/leds/ |
| D | leds-class.rst | 5 In its simplest form, the LED class just allows control of LEDs from 6 userspace. LEDs appear in /sys/class/leds/. The maximum brightness of the 8 of the LED (taking a value 0-max_brightness). Most LEDs don't have hardware 9 brightness support so will just be turned on for non-zero brightness settings. 14 existing subsystems with minimal additional code. Examples are the disk-activity, 15 nand-disk and sharpsl-charge triggers. With led triggers disabled, the code 18 Complex triggers while available to all LEDs have LED specific 22 be specified via /sys/class/leds/<device>/delay_{on,off} in milliseconds. 25 also disable the timer trigger. 28 is chosen (via /sys/class/leds/<device>/trigger). Trigger specific [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/leds/ |
| 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-lm3692x.txt | 1 * 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/leds/ |
| 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-lm3692x.txt | 1 * 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 …]
|
| D | leds-ktd2692.txt | 1 * 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. 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). 23 node - See Documentation/devicetree/bindings/leds/common.txt [all …]
|
| /kernel/linux/linux-6.6/drivers/leds/ |
| D | leds-cht-wcove.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Driver for LEDs connected to the Intel Cherry Trail Whiskey Cove PMIC 14 #include <linux/leds.h> 77 struct cht_wc_led leds[CHT_WC_LED_COUNT]; member 112 mutex_lock(&led->mutex); in cht_wc_leds_brightness_set() 115 ret = regmap_update_bits(led->regmap, led->regs->ctrl, in cht_wc_leds_brightness_set() 116 led->regs->on_off_mask, led->regs->off_val); in cht_wc_leds_brightness_set() 118 dev_err(cdev->dev, "Failed to turn off: %d\n", ret); in cht_wc_leds_brightness_set() 122 /* Disable HW blinking */ in cht_wc_leds_brightness_set() 123 ret = regmap_update_bits(led->regmap, led->regs->fsm, in cht_wc_leds_brightness_set() [all …]
|
| D | leds-acer-a500.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 #include <linux/leds.h> 45 control_seq[0] = led->enable_seq[0]; in a500_ec_led_brightness_set() 48 * There is no separate controls which can disable LEDs in a500_ec_led_brightness_set() 50 * off both LEDs. in a500_ec_led_brightness_set() 52 * RESET_LEDS turns off both LEDs, thus restore other LED if in a500_ec_led_brightness_set() 55 if (led->other->cdev.brightness) in a500_ec_led_brightness_set() 59 control_seq[1] = led->other->enable_seq[0]; in a500_ec_led_brightness_set() 62 return regmap_multi_reg_write(led->rmap, control_seq, num_regs); in a500_ec_led_brightness_set() 71 rmap = dev_get_regmap(pdev->dev.parent, "KB930"); in a500_ec_leds_probe() [all …]
|
| D | leds-aw2013.c | 1 // SPDX-License-Identifier: GPL-2.0+ 2 // Driver for Awinic AW2013 3-channel LED driver 5 #include <linux/leds.h> 29 #define AW2013_LCFG_IMAX_MASK (BIT(0) | BIT(1)) // Should be 0-3 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 44 #define AW2013_LEDT1_T4(x) (x) // Should be 0-7 47 #define AW2013_LEDT2_T0(x) ((x) << 4) // Should be 0-8 48 #define AW2013_LEDT2_REPEAT(x) (x) // Should be 0-15 [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/amlogic/ |
| D | meson-gxl-s905d-vero4k-plus.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-gxl-s905d.dtsi" 9 #include "meson-gx-p23x-q20x.dtsi" 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 14 compatible = "osmc,vero4k-plus", "amlogic,s905d", "amlogic,meson-gxl"; 17 gpio-keys-polled { 18 compatible = "gpio-keys-polled"; 19 poll-interval = <20>; [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/ath/carl9170/ |
| D | led.c | 25 * Copyright (c) 2007-2008 Atheros Communications, Inc. 52 /* disable LEDs */ in carl9170_led_init() 76 mutex_lock(&ar->mutex); in carl9170_led_update() 78 if (ar->leds[i].registered) { in carl9170_led_update() 79 if (ar->leds[i].last_state || in carl9170_led_update() 80 ar->leds[i].toggled) { in carl9170_led_update() 82 if (ar->leds[i].toggled) in carl9170_led_update() 83 tmp = 70 + 200 / (ar->leds[i].toggled); in carl9170_led_update() 89 ar->leds[i].toggled = 0; in carl9170_led_update() 96 mutex_unlock(&ar->mutex); in carl9170_led_update() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/ath/carl9170/ |
| D | led.c | 25 * Copyright (c) 2007-2008 Atheros Communications, Inc. 52 /* disable LEDs */ in carl9170_led_init() 76 mutex_lock(&ar->mutex); in carl9170_led_update() 78 if (ar->leds[i].registered) { in carl9170_led_update() 79 if (ar->leds[i].last_state || in carl9170_led_update() 80 ar->leds[i].toggled) { in carl9170_led_update() 82 if (ar->leds[i].toggled) in carl9170_led_update() 83 tmp = 70 + 200 / (ar->leds[i].toggled); in carl9170_led_update() 89 ar->leds[i].toggled = 0; in carl9170_led_update() 96 mutex_unlock(&ar->mutex); in carl9170_led_update() [all …]
|
| /kernel/linux/linux-5.10/drivers/leds/ |
| D | leds-acer-a500.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 #include <linux/leds.h> 45 control_seq[0] = led->enable_seq[0]; in a500_ec_led_brightness_set() 48 * There is no separate controls which can disable LEDs in a500_ec_led_brightness_set() 50 * off both LEDs. in a500_ec_led_brightness_set() 52 * RESET_LEDS turns off both LEDs, thus restore other LED if in a500_ec_led_brightness_set() 55 if (led->other->cdev.brightness) in a500_ec_led_brightness_set() 59 control_seq[1] = led->other->enable_seq[0]; in a500_ec_led_brightness_set() 62 return regmap_multi_reg_write(led->rmap, control_seq, num_regs); in a500_ec_led_brightness_set() 71 rmap = dev_get_regmap(pdev->dev.parent, "KB930"); in a500_ec_leds_probe() [all …]
|
| D | leds-aw2013.c | 1 // SPDX-License-Identifier: GPL-2.0+ 2 // Driver for Awinic AW2013 3-channel LED driver 5 #include <linux/leds.h> 29 #define AW2013_LCFG_IMAX_MASK (BIT(0) | BIT(1)) // Should be 0-3 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 44 #define AW2013_LEDT1_T4(x) (x) // Should be 0-7 47 #define AW2013_LEDT2_T0(x) ((x) << 4) // Should be 0-8 48 #define AW2013_LEDT2_REPEAT(x) (x) // Should be 0-15 [all …]
|
| D | leds-turris-omnia.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * CZ.NIC's Turris Omnia LEDs driver 9 #include <linux/led-class-multicolor.h> 13 #include "leds.h" 49 struct omnia_led leds[]; member 56 struct omnia_leds *leds = dev_get_drvdata(cdev->dev->parent); in omnia_led_brightness_set_blocking() local 61 mutex_lock(&leds->lock); in omnia_led_brightness_set_blocking() 63 led_mc_calc_color_components(&led->mc_cdev, brightness); in omnia_led_brightness_set_blocking() 66 buf[OMNIA_CMD_LED_COLOR_LED] = led->reg; in omnia_led_brightness_set_blocking() 67 buf[OMNIA_CMD_LED_COLOR_R] = mc_cdev->subled_info[0].brightness; in omnia_led_brightness_set_blocking() [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | imx50-kobo-aura.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 4 // The Kobo Aura e-book reader, model N514. The mainboard is marked as E606F0B. 6 /dts-v1/; 8 #include <dt-bindings/input/input.h> 15 stdout-path = "serial1:115200n8"; 23 gpio-leds { 24 compatible = "gpio-leds"; 25 pinctrl-names = "default"; 26 pinctrl-0 = <&pinctrl_leds>; 31 panic-indicator; [all …]
|
| D | at91-kizbox3-hs.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * at91-kizbox3-hs.dts - Device Tree file for Overkiz KIZBOX3-HS board 11 /dts-v1/; 12 #include "at91-kizbox3_common.dtsi" 15 model = "Overkiz KIZBOX3-HS"; 16 compatible = "overkiz,kizbox3-hs", "atmel,sama5d2", "atmel,sama5"; 38 leds { 39 compatible = "gpio-leds"; 40 pinctrl-names = "default"; 41 pinctrl-0 = <&pinctrl_led_red [all …]
|