/linux/Documentation/devicetree/bindings/leds/backlight/ |
H A D | gpio-backlight.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/leds/backlight/gpio-backlight.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: gpio-backlight 10 - Lee Jones <lee@kernel.org> 11 - Daniel Thompson <daniel.thompson@linaro.org> 12 - Jingoo Han <jingoohan1@gmail.com> 16 const: gpio-backlight 19 description: The gpio that is used for enabling/disabling the backlight. [all …]
|
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 | kinetic,ktd253.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/leds/backlight/kinetic,ktd253.yaml# 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> 14 controlled by a single GPIO line. If you just turn on the backlight 15 it goes to maximum backlight then you can set the level of backlight 20 - $ref: common.yaml# 25 - enum: [all …]
|
H A D | kinetic,ktd2801.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/leds/backlight/kinetic,ktd2801.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Kinetic Technologies KTD2801 one-wire backlight 10 - Duje Mihanović <duje.mihanovic@skole.hr> 13 The Kinetic Technologies KTD2801 is a LED backlight driver controlled 14 by a single GPIO line. The driver can be controlled with a PWM signal 15 or by pulsing the GPIO line to set the backlight level. This is called 19 - $ref: common.yaml# [all …]
|
H A D | sky81452-backlight.txt | 1 SKY81452-backlight bindings 4 - compatible : Must be "skyworks,sky81452-backlight" 7 - name : Name of backlight device. Default is 'lcd-backlight'. 8 - gpios : GPIO to use to EN pin. 9 See Documentation/devicetree/bindings/gpio/gpio.txt 10 - led-sources : List of enabled channels from 0 to 5. 12 - skyworks,ignore-pwm : Ignore both PWM input 13 - skyworks,dpwm-mode : Enable DPWM dimming mode, otherwise Analog dimming. 14 - skyworks,phase-shift : Enable phase shift mode 15 - skyworks,short-detection-threshold-volt [all …]
|
/linux/Documentation/devicetree/bindings/display/panel/ |
H A D | panel-common.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/display/panel/panel-common.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> 24 width-mm: 29 height-mm: 43 non-descriptive information. For instance an LCD panel in a system that 55 panel-timing: [all …]
|
H A D | samsung,s6d7aa0.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Samsung S6D7AA0 MIPI-DSI LCD panel controller 10 - Artur Weber <aweber.kernel@gmail.com> 13 - $ref: panel-common.yaml# 18 - enum: 20 - samsung,lsl080al02 22 - samsung,lsl080al03 24 - samsung,ltl101at01 [all …]
|
H A D | boe,himax8279d.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jerry Han <jerry.han.hq@gmail.com> 13 - $ref: panel-common.yaml# 18 - const: boe,himax8279d8p 19 - const: boe,himax8279d10p 24 backlight: true 25 enable-gpios: true 27 pp33-gpios: [all …]
|
H A D | sharp,lq150x1lg11.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Peter Rosin <peda@axentia.se> 13 - $ref: panel-common.yaml# 19 power-supply: true 20 backlight: true 22 rlud-gpios: 25 GPIO for the RL/UD (rotate 180 degrees) pin. 26 If rlud-gpios and/or sellvds-gpios are not specified, [all …]
|
H A D | sitronix,st7701.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jagan Teki <jagan@amarulasolutions.com> 17 Techstar TS8550B is 480x854, 2-lane MIPI DSI LCD panel which has 20 Densitron DMT028VGHMCMI-1A is 480x640, 2-lane MIPI DSI LCD panel 21 which has built-in ST7701 chip. 26 - enum: 27 - anbernic,rg-arc-panel 28 - anbernic,rg28xx-panel [all …]
|
/linux/drivers/video/backlight/ |
H A D | ktd253-backlight.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Backlight driver for the Kinetic KTD253 4 * Based on code and know-how from the Samsung GT-S7710 7 #include <linux/backlight.h> 10 #include <linux/gpio/consumer.h> 39 gpiod_set_value_cansleep(ktd253->gpiod, 1); in ktd253_backlight_set_max_ratio() 47 * These GPIO operations absolutely can NOT sleep so no _cansleep in ktd253_backlight_stepdown() 48 * suffixes, and no using GPIO expanders on slow buses for this! in ktd253_backlight_stepdown() 57 * top so we have the backlight in a known state. in ktd253_backlight_stepdown() 62 gpiod_set_value(ktd253->gpiod, 0); in ktd253_backlight_stepdown() [all …]
|
H A D | gpio_backlight.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * gpio_backlight.c - Simple GPIO-controlled backlight 6 #include <linux/backlight.h> 8 #include <linux/gpio/consumer.h> 27 gpiod_set_value_cansleep(gbl->gpiod, backlight_get_brightness(bl)); in gpio_backlight_update_status() 37 return !gbl->dev || gbl->dev == display_dev; in gpio_backlight_controls_device() 48 struct device *dev = &pdev->dev; in gpio_backlight_probe() 50 struct device_node *of_node = dev->of_node; in gpio_backlight_probe() 58 return -ENOMEM; in gpio_backlight_probe() 61 gbl->dev = pdata->dev; in gpio_backlight_probe() [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # Backlight & LCD drivers configuration 6 menu "Backlight & LCD device support" 14 This framework adds support for low-level control of LCD. 15 Some framebuffer devices connect to platform-specific LCD modules 16 in order to have a platform-specific way to control the flat panel 17 (contrast and applying power to the LCD (not to the backlight!)). 90 This driver provides a platform-device registered LCD power 118 tristate "Himax HX-8357 LCD Driver" 121 If you have a HX-8357 LCD panel, say Y to enable its LCD control [all …]
|
H A D | bd6107.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <linux/backlight.h> 14 #include <linux/gpio/consumer.h> 72 struct backlight_device *backlight; member 79 return i2c_smbus_write_byte_data(bd->client, reg, data); in bd6107_write() 82 static int bd6107_backlight_update_status(struct backlight_device *backlight) in bd6107_backlight_update_status() argument 84 struct bd6107 *bd = bl_get_data(backlight); in bd6107_backlight_update_status() 85 int brightness = backlight_get_brightness(backlight); in bd6107_backlight_update_status() 94 gpiod_set_value(bd->reset, 1); in bd6107_backlight_update_status() 96 gpiod_set_value(bd->reset, 0); in bd6107_backlight_update_status() [all …]
|
/linux/drivers/gpu/drm/tilcdc/ |
H A D | tilcdc_panel.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 #include <linux/backlight.h> 8 #include <linux/gpio/consumer.h> 28 struct backlight_device *backlight; member 47 struct backlight_device *backlight = panel_encoder->mod->backlight; in panel_encoder_dpms() local 48 struct gpio_desc *gpio = panel_encoder->mod->enable_gpio; in panel_encoder_dpms() local 50 if (backlight) { in panel_encoder_dpms() 51 backlight->props.power = mode == DRM_MODE_DPMS_ON ? in panel_encoder_dpms() 53 backlight_update_status(backlight); in panel_encoder_dpms() 56 if (gpio) in panel_encoder_dpms() [all …]
|
/linux/arch/arm/boot/dts/cirrus/ |
H A D | ep7211-edb7211.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 #include <dt-bindings/gpio/gpio.h> 15 backlight: backlight { label 16 compatible = "pwm-backlight"; 18 brightness-levels = < 22 default-brightness-level = <0x0>; 23 power-supply = <&blen>; 28 bits-per-pixel = <4>; 29 ac-prescale = <17>; 31 display-timings { [all …]
|
/linux/arch/arm/boot/dts/nvidia/ |
H A D | tegra20-medcom-wide.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include "tegra20-tamonten.dtsi" 7 model = "Avionic Design Medcom-Wide board"; 8 compatible = "ad,medcom-wide", "ad,tamonten", "nvidia,tegra20"; 15 stdout-path = "serial0:115200n8"; 35 interrupt-parent = <&gpio>; 38 gpio-controller; 39 #gpio-cells = <2>; 41 micdet-cfg = <0>; [all …]
|
H A D | tegra30-apalis-eval.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/input.h> 5 #include "tegra30-apalis.dtsi" 9 compatible = "toradex,apalis_t30-eval", "toradex,apalis_t30", 23 stdout-path = "serial0:115200n8"; 46 hdmi-supply = <®_5v0>; 50 gpio@6000d000 { 52 pex-perst-n-hog { 53 gpio-hog; [all …]
|
H A D | tegra30-colibri-eval-v3.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/input.h> 5 #include "tegra30-colibri.dtsi" 9 compatible = "toradex,colibri_t30-eval-v3", "toradex,colibri_t30", 22 stdout-path = "serial0:115200n8"; 35 hdmi-supply = <®_5v0>; 39 /* Colibri UART-A */ 41 /delete-property/ dmas; 42 /delete-property/ dma-names; [all …]
|
H A D | tegra30-apalis-v1.1-eval.dts | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 2 /dts-v1/; 4 #include <dt-bindings/input/input.h> 5 #include "tegra30-apalis-v1.1.dtsi" 9 compatible = "toradex,apalis_t30-v1.1-eval", "toradex,apalis_t30-eval", 10 "toradex,apalis_t30-v1.1", "toradex,apalis_t30", 24 stdout-path = "serial0:115200n8"; 47 hdmi-supply = <®_5v0>; 51 gpio@6000d000 { 53 pex-perst-n-hog { [all …]
|
H A D | tegra20-colibri-iris.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/input.h> 5 #include "tegra20-colibri.dtsi" 9 compatible = "toradex,colibri_t20-iris", "toradex,colibri_t20", 22 stdout-path = "serial0:115200n8"; 35 hdmi-supply = <®_5v0>; 41 bl-on { 49 hotplug-detect { 85 uart-a { [all …]
|
/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6qdl-udoo.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <dt-bindings/gpio/gpio.h> 12 backlight = &backlight; 19 stdout-path = &uart2; 22 backlight: backlight { label 23 compatible = "gpio-backlight"; 25 default-on; 29 gpio-poweroff { 30 compatible = "gpio-poweroff"; 32 pinctrl-0 = <&pinctrl_power_off>; [all …]
|
/linux/arch/arm/boot/dts/rockchip/ |
H A D | rk3288-veyron-edp.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 9 backlight_regulator: backlight-regulator { 10 compatible = "regulator-fixed"; 11 enable-active-high; 12 gpio = <&gpio2 RK_PB4 GPIO_ACTIVE_HIGH>; 13 pinctrl-names = "default"; 14 pinctrl-0 = <&bl_pwr_en>; 15 regulator-name = "backlight_regulator"; 16 vin-supply = <&vcc33_sys>; 17 startup-delay-us = <15000>; [all …]
|
/linux/arch/arm/mach-omap1/ |
H A D | board-sx1.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/arch/arm/mach-omap1/board-sx1.c 5 * Modified from board-generic.c 9 * Original version : Vladimir Ananiev (Vovan888-at-gmail com) 14 #include <linux/gpio/machine.h> 15 #include <linux/gpio/consumer.h> 29 #include <linux/platform_data/keypad-omap.h> 30 #include <linux/omap-dma.h> 33 #include <asm/mach-types.h> 39 #include "board-sx1.h" [all …]
|
/linux/arch/arm/boot/dts/microchip/ |
H A D | at91sam9n12ek.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * at91sam9n12ek.dts - Device Tree file for AT91SAM9N12-EK board 8 /dts-v1/; 12 model = "Atmel AT91SAM9N12-EK"; 17 stdout-path = "serial0:115200n8"; 26 clock-frequency = <32768>; 30 clock-frequency = <16000000>; 46 compatible = "atmel,tcb-timer"; 51 compatible = "atmel,tcb-timer"; 63 clock-names = "mclk"; [all …]
|