/linux/drivers/video/backlight/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # Backlight & LCD drivers configuration 6 menu "Backlight & LCD device support" 9 # LCD 12 tristate "Lowlevel LCD controls" 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!)). 19 To have support for your specific LCD panel you will have to [all …]
|
H A D | corgi_lcd.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * LCD/Backlight Driver for Sharp Zaurus Handhelds (various models) 5 * Copyright (c) 2004-2006 Richard Purdie 7 * Based on Sharp's 2.4 Backlight Driver 10 * Converted to SPI device based LCD/Backlight device driver 14 #include <linux/backlight.h> 20 #include <linux/lcd.h> 43 #define POWER1_GVSS_ON 0x02 /* GVSS(-8V) Power Supply ON */ 44 #define POWER1_VDD_ON 0x04 /* VDD(8V),SVSS(-4V) Power Supply ON */ 47 #define POWER1_GVSS_OFF 0x00 /* GVSS(-8V) Power Supply OFF */ [all …]
|
/linux/drivers/gpu/drm/panel/ |
H A D | panel-sony-acx565akm.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Sony ACX565AKM LCD Panel driver 7 * Based on the omapdrm-specific panel-sony-acx565akm driver 16 * - Update backlight support to use backlight_update_status() etc. 17 * - Use prepare/unprepare for the basic power on/off of the backligt 20 #include <linux/backlight.h> 52 struct backlight_device *backlight; member 75 static void acx565akm_transfer(struct acx565akm_panel *lcd, int cmd, in acx565akm_transfer() argument 88 x->tx_buf = &cmd; in acx565akm_transfer() 89 x->bits_per_word = 9; in acx565akm_transfer() [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 12 tristate "ABT Y030XX067A 320x480 LCD panel" 17 Y030XX067A 320x480 3.0" panel as found in the YLM RG-280M, RG-300 18 and RG-99 handheld gaming consoles. 46 as found in the YLM RS-97 handheld gaming console. 49 tristate "Boe BF060Y8M-AJ0 panel" 54 Say Y here if you want to enable support for Boe BF060Y8M-AJ0 57 the host and backlight is controlled through DSI commands. 66 TFT-LCD modules. The panel has a 1200x1920 resolution and uses 68 the host and has a built-in LED backlight. [all …]
|
/linux/drivers/auxdisplay/ |
H A D | charlcd.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Character LCD driver for Linux 5 * Copyright (C) 2000-2008, Willy Tarreau <w@1wt.eu> 6 * Copyright (C) 2016-2017 Glider bvba 26 /* Keep the backlight on this many seconds for each flash */ 29 #define LCD_ESCAPE_LEN 24 /* Max chars for LCD escape command */ 33 struct charlcd lcd; member 41 /* contains the LCD config state */ 44 /* Current escape sequence and it's length or -1 if outside */ 53 #define charlcd_to_priv(p) container_of(p, struct charlcd_priv, lcd) [all …]
|
H A D | charlcd.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Character LCD driver for Linux 5 * Copyright (C) 2000-2008, Willy Tarreau <w@1wt.eu> 6 * Copyright (C) 2016-2017 Glider bvba 16 #define LCD_FLAG_N 0x0040 /* 2-rows mode */ 17 #define LCD_FLAG_L 0x0080 /* Backlight enabled */ 48 /* Contains the LCD X and Y offset */ 58 * struct charlcd_ops - Functions used by charlcd. Drivers have to implement 60 * @backlight: Turn backlight on or off. Optional. 81 void (*backlight)(struct charlcd *lcd, enum charlcd_onoff on); member [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 4 # see Documentation/kbuild/kconfig-language.rst. 20 # Character LCD section 23 tristate "Character LCD core support" if COMPILE_TEST 25 This is the base system for character-based LCD displays. 28 This is some character LCD core interface that multiple drivers can 32 tristate "Common functions for HD44780 (and compatibles) LCD displays" if COMPILE_TEST 42 tristate "HD44780 Character LCD support" 47 The LCD is accessible through the /dev/lcd char device (10, 156). 63 tristate "Parallel port LCD/Keypad Panel support" [all …]
|
H A D | hd44780.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * HD44780 Character LCD driver for Linux 5 * Copyright (C) 2000-2008, Willy Tarreau <w@1wt.eu> 6 * Copyright (C) 2016-2017 Glider bvba 41 static void hd44780_backlight(struct charlcd *lcd, enum charlcd_onoff on) in hd44780_backlight() argument 43 struct hd44780_common *hdc = lcd->drvdata; in hd44780_backlight() 44 struct hd44780 *hd = hdc->hd44780; in hd44780_backlight() 46 if (hd->pins[PIN_CTRL_BL]) in hd44780_backlight() 47 gpiod_set_value_cansleep(hd->pins[PIN_CTRL_BL], on); in hd44780_backlight() 55 gpiod_set_value_cansleep(hd->pins[PIN_CTRL_E], 1); in hd44780_strobe_gpio() [all …]
|
/linux/Documentation/devicetree/bindings/display/ |
H A D | atmel,lcdc-display.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/atmel,lcdc-display.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Nicolas Ferre <nicolas.ferre@microchip.com> 11 - Dharma Balasubiramani <dharma.b@microchip.com> 14 The LCD Controller (LCDC) consists of logic for transferring LCD image data 15 from an external display buffer to a TFT LCD panel. The LCDC has one display 17 interface and a look-up table to allow palletized display configurations. The 18 LCDC is programmable on a per layer basis, and supports different LCD [all …]
|
H A D | ilitek,ili9486.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Kamlesh Gurudasani <kamlesh.gurudasani@gmail.com> 17 - $ref: panel/panel-common.yaml# 22 - enum: 23 # Waveshare 3.5" 320x480 Color TFT LCD 24 - waveshare,rpi-lcd-35 25 # Ozzmaker 3.5" 320x480 Color TFT LCD 26 - ozzmaker,piscreen [all …]
|
H A D | sitronix,st7735r.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - David Lechner <david@lechnology.com> 17 - $ref: panel/panel-common.yaml# 18 - $ref: /schemas/spi/spi-peripheral-props.yaml# 23 - description: 24 Adafruit 1.8" 160x128 Color TFT LCD (Product ID 358 or 618) 26 - enum: 27 - jianda,jd-t18003-t01 [all …]
|
/linux/Documentation/devicetree/bindings/leds/backlight/ |
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# 7 title: Richtek RT4831 Backlight 10 - ChiYuan Huang <cy_huang@richtek.com> 13 RT4831 is a mutifunctional device that can provide power to the LCD display 14 and LCD backlight. 16 For the LCD backlight, it can provide four channel WLED driving capability. 20 https://www.richtek.com/assets/product_file/RT4831A/DS4831A-05.pdf [all …]
|
H A D | kinetic,ktz8866.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/leds/backlight/kinetic,ktz8866.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Kinetic Technologies KTZ8866 backlight 10 - Jianhua Lu <lujianhua000@gmail.com> 13 The Kinetic Technologies KTZ8866 is a high efficiency 6-channels-current-sinks 14 led backlight with dual lcd bias power. 15 https://www.kinet-ic.com/ktz8866/ 18 - $ref: common.yaml# [all …]
|
/linux/Documentation/devicetree/bindings/display/panel/ |
H A D | olimex,lcd-olinuxino.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/display/panel/olimex,lcd-olinuxino.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Olimex Ltd. LCD-OLinuXino bridge panel. 10 - Stefan Mavrodiev <stefan@olimex.com> 13 This device can be used as bridge between a host controller and LCD panels. 15 - LCD-OLinuXino-4.3TS 16 - LCD-OLinuXino-5 17 - LCD-OLinuXino-7 [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# 7 title: Sitronix ST7701 based LCD panels 10 - Jagan Teki <jagan@amarulasolutions.com> 13 ST7701 designed for small and medium sizes of TFT LCD display, is 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: [all …]
|
H A D | rocktech,jh057n00900.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: Rocktech JH057N00900 5.5" 720x1440 TFT LCD panel 10 - Ondrej Jirman <megi@xff.cz> 11 - Guido Gŭnther <agx@sigxcpu.org> 14 Rocktech JH057N00900 is a 720x1440 TFT LCD panel 15 connected using a MIPI-DSI video interface. 18 - $ref: panel-common.yaml# 23 # Anberic RG353V-V2 5.0" 640x480 TFT LCD panel [all …]
|
H A D | boe,tv101wum-nl6.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/panel/boe,tv101wum-nl6.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: BOE TV101WUM-NL6 DSI Display Panel 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Sam Ravnborg <sam@ravnborg.org> 14 - $ref: panel-common.yaml# 19 # BOE TV101WUM-NL6 10.1" WUXGA TFT LCD panel 20 - boe,tv101wum-nl6 [all …]
|
H A D | panel-edp-legacy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/panel/panel-edp-legacy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Legacy eDP panels from before the "edp-panel" compatible 10 - Douglas Anderson <dianders@chromium.org> 14 "edp-panel" compatible was introduced. It is kept around to support old 16 the generic "edp-panel" is if it needed to be used on an eDP controller 17 that doesn't support the generic "edp-panel" compatible, but it should be 18 a strong preference to add the generic "edp-panel" compatible instead. [all …]
|
H A D | panel-simple-dsi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/panel/panel-simple-dsi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Simple DSI panels with a single power-supply 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Sam Ravnborg <sam@ravnborg.org> 15 requires only a single power-supply. 16 There are optionally a backlight and an enable GPIO. 29 # AU Optronics Corporation 8.0" WUXGA TFT LCD panel [all …]
|
/linux/arch/arm/boot/dts/ti/omap/ |
H A D | motorola-mapphone-xt8xx.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /dts-v1/; 4 #include "motorola-mapphone-handset.dtsi" 7 backlight: backlight { label 8 compatible = "led-backlight"; 11 brightness-levels = <31 63 95 127 159 191 223 255>; 12 default-brightness-level = <6>; 15 /* LCD regulator from sw5 source */ 16 lcd_regulator: regulator-lcd { 17 compatible = "regulator-fixed"; [all …]
|
/linux/Documentation/devicetree/bindings/auxdisplay/ |
H A D | hit,hd44780.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: Hitachi HD44780 Character LCD Controller 10 - Geert Uytterhoeven <geert@linux-m68k.org> 13 The Hitachi HD44780 Character LCD Controller is commonly used on character 15 interface, which can be used in either 4-bit or 8-bit mode. By using a 24 data-gpios: 26 GPIO pins connected to the data signal lines DB0-DB7 (8-bit mode) or 27 DB4-DB7 (4-bit mode) of the LCD Controller's bus interface. [all …]
|
/linux/arch/mips/boot/dts/ingenic/ |
H A D | rs90.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/iio/adc/ingenic,adc.h> 8 #include <dt-bindings/input/linux-event-codes.h> 12 model = "RS-90"; 19 reserved-memory { 20 #address-cells = <1>; 21 #size-cells = <1>; 24 vmem: video-memory@1f00000 { [all …]
|
/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6ul-phytec-segin-peb-av-02.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) 9 backlight_lcd: backlight-lcd { 10 compatible = "pwm-backlight"; 11 brightness-levels = <0 4 8 16 32 64 128 255>; 12 default-brightness-level = <5>; 13 power-supply = <®_backlight_en>; 18 lcd_panel: lcd-panel { 20 backlight = <&backlight_lcd>; 25 remote-endpoint = <&lcdif_parallel_out>; 30 reg_backlight_en: regulator-backlight-en { [all …]
|
/linux/Documentation/devicetree/bindings/leds/ |
H A D | leds-lm36274.txt | 1 * Texas Instruments LM36274 4-Channel LCD Backlight Driver w/Integrated Bias 3 The LM36274 is an integrated four-channel WLED driver and LCD bias supply. 4 The backlight boost provides the power to bias four parallel LED strings with 5 up to 29V total output voltage. The 11-bit LED current is programmable via 9 Documentation/devicetree/bindings/mfd/ti-lmu.txt 12 Documentation/devicetree/bindings/regulator/lm363x-regulator.txt 14 Required backlight properties: 15 - compatible: 16 "ti,lm36274-backlight" 17 - reg : 0 [all …]
|
/linux/drivers/platform/x86/intel/ |
H A D | oaktrail.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright (C) 2010-2011 Intel Corporation 13 * 1. registers itself in the Linux backlight control in 14 * /sys/class/backlight/intel_oaktrail/ 28 #include <linux/backlight.h> 64 * This is the address in EC space and commands used to control LCD backlight: 66 * Two steps needed to change the LCD backlight: 67 * 1. write the backlight percentage into OT_EC_BL_BRIGHTNESS_ADDRESS; 70 * To read the LCD back light, just read out the value from 73 * LCD backlight brightness range: 0 - 100 (OT_EC_BL_BRIGHTNESS_MAX) [all …]
|