Home
last modified time | relevance | path

Searched +full:gpio +full:- +full:backlight (Results 1 – 25 of 818) sorted by relevance

12345678910>>...33

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/leds/backlight/
Dgpio-backlight.yaml1 # 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 bindings
10 - Lee Jones <lee.jones@linaro.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 …]
Dpwm-backlight.yaml1 # 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 bindings
10 - Lee Jones <lee.jones@linaro.org>
11 - Daniel Thompson <daniel.thompson@linaro.org>
12 - Jingoo Han <jingoohan1@gmail.com>
16 const: pwm-backlight
21 pwm-names: true
[all …]
Dkinetic,ktd253.yaml1 # 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 one-wire backlight
10 - Linus Walleij <linus.walleij@linaro.org>
13 The Kinetic Technologies KTD253 is a white LED backlight that is
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#
[all …]
Dsky81452-backlight.txt1 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 …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/leds/backlight/
Dpwm-backlight.txt1 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
12 and disables the backlight (see GPIO binding[1])
13 - post-pwm-on-delay-ms: Delay in ms between setting an initial (non-zero) PWM
14 and enabling the backlight using GPIO.
15 - pwm-off-delay-ms: Delay in ms between disabling the backlight using GPIO
[all …]
Dgpio-backlight.txt1 gpio-backlight bindings
4 - compatible: "gpio-backlight"
5 - gpios: describes the gpio that is used for enabling/disabling the backlight.
6 refer to bindings/gpio/gpio.txt for more details.
9 - default-on: enable the backlight at boot.
12 backlight {
13 compatible = "gpio-backlight";
15 default-on;
Dsky81452-backlight.txt1 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 …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/display/panel/
Dsharp,lq150x1lg11.txt4 - compatible: should be "sharp,lq150x1lg11"
5 - power-supply: regulator to provide the VCC supply voltage (3.3 volts)
8 - backlight: phandle of the backlight device
9 - rlud-gpios: a single GPIO for the RL/UD (rotate 180 degrees) pin.
10 - sellvds-gpios: a single GPIO for the SELLVDS pin.
12 If rlud-gpios and/or sellvds-gpios are not specified, the RL/UD and/or SELLVDS
17 backlight: backlight {
18 compatible = "pwm-backlight";
21 brightness-levels = <0 20 40 60 80 100>;
22 default-brightness-level = <2>;
[all …]
Dpanel-common.txt14 ----------------------
16 - width-mm,
17 - height-mm: The width-mm and height-mm specify the width and height of the
21 - label: The label property specifies a symbolic name for the panel as a
28 non-descriptive information. For instance an LCD panel in a system that
35 ---------------
37 - panel-timing: Most display panels are restricted to a single resolution and
38 require specific display timings. The panel-timing subnode expresses those
41 Documentation/devicetree/bindings/display/panel/display-timing.txt.
45 ------------
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/display/
Dsitronix,st7735r.txt7 - compatible: "jianda,jd-t18003-t01", "sitronix,st7735r"
8 - dc-gpios: Display data/command selection (D/CX)
9 - reset-gpios: Reset signal (RSTX)
12 all mandatory properties described in ../spi/spi-bus.txt must be specified.
15 - rotation: panel rotation in degrees counter clockwise (0,90,180,270)
16 - backlight: phandle of the backlight device attached to the panel
20 backlight: backlight {
21 compatible = "gpio-backlight";
22 gpios = <&gpio 44 GPIO_ACTIVE_HIGH>;
28 compatible = "jianda,jd-t18003-t01", "sitronix,st7735r";
[all …]
/kernel/linux/linux-4.19/arch/arm/mach-s3c64xx/
Ddev-backlight.c1 // SPDX-License-Identifier: GPL-2.0
6 // Common infrastructure for PWM Backlight for Samsung boards
8 #include <linux/gpio.h>
15 #include <plat/gpio-cfg.h>
17 #include "backlight.h"
27 struct platform_pwm_backlight_data *pdata = dev->platform_data; in samsung_bl_init()
30 struct samsung_bl_gpio_info *bl_gpio_info = drvdata->gpio_info; in samsung_bl_init()
32 ret = gpio_request(bl_gpio_info->no, "Backlight"); in samsung_bl_init()
34 printk(KERN_ERR "failed to request GPIO for LCD Backlight\n"); in samsung_bl_init()
38 /* Configure GPIO pin with specific GPIO function for PWM timer */ in samsung_bl_init()
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-s3c/
Ddev-backlight-s3c64xx.c1 // SPDX-License-Identifier: GPL-2.0
6 // Common infrastructure for PWM Backlight for Samsung boards
8 #include <linux/gpio.h>
15 #include "gpio-cfg.h"
17 #include "backlight-s3c64xx.h"
27 struct platform_pwm_backlight_data *pdata = dev->platform_data; in samsung_bl_init()
30 struct samsung_bl_gpio_info *bl_gpio_info = drvdata->gpio_info; in samsung_bl_init()
32 ret = gpio_request(bl_gpio_info->no, "Backlight"); in samsung_bl_init()
34 printk(KERN_ERR "failed to request GPIO for LCD Backlight\n"); in samsung_bl_init()
38 /* Configure GPIO pin with specific GPIO function for PWM timer */ in samsung_bl_init()
[all …]
/kernel/linux/linux-4.19/drivers/video/backlight/
Dgpio_backlight.c2 * gpio_backlight.c - Simple GPIO-controlled backlight
9 #include <linux/backlight.h>
12 #include <linux/gpio.h> /* Only for legacy support */
13 #include <linux/gpio/consumer.h>
34 int brightness = bl->props.brightness; in gpio_backlight_update_status()
36 if (bl->props.power != FB_BLANK_UNBLANK || in gpio_backlight_update_status()
37 bl->props.fb_blank != FB_BLANK_UNBLANK || in gpio_backlight_update_status()
38 bl->props.state & (BL_CORE_SUSPENDED | BL_CORE_FBBLANK)) in gpio_backlight_update_status()
41 gpiod_set_value_cansleep(gbl->gpiod, brightness); in gpio_backlight_update_status()
51 return gbl->fbdev == NULL || gbl->fbdev == info->dev; in gpio_backlight_check_fb()
[all …]
Dbd6107.c13 #include <linux/backlight.h>
17 #include <linux/gpio.h>
75 struct backlight_device *backlight; member
81 return i2c_smbus_write_byte_data(bd->client, reg, data); in bd6107_write()
84 static int bd6107_backlight_update_status(struct backlight_device *backlight) in bd6107_backlight_update_status() argument
86 struct bd6107 *bd = bl_get_data(backlight); in bd6107_backlight_update_status()
87 int brightness = backlight->props.brightness; in bd6107_backlight_update_status()
89 if (backlight->props.power != FB_BLANK_UNBLANK || in bd6107_backlight_update_status()
90 backlight->props.fb_blank != FB_BLANK_UNBLANK || in bd6107_backlight_update_status()
91 backlight->props.state & (BL_CORE_SUSPENDED | BL_CORE_FBBLANK)) in bd6107_backlight_update_status()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/panel/
Dpanel-common.yaml1 # 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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/
Dilitek,ili9486.yaml1 # 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:
24 - waveshare,rpi-lcd-35
26 - ozzmaker,piscreen
27 - const: ilitek,ili9486
29 spi-max-frequency:
[all …]
Dsitronix,st7735r.yaml1 # 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#
22 - description:
25 - enum:
26 - jianda,jd-t18003-t01
27 - const: sitronix,st7735r
28 - description:
[all …]
/kernel/linux/linux-5.10/drivers/video/backlight/
Dgpio_backlight.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * gpio_backlight.c - Simple GPIO-controlled backlight
6 #include <linux/backlight.h>
9 #include <linux/gpio/consumer.h>
28 gpiod_set_value_cansleep(gbl->gpiod, backlight_get_brightness(bl)); in gpio_backlight_update_status()
38 return gbl->fbdev == NULL || gbl->fbdev == info->dev; in gpio_backlight_check_fb()
49 struct device *dev = &pdev->dev; in gpio_backlight_probe()
51 struct device_node *of_node = dev->of_node; in gpio_backlight_probe()
59 return -ENOMEM; in gpio_backlight_probe()
62 gbl->fbdev = pdata->fbdev; in gpio_backlight_probe()
[all …]
Dktd253-backlight.c1 // 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>
11 #include <linux/gpio/consumer.h>
40 gpiod_set_value_cansleep(ktd253->gpiod, 1); in ktd253_backlight_set_max_ratio()
48 * These GPIO operations absolutely can NOT sleep so no _cansleep in ktd253_backlight_stepdown()
49 * suffixes, and no using GPIO expanders on slow buses for this! in ktd253_backlight_stepdown()
58 * top so we have the backlight in a known state. in ktd253_backlight_stepdown()
63 gpiod_set_value(ktd253->gpiod, 0); in ktd253_backlight_stepdown()
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dep7211-edb7211.dts1 // 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 …]
/kernel/linux/linux-4.19/arch/arm/boot/dts/
Dep7211-edb7211.dts8 #include <dt-bindings/gpio/gpio.h>
18 backlight: backlight { label
19 compatible = "pwm-backlight";
21 brightness-levels = <
25 default-brightness-level = <0x0>;
26 power-supply = <&blen>;
31 native-mode = <&timing0>;
32 bits-per-pixel = <4>;
33 ac-prescale = <17>;
35 display-timings {
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/tilcdc/
Dtilcdc_panel.c1 // SPDX-License-Identifier: GPL-2.0-only
7 #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()
57 gpiod_set_value_cansleep(gpio, in panel_encoder_dpms()
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/mfd/
Dti-lmu.txt6 ------ ---------------------------------
7 LM3532 Backlight
8 LM3631 Backlight and regulator
9 LM3632 Backlight and regulator
10 LM3633 Backlight, LED and fault monitor
11 LM3695 Backlight
12 LM3697 Backlight and fault monitor
15 - compatible: Should be one of:
22 - reg: I2C slave address.
30 - enable-gpios: A GPIO specifier for hardware enable pin.
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/tilcdc/
Dtilcdc_panel.c20 #include <linux/backlight.h>
21 #include <linux/gpio/consumer.h>
34 struct backlight_device *backlight; member
53 struct backlight_device *backlight = panel_encoder->mod->backlight; in panel_encoder_dpms() local
54 struct gpio_desc *gpio = panel_encoder->mod->enable_gpio; in panel_encoder_dpms() local
56 if (backlight) { in panel_encoder_dpms()
57 backlight->props.power = mode == DRM_MODE_DPMS_ON ? in panel_encoder_dpms()
59 backlight_update_status(backlight); in panel_encoder_dpms()
62 if (gpio) in panel_encoder_dpms()
63 gpiod_set_value_cansleep(gpio, in panel_encoder_dpms()
[all …]
/kernel/linux/linux-5.10/include/linux/mfd/
Dlp8788.h1 /* SPDX-License-Identifier: GPL-2.0-only */
13 #include <linux/gpio.h>
18 #define LP8788_DEV_BUCK "lp8788-buck"
19 #define LP8788_DEV_DLDO "lp8788-dldo"
20 #define LP8788_DEV_ALDO "lp8788-aldo"
21 #define LP8788_DEV_CHARGER "lp8788-charger"
22 #define LP8788_DEV_RTC "lp8788-rtc"
23 #define LP8788_DEV_BACKLIGHT "lp8788-backlight"
24 #define LP8788_DEV_VIBRATOR "lp8788-vibrator"
25 #define LP8788_DEV_KEYLED "lp8788-keyled"
[all …]

12345678910>>...33