Home
last modified time | relevance | path

Searched +full:brightness +full:- +full:levels (Results 1 – 25 of 209) sorted by relevance

123456789

/linux/drivers/video/backlight/
H A Dpwm_bl.c1 // SPDX-License-Identifier: GPL-2.0-only
25 unsigned int *levels; member
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()
[all …]
/linux/Documentation/devicetree/bindings/leds/backlight/
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 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 Dmps,mp3309c.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Flavio Suligoi <f.suligoi@asem.it>
13 The Monolithic Power (MPS) MP3309C is a WLED step-up converter, featuring a
17 - analog mode, via I2C commands, as default mode (32 dimming levels)
18 - PWM controlled mode (optional)
24 - $ref: common.yaml#
37 enable-gpios:
38 description: GPIO used to enable the backlight in "analog-i2c" dimming mode.
[all …]
/linux/Documentation/firmware-guide/acpi/
H A Dvideo_extension.rst1 .. SPDX-License-Identifier: GPL-2.0
26 Documentation/ABI/stable/sysfs-class-backlight.
32 get the brightness level the firmware thinks it is at;
34 not implemented, will set the current brightness instead;
35 brightness:
36 on write, control method _BCM will run to set the requested brightness level;
43 brightness, actual_brightness and max_brightness. So if we have
65 The first two levels are for when laptop are on AC or on battery and are
66 not used by Linux currently. The remaining 10 levels are supported levels
68 corresponds to the 0x0A brightness value) to 9 (that corresponds to the
[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
16 * levels which can be programmed from 0 to 15 and indicate how many
17 * 500usec intervals in each 8msec that the led is 'on'. The levels
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
[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/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 Dimx8mp-libra-rdk-fpsc-lvds-etml1010g3dra.dtso1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/clock/imx8mp-clock.h>
9 /dts-v1/;
13 brightness-levels = <0 8 16 32 64 128 255>;
14 default-brightness-level = <8>;
15 enable-gpios = <&gpio5 23 GPIO_ACTIVE_LOW>;
16 num-interpolated-steps = <2>;
26 assigned-clocks = <&clk IMX8MP_CLK_MEDIA_LDB>, <&clk IMX8MP_VIDEO_PLL1>;
27 assigned-clock-parents = <&clk IMX8MP_VIDEO_PLL1_OUT>;
[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/Documentation/leds/
H A Dleds-lm3556.rst6 1.5 A Synchronous Boost LED Flash Driver w/ High-Side Current Source
10 - Daniel Jeong
12 Contact:Daniel Jeong(daniel.jeong-at-ti.com, gshark.jeong-at-gmail.com)
15 -----------
21 In Flash Mode, the LED current source(LED) provides 16 target current levels
26 LM3556 Flash can be controlled through /sys/class/leds/flash/brightness file
28 * if STROBE pin is enabled, below example control brightness only, and
35 #echo 0 > /sys/class/leds/flash/brightness
39 #echo 1 > /sys/class/leds/flash/brightness
45 #echo 16 > /sys/class/leds/flash/brightness
[all …]
H A Dleds-class-multicolor.rst1 .. SPDX-License-Identifier: GPL-2.0
12 via brightness file.
18 led_class framework. The led_class framework is documented in led-class.rst
34 .. code-block:: console
36 root:/sys/class/leds/multicolor:status# ls -lR
37 -rw-r--r-- 1 root root 4096 Oct 19 16:16 brightness
38 -r--r--r-- 1 root root 4096 Oct 19 16:16 max_brightness
39 -r--r--r-- 1 root root 4096 Oct 19 16:16 multi_index
40 -rw-r--r-- 1 root root 4096 Oct 19 16:16 multi_intensity
44 Multicolor Class Brightness Control
[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
22 brightness-levels = <
28 num-interpolated-steps = <50>;
29 default-brightness-level = <400>;
33 allwinner,internal-bias-resistor;
[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
27 brightness-levels = <
[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 …]
H A Dimx6qdl-tx6-lvds.dtsi1 // SPDX-License-Identifier: (GPL-2.0-only OR MIT)
3 * Copyright 2017 Lothar Waßmann <LW@KARO-electronics.de>
14 compatible = "pwm-backlight";
16 power-supply = <&reg_lcd0_pwr>;
17 brightness-levels = < 0 1 2 3 4 5 6 7 8 9
28 default-brightness-level = <50>;
32 compatible = "pwm-backlight";
34 power-supply = <&reg_lcd1_pwr>;
35 brightness-levels = < 0 1 2 3 4 5 6 7 8 9
46 default-brightness-level = <50>;
[all …]
H A Dimx6dl-aristainetos_7.dts1 // SPDX-License-Identifier: GPL-2.0-only
7 /dts-v1/;
9 #include "imx6qdl-aristainetos.dtsi"
13 compatible = "abb,aristainetos-imx6dl-7", "fsl,imx6dl";
21 compatible = "fsl,imx-parallel-display";
22 interface-pix-fmt = "rgb24";
23 pinctrl-names = "default";
24 pinctrl-0 = <&pinctrl_ipu_disp>;
27 display-timings {
28 native-mode = <&timing0>;
[all …]
H A Dimx6qdl-skov-revc-lt2.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
7 compatible = "pwm-backlight";
8 pinctrl-names = "default";
9 pinctrl-0 = <&pinctrl_backlight>;
10 enable-gpios = <&gpio6 23 GPIO_ACTIVE_LOW>;
12 brightness-levels = <0 255>;
13 num-interpolated-steps = <17>;
14 default-brightness-level = <8>;
15 power-supply = <&reg_24v0>;
19 #address-cells = <1>;
[all …]
/linux/Documentation/power/regulator/
H A Doverview.rst26 - Regulator
27 - Electronic device that supplies power to other devices.
31 Input Voltage -> Regulator -> Output Voltage
34 - PMIC
35 - Power Management IC. An IC that contains numerous
39 - Consumer
40 - Electronic device that is supplied power by a regulator.
41 Consumers can be classified into two types:-
52 - Power Domain
53 - Electronic circuit that is supplied its input power by the
[all …]
/linux/arch/arm64/boot/dts/renesas/
H A Dhihope-rzg2-ex-lvds.dtsi1 // 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-hog {
24 gpio-hog;
26 output-low;
27 line-name = "lvds-connector-en-gpio";
48 pinctrl-0 = <&pwm0_pins>;
49 pinctrl-names = "default";
/linux/arch/arm/boot/dts/ti/omap/
H A Domap4-xyboard-mz609.dts1 // SPDX-License-Identifier: GPL-2.0-only
2 /dts-v1/;
4 #include "motorola-mapphone-mz607-mz617.dtsi"
8 compatible = "motorola,xyboard-mz609", "ti,omap4430", "ti,omap4";
11 stdout-path = &uart3;
19 compatible = "led-backlight";
22 brightness-levels = <31 63 95 127 159 191 223 255>;
23 default-brightness-level = <6>;
28 led-controller@38 {
30 #address-cells = <1>;
[all …]
H A Dam57xx-idk-lcd-osd101t2045.dtso1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2019-2022 Texas Instruments Incorporated - https://www.ti.com/
6 /dts-v1/;
16 compatible = "pwm-backlight";
18 brightness-levels = <0 51 53 56 62 75 101 152 255>;
19 default-brightness-level = <8>;
26 #address-cells = <1>;
27 #size-cells = <0>;
30 compatible = "osddisplays,osd101t2045-53ts";
39 remote-endpoint = <&dsi_out>;
[all …]
H A Dam57xx-idk-lcd-osd101t2587.dtso1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2019-2022 Texas Instruments Incorporated - https://www.ti.com/
6 /dts-v1/;
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/interrupt-controller/irq.h>
19 compatible = "pwm-backlight";
21 brightness-levels = <0 51 53 56 62 75 101 152 255>;
22 default-brightness-level = <8>;
29 #address-cells = <1>;
30 #size-cells = <0>;
[all …]
/linux/arch/arm/boot/dts/vt8500/
H A Dwm8850-w70v2.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * wm8850-w70v2.dts
4 * - Device tree file for Wondermedia WM8850 Tablet
5 * - 'W70-V2' mainboard
6 * - HongLianYing 'HLY070ML268-21A' 7" LCD panel
11 /dts-v1/;
13 #include <dt-bindings/pwm/pwm.h>
16 model = "Wondermedia WM8850-W70v2 Tablet";
19 compatible = "pwm-backlight";
22 brightness-levels = <0 40 60 80 100 130 190 255>;
[all …]
/linux/arch/arm/boot/dts/allwinner/
H A Dsun5i-a13-utoo-p66.dts4 * This file is dual-licensed: you can use it either under the terms
43 /dts-v1/;
44 #include "sun5i-a13.dtsi"
45 #include "sun5i-reference-design-tablet.dtsi"
46 #include <dt-bindings/interrupt-controller/irq.h>
50 compatible = "utoo,p66", "allwinner,sun5i-a13";
54 /delete-property/serial0;
58 /delete-property/stdout-path;
63 compatible = "i2c-gpio";
64 sda-gpios = <&pio 6 12 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>; /* PG12 */
[all …]

123456789