/linux-5.10/Documentation/devicetree/bindings/leds/backlight/ |
D | pwm-backlight.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/leds/backlight/pwm-backlight.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: pwm-backlight bindings 10 - Lee Jones <lee.jones@linaro.org> 11 - Daniel Thompson <daniel.thompson@linaro.org> 12 - Jingoo Han <jingoohan1@gmail.com> 16 const: pwm-backlight 21 pwm-names: true [all …]
|
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 bindings 10 - Lee Jones <lee.jones@linaro.org> 11 - Daniel Thompson <daniel.thompson@linaro.org> 12 - Jingoo Han <jingoohan1@gmail.com> 21 const: led-backlight 25 $ref: /schemas/types.yaml#/definitions/phandle-array [all …]
|
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.jones@linaro.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 …]
|
D | tps65217-backlight.txt | 7 - compatible: "ti,tps65217" 8 - reg: I2C slave address 9 - backlight: node for specifying WLED1 and WLED2 lines in TPS65217 10 - isel: selection bit, valid values: 1 for ISEL1 (low-level) and 2 for ISEL2 (high-level) 11 - fdim: PWM dimming frequency, valid values: 100, 200, 500, 1000 12 - default-brightness: valid values: 0-100 22 isel = <1>; /* 1 - ISET1, 2 ISET2 */ 24 default-brightness = <50>;
|
D | qcom-wled.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/leds/backlight/qcom-wled.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Bjorn Andersson <bjorn.andersson@linaro.org> 11 - Kiran Gunda <kgunda@codeaurora.org> 21 - qcom,pm8941-wled 22 - qcom,pmi8998-wled 23 - qcom,pm660l-wled 24 - qcom,pm8150l-wled [all …]
|
D | kinetic,ktd253.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Kinetic Technologies KTD253 one-wire backlight 10 - Linus Walleij <linus.walleij@linaro.org> 15 it goes to maximum backlight then you can set the level of backlight 20 - $ref: common.yaml# 26 enable-gpios: 30 default-brightness: true 31 max-brightness: true [all …]
|
/linux-5.10/drivers/video/backlight/ |
D | led_bl.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2015-2019 Texas Instruments Incorporated - http://www.ti.com/ 25 static void led_bl_set_brightness(struct led_bl_data *priv, int level) in led_bl_set_brightness() argument 30 if (priv->levels) in led_bl_set_brightness() 31 bkl_brightness = priv->levels[level]; in led_bl_set_brightness() 33 bkl_brightness = 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() [all …]
|
D | tps65217_bl.c | 39 rc = tps65217_set_bits(tps65217_bl->tps, TPS65217_REG_WLEDCTRL1, in tps65217_bl_enable() 43 dev_err(tps65217_bl->dev, in tps65217_bl_enable() 48 tps65217_bl->is_enabled = true; in tps65217_bl_enable() 50 dev_dbg(tps65217_bl->dev, "backlight enabled\n"); in tps65217_bl_enable() 59 rc = tps65217_clear_bits(tps65217_bl->tps, in tps65217_bl_disable() 64 dev_err(tps65217_bl->dev, in tps65217_bl_disable() 69 tps65217_bl->is_enabled = false; in tps65217_bl_disable() 71 dev_dbg(tps65217_bl->dev, "backlight disabled\n"); in tps65217_bl_disable() 80 int brightness = backlight_get_brightness(bl); in tps65217_bl_update_status() local 82 if (brightness > 0) { in tps65217_bl_update_status() [all …]
|
D | ktd253-backlight.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Based on code and know-how from the Samsung GT-S7710 40 int brightness = backlight_get_brightness(bl); in ktd253_backlight_update_status() local 42 u16 current_ratio = ktd253->ratio; in ktd253_backlight_update_status() 45 dev_dbg(ktd253->dev, "new brightness/ratio: %d/32\n", brightness); in ktd253_backlight_update_status() 47 target_ratio = brightness; in ktd253_backlight_update_status() 54 gpiod_set_value_cansleep(ktd253->gpiod, 0); in ktd253_backlight_update_status() 60 ktd253->ratio = 0; in ktd253_backlight_update_status() 65 gpiod_set_value_cansleep(ktd253->gpiod, 1); in ktd253_backlight_update_status() 73 * The loop to set the correct current level is performed in ktd253_backlight_update_status() [all …]
|
D | pwm_bl.c | 1 // SPDX-License-Identifier: GPL-2.0-only 35 int brightness); 37 int brightness); 47 pwm_get_state(pb->pwm, &state); in pwm_backlight_power_on() 48 if (pb->enabled) in pwm_backlight_power_on() 51 err = regulator_enable(pb->power_supply); in pwm_backlight_power_on() 53 dev_err(pb->dev, "failed to enable power supply\n"); in pwm_backlight_power_on() 56 pwm_apply_state(pb->pwm, &state); in pwm_backlight_power_on() 58 if (pb->post_pwm_on_delay) in pwm_backlight_power_on() 59 msleep(pb->post_pwm_on_delay); in pwm_backlight_power_on() [all …]
|
D | backlight.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2003,2004 Hewlett-Packard Company 33 * When the core detect changes in for example brightness or power state 39 * - brightness R/W, set the requested brightness level 40 * - actual_brightness RO, the brightness level used by the HW 41 * - max_brightness RO, the maximum brightness level supported 43 * See Documentation/ABI/stable/sysfs-class-backlight for the full list. 47 * a hot-key or some other platform or firmware specific way. 51 * brightness, thus providing user-space access to the actual level 54 * When the backlight changes this is reported to user-space using [all …]
|
/linux-5.10/Documentation/ABI/testing/ |
D | sysfs-class-led | 1 What: /sys/class/leds/<led>/brightness 6 Set the brightness of the LED. 8 Most LEDs don't have hardware brightness support, so will 9 just be turned on for non-zero brightness settings. 20 led_brightness = brightness * multi_intensity/max_brightness 23 Documentation/leds/leds-class-multicolor.rst. 30 Writing non-zero to this file while trigger is active changes the 31 top brightness trigger is going to use. 40 Maximum brightness level for this LED, default is 255 (LED_FULL). 42 If the LED does not support different brightness levels, this [all …]
|
D | sysfs-class-backlight-adp5520 | 2 --------------------------------------------------------------- 4 The backlight brightness control operates at three different levels for the 5 adp5520 and adp5501 devices: daylight (level 1), office (level 2) and dark 6 (level 3). By default the brightness operates at the daylight brightness level. 15 (RW) Maximum current setting for the backlight when brightness 18 value between 0 mA and 30 mA using linear or non-linear 28 (RW) Dim current setting for the backlight when brightness is at 31 between 0 mA and 30 mA using linear or non-linear algorithms.
|
D | sysfs-class-backlight-adp8860 | 2 ----------------------------------------------------------- 4 The backlight brightness control operates at three different levels for the 5 adp8860, adp8861 and adp8863 devices: daylight (level 1), office (level 2) and 6 dark (level 3). By default the brightness operates at the daylight brightness 7 level. 20 (RW) Maximum current setting for the backlight when brightness 23 value between 0 mA and 30 mA using linear or non-linear 34 (RW) Dim current setting for the backlight when brightness is at 37 between 0 mA and 30 mA using linear or non-linear algorithms.
|
/linux-5.10/drivers/acpi/ |
D | acpi_video.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * video.c - ACPI Video Driver 7 * Copyright (C) 2006 Thomas Tuttle <linux-kernel@ttuttle.net> 47 * By default, we don't allow duplicate ACPI video bus devices 53 static int disable_backlight_sysfs_if = -1; 58 static int report_key_events = -1; 61 "0: none, 1: output changes, 2: brightness changes, 3: all"); 63 static int hw_changes_brightness = -1; 66 "Set this to 1 on buggy hw which changes the brightness itself when " 67 "a hotkey is pressed: -1: auto, 0: normal 1: hw-changes-brightness"); [all …]
|
/linux-5.10/arch/arm64/boot/dts/allwinner/ |
D | sun50i-a64-pinephone-1.1.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 /dts-v1/; 6 #include "sun50i-a64-pinephone.dtsi" 10 compatible = "pine64,pinephone-1.1", "allwinner,sun50i-a64"; 14 power-supply = <®_ldo_io0>; 18 * being off is around 20%. Duty cycle for the lowest brightness level 20 * value here was chosen as a safe default. 22 brightness-levels = < 28 num-interpolated-steps = <50>; 29 default-brightness-level = <400>;
|
D | sun50i-a64-pinephone-1.2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 /dts-v1/; 6 #include "sun50i-a64-pinephone.dtsi" 10 compatible = "pine64,pinephone-1.2", "allwinner,sun50i-a64"; 14 power-supply = <®_ldo_io0>; 18 * is around 10%. Duty cycle for the lowest brightness level also varries 20 * chosen as a safe default. 22 brightness-levels = < 29 num-interpolated-steps = <50>; 30 default-brightness-level = <500>; [all …]
|
/linux-5.10/Documentation/admin-guide/laptops/ |
D | thinkpad-acpi.rst | 9 - Borislav Deianov <borislav@users.sf.net> 10 - Henrique de Moraes Holschuh <hmh@hmh.eng.br> 12 http://ibm-acpi.sf.net/ 19 This driver used to be named ibm-acpi until kernel 2.6.21 and release 20 0.13-20070314. It used to be in the drivers/acpi tree, but it was 21 moved to the drivers/misc tree and renamed to thinkpad-acpi for kernel 25 The driver is named "thinkpad-acpi". In some places, like module 29 "tpacpi" is used as a shorthand where "thinkpad-acpi" would be too 33 ------ 38 - Fn key combinations [all …]
|
/linux-5.10/drivers/leds/ |
D | leds-tca6507.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * leds-tca6507 9 * blink or double-blink. 12 * out-only (pull-up resistor required) or as an LED with variable 13 * brightness and hardware-assisted blinking. 15 * Apart from OFF and ON there are three programmable brightness 21 * with separate time for rise, on, fall, off and second-off. Thus if 22 * 3 or more different non-trivial rates are required, software must 25 * support double-blink so 'second-off' always matches 'off'. 42 * delays in the ranges: 56-72, 112-144, 168-216, 224-27504, [all …]
|
/linux-5.10/include/linux/ |
D | leds.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 11 #include <dt-bindings/leds/common.h> 28 /* This is obsolete/useless. We now support variable maximum brightness. */ 40 * default <color:function> tuple, for backward compatibility 41 * with in-driver hard-coded LED names used as a fallback when 54 * only LEDs exposed by drivers of hot-pluggable devices should 66 enum led_brightness brightness; member 93 /* Set LED brightness level 95 * that can sleep while setting brightness. 98 enum led_brightness brightness); [all …]
|
/linux-5.10/Documentation/devicetree/bindings/mfd/ |
D | ti-lmu.txt | 6 ------ --------------------------------- 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 30 the a higher brightness level. 31 Range from 2048 us - 117.44 s 32 - ramp-down-us: Current ramping from one brightness level to 33 the a lower brightness level. 34 Range from 2048 us - 117.44 s [all …]
|
/linux-5.10/Documentation/devicetree/bindings/display/ |
D | ht16k33.txt | 2 ------------------------------------------------------------------------------- 5 - compatible: "holtek,ht16k33" 6 - reg: I2C slave address of the chip. 7 - interrupts: Interrupt specification for the key pressed interrupt. 8 - refresh-rate-hz: Display update interval in HZ. 9 - debounce-delay-ms: Debouncing interval time in milliseconds. 10 - linux,keymap: The keymap for keys as described in the binding 11 document (devicetree/bindings/input/matrix-keymap.txt). 14 - linux,no-autorepeat: Disable keyrepeat. 15 - default-brightness-level: Initial brightness level [0-15] (default: 15). [all …]
|
/linux-5.10/arch/arm/boot/dts/ |
D | imx6q-logicpd.dts | 1 // SPDX-License-Identifier: GPL-2.0 5 /dts-v1/; 7 #include "imx6-logicpd-som.dtsi" 8 #include "imx6-logicpd-baseboard.dtsi" 11 model = "Logic PD i.MX6QD SOM-M3"; 12 compatible = "logicpd,imx6q-logicpd", "fsl,imx6q"; 14 backlight: backlight-lvds { 15 compatible = "pwm-backlight"; 17 brightness-levels = <0 4 8 16 32 64 128 255>; 18 default-brightness-level = <6>; [all …]
|
D | imx6dl-aristainetos_7.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 7 /dts-v1/; 9 #include "imx6qdl-aristainetos.dtsi" 21 compatible = "fsl,imx-parallel-display"; 22 interface-pix-fmt = "rgb24"; 23 pinctrl-names = "default"; 24 pinctrl-0 = <&pinctrl_ipu_disp>; 27 display-timings { 29 native-mode; 30 clock-frequency = <33246000>; [all …]
|
/linux-5.10/arch/arm64/boot/dts/renesas/ |
D | hihope-rzg2-ex-lvds.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 10 compatible = "pwm-backlight"; 13 brightness-levels = <0 2 8 16 32 64 128 255>; 14 default-brightness-level = <6>; 23 lvds-connector-en-gpio { 24 gpio-hog; 26 output-low; 27 line-name = "lvds-connector-en-gpio"; 48 pinctrl-0 = <&pwm0_pins>; 49 pinctrl-names = "default";
|