Home
last modified time | relevance | path

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

12345678910>>...19

/linux/arch/arm/boot/dts/qcom/
H A 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";
23 gpio-keys {
24 compatible = "gpio-keys";
[all …]
/linux/Documentation/ABI/testing/
H A 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/Documentation/devicetree/bindings/net/
H A Dqcom,qca807x.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Christian Marangi <ansuelsmth@gmail.com>
11 - Robert Marko <robert.marko@sartura.hr>
15 IEEE 802.3 clause 22 compliant 10BASE-Te, 100BASE-TX and
16 1000BASE-T PHY-s.
21 Both models have a combo port that supports 1000BASE-X and
22 100BASE-FX fiber.
25 output only pins that natively drive LED-s for up to 2 attached
[all …]
/linux/arch/riscv/boot/dts/thead/
H A Dth1520-beaglev-ahead.dts1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
7 /dts-v1/;
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/leds/common.h>
15 compatible = "beagle,beaglev-ahead", "thead,th1520";
35 stdout-path = "serial0:115200n8";
43 leds {
44 pinctrl-names = "default";
45 pinctrl-0 = <&led_pins>;
46 compatible = "gpio-leds";
[all …]
/linux/arch/arm64/boot/dts/marvell/
H A Dcn9130-cf-pro.dts1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2024 Josua Mayer <josua@solid-run.com>
9 /dts-v1/;
11 #include <dt-bindings/input/input.h>
12 #include <dt-bindings/leds/common.h>
15 #include "cn9130-sr-som.dtsi"
16 #include "cn9130-cf.dtsi"
20 compatible = "solidrun,cn9130-clearfog-pro",
21 "solidrun,cn9130-sr-som", "marvell,cn9130";
23 gpio-keys {
[all …]
H A Dcn9130-cf-base.dts1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2024 Josua Mayer <josua@solid-run.com>
9 /dts-v1/;
11 #include <dt-bindings/input/input.h>
12 #include <dt-bindings/leds/common.h>
15 #include "cn9130-sr-som.dtsi"
16 #include "cn9130-cf.dtsi"
20 compatible = "solidrun,cn9130-clearfog-base",
21 "solidrun,cn9130-sr-som", "marvell,cn9130";
23 gpio-keys {
[all …]
H A Dcn9131-cf-solidwan.dts1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2024 Josua Mayer <josua@solid-run.com>
9 /dts-v1/;
11 #include <dt-bindings/input/input.h>
12 #include <dt-bindings/leds/common.h>
15 #include "cn9130-sr-som.dtsi"
29 #include "armada-cp115.dtsi"
41 compatible = "solidrun,cn9131-solidwan",
42 "solidrun,cn9130-sr-som", "marvell,cn9130";
66 leds {
[all …]
/linux/arch/arm64/boot/dts/qcom/
H A Dmsm8916-wingtech-wt86528.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 /dts-v1/;
5 #include "msm8916-wingtech-wt865x8.dtsi"
10 chassis-type = "handset";
13 speaker_amp_left: audio-amplifier-left {
16 pinctrl-0 = <&spk_ext_pa_left_default>;
17 pinctrl-names = "default";
19 mode-gpios = <&tlmm 119 GPIO_ACTIVE_HIGH>;
20 sound-name-prefix = "Speaker Amp L";
25 speaker_amp_right: audio-amplifier-right {
[all …]
H A Dipq9574-rdp-common.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
5 * Copyright (c) 2020-2021 The Linux Foundation. All rights reserved.
6 * Copyright (c) 2023-2024, Qualcomm Innovation Center, Inc. All rights reserved.
9 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/leds/common.h>
22 stdout-path = "serial0:115200n8";
26 compatible = "regulator-fixed";
27 regulator-min-microvolt = <3300000>;
[all …]
H A Dmsm8939-wingtech-wt82918.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
3 #include "msm8916-modem-qdsp6.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/leds/common.h>
7 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h>
17 stdout-path = "serial0";
21 compatible = "pwm-backlight";
23 brightness-levels = <0 255>;
24 num-interpolated-steps = <255>;
25 default-brightness-level = <128>;
[all …]
H A Dmsm8916-gplus-fl8005a.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 /dts-v1/;
5 #include "msm8916-pm8916.dtsi"
6 #include "msm8916-modem-qdsp6.dtsi"
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/leds/common.h>
15 chassis-type = "tablet";
24 stdout-path = "serial0";
28 compatible = "simple-battery";
[all …]
H A Dmsm8916-alcatel-idol347.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 /dts-v1/;
5 #include "msm8916-pm8916.dtsi"
6 #include "msm8916-modem-qdsp6.dtsi"
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/leds/common.h>
15 chassis-type = "handset";
24 stdout-path = "serial0";
27 reserved-memory {
[all …]
H A Dmsm8916-huawei-g7.dts1 // 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 …]
H A Dmsm8916-longcheer-l8910.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 /dts-v1/;
5 #include "msm8916-pm8916.dtsi"
6 #include "msm8916-modem-qdsp6.dtsi"
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/leds/common.h>
11 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
16 chassis-type = "handset";
25 stdout-path = "serial0";
[all …]
H A Dmsm8939-longcheer-l9100.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 /dts-v1/;
5 #include "msm8939-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/pinctrl/qcom,pmic-gpio.h>
12 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h>
17 chassis-type = "handset";
[all …]
/linux/Documentation/leds/
H A 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/arch/arm/boot/dts/renesas/
H A Dr9a06g032-rzn1d400-eb.dts1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree Source for the RZN1D-EB Board
5 * Copyright (C) 2023 Schneider-Electric
9 #include <dt-bindings/leds/common.h>
10 #include "r9a06g032-rzn1d400-db.dts"
13 model = "RZN1D-EB Board";
14 compatible = "renesas,rzn1d400-eb", "renesas,rzn1d400-db",
19 pinctrl-0 = <&pins_eth0>, <&pins_mdio0>;
20 pinctrl-names = "default";
23 phy-mode = "rgmii-id";
[all …]
/linux/arch/arm64/boot/dts/amlogic/
H A 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/arch/arm64/boot/dts/rockchip/
H A Drk3576-luckfox-omni3576.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 /dts-v1/;
9 #include "rk3576-luckfox-core3576.dtsi"
19 leds: leds { label
20 compatible = "gpio-leds";
21 pinctrl-names = "default";
22 pinctrl-0 = <&led_green_pin>;
24 green_led: green-led {
28 linux,default-trigger = "heartbeat";
34 leds {
[all …]
/linux/drivers/net/wireless/ath/carl9170/
H A 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/drivers/leds/
H A 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 …]
H A 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 …]
/linux/arch/riscv/boot/dts/starfive/
H A Djh7100-common.dtsi1 // 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>
21 stdout-path = "serial0:115200n8";
25 timebase-frequency = <6250000>;
33 leds {
34 compatible = "gpio-leds";
36 led-ack {
[all …]
/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6ul-var-som-concerto.dts1 // SPDX-License-Identifier: GPL-2.0+
3 * Support for Variscite MX6 Concerto Carrier board with the VAR-SOM-MX6UL
10 #include "imx6ul-var-som.dtsi"
11 #include <dt-bindings/leds/common.h>
14 model = "Variscite VAR-SOM-MX6UL Concerto Board";
15 compatible = "variscite,mx6ulconcerto", "variscite,var-som-imx6ul", "fsl,imx6ul";
18 stdout-path = &uart1;
21 gpio-keys {
22 compatible = "gpio-keys";
23 pinctrl-names = "default";
[all …]
/linux/arch/arm/boot/dts/st/
H A Dstm32mp133c-prihmb.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
2 /dts-v1/;
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/leds/common.h>
7 #include <dt-bindings/regulator/st,stm32mp13-regulator.h>
10 #include "stm32mp13-pinctrl.dtsi"
13 model = "Priva E-Measuringbox board";
18 mdio-gpio0 = &mdio0;
27 stdout-path = "serial0:115200n8";
[all …]

12345678910>>...19