Home
last modified time | relevance | path

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

12345678910

/freebsd-src/sys/contrib/device-tree/Bindings/leds/backlight/
H A Dpwm-backlight.txt1 pwm-backlight bindings
4 - compatible: "pwm-backlight"
5 - pwms: OF device-tree PWM specification (see PWM binding[0])
6 - power-supply: regulator for supply voltage
9 - pwm-names: a list of names for the PWM devices specified in the
11 - enable-gpios: contains a single GPIO specifier for the GPIO which enables
13 - post-pwm-on-delay-ms: Delay in ms between setting an initial (non-zero) PWM
15 - pwm-off-delay-ms: Delay in ms between disabling the backlight using GPIO
17 - brightness-levels: Array of distinct brightness levels. Typically these
19 0 will do. The actual brightness level (PWM duty cycle)
[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 Dled-backlight.txt1 led-backlight bindings
8 - compatible: "led-backlight"
9 - leds: a list of LEDs
12 - brightness-levels: Array of distinct brightness levels. The levels must be
14 This is used to translate a backlight brightness level
15 into a LED brightness level. If it is not provided, the
18 - default-brightness-level: The default brightness level.
23 compatible = "led-backlight";
26 brightness-levels = <0 4 8 16 32 64 128 255>;
27 default-brightness-level = <6>;
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 …]
H A Dled-backlight.yaml1 # 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>
20 - $ref: common.yaml#
24 const: led-backlight
[all …]
/freebsd-src/sys/dev/pwm/
H A Dpwm_backlight.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
64 uint32_t *levels; member
78 { "pwm-backlight", 1 },
86 if (!ofw_bus_search_compatible(dev, compat_data)->ocd_data) in pwm_backlight_probe()
103 rv = pwm_get_by_ofw_propidx(dev, node, "pwms", 0, &sc->channel); in pwm_backlight_attach()
109 if (regulator_get_by_ofw_property(dev, 0, "power-supply", in pwm_backlight_attach()
110 &sc->power_supply) != 0) { in pwm_backlight_attach()
111 device_printf(dev, "No power-supply property\n"); in pwm_backlight_attach()
115 if (OF_hasprop(node, "brightness-levels")) { in pwm_backlight_attach()
[all …]
/freebsd-src/share/man/man4/
H A Dacpi_video.436 backlight brightness.
48 .Bl -tag -width indent
51 .It Va hw.acpi.video. Ns Ao Ar device Ac Ns Va .levels
52 List of supported brightness levels.
53 .It Va hw.acpi.video. Ns Ao Ar device Ac Ns Va .brightness
54 Current brightness level of the device.
56 Preset brightness level to be used in full power mode.
58 Preset brightness level to be used in economy mode.
63 which is parsed at boot-time.
84 .An -nosplit
[all …]
/freebsd-src/usr.bin/backlight/
H A Dbacklight.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
66 fprintf(stderr, "\tbacklight [-q] [-f device]\n"); in usage()
67 fprintf(stderr, "\tbacklight [-q] [-f device] -i\n"); in usage()
68 fprintf(stderr, "\tbacklight [-f device] value\n"); in usage()
69 fprintf(stderr, "\tbacklight [-f device] incr|+ value\n"); in usage()
70 fprintf(stderr, "\tbacklight [-f device] decr|- value\n"); in usage()
99 long percent = -1; in main()
105 fd = -1; in main()
107 while ((ch = getopt(argc, argv, "f:qhi")) != -1) { in main()
[all …]
H A Dbacklight.846 .Cm decr Ns | Ns Cm -
51 utility can be used to configure brightness levels for registered backlights.
53 Called without any arguments it will print the current brightness level
57 .Bl -tag -width "-f device"
69 When querying the brightness level only print the value.
71 Set the brightness level to this value, must be between 0 and 100.
78 .It Cm decr Ns | Ns Cm - Op Ar value
83 Show the current brightness level:
84 .Bd -literal -offset indent
85 $ backlight -f /dev/backlight/backlight0
[all …]
/freebsd-src/sys/contrib/device-tree/src/arm64/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 …]
/freebsd-src/sys/contrib/device-tree/src/arm64/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";
/freebsd-src/sys/contrib/device-tree/src/arm/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 …]
H A Dmotorola-mapphone-xt8xx.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
2 /dts-v1/;
4 #include "motorola-mapphone-handset.dtsi"
8 compatible = "led-backlight";
11 brightness-levels = <31 63 95 127 159 191 223 255>;
12 default-brightness-level = <6>;
16 lcd_regulator: regulator-lcd {
17 compatible = "regulator-fixed";
18 regulator-name = "lcd";
19 regulator-min-microvolt = <5050000>;
[all …]
/freebsd-src/sys/contrib/device-tree/src/arm/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 * - HongLianYin
[all...]
/freebsd-src/sys/contrib/device-tree/src/arm/nxp/imx/
H A Dimx53-tx53-x13x.dts2 * Copyright 2013-2017 Lothar Waßmann <LW@KARO-electronics.de>
4 * This file is dual-licensed: you can use it either under the terms
44 * http://www.opensource.org/licenses/gpl-license.html
48 /dts-v1/;
49 #include "imx53-tx53.dtsi"
50 #include <dt-bindings/input/input.h>
53 model = "Ka-Ro electronics TX53 module (LVDS)";
63 compatible = "pwm-backlight";
65 power-suppl
[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-displa
[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 …]
H A Dimx6qdl-vicut1.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
7 #include <dt-bindings/display/sdtv-standards.h>
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/leds/common.h>
11 #include <dt-bindings/media/tvp5150.h>
12 #include <dt-bindings/sound/fsl-imx-audmux.h>
16 stdout-path = &uart4;
20 compatible = "pwm-backlight";
21 pinctrl-names = "default";
[all …]
/freebsd-src/sys/contrib/device-tree/src/arm/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 …]
/freebsd-src/sys/contrib/device-tree/Bindings/pwm/
H A Dpwm-mtk-disp.txt4 - compatible: should be "mediatek,<name>-disp-pwm":
5 - "mediatek,mt2701-disp-pwm": found on mt2701 SoC.
6 - "mediatek,mt6595-disp-pwm": found on mt6595 SoC.
7 - "mediatek,mt8167-disp-pwm", "mediatek,mt8173-disp-pwm": found on mt8167 SoC.
8 - "mediatek,mt8173-disp-pwm": found on mt8173 SoC.
9 - "mediatek,mt8183-disp-pwm": found on mt8183 SoC.$
10 - reg: physical base address and length of the controller's registers.
11 - #pwm-cells: must be 2. See pwm.yaml in this directory for a description of
13 - clocks: phandle and clock specifier of the PWM reference clock.
14 - clock-names: must contain the following:
[all …]
/freebsd-src/share/man/man9/
H A Dbacklight.953 which is used to query the current brightness level and
57 .Bl -tag -width indent
59 Driver fills the current brightless level and the optional supported levels.
61 Driver update the backlight level based on the brightness member of the props
65 .Bl -tag -width "/dev/backlight/*"

12345678910