/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | ti-lmu.txt | 6 ------ --------------------------------- 7 LM3631 Backlight and regulator 8 LM3632 Backlight and regulator 9 LM3633 Backlight, LED and fault monitor 10 LM3695 Backlight 11 LM36274 Backlight and regulator 14 - compatible: Should be one of: 20 - reg: I2C slave address. 28 - enable-gpios: A GPIO specifier for hardware enable pin. 29 - ramp-up-us: Current ramping from one brightness level to [all …]
|
H A D | mediatek,mt6370.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - ChiYuan Huang <cy_huang@richtek.com> 13 MT6370 is a highly-integrated smart power management IC, which includes a 14 single cell Li-Ion/Li-Polymer switching battery charger, a USB Type-C & 15 Power Delivery (PD) controller, dual flash LED current sources, a RGB LED 16 driver, a backlight WLED driver, a display bias driver and a general LDO for 26 wakeup-source: true 31 interrupt-controller: true [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/leds/backlight/ |
H A D | led-backlight.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/leds/backlight/led-backlight.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: led-backlight 10 - Lee Jones <lee@kernel.org> 11 - Daniel Thompson <daniel.thompson@linaro.org> 12 - Jingoo Han <jingoohan1@gmail.com> 15 This binding is used to describe a basic backlight device made of LEDs. It 16 can also be used to describe a backlight device controlled by the output of [all …]
|
H A D | kinetic,ktz8866.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/leds/backlight/kinetic,ktz8866.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Kinetic Technologies KTZ8866 backlight 10 - Jianhua Lu <lujianhua000@gmail.com> 13 The Kinetic Technologies KTZ8866 is a high efficiency 6-channels-current-sinks 14 led backlight with dual lcd bias power. 15 https://www.kinet-ic.com/ktz8866/ 18 - $ref: common.yaml# [all …]
|
H A D | lm3630a-backlight.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/leds/backlight/lm3630a-backlight.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: TI LM3630A High-Efficiency Dual-String White LED 10 - Lee Jones <lee@kernel.org> 11 - Daniel Thompson <daniel.thompson@linaro.org> 12 - Jingoo Han <jingoohan1@gmail.com> 15 The LM3630A is a current-mode boost converter which supplies the power and 26 '#address-cells': [all …]
|
H A D | common.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/leds/backlight/common.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Common backlight properties 10 - Lee Jones <lee@kernel.org> 11 - Daniel Thompson <daniel.thompson@linaro.org> 12 - Jingoo Han <jingoohan1@gmail.com> 15 Backlight devices provide backlight for different types of graphical 17 LED powered by a boost converter. [all …]
|
H A D | arcxcnn_bl.txt | 1 Binding for ArcticSand arc2c0608 LED driver 4 - compatible: should be "arc,arc2c0608" 5 - reg: slave address 8 - default-brightness: brightness value on boot, value from: 0-4095 9 - label: The name of the backlight device 11 - led-sources: List of enabled channels from 0 to 5. 14 - arc,led-config-0: setting for register ILED_CONFIG_0 15 - arc,led-config-1: setting for register ILED_CONFIG_1 16 - arc,dim-freq: PWM mode frequence setting (bits [3:0] used) 17 - arc,comp-config: setting for register CONFIG_COMP [all …]
|
H A D | sky81452-backlight.txt | 1 SKY81452-backlight bindings 4 - compatible : Must be "skyworks,sky81452-backlight" 7 - name : Name of backlight device. Default is 'lcd-backlight'. 8 - gpios : GPIO to use to EN pin. 10 - led-sources : List of enabled channels from 0 to 5. 12 - skyworks,ignore-pwm : Ignore both PWM input 13 - skyworks,dpwm-mode : Enable DPWM dimming mode, otherwise Analog dimming. 14 - skyworks,phase-shift : Enable phase shift mode 15 - skyworks,short-detection-threshold-volt 17 - skyworks,current-limit-mA [all …]
|
H A D | richtek,rt4831-backlight.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/leds/backlight/richtek,rt4831-backlight.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Richtek RT4831 Backlight 10 - ChiYuan Huang <cy_huang@richtek.com> 14 and LCD backlight. 16 For the LCD backlight, it can provide four channel WLED driving capability. 20 https://www.richtek.com/assets/product_file/RT4831A/DS4831A-05.pdf 23 - $ref: common.yaml# [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/leds/ |
H A D | leds-lm36274.txt | 1 * Texas Instruments LM36274 4-Channel LCD Backlight Driver w/Integrated Bias 3 The LM36274 is an integrated four-channel WLED driver and LCD bias supply. 4 The backlight boost provides the power to bias four parallel LED strings with 5 up to 29V total output voltage. The 11-bit LED current is programmable via 9 Documentation/devicetree/bindings/mfd/ti-lmu.txt 12 Documentation/devicetree/bindings/regulator/lm363x-regulator.txt 14 Required backlight properties: 15 - compatible: 16 "ti,lm36274-backlight" 17 - reg : 0 [all …]
|
H A D | leds-lm3697.txt | 1 * Texas Instruments - LM3697 Highly Efficient White LED Driver 3 The LM3697 11-bit LED driver provides high- 4 performance backlight dimming for 1, 2, or 3 series 5 LED strings while delivering up to 90% efficiency. 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 [all …]
|
H A D | leds-lm3532.txt | 1 * Texas Instruments - lm3532 White LED driver with ambient light sensing 4 The LM3532 provides the 3 high-voltage, low-side current sinks. The device is 5 programmable over an I2C-compatible interface and has independent 7 method allows for different LED currents in each current sink thus allowing 8 for a wide variety of backlight and keypad applications. 11 each with 32 internal voltage setting resistors, 8-bit logarithmic and linear 16 - compatible : "ti,lm3532" 17 - reg : I2C slave address 18 - #address-cells : 1 19 - #size-cells : 0 [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 16 flash or keypad backlight:: their names are more of a suggestion than a [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/chrome/ |
H A D | google,cros-kbd-led-backlight.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/chrome/google,cros-kbd-led-backlight.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: ChromeOS keyboard backlight LED driver. 10 - Tzung-Bi Shih <tzungbi@kernel.org> 14 const: google,cros-kbd-led-backlight 17 - compatible 22 - | 24 #address-cells = <1>; [all …]
|
/openbmc/linux/drivers/hid/ |
H A D | hid-corsair.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * - Vengeance K70 Keyboard 7 * - K70 RAPIDFIRE Keyboard 8 * - Vengeance K90 Keyboard 9 * - Scimitar PRO RGB Gaming Mouse 24 #include "hid-ids.h" 43 struct k90_led *backlight; member 52 return usage - 0xd0 + 1; in corsair_usage_to_gkey() 55 return usage - 0xe8 + 17; in corsair_usage_to_gkey() 81 MODULE_PARM_DESC(gkey_codes, "Key codes for the G-keys"); [all …]
|
/openbmc/linux/drivers/video/backlight/ |
H A D | adp8860_bl.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Backlight driver for Analog Devices ADP8860 Backlight Devices 5 * Copyright 2009-2010 Analog Devices Inc. 15 #include <linux/backlight.h> 29 #define ADP8860_BLSEN 0x05 /* Sink enable backlight or independent */ 30 #define ADP8860_BLOFF 0x06 /* Backlight off timeout */ 31 #define ADP8860_BLDIM 0x07 /* Backlight dim timeout */ 32 #define ADP8860_BLFR 0x08 /* Backlight fade in and out rates */ 33 #define ADP8860_BLMX1 0x09 /* Backlight (Brightness Level 1-daylight) maximum current */ 34 #define ADP8860_BLDM1 0x0A /* Backlight (Brightness Level 1-daylight) dim current */ [all …]
|
H A D | adp8870_bl.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Backlight driver for Analog Devices ADP8870 Backlight Devices 5 * Copyright 2009-2011 Analog Devices Inc. 15 #include <linux/backlight.h> 30 #define ADP8870_BLSEL 0x05 /* Sink enable backlight or independent */ 32 #define ADP8870_BLOFF 0x07 /* Backlight off timeout */ 33 #define ADP8870_BLDIM 0x08 /* Backlight dim timeout */ 34 #define ADP8870_BLFR 0x09 /* Backlight fade in and out rates */ 35 #define ADP8870_BLMX1 0x0A /* Backlight (Brightness Level 1-daylight) maximum current */ 36 #define ADP8870_BLDM1 0x0B /* Backlight (Brightness Level 1-daylight) dim current */ [all …]
|
H A D | led_bl.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2015-2019 Texas Instruments Incorporated - http://www.ti.com/ 9 #include <linux/backlight.h> 30 if (priv->levels) in led_bl_set_brightness() 31 bkl_brightness = priv->levels[level]; in led_bl_set_brightness() 35 for (i = 0; i < priv->nb_leds; i++) in led_bl_set_brightness() 36 led_set_brightness(priv->leds[i], bkl_brightness); in led_bl_set_brightness() 38 priv->enabled = true; in led_bl_set_brightness() 45 if (!priv->enabled) in led_bl_power_off() 48 for (i = 0; i < priv->nb_leds; i++) in led_bl_power_off() [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # Backlight & LCD drivers configuration 6 menu "Backlight & LCD device support" 14 This framework adds support for low-level control of LCD. 15 Some framebuffer devices connect to platform-specific LCD modules 16 in order to have a platform-specific way to control the flat panel 17 (contrast and applying power to the LCD (not to the backlight!)). 90 This driver provides a platform-device registered LCD power 118 tristate "Himax HX-8357 LCD Driver" 121 If you have a HX-8357 LCD panel, say Y to enable its LCD control [all …]
|
/openbmc/linux/drivers/leds/trigger/ |
H A D | ledtrig-backlight.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Backlight emulation LED trigger 21 struct led_classdev *led; member 33 struct led_classdev *led = n->led; in fb_notifier_callback() local 42 blank = fb_event->data; in fb_notifier_callback() 45 if (new_status == n->old_status) in fb_notifier_callback() 48 if ((n->old_status == UNBLANK) ^ n->invert) { in fb_notifier_callback() 49 n->brightness = led->brightness; in fb_notifier_callback() 50 led_set_brightness_nosleep(led, LED_OFF); in fb_notifier_callback() 52 led_set_brightness_nosleep(led, n->brightness); in fb_notifier_callback() [all …]
|
/openbmc/linux/Documentation/leds/ |
H A D | well-known-leds.txt | 1 -*- org -*- 4 userland. LED devices have one problem there, and that is naming of 6 just know right "name" for given LED function, but situation got more 17 Notice there's a list of functions in include/dt-bindings/leds/common.h . 24 player. For example, a game controller with 4 LEDs, may be programmed with "x---" 25 to indicate player 1, "-x--" to indicate player 2 etcetera where "x" means on. 26 Input drivers can utilize the LED class to expose the individual player LEDs 31 Good: "input*:*:player-{1,2,3,4,5} 38 Legacy: "shift-key-light" (Motorola Droid 4, capslock) 45 Frontlight/backlight of main keyboard. [all …]
|
/openbmc/linux/arch/arm/boot/dts/st/ |
H A D | stm32mp157c-lxa-tac-gen2.dts | 1 // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) 3 * Copyright (C) 2020 STMicroelectronics - All Rights Reserved 8 /dts-v1/; 11 #include "stm32mp15xc-lxa-tac.dtsi" 15 compatible = "lxa,stm32mp157c-tac-gen2", "oct,stm32mp15xx-osd32", "st,stm32mp157"; 17 backlight: backlight { label 18 compatible = "pwm-backlight"; 19 power-supply = <&v3v3>; 21 brightness-levels = <0 31 63 95 127 159 191 223 255>; 22 default-brightness-level = <7>; [all …]
|
H A D | stm32mp157c-lxa-mc1.dts | 1 /* SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) */ 3 * Copyright (C) 2020 STMicroelectronics - All Rights Reserved 7 /dts-v1/; 10 #include "stm32mp15xx-osd32.dtsi" 11 #include "stm32mp15xxac-pinctrl.dtsi" 13 #include <dt-bindings/gpio/gpio.h> 14 #include <dt-bindings/pwm/pwm.h> 17 model = "Linux Automation MC-1 board"; 18 compatible = "lxa,stm32mp157c-mc1", "oct,stm32mp15xx-osd32", "st,stm32mp157"; 27 backlight: backlight { label [all …]
|
/openbmc/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 …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-led | 1 What: /sys/class/leds/<led>/brightness 6 Set the brightness of the LED. 9 just be turned on for non-zero brightness settings. 15 each color LED intensity is set to. 17 The percentage is calculated for each grouped LED via 23 Documentation/leds/leds-class-multicolor.rst. 26 /sys/class/leds/<led>/max_brightness. 30 Writing non-zero to this file while trigger is active changes the 35 What: /sys/class/leds/<led>/max_brightness 40 Maximum brightness level for this LED, default is 255 (LED_FULL). [all …]
|