Home
last modified time | relevance | path

Searched +full:default +full:- +full:brightness +full:- +full:level (Results 1 – 25 of 266) sorted by relevance

1234567891011

/linux/Documentation/devicetree/bindings/leds/backlight/
H A Dpwm-backlight.yaml1 # 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
10 - Lee Jones <lee@kernel.org>
11 - Daniel Thompson <daniel.thompson@linaro.org>
12 - Jingoo Han <jingoohan1@gmail.com>
15 - $ref: common.yaml#
19 const: pwm-backlight
[all …]
H A Dcommon.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Lee Jones <lee@kernel.org>
11 - Daniel Thompson <daniel.thompson@linaro.org>
12 - Jingoo Han <jingoohan1@gmail.com>
20 default-brightness:
22 The default brightness that should be applied to the LED by the operating
23 system on start-up. The brightness should not exceed the brightness the
27 max-brightness:
[all …]
H A Dmediatek,mt6370-backlight.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/leds/backlight/mediatek,mt6370-backlight.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - ChiaEn Wu <chiaen_wu@richtek.com>
21 - $ref: common.yaml#
26 - mediatek,mt6370-backlight
27 - mediatek,mt6372-backlight
29 default-brightness:
32 max-brightness:
[all …]
H A Dlm3630a-backlight.yaml1 # 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 Dkinetic,ktd2801.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Kinetic Technologies KTD2801 one-wire backlight
10 - Duje Mihanović <duje.mihanovic@skole.hr>
15 or by pulsing the GPIO line to set the backlight level. This is called
19 - $ref: common.yaml#
25 ctrl-gpios:
28 default-brightness: true
29 max-brightness: true
[all …]
H A Dqcom-wled.yaml1 # 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 <andersson@kernel.org>
11 - Kiran Gunda <quic_kgunda@quicinc.com>
21 - qcom,pm8941-wled
22 - qcom,pmi8950-wled
23 - qcom,pmi8994-wled
24 - qcom,pmi8998-wled
[all …]
H A Dtps65217-backlight.txt7 - 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>;
H A Dkinetic,ktd253.yaml1 # 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 and KTD259 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#
25 - enum:
26 - kinetic,ktd253
27 - kinetic,ktd259
[all …]
H A Drichtek,rt4831-backlight.yaml1 # 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#
10 - ChiYuan Huang <cy_huang@richtek.com>
20 https://www.richtek.com/assets/product_file/RT4831A/DS4831A-05.pdf
23 - $ref: common.yaml#
27 const: richtek,rt4831-backlight
29 default-brightness:
33 max-brightness:
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-class-led1 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 …]
/linux/drivers/leds/flash/
H A Dleds-mt6360.c1 // SPDX-License-Identifier: GPL-2.0-only
8 #include <linux/led-class-flash.h>
9 #include <linux/led-class-multicolor.h>
15 #include <media/v4l2-flash-led-class.h>
29 #define MT6360_ISNK_ENMASK(_led_no) BIT(7 - (_led_no))
39 #define MT6360_REG_FLEDBASE(_id) (0x372 + 4 * (_id - MT6360_LED_FLASH1))
49 #define MT6360_FLCSEN_MASK(_id) BIT(MT6360_LED_FLASH2 - _id)
98 enum led_brightness level) in mt6360_mc_brightness_set() argument
102 struct mt6360_priv *priv = led->priv; in mt6360_mc_brightness_set()
106 mutex_lock(&priv->lock); in mt6360_mc_brightness_set()
[all …]
/linux/Documentation/admin-guide/laptops/
H A Dthinkpad-acpi.rst9 - 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/arch/arm64/boot/dts/allwinner/
H A Dsun50i-a64-pinephone-1.1.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
4 /dts-v1/;
6 #include "sun50i-a64-pinephone.dtsi"
10 compatible = "pine64,pinephone-1.1", "pine64,pinephone", "allwinner,sun50i-a64";
14 power-supply = <&reg_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>;
[all …]
H A Dsun50i-a64-pinephone-1.2.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
4 /dts-v1/;
6 #include "sun50i-a64-pinephone.dtsi"
10 compatible = "pine64,pinephone-1.2", "pine64,pinephone", "allwinner,sun50i-a64";
12 wifi_pwrseq: wifi-pwrseq {
13 compatible = "mmc-pwrseq-simple";
14 reset-gpios = <&r_pio 0 2 GPIO_ACTIVE_LOW>; /* PL2 */
19 power-supply = <&reg_ldo_io0>;
23 * is around 10%. Duty cycle for the lowest brightness level also varries
25 * chosen as a safe default.
[all …]
/linux/drivers/leds/
H A Dleds-tca6507.c1 // 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 …]
H A Dleds-pwm.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * linux/drivers/leds-pwm.c
9 * based on leds-gpio.c by Raphael Assenat <raph@8d.com>
41 enum led_brightness brightness) in led_pwm_set() argument
45 unsigned int max = led_dat->cdev.max_brightness; in led_pwm_set()
46 unsigned long long duty = led_dat->pwmstate.period; in led_pwm_set()
48 duty *= brightness; in led_pwm_set()
51 if (led_dat->active_low) in led_pwm_set()
52 duty = led_dat->pwmstate.period - duty; in led_pwm_set()
54 led_dat->pwmstate.duty_cycle = duty; in led_pwm_set()
[all …]
/linux/arch/arm64/boot/dts/freescale/
H A Dtqma8xxs-mb-smarc-2.dtsi1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
3 * Copyright (c) 2018-2025 TQ-Systems GmbH <linux@ew.tq-group.com>,
4 * D-82229 Seefeld, Germany.
14 backlight_lvds0: backlight-lvds0 {
15 compatible = "pwm-backlight";
16 pinctrl-names = "default";
17 pinctrl-0 = <&pinctrl_backlight_lvds0>;
19 brightness-levels = <0 4 8 16 32 64 128 255>;
20 default-brightness-level = <7>;
21 power-supply = <&reg_12v0>;
[all …]
H A Dimx95-tqma9596sa-mb-smarc-2.dts1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
3 * Copyright (c) 2024 TQ-Systems GmbH <linux@ew.tq-group.com>,
4 * D-82229 Seefeld, Germany.
8 /dts-v1/;
10 #include <dt-bindings/phy/phy-imx8-pcie.h>
11 #include "imx95-tqma9596sa.dtsi"
14 model = "TQ-Systems i.MX95 TQMa95xxSA on MB-SMARC-2";
15 compatible = "tq,imx95-tqma9596sa-mb-smarc-2", "tq,imx95-tqma9596sa", "fsl,imx95";
45 stdout-path = &lpuart7;
48 backlight_lvds0: backlight-lvds0 {
[all …]
/linux/include/linux/
H A Dleds.h1 /* SPDX-License-Identifier: GPL-2.0-only */
11 #include <dt-bindings/leds/common.h>
32 /* This is obsolete/useless. We now support variable maximum brightness. */
47 * struct led_lookup_data - represents a single LED lookup entry
65 * default <color:function> tuple, for backward compatibility
66 * with in-driver hard-coded LED names used as a fallback when
79 * only LEDs exposed by drivers of hot-pluggable devices should
93 unsigned int brightness; member
122 /* Brightness off also disables hw-blinking so it is a separate action */
127 /* Set LED brightness level
[all …]
/linux/Documentation/devicetree/bindings/mfd/
H A Dti-lmu.txt6 ------ ---------------------------------
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/drivers/leds/rgb/
H A Dleds-mt6370-rgb.c1 // SPDX-License-Identifier: GPL-2.0-only
14 #include <linux/led-class-multicolor.h>
110 #define MT6370_CHEN_BIT(id) BIT(MT6370_LED_ISNK4 - id)
113 #define MT6370_PWM_DUTY (BIT(5) - 1)
114 #define MT6372_PWM_DUTY (BIT(8) - 1)
119 * - 'LED_COLOR_ID_RGB'
120 * - 'LED_COLOR_ID_MULTI'
236 .reg_rgb_chrind_tr = -1,
248 default: in mt6370_get_led_current_field()
254 unsigned int level) in mt6370_set_led_brightness() argument
[all …]
/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx53-tx53-x13x.dts1 // SPDX-License-Identifier: (GPL-2.0-only OR MIT)
3 * Copyright 2013-2017 Lothar Waßmann <LW@KARO-electronics.de>
6 /dts-v1/;
7 #include "imx53-tx53.dtsi"
8 #include <dt-bindings/input/input.h>
11 model = "Ka-Ro electronics TX53 module (LVDS)";
21 compatible = "pwm-backlight";
23 power-supply = <&reg_3v3>;
24 brightness-levels = <
37 default-brightness-level = <50>;
[all …]
/linux/drivers/video/backlight/
H A Dpwm_bl.c1 // SPDX-License-Identifier: GPL-2.0-only
33 int brightness);
35 int brightness);
43 if (pb->enabled) in pwm_backlight_power_on()
46 if (pb->power_supply) { in pwm_backlight_power_on()
47 err = regulator_enable(pb->power_supply); in pwm_backlight_power_on()
49 dev_err(pb->dev, "failed to enable power supply\n"); in pwm_backlight_power_on()
52 if (pb->post_pwm_on_delay) in pwm_backlight_power_on()
53 msleep(pb->post_pwm_on_delay); in pwm_backlight_power_on()
55 gpiod_set_value_cansleep(pb->enable_gpio, 1); in pwm_backlight_power_on()
[all …]
/linux/Documentation/devicetree/bindings/auxdisplay/
H A Dholtek,ht16k33.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Robin van der Gracht <robin@protonic.nl>
13 - $ref: /schemas/input/matrix-keymap.yaml#
18 - items:
19 - enum:
20 - adafruit,3108 # 0.56" 4-Digit 7-Segment FeatherWing Display (Red)
21 - adafruit,3130 # 0.54" Quad Alphanumeric FeatherWing Display (Red)
22 - const: holtek,ht16k33
[all …]
/linux/drivers/platform/loongarch/
H A Dloongson-laptop.c1 // SPDX-License-Identifier: GPL-2.0
3 * Generic Loongson processor based LAPTOP/ALL-IN-ONE driver
20 #include <linux/input/sparse-keymap.h>
26 /* 1. Driver-wide structs and misc. variables */
32 #define ACPI_LAPTOP_NAME "loongson-laptop"
100 default: in acpi_evalf()
127 default: in acpi_evalf()
142 return -EIO; in hotkey_status_get()
151 if (!sub_driver || !sub_driver->notify) in dispatch_acpi_notify()
153 sub_driver->notify(sub_driver, event); in dispatch_acpi_notify()
[all …]

1234567891011