Home
last modified time | relevance | path

Searched +full:charge +full:- +full:led (Results 1 – 25 of 281) sorted by relevance

12345678910>>...12

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/
Dmax77693.txt1 Maxim MAX77693 multi-function device
4 - PMIC,
5 - CHARGER,
6 - LED,
7 - MUIC,
8 - HAPTIC
14 - compatible : Must be "maxim,max77693".
15 - reg : Specifies the i2c slave address of PMIC block.
16 - interrupts : This i2c device has an IRQ line connected to the main SoC.
19 - regulators : The regulators of max77693 have to be instantiated under subnode
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/leds/
Dleds-lp55xx.yaml1 # 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 …]
Dleds-sgm3140.yaml1 # 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 …]
Dqcom,pm8058-led.yaml1 # 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 …]
Dleds-gpio.yaml1 # 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 …]
/kernel/linux/linux-6.6/Documentation/admin-guide/laptops/
Dlg-laptop.rst1 .. 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 …]
/kernel/linux/linux-5.10/Documentation/admin-guide/laptops/
Dlg-laptop.rst1 .. 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 F13
17 - FN-F6 (Airplane mode) - Generates RFKILL
18 - FN-F8 (Keyboard backlight) - Generates F16.
20 - FN-F9 (Reader mode) - Generates F14
26 -----------
28 Writing 0/1 to /sys/devices/platform/lg-laptop/reader_mode disables/enables
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/leds/
Dleds-sgm3140.yaml1 # 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
23 enable-gpios:
27 flash-gpios:
[all …]
Dleds-pm8058.txt1 Qualcomm PM8058 LED driver
3 The Qualcomm PM8058 is a multi-functional device which contains
4 an LED driver block for up to six LEDs: three normal LEDs, two
5 "flash" LEDs and one "keypad backlight" LED. The names are
6 quoted because sometimes these LED drivers are used for wildly
8 are more of a suggestion than a hard-wired usecase.
10 Hardware-wise the different LEDs support slightly different
11 output currents. The "flash" LEDs do not need to charge nor
12 do they support external triggers. They are just powerful LED
17 mfd/qcom-pm8xxx.txt.
[all …]
Dleds-gpio.yaml1 # 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 …]
/kernel/linux/linux-6.6/include/linux/platform_data/
Dadp8860.h1 /* 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 …]
Dleds-lp55xx.h1 /* 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 */
/kernel/linux/linux-5.10/include/linux/platform_data/
Dadp8860.h1 /* 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 …]
/kernel/linux/linux-6.6/drivers/leds/flash/
DKconfig1 # 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"
28 This option enables support for Kinetic KTD2692 LED flash connected
34 tristate "LED support for LM3601x Chips"
42 tristate "LED support for MAX77693 Flash"
52 tristate "LED Support for Mediatek MT6360 PMIC"
59 This option enables support for dual Flash LED drivers found on
[all …]
/kernel/linux/linux-6.6/include/linux/mfd/
Dmax8997.h1 /* 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 …]
/kernel/linux/linux-5.10/include/linux/mfd/
Dmax8997.h1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * max8997.h - Driver for the Maxim 8997/8966
5 * Copyright (C) 2009-2010 Samsung Electrnoics
123 * [0 - 3]: valid pattern number
126 * [0 - 15]: available cycles
128 * [0 - 255]: available period
153 * The number of LED devices for MAX8997 is two
154 * @mode: LED mode for each LED device
155 * @brightness: initial brightness for each LED device
157 * [0 - 31]: MAX8997_FLASH_MODE and MAX8997_FLASH_PIN_CONTROL_MODE
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/
Dnouveau_led.c4 * 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 …]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/
Dnouveau_led.c4 * 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 …]
/kernel/linux/linux-6.6/drivers/leds/
Dleds-hp6xx.c1 // 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");
/kernel/linux/linux-5.10/drivers/leds/
Dleds-hp6xx.c1 // 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");
/kernel/linux/linux-6.6/arch/arm/boot/dts/qcom/
Dqcom-msm8974pro-fairphone-fp2.dts1 // 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 …]
Dqcom-msm8974-sony-xperia-rhine.dtsi1 // 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 …]
/kernel/linux/linux-5.10/arch/arm/mach-pxa/
Dpcm990_baseboard.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * arch/arm/mach-pxa/include/mach/pcm990_baseboard.h
13 * definitions relevant only when the PCM-990
17 /* CPLD's interrupt controller is connected to PCM-027 GPIO 9 */
21 #define PCM990_CTRL_PHYS PXA_CS1_PHYS /* 16-Bit */
39 #define PCM990_CTRL_REG2 0x0004 /* LED REGISTER */
40 #define PCM990_CTRL_LEDPWR 0x0001 /* POWER LED enable */
41 #define PCM990_CTRL_LEDBAS 0x0002 /* BASIS LED enable */
42 #define PCM990_CTRL_LEDUSR 0x0004 /* USER LED enable */
55 #define PCM990_CTRL_MMC2LED 0x0002 /* RW MMC2 LED */
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/mfd/
Dmaxim,max77693.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Chanwoo Choi <cw00.choi@samsung.com>
11 - Krzysztof Kozlowski <krzk@kernel.org>
18 includes voltage current regulators, charger, LED/flash, haptic motor driver
34 led:
37 max77693-muic:
44 const: maxim,max77693-muic
47 - compatible
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/nxp/imx/
Dimx6qdl-solidsense.dtsi4 * This file is dual-licensed: you can use it either under the terms
20 * b) Permission is hereby granted, free of charge, to any person
41 #include <dt-bindings/leds/common.h>
45 compatible = "gpio-leds";
46 pinctrl-names = "default";
47 pinctrl-0 = <&pinctrl_solidsense_leds>;
49 /* Red/Green LED1 - next to WiFi SMA */
50 led-11 {
53 function-enumerator = <0>;
57 led-12 {
[all …]

12345678910>>...12