Home
last modified time | relevance | path

Searched +full:lcd +full:- +full:bl (Results 1 – 25 of 49) sorted by relevance

12

/linux-6.14.4/drivers/video/backlight/
Domap1_bl.c1 // SPDX-License-Identifier: GPL-2.0-or-later
16 #include <linux/soc/ti/omap1-io.h>
17 #include <linux/soc/ti/omap1-mux.h>
39 static void omapbl_enable(struct omap_backlight *bl, bool enable) in omapbl_enable() argument
42 omapbl_send_intensity(bl->current_intensity); in omapbl_enable()
54 struct omap_backlight *bl = bl_get_data(bl_dev); in omapbl_suspend() local
56 omapbl_enable(bl, false); in omapbl_suspend()
63 struct omap_backlight *bl = bl_get_data(bl_dev); in omapbl_resume() local
65 omapbl_enable(bl, bl->enabled); in omapbl_resume()
72 struct omap_backlight *bl = bl_get_data(dev); in omapbl_set_enabled() local
[all …]
Dep93xx_bl.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Driver for the Cirrus EP93xx lcd backlight
26 static int ep93xxbl_set(struct backlight_device *bl, int brightness) in ep93xxbl_set() argument
28 struct ep93xxbl *ep93xxbl = bl_get_data(bl); in ep93xxbl_set()
30 writel((brightness << 8) | EP93XX_MAX_COUNT, ep93xxbl->mmio); in ep93xxbl_set()
32 ep93xxbl->brightness = brightness; in ep93xxbl_set()
37 static int ep93xxbl_update_status(struct backlight_device *bl) in ep93xxbl_update_status() argument
39 return ep93xxbl_set(bl, backlight_get_brightness(bl)); in ep93xxbl_update_status()
42 static int ep93xxbl_get_brightness(struct backlight_device *bl) in ep93xxbl_get_brightness() argument
44 struct ep93xxbl *ep93xxbl = bl_get_data(bl); in ep93xxbl_get_brightness()
[all …]
Dlp8788_bl.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * TI LP8788 MFD - backlight driver
31 #define DEFAULT_BL_NAME "lcd-backlight"
38 static int lp8788_backlight_configure(struct lp8788_bl *bl) in lp8788_backlight_configure() argument
45 ret = lp8788_write_byte(bl->lp, LP8788_BL_RAMP, val); in lp8788_backlight_configure()
56 return lp8788_write_byte(bl->lp, LP8788_BL_CONFIG, val); in lp8788_backlight_configure()
61 struct lp8788_bl *bl = bl_get_data(bl_dev); in lp8788_bl_update_status() local
63 if (bl_dev->props.state & BL_CORE_SUSPENDED) in lp8788_bl_update_status()
64 bl_dev->props.brightness = 0; in lp8788_bl_update_status()
66 lp8788_write_byte(bl->lp, LP8788_BL_BRIGHTNESS, bl_dev->props.brightness); in lp8788_bl_update_status()
[all …]
Dams369fg06.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * ams369fg06 AMOLED LCD panel driver.
13 #include <linux/lcd.h>
157 static int ams369fg06_spi_write_byte(struct ams369fg06 *lcd, int addr, int data) in ams369fg06_spi_write_byte() argument
172 return spi_sync(lcd->spi, &msg); in ams369fg06_spi_write_byte()
175 static int ams369fg06_spi_write(struct ams369fg06 *lcd, unsigned char address, in ams369fg06_spi_write() argument
181 ret = ams369fg06_spi_write_byte(lcd, 0x70, address); in ams369fg06_spi_write()
183 ret = ams369fg06_spi_write_byte(lcd, 0x72, command); in ams369fg06_spi_write()
188 static int ams369fg06_panel_send_sequence(struct ams369fg06 *lcd, in ams369fg06_panel_send_sequence() argument
195 ret = ams369fg06_spi_write(lcd, wbuf[i], wbuf[i+1]); in ams369fg06_panel_send_sequence()
[all …]
Dlp855x_bl.c1 // SPDX-License-Identifier: GPL-2.0-only
40 #define DEFAULT_BL_NAME "lcd-backlight"
70 struct backlight_device *bl; member
81 return i2c_smbus_write_byte_data(lp->client, reg, data); in lp855x_write_byte()
89 ret = i2c_smbus_read_byte_data(lp->client, reg); in lp855x_update_bit()
91 dev_err(lp->dev, "failed to read 0x%.2x\n", reg); in lp855x_update_bit()
106 switch (lp->chip_id) { in lp855x_is_valid_rom_area()
173 struct lp855x_platform_data *pd = lp->pdata; in lp855x_configure()
175 if (lp->cfg->pre_init_device) { in lp855x_configure()
176 ret = lp->cfg->pre_init_device(lp); in lp855x_configure()
[all …]
Dlocomolcd.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Backlight control code for Sharp Zaurus SL-5500
6 * Maintainer: Pavel Machek <[email protected]> (unless John wants to :-)
13 /* LCD power functions */
25 #include <asm/mach-types.h>
27 #include "../../../arch/arm/mach-sa1100/generic.h"
36 locomo_gpio_set_dir(locomolcd_dev->dev.parent, LOCOMO_GPIO_LCD_VSHA_ON, 0); in locomolcd_on()
37 locomo_gpio_write(locomolcd_dev->dev.parent, LOCOMO_GPIO_LCD_VSHA_ON, 1); in locomolcd_on()
40 locomo_gpio_set_dir(locomolcd_dev->dev.parent, LOCOMO_GPIO_LCD_VSHD_ON, 0); in locomolcd_on()
41 locomo_gpio_write(locomolcd_dev->dev.parent, LOCOMO_GPIO_LCD_VSHD_ON, 1); in locomolcd_on()
[all …]
/linux-6.14.4/Documentation/devicetree/bindings/display/panel/
Dpanel-lvds.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/display/panel/panel-lvds.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Lad Prabhakar <prabhakar.mahadev-[email protected]>
11 - Thierry Reding <[email protected]>
14 - $ref: panel-common.yaml#
15 - $ref: /schemas/display/lvds.yaml#
21 const: panel-lvds
28 - advantech,idk-1110wr
[all …]
/linux-6.14.4/drivers/auxdisplay/
Dpanel.c1 // SPDX-License-Identifier: GPL-2.0+
4 * Copyright (C) 2000-2008, Willy Tarreau <[email protected]>
5 * Copyright (C) 2016-2017 Glider bvba
7 * This code drives an LCD module (/dev/lcd), and a keypad (/dev/keypad)
10 * The LCD module may either be an HD44780-like 8-bit parallel LCD, or a 1-bit
15 * data output pins or to the ground. The combinations have to be hard-coded
18 * Several profiles are provided for commonly found LCD+keypad modules on the
22 * - the initialization/deinitialization process is very dirty and should
26 * - document 24 keys keyboard (3 rows of 8 cols, 32 diodes + 2 inputs)
27 * - make the LCD a part of a virtual screen of Vx*Vy
[all …]
DKconfig1 # 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 …]
/linux-6.14.4/drivers/video/fbdev/
Datmel_lcdfb.c2 * Driver for AT91 LCD Controller
13 #include <linux/dma-mapping.h>
38 /* LCD Controller info data structure, stored in device platform_data */
69 #define lcdc_readl(sinfo, reg) __raw_readl((sinfo)->mmio+(reg))
70 #define lcdc_writel(sinfo, reg, val) __raw_writel((val), (sinfo)->mmio+(reg))
107 /* some bl->props field just changed */
108 static int atmel_bl_update_status(struct backlight_device *bl) in atmel_bl_update_status() argument
110 struct atmel_lcdfb_info *sinfo = bl_get_data(bl); in atmel_bl_update_status()
111 int brightness = backlight_get_brightness(bl); in atmel_bl_update_status()
123 static int atmel_bl_get_brightness(struct backlight_device *bl) in atmel_bl_get_brightness() argument
[all …]
/linux-6.14.4/arch/arm/boot/dts/rockchip/
Drk3288-veyron-edp.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
9 backlight_regulator: regulator-backlight {
10 compatible = "regulator-fixed";
11 enable-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>;
20 panel_regulator: regulator-panel {
[all …]
/linux-6.14.4/Documentation/devicetree/bindings/leds/backlight/
Dlp855x-backlight.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/leds/backlight/lp855x-backlight.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Artur Weber <[email protected]>
15 - ti,lp8550
16 - ti,lp8551
17 - ti,lp8552
18 - ti,lp8553
19 - ti,lp8555
[all …]
/linux-6.14.4/arch/arm64/boot/dts/qcom/
Dapq8039-t2.dts1 // SPDX-License-Identifier: GPL-2.0
4 * Copyright (c) 2020-2023, Linaro Ltd.
8 /dts-v1/;
11 #include "msm8939-pm8916.dtsi"
12 #include <dt-bindings/arm/qcom,ids.h>
13 #include <dt-bindings/gpio/gpio.h>
14 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
15 #include <dt-bindings/sound/apq8016-lpass.h>
19 compatible = "square,apq8039-t2", "qcom,msm8939";
21 qcom,board-id = <0x53 0x54>;
[all …]
Dqcm6490-idp.dts1 // SPDX-License-Identifier: BSD-3-Clause
6 /dts-v1/;
12 #include <dt-bindings/input/linux-event-codes.h>
13 #include <dt-bindings/leds/common.h>
14 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
15 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
22 /delete-node/ &ipa_fw_mem;
23 /delete-node/ &rmtfs_mem;
24 /delete-node/ &adsp_mem;
25 /delete-node/ &cdsp_mem;
[all …]
/linux-6.14.4/arch/arm/boot/dts/ti/omap/
Dlogicpd-som-lv-baseboard.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
5 compatible = "gpio-keys";
6 pinctrl-names = "default";
7 pinctrl-0 = <&gpio_key_pins>;
13 wakeup-source;
18 compatible = "ti,omap-twl4030";
24 compatible = "gpio-leds";
25 pinctrl-names = "default";
26 pinctrl-0 = <&led_pins &led_pins_wkup>;
31 linux,default-trigger = "cpu0";
[all …]
Dam3517-evm.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/
5 /dts-v1/;
8 #include "am3517-som.dtsi"
9 #include "am3517-evm-ui.dtsi"
10 #include <dt-bindings/input/input.h>
14 compatible = "ti,am3517-evm", "ti,am3517", "ti,omap3";
21 stdout-path = &uart3;
30 compatible = "regulator-fixed";
31 regulator-name = "vmmc_fixed";
[all …]
/linux-6.14.4/arch/arm/boot/dts/nvidia/
Dtegra20-colibri-iris.dts1 // 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 = <&reg_5v0>;
41 bl-on {
49 hotplug-detect {
57 lcd {
[all …]
Dtegra20-colibri-eval-v3.dts1 // SPDX-License-Identifier: GPL-2.0 OR MIT
2 /dts-v1/;
4 #include <dt-bindings/input/input.h>
5 #include "tegra20-colibri.dtsi"
9 compatible = "toradex,colibri_t20-eval-v3", "toradex,colibri_t20",
22 stdout-path = "serial0:115200n8";
35 hdmi-supply = <&reg_5v0>;
41 bl-on {
49 hotplug-detect {
57 lcd {
[all …]
/linux-6.14.4/Documentation/driver-api/backlight/
Dlp855x-driver.rst15 -----------
37 ------------------------
68 .name = "lcd-bl",
/linux-6.14.4/drivers/gpu/drm/panel/
Dpanel-samsung-s6d7aa0.c1 // SPDX-License-Identifier: GPL-2.0
3 * Samsung S6D7AA0 MIPI-DSI TFT LCD controller drm_panel driver.
59 gpiod_set_value_cansleep(ctx->reset_gpio, 1); in s6d7aa0_reset()
61 gpiod_set_value_cansleep(ctx->reset_gpio, 0); in s6d7aa0_reset()
67 struct mipi_dsi_device *dsi = ctx->dsi; in s6d7aa0_lock()
72 if (ctx->desc->use_passwd3) in s6d7aa0_lock()
77 if (ctx->desc->use_passwd3) in s6d7aa0_lock()
86 struct mipi_dsi_device *dsi = ctx->dsi; in s6d7aa0_on()
87 struct device *dev = &dsi->dev; in s6d7aa0_on()
90 ret = ctx->desc->init_func(ctx); in s6d7aa0_on()
[all …]
/linux-6.14.4/arch/arm/boot/dts/qcom/
Dqcom-msm8974pro-sony-xperia-shinano-castor.dts1 // SPDX-License-Identifier: GPL-2.0
2 #include "qcom-msm8974pro-sony-xperia-shinano-common.dtsi"
6 compatible = "sony,xperia-castor", "qcom,msm8974pro", "qcom,msm8974";
7 chassis-type = "tablet";
9 vreg_bl_vddio: lcd-backlight-vddio {
10 compatible = "regulator-fixed";
11 regulator-name = "vreg_bl_vddio";
12 regulator-min-microvolt = <3150000>;
13 regulator-max-microvolt = <3150000>;
16 enable-active-high;
[all …]
/linux-6.14.4/drivers/gpu/drm/bridge/
Dparade-ps8622.c1 // SPDX-License-Identifier: GPL-2.0-only
48 struct backlight_device *bl; member
68 struct i2c_adapter *adap = client->adapter; in ps8622_set()
72 msg.addr = client->addr + page; in ps8622_set()
80 client->addr + page, reg, val, ret); in ps8622_set()
86 struct i2c_client *cl = ps8622->client; in ps8622_send_config()
137 /* [7:5] DCO_FTRNG=+-40% */ in ps8622_send_config()
147 /* Gitune=-37% */ in ps8622_send_config()
167 /* [7:6] Right-bar GPIO output strength is 8mA */ in ps8622_send_config()
179 err = ps8622_set(cl, 0x01, 0x02, 0x80 | ps8622->max_lane_count); in ps8622_send_config()
[all …]
/linux-6.14.4/arch/arm64/boot/dts/rockchip/
Drk3588-coolpi-cm5-evb.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 /dts-v1/;
9 #include <dt-bindings/leds/common.h>
10 #include <dt-bindings/soc/rockchip,vop2.h>
11 #include "rk3588-coolpi-cm5.dtsi"
15 compatible = "coolpi,pi-cm5-evb", "coolpi,pi-cm5", "rockchip,rk3588";
18 compatible = "pwm-backlight";
19 enable-gpios = <&gpio4 RK_PA3 GPIO_ACTIVE_HIGH>;
20 pinctrl-names = "default";
21 pinctrl-0 = <&bl_en>;
[all …]
Drk3588-coolpi-cm5-genbook.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 /dts-v1/;
9 #include <dt-bindings/leds/common.h>
10 #include <dt-bindings/soc/rockchip,vop2.h>
11 #include "rk3588-coolpi-cm5.dtsi"
15 compatible = "coolpi,pi-cm5-genbook", "coolpi,pi-cm5", "rockchip,rk3588";
18 compatible = "pwm-backlight";
19 enable-gpios = <&gpio4 RK_PA3 GPIO_ACTIVE_HIGH>;
20 pinctrl-names = "default";
21 pinctrl-0 = <&bl_en>;
[all …]
/linux-6.14.4/Documentation/devicetree/bindings/mfd/
Dti-lmu.txt6 ------ ---------------------------------
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
31 Range from 2048 us - 117.44 s
32 - ramp-down-us: Current ramping from one brightness level to
34 Range from 2048 us - 117.44 s
35 - ti,brightness-resolution - This determines whether to use 8 bit brightness
47 - backlight: All LMU devices have backlight child nodes.
[all …]

12