Home
last modified time | relevance | path

Searched +full:disable +full:- +full:leds (Results 1 – 25 of 498) sorted by relevance

12345678910>>...20

/Linux-v6.1/Documentation/ABI/testing/
Dsysfs-platform-dell-laptop1 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 …]
/Linux-v6.1/arch/riscv/boot/dts/starfive/
Djh7100-beaglev-starlight.dts1 // 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>
15 compatible = "beagle,beaglev-starlight-jh7100-r0", "starfive,jh7100";
22 stdout-path = "serial0:115200n8";
26 timebase-frequency = <6250000>;
34 leds {
35 compatible = "gpio-leds";
[all …]
/Linux-v6.1/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-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 - 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 …]
Dkinetic,ktd2692.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/leds/kinetic,ktd2692.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
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.
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.
27 ctrl-gpios:
[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 …]
/Linux-v6.1/arch/arm64/boot/dts/amlogic/
Dmeson-gxl-s905d-vero4k-plus.dts1 // 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 …]
/Linux-v6.1/drivers/net/wireless/ath/carl9170/
Dled.c25 * 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 …]
/Linux-v6.1/arch/arm/boot/dts/
Dqcom-ipq8064-rb3011.dts1 // 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 …]
Dat91-sama5d27_wlsom1_ek.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * at91-sama5d27_wlsom1_ek.dts - Device Tree file for SAMA5D27 WLSOM1 EK
9 /dts-v1/;
10 #include "at91-sama5d27_wlsom1.dtsi"
11 #include <dt-bindings/input/input.h>
15 …compatible = "microchip,sama5d27-wlsom1-ek", "microchip,sama5d27-wlsom1", "atmel,sama5d27", "atmel…
26 stdout-path = "serial0:115200n8";
29 gpio-keys {
30 compatible = "gpio-keys";
32 pinctrl-names = "default";
[all …]
Dat91-sama5d27_som1_ek.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * at91-sama5d27_som1_ek.dts - Device Tree file for SAMA5D27-SOM1-EK board
10 /dts-v1/;
11 #include "at91-sama5d27_som1.dtsi"
12 #include <dt-bindings/mfd/atmel-flexcom.h>
13 #include <dt-bindings/gpio/gpio.h>
14 #include <dt-bindings/input/input.h>
18 …compatible = "atmel,sama5d27-som1-ek", "atmel,sama5d27-som1", "atmel,sama5d27", "atmel,sama5d2", "…
29 stdout-path = "serial0:115200n8";
34 atmel,vbus-gpio = <&pioA PIN_PD20 GPIO_ACTIVE_HIGH>;
[all …]
De70k02.dtsi1 // SPDX-License-Identifier: GPL-2.0
11 * found in ebook-readers like the Kobo Clara HD (with i.MX6SLL) and
14 #include <dt-bindings/input/input.h>
23 stdout-path = &uart1;
26 gpio_keys: gpio-keys {
27 compatible = "gpio-keys";
29 key-power {
33 wakeup-source;
36 key-cover {
40 linux,input-type = <EV_SW>;
[all …]
De60k02.dtsi1 // SPDX-License-Identifier: GPL-2.0
11 * found in ebook-readers like the Kobo Clara HD (with i.MX6SLL) and
14 #include <dt-bindings/input/input.h>
19 stdout-path = &uart1;
22 gpio_keys: gpio-keys {
23 compatible = "gpio-keys";
25 key-power {
29 wakeup-source;
32 key-cover {
36 linux,input-type = <EV_SW>;
[all …]
/Linux-v6.1/drivers/leds/
Dleds-aw2013.c1 // 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 …]
Dleds-acer-a500.c1 // 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 …]
Dleds-turris-omnia.c1 // 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"
41 struct omnia_led leds[]; member
48 struct omnia_leds *leds = dev_get_drvdata(cdev->dev->parent); in omnia_led_brightness_set_blocking() local
53 mutex_lock(&leds->lock); in omnia_led_brightness_set_blocking()
55 led_mc_calc_color_components(&led->mc_cdev, brightness); in omnia_led_brightness_set_blocking()
58 buf[1] = led->reg; in omnia_led_brightness_set_blocking()
59 buf[2] = mc_cdev->subled_info[0].brightness; in omnia_led_brightness_set_blocking()
[all …]
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.h>
15 #include <linux/leds-regulator.h>
53 return -EINVAL; in led_regulator_get_voltage()
55 return regulator_list_voltage(supply, brightness - 1); in led_regulator_get_voltage()
63 if (led->enabled) in regulator_led_enable()
66 ret = regulator_enable(led->vcc); in regulator_led_enable()
68 dev_err(led->cdev.dev, "Failed to enable vcc: %d\n", ret); in regulator_led_enable()
[all …]
Dleds-lm3697.c1 // 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 -
56 * @num_leds: Number of LEDs available
70 * struct lm3697 -
77 * @leds: Array of LED strings
92 struct lm3697_led leds[]; member
127 int ctrl_en_val = (1 << led->control_bank); in lm3697_brightness_set()
128 struct device *dev = led->priv->dev; in lm3697_brightness_set()
[all …]
Dleds-lp3952.c1 // SPDX-License-Identifier: GPL-2.0-only
14 #include <linux/leds.h>
15 #include <linux/leds-lp3952.h>
28 ret = regmap_write(priv->regmap, reg, val); in lp3952_register_write()
31 dev_err(&client->dev, "%s: reg 0x%x, val 0x%x, err %d\n", in lp3952_register_write()
41 dev_dbg(&priv->client->dev, "%s LED %d to %d\n", __func__, led_id, on); in lp3952_on_off()
47 ret = regmap_update_bits(priv->regmap, LP3952_REG_LED_CTRL, val, in lp3952_on_off()
50 dev_err(&priv->client->dev, "%s, Error %d\n", __func__, ret); in lp3952_on_off()
56 * values 0-4. 0 meaning turn off.
65 struct lp3952_led_array *priv = (struct lp3952_led_array *)led->priv; in lp3952_set_brightness()
[all …]
/Linux-v6.1/Documentation/leds/
Dleds-class.rst5 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 …]
/Linux-v6.1/arch/arm64/boot/dts/qcom/
Dmsm8916-huawei-g7.dts1 // SPDX-License-Identifier: GPL-2.0-only
4 /dts-v1/;
6 #include "msm8916-pm8916.dtsi"
7 #include <dt-bindings/gpio/gpio.h>
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/sound/apq8016-lpass.h>
14 * Note: The original firmware from Huawei can only boot 32-bit kernels.
15 * To boot this device tree using arm64 it is necessary to flash 64-bit TZ/HYP
[all …]
Dmsm8916-samsung-grandmax.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 /dts-v1/;
5 #include "msm8916-samsung-e2015-common.dtsi"
6 #include <dt-bindings/leds/common.h>
12 * There seems to be no way to boot ARM64 kernels on 32-bit devices at the
18 * arch/arm/boot/dts/qcom-msm8916-samsung-grandmax.dts
24 chassis-type = "handset";
26 /delete-node/ gpio-hall-sensor;
27 /delete-node/ i2c-nfc;
28 /delete-node/ i2c-tkey;
[all …]
/Linux-v6.1/Documentation/admin-guide/laptops/
Dasus-laptop.rst12 This driver provides support for extra features of ACPI-compatible ASUS laptops.
19 blink those fancy LEDs intended for reporting mail and wireless status.
24 ------------
30 ------
35 - Fn key combinations
36 - Bluetooth enable and disable
37 - Wlan enable and disable
38 - GPS enable and disable
39 - Video output switching
40 - Ambient Light Sensor on and off
[all …]
/Linux-v6.1/include/linux/platform_data/
Dadp8860.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
6 * Copyright 2009-2010 Analog Devices Inc.
12 #include <linux/leds.h>
21 * LEDs subdevice platform data
103 u8 bl_fade_in; /* Backlight Fade-In Timer */
104 u8 bl_fade_out; /* Backlight Fade-Out Timer */
105 u8 bl_fade_law; /* fade-on/fade-off transfer characteristic */
123 * Independent Current Sinks / LEDS
125 * user space using the LEDS CLASS interface
129 struct led_info *leds; member
[all …]

12345678910>>...20