/freebsd-src/sys/contrib/device-tree/Bindings/leds/backlight/ |
H A D | pwm-backlight.txt | 1 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 D | led-backlight.txt | 1 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 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 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 D | common.yaml | 1 # 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 D | mediatek,mt6370-backlight.yaml | 1 # 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 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 | 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>;
|
H A 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 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 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-schema [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# 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 …]
|
/freebsd-src/usr.bin/backlight/ |
H A D | backlight.8 | 46 .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. 76 Decrement the backlight level. 78 .It Cm decr Ns | Ns Cm - Op Ar value 79 Increment the backlight level. 83 Show the current brightness level: [all …]
|
H A D | backlight.c | 1 /*- 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 …]
|
/freebsd-src/share/man/man4/ |
H A D | acpi_ibm.4 | 36 .Bd -ragged -offset indent 43 .Bd -literal -offset indent 80 .Bl -tag -width "subsystem" -offset indent -compact 95 .Bl -tag -width "subsystem" -offset indent -compact 127 Fn + Home (Brightness up) 129 Fn + End (Brightness down) 158 .Bl -tag -width indent 160 (read-only) 165 (read-only) 186 .Bl -tag -width indent-two -compact [all …]
|
H A D | acpi_video.4 | 36 backlight brightness. 48 .Bl -tag -width indent 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 88 .An Taku YAMAMOTO Aq Mt taku@cent.saitama-u.ac.jp .
|
H A D | acpi_panasonic.4 | 2 .\" Copyright (c) 2004 OGAWA Takaya <t-ogawa@triaez.kaisei.org> 36 .Bd -ragged -offset indent 43 .Bd -literal -offset indent 50 changing LCD brightness, controlling mixer volumes, entering sleep or 53 Toughbook, outside Japan) CF-R1N, CF-R2A and CF-R3. 63 The third and last is to provide a way to adjust LCD brightness and 69 .Bl -tag -width 10n -compact -offset indent 86 Enter suspend-to-RAM state. 90 Enter suspend-to-disk state. 106 .Bl -tag -width 10n -compact -offset indent [all …]
|
H A D | acpi_sony.4 | 35 .Bd -ragged -offset indent 42 .Bd -literal -offset indent 52 .Bl -tag -width indent 53 .It Va dev.acpi_sony.0.brightness 54 Current brightness level of the display. 56 Default brightness level of the display (survives reboot). 58 Current contrast level of the display.
|
H A D | acpi_fujitsu.4 | 36 .Bd -ragged -offset indent 43 .Bd -literal -offset indent 49 driver enables the ACPI-controlled buttons on Fujitsu notebooks. 56 Using this driver, one can control the brightness of the display, the volume 60 .Bl -tag -width indent 79 .Bd -literal -offset indent 90 .Bd -literal -offset indent 93 if [ "$1" = "" -o "$2" = "" ] 111 LEVEL=`sysctl -n hw.acpi.${OEM}.mute` 112 if [ "$LEVEL" = "1" ] [all …]
|
/freebsd-src/sys/contrib/device-tree/Bindings/mfd/ |
H A 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 …]
|
/freebsd-src/sys/dev/pwm/ |
H A D | pwm_backlight.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 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() 116 sc->nlevels = OF_getencprop_alloc(node, "brightness-levels", in pwm_backlight_attach() [all …]
|
/freebsd-src/sbin/devd/ |
H A D | apple.conf | 8 action "shutdown -p now"; 17 action "shutdown -p now"; 21 # The next blocks enable brightness hotkeys that can be found on Apple laptops 25 match "type" "brightness"; 27 action "sysctl dev.backlight.0.level=\ 28 $(expr `sysctl -n dev.backlight.0.level` - 10)"; 34 match "type" "brightness"; 36 action "sysctl dev.backlight.0.level=\ 37 $(expr `sysctl -n dev.backlight.0.level` + 10)"; 54 action "mixer vol.volume=-10%";
|
/freebsd-src/sys/dev/acpi_support/ |
H A D | acpi_fujitsu.c | 1 /*- 3 * 2003-2008 Anish Mistry <amistry@am-productions.biz> 94 * Only used for no-argument control methods which return a value. 111 gbll, /* brightness */ 112 gbls, /* get brightness state */ 118 rbll, /* number of brightness levels (radix) */ 192 .description = "Brightness level of the LCD panel" 197 .description = "Brightness level of the LCD panel" 202 .description = "Speakers/headphones volume level" 207 .description = "Number of volume level steps" [all …]
|
/freebsd-src/sys/contrib/device-tree/src/arm64/allwinner/ |
H A 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", "pine64,pinephone", "allwinner,sun50i-a64"; 14 power-supply = <®_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 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", "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 = <®_ldo_io0>; 23 * is around 10%. Duty cycle for the lowest brightness level also varries 27 brightness-levels = < [all …]
|
/freebsd-src/share/man/man9/ |
H A D | backlight.9 | 53 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/*"
|
/freebsd-src/sys/contrib/device-tree/Bindings/display/ |
H A 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 …]
|