/linux/Documentation/devicetree/bindings/leds/ |
H A D | leds-lp55xx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/leds/leds-lp55xx.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: TI/National Semiconductor LP55xx and LP8501 LED Drivers 10 - Jacek Anaszewski <jacek.anaszewski@gmail.com> 11 - Pavel Machek <pavel@ucw.cz> 15 LED Drivers. 27 - national,lp5521 28 - national,lp5523 [all …]
|
H A D | silergy,sy7802.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: Silergy SY7802 1800mA Boost Charge Pump LED Driver 10 - André Apitzsch <git@apitzsch.eu> 13 The SY7802 is a current-regulated charge pump which can regulate two current 16 The SY7802 is a high-current synchronous boost converter with 2-channel 22 - silergy,sy7802 27 enable-gpios: 31 flash-gpios: [all …]
|
H A D | leds-sgm3140.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/leds/leds-sgm3140.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: SGMICRO SGM3140 500mA Buck/Boost Charge Pump LED Driver 10 - Luca Weiss <luca@z3ntu.xyz> 13 The SGM3140 is a current-regulated charge pump which can regulate two current 17 http://www.sg-micro.com/uploads/soft/20190626/1561535688.pdf 22 - ocs,ocp8110 23 - richtek,rt5033-led [all …]
|
H A D | qcom,pm8058-led.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/leds/qcom,pm8058-led.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm PM8058 PMIC LED 10 - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 13 The Qualcomm PM8058 contains an LED block for up to six LEDs:: three normal 14 LEDs, two "flash" LEDs and one "keypad backlight" LED. The names are quoted 15 because sometimes these LED drivers are used for wildly different things than 17 hard-wired usecase. [all …]
|
H A D | leds-gpio.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/leds/leds-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jacek Anaszewski <jacek.anaszewski@gmail.com> 11 - Pavel Machek <pavel@ucw.cz> 14 Each LED is represented as a sub-node of the gpio-leds device. Each 15 node's name represents the name of the corresponding LED. 19 const: gpio-leds 22 # The first form is preferred, but fall back to just 'led' anywhere in the [all …]
|
/linux/Documentation/admin-guide/laptops/ |
H A D | lg-laptop.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 7 By Matan Ziv-Av <matan@svgalib.org> 11 ------- 15 - FN-F1 (LG control panel) - Generates F15 16 - FN-F5 (Touchpad toggle) - Generates F21 17 - FN-F6 (Airplane mode) - Generates RFKILL 18 - FN-F9 (Reader mode) - Generates F14 24 ----------- 26 Writing 0/1 to /sys/devices/platform/lg-laptop/reader_mode disables/enables 28 and the reader mode indicator LED (on F9 key) turns on. [all …]
|
/linux/include/linux/platform_data/ |
H A D | adp8860.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 6 * Copyright 2009-2010 Analog Devices Inc. 101 u8 bl_led_assign; /* 1 = Backlight 0 = Individual LED */ 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 */ 130 u8 led_fade_in; /* LED Fade-In Timer */ 131 u8 led_fade_out; /* LED Fade-Out Timer */ 132 u8 led_fade_law; /* fade-on/fade-off transfer characteristic */ 137 * charge pump to switch to lower gains. NOT AVAILABLE on ADP8860 [all …]
|
H A D | leds-lp55xx.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 9 * Derived from leds-lp5521.h, leds-lp5523.h 16 #include <linux/led-class-multicolor.h> 29 u8 led_current; /* mA x10, 0 if led is not connected */ 55 * @led_config : Configurable led class device 56 * @num_channels : Number of LED channels 68 /* LED channel configuration */ 76 /* Charge pump mode */
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | msm8916-longcheer-l8150.dts | 1 // 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/interrupt-controller/irq.h> 11 #include <dt-bindings/leds/common.h> 16 chassis-type = "handset"; 25 stdout-path = "serial0"; [all …]
|
H A D | msm8916-samsung-grandmax.dts | 1 // 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 …]
|
H A D | msm8916-samsung-a3u-eur.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8916-samsung-a2015-common.dtsi" 9 compatible = "samsung,a3u-eur", "qcom,msm8916"; 10 chassis-type = "handset"; 12 reg_panel_vdd3: regulator-panel-vdd3 { 13 compatible = "regulator-fixed"; 14 regulator-name = "panel_vdd3"; 15 regulator-min-microvolt = <1800000>; 16 regulator-max-microvolt = <1800000>; [all …]
|
/linux/drivers/leds/flash/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 6 tristate "LED support for the AAT1290" 15 tristate "AS3645A and LM3555 LED flash controllers support" 19 Enable LED flash class support for AS3645A LED flash 24 tristate "LED support for Kinetic KTD2692 flash LED controller" 29 This option enables support for Kinetic KTD2692 LED flash connected 35 tristate "LED support for LM3601x Chips" 43 tristate "LED support for MAX77693 Flash" 53 tristate "LED Support for Mediatek MT6360 PMIC" 60 This option enables support for dual Flash LED drivers found on [all …]
|
/linux/include/linux/mfd/ |
H A D | max8997.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * max8997.h - Driver for the Maxim 8997/8966 5 * Copyright (C) 2009-2010 Samsung Electrnoics 121 * [0 - 3]: valid pattern number 124 * [0 - 15]: available cycles 126 * [0 - 255]: available period 150 * The number of LED devices for MAX8997 is two 151 * @mode: LED mode for each LED device 152 * @brightness: initial brightness for each LED device 154 * [0 - 31]: MAX8997_FLASH_MODE and MAX8997_FLASH_PIN_CONTROL_MODE [all …]
|
H A D | tps65010.h | 34 * ---------------------------------------------------------------------------- 36 * ---------------------------------------------------------------------------- 109 * ---------------------------------------------------------------------------- 111 * ---------------------------------------------------------------------------- 127 * ---------------------------------------------------------------------------- 129 * ---------------------------------------------------------------------------- 133 * 0 mA -- DON'T DRAW (might supply power instead) 134 * 100 mA -- usb unit load (slowest charge rate) 135 * 500 mA -- usb high power (fast battery charge) 146 * led: LED1 or LED2 [all …]
|
/linux/drivers/gpu/drm/nouveau/ |
H A D | nouveau_led.c | 4 * Permission is hereby granted, free of charge, to any person obtaining 37 nouveau_led_get_brightness(struct led_classdev *led) in nouveau_led_get_brightness() argument 39 struct drm_device *drm_dev = container_of(led, struct nouveau_led, led)->dev; in nouveau_led_get_brightness() 41 struct nvif_object *device = &drm->client.device.object; in nouveau_led_get_brightness() 54 nouveau_led_set_brightness(struct led_classdev *led, enum led_brightness value) in nouveau_led_set_brightness() argument 56 struct drm_device *drm_dev = container_of(led, struct nouveau_led, led)->dev; in nouveau_led_set_brightness() 58 struct nvif_object *device = &drm->client.device.object; in nouveau_led_set_brightness() 61 u32 freq = 100; /* this is what nvidia uses and it should be good-enough */ in nouveau_led_set_brightness() 68 * - A: nvidia never puts the logo led to any other PWM controler in nouveau_led_set_brightness() 70 * - B: nouveau does not touch these registers anywhere else in nouveau_led_set_brightness() [all …]
|
H A D | nouveau_led.h | 4 * Permission is hereby granted, free of charge, to any person obtaining a 35 struct led_classdev led; member 41 return nouveau_drm(dev)->led; in nouveau_led()
|
/linux/drivers/leds/ |
H A D | leds-lp5569.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 #include <linux/platform_data/leds-lp55xx.h> 18 #include <dt-bindings/leds/leds-lp55xx.h> 20 #include "leds-lp55xx-common.h" 120 /* Precompiled pattern per ENGINE setting LED MUX start and stop addresses */ in lp5569_init_program_engine() 140 /* Write precompiled pattern for LED MUX address space for each ENGINE */ in lp5569_init_program_engine() 142 chip->engine_idx = i; in lp5569_init_program_engine() 147 pattern[i - 1][j]); in lp5569_init_program_engine() 161 dev_err(&chip->cl->dev, in lp5569_init_program_engine() 162 "could not configure LED engine, status = 0x%.2x\n", in lp5569_init_program_engine() [all …]
|
H A D | leds-hp6xx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * LED Triggers Core 7 * this driver is based on leds-spitz.c by Richard Purdie. 43 .default_trigger = "hp6xx-charge", 50 .default_trigger = "disk-activity", 59 ret = devm_led_classdev_register(&pdev->dev, &hp6xx_red_led); in hp6xxled_probe() 63 return devm_led_classdev_register(&pdev->dev, &hp6xx_green_led); in hp6xxled_probe() 69 .name = "hp6xx-led", 76 MODULE_DESCRIPTION("HP Jornada 6xx LED driver"); 78 MODULE_ALIAS("platform:hp6xx-led");
|
/linux/arch/arm/boot/dts/qcom/ |
H A D | qcom-msm8974pro-fairphone-fp2.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-msm8974pro.dtsi" 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/leds/common.h> 7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 12 chassis-type = "handset"; 21 stdout-path = "serial0:115200n8"; 24 gpio-keys { 25 compatible = "gpio-keys"; 27 pinctrl-names = "default"; [all …]
|
H A D | qcom-msm8974-sony-xperia-rhine.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-msm8974.dtsi" 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/leds/common.h> 7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 15 stdout-path = "serial0:115200n8"; 18 gpio-keys { 19 compatible = "gpio-keys"; 21 pinctrl-names = "default"; 22 pinctrl-0 = <&gpio_keys_pin_a>; [all …]
|
/linux/Documentation/power/ |
H A D | power_supply_class.rst | 8 properties to user-space. 24 It also integrates with LED framework, for the purpose of providing 28 user and/or specific machine defaults, per design principles of LED 60 +--------------------------------------------------------------------------+ 61 | **Charge/Energy/Capacity - how to not confuse** | 62 +--------------------------------------------------------------------------+ 63 | **Because both "charge" (µAh) and "energy" (µWh) represents "capacity" | 66 | - `CHARGE_*` | 68 | - `ENERGY_*` | 70 | - `CAPACITY` | [all …]
|
/linux/Documentation/leds/ |
H A D | leds-class.rst | 2 LED handling under Linux 5 In its simplest form, the LED class just allows control of LEDs from 7 LED is defined in max_brightness file. The brightness file will set the brightness 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. 11 The class also introduces the optional concept of an LED trigger. A trigger 12 is a kernel based source of led events. Triggers can either be simple or 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 [all …]
|
/linux/arch/arm/boot/dts/allwinner/ |
H A D | sun4i-a10-marsboard.dts | 5 * This file is dual-licensed: you can use it either under the terms 22 * b) Permission is hereby granted, free of charge, to any person 44 /dts-v1/; 45 #include "sun4i-a10.dtsi" 46 #include "sunxi-common-regulators.dtsi" 48 #include <dt-bindings/gpio/gpio.h> 52 compatible = "haoyu,a10-marsboard", "allwinner,sun4i-a10"; 59 stdout-path = "serial0:115200n8"; 63 compatible = "gpio-leds"; 65 led-0 { [all …]
|
/linux/arch/arm/boot/dts/marvell/ |
H A D | mvebu-linkstation-gpio-simple.dtsi | 2 * Device Tree common file for gpio-{keys,leds} on Buffalo Linkstation 7 * This file is dual-licensed: you can use it either under the terms 24 * b) Permission is hereby granted, free of charge, to any person 46 #include <dt-bindings/input/input.h> 50 compatible = "gpio-keys"; 51 pinctrl-0 = <&pmx_power_switch>; 52 pinctrl-names = "default"; 54 power-on-switch { 55 label = "Power-on Switch"; 57 linux,input-type = <5>; [all …]
|
H A D | orion5x-linkstation-lschl.dts | 2 * Device Tree file for Buffalo Linkstation LS-CHLv3 5 * Copyright (C) 2015-2017 8 * This file is dual-licensed: you can use it either under the terms 25 * b) Permission is hereby granted, free of charge, to any person 47 /dts-v1/; 49 #include "orion5x-linkstation.dtsi" 50 #include "mvebu-linkstation-gpio-simple.dtsi" 51 #include "mvebu-linkstation-fan.dtsi" 52 #include <dt-bindings/gpio/gpio.h> 55 model = "Buffalo Linkstation LiveV3 (LS-CHL)"; [all …]
|