| /freebsd/sys/contrib/device-tree/Bindings/leds/backlight/ |
| 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-backligh [all...] |
| 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.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-backligh [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>;
|
| /freebsd/sys/dev/pwm/ |
| H A D | pwm_backlight.c | 1 /*- 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/share/man/man4/ |
| H A D | acpi_video.4 | 36 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/usr.bin/backlight/ |
| 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 …]
|
| 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. 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/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/sys/contrib/device-tree/src/arm64/renesas/ |
| H A 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-hog { 24 gpio-hog; 26 output-low; 27 line-name = "lvds-connector-en-gpio"; 48 pinctrl-0 = <&pwm0_pins>; 49 pinctrl-names = "default";
|
| /freebsd/sys/contrib/device-tree/src/arm/nxp/imx/ |
| H A D | imx53-tx53-x13x.dts | 2 * 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-supply = <®_3v3>; 66 brightness-levels = < [all …]
|
| H A D | imx6qdl-tx6-lvds.dtsi | 2 * Copyright 2017 Lothar Waßmann <LW@KARO-electronics.de> 4 * This file is dual-licensed: you can use it either under the terms 50 compatible = "pwm-backlight"; 52 power-supply = <®_lcd0_pwr>; 53 brightness-levels = < 0 1 2 3 4 5 6 7 8 9 64 default-brightness-level = <50>; 68 compatible = "pwm-backlight"; 70 power-supply = <®_lcd1_pwr>; 71 brightness-levels = < 0 1 2 3 4 5 6 7 8 9 82 default-brightness-level = <50>; [all …]
|
| H A D | imx6qdl-vicut1.dtsi | 1 // 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 …]
|
| H A D | imx6dl-aristainetos_7.dts | 1 // 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 D | imx6qdl-skov-revc-lt2.dtsi | 1 // 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 = <®_24v0>; 19 #address-cells = <1>; [all …]
|
| H A D | imx6dl-aristainetos_4.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 7 /dts-v1/; 9 #include "imx6qdl-aristainetos.dtsi" 13 compatible = "abb,aristainetos-imx6dl-4", "fsl,imx6dl"; 16 compatible = "pwm-backlight"; 18 brightness-levels = <0 4 8 16 32 64 128 255>; 19 default-brightness-level = <7>; 20 enable-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>; 21 pinctrl-names = "default"; 22 pinctrl-0 = <&pinctrl_backlight>; [all …]
|
| /freebsd/sys/contrib/device-tree/src/arm/ti/omap/ |
| H A D | am57xx-idk-lcd-osd101t2045.dtso | 1 // 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 D | am57xx-idk-lcd-osd101t2587.dtso | 1 // 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 …]
|
| /freebsd/sys/contrib/device-tree/src/arm/vt8500/ |
| H A D | wm8850-w70v2.dts | 1 // 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 …]
|
| /freebsd/sys/contrib/device-tree/src/arm/allwinner/ |
| H A D | sun5i-a13-utoo-p66.dts | 4 * 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/sys/contrib/device-tree/Bindings/pwm/ |
| H A D | pwm-mtk-disp.txt | 4 - 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/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/sys/contrib/device-tree/src/arm64/ti/ |
| H A D | k3-am654-base-board-rocktech-rk101-panel.dtso | 1 // SPDX-License-Identifier: GPL-2.0-only OR MIT 3 * OLDI-LCD1EVM Rocktech integrated panel and touch DT overlay for AM654-EVM. 4 * Panel Link: https://www.digimax.it/en/tft-lcd/20881-RK101II01D-CT 7 * Copyright (C) 2023-2024 Texas Instruments Incorporated - https://www.ti.com/ 10 /dts-v1/; 13 #include <dt-bindings/pwm/pwm.h> 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/interrupt-controller/irq.h> 19 compatible = "rocktech,rk101ii01d-ct"; 21 enable-gpios = <&pca9555 8 GPIO_ACTIVE_HIGH>; [all …]
|
| /freebsd/sys/dev/acpica/ |
| H A D | acpi_video.c | 1 /*- 2 * Copyright (c) 2002-2003 Taku YAMAMOTO <taku@cent.saitama-u.ac.jp> 152 (((1 << DOD_HEAD_ID_BITS) - 1) << DOD_HEAD_ID_SHIFT) 201 * (the video "bus"). The 'video_output' lock protects per-output 315 sc->evdev = evdev_alloc(); in acpi_video_attach() 316 evdev_set_name(sc->evdev, device_get_desc(dev)); in acpi_video_attach() 317 evdev_set_phys(sc->evdev, device_get_nameunit(dev)); in acpi_video_attach() 318 evdev_set_id(sc->evdev, BUS_HOST, 0, 0, 1); in acpi_video_attach() 319 evdev_support_event(sc->evdev, EV_SYN); in acpi_video_attach() 320 evdev_support_event(sc->evdev, EV_KEY); in acpi_video_attach() [all …]
|