| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/leds/backlight/ |
| 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 …]
|
| 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> 16 const: pwm-backlight 21 pwm-names: true [all …]
|
| 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 …]
|
| 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/leds/backlight/ |
| 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 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 …]
|
| 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 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 …]
|
| 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 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 …]
|
| 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 …]
|
| /kernel/linux/linux-5.10/arch/arm/mach-s3c/ |
| D | dev-backlight-s3c64xx.c | 1 // 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-6.6/Documentation/devicetree/bindings/display/ |
| 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: 26 - enum: 27 - jianda,jd-t18003-t01 28 - const: sitronix,st7735r [all …]
|
| 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: 24 - waveshare,rpi-lcd-35 26 - ozzmaker,piscreen 27 - const: ilitek,ili9486 29 spi-max-frequency: [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/ |
| 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# 22 - description: 25 - enum: 26 - jianda,jd-t18003-t01 27 - const: sitronix,st7735r 28 - description: [all …]
|
| 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: 24 - waveshare,rpi-lcd-35 26 - ozzmaker,piscreen 27 - const: ilitek,ili9486 29 spi-max-frequency: [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/display/panel/ |
| 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 …]
|
| D | ilitek,ili9163.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Daniel Mack <daniel@zonque.org> 17 - $ref: panel-common.yaml# 18 - $ref: /schemas/spi/spi-peripheral-props.yaml# 23 - enum: 24 - newhaven,1.8-128160EF 25 - const: ilitek,ili9163 27 spi-max-frequency: [all …]
|
| 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/panel/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/video/backlight/ |
| 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> 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 …]
|
| 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> 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->dev || gbl->dev == info->device; 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->dev = pdata->dev; in gpio_backlight_probe() [all …]
|
| /kernel/linux/linux-5.10/drivers/video/backlight/ |
| 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> 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->device; 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 …]
|
| 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> 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/ |
| 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 …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/cirrus/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/tilcdc/ |
| D | tilcdc_panel.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 #include <linux/backlight.h> 8 #include <linux/gpio/consumer.h> 29 struct backlight_device *backlight; member 48 struct backlight_device *backlight = panel_encoder->mod->backlight; in panel_encoder_dpms() local 49 struct gpio_desc *gpio = panel_encoder->mod->enable_gpio; in panel_encoder_dpms() local 51 if (backlight) { in panel_encoder_dpms() 52 backlight->props.power = mode == DRM_MODE_DPMS_ON ? in panel_encoder_dpms() 54 backlight_update_status(backlight); in panel_encoder_dpms() 57 if (gpio) in panel_encoder_dpms() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/tilcdc/ |
| D | tilcdc_panel.c | 1 // 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 …]
|