| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/leds/backlight/ |
| D | pwm-backlight.txt | 1 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 10 "pwms" property (see PWM binding[0]) 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. [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. 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 17 - skyworks,current-limit-mA [all …]
|
| D | 88pm860x.txt | 1 88pm860x-backlight bindings 4 - marvell,88pm860x-iset: Current supplies on backlight device. 5 - marvell,88pm860x-pwm: PWM frequency on backlight device. 10 backlight-0 { 11 marvell,88pm860x-iset = <4>; 12 marvell,88pm860x-pwm = <3>; 14 backlight-2 {
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/leds/backlight/ |
| 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 | 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. 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 17 - skyworks,current-limit-mA [all …]
|
| D | 88pm860x.txt | 1 88pm860x-backlight bindings 4 - marvell,88pm860x-iset: Current supplies on backlight device. 5 - marvell,88pm860x-pwm: PWM frequency on backlight device. 10 backlight-0 { 11 marvell,88pm860x-iset = <4>; 12 marvell,88pm860x-pwm = <3>; 14 backlight-2 {
|
| /kernel/linux/linux-4.19/Documentation/ABI/testing/ |
| D | sysfs-class-backlight-driver-lm3533 | 1 What: /sys/class/backlight/<backlight>/als_channel 7 ALS-current-control mode (0, 1), where 9 0 - out_current0 (backlight 0) 10 1 - out_current1 (backlight 1) 12 What: /sys/class/backlight/<backlight>/als_en 17 Enable ALS-current-control mode (0, 1). 19 What: /sys/class/backlight/<backlight>/id 24 Get the id of this backlight (0, 1). 26 What: /sys/class/backlight/<backlight>/linear 31 Set the brightness-mapping mode (0, 1), where [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/pwm/ |
| D | pwm.txt | 1 Specifying PWM information for devices 4 1) PWM user nodes 5 ----------------- 7 PWM users should specify a list of PWM devices that they want to use 8 with a property containing a 'pwm-list': 10 pwm-list ::= <single-pwm> [pwm-list] 11 single-pwm ::= <pwm-phandle> <pwm-specifier> 12 pwm-phandle : phandle to PWM controller node 13 pwm-specifier : array of #pwm-cells specifying the given PWM 16 PWM properties should be named "pwms". The exact meaning of each pwms [all …]
|
| D | pwm-lp3943.txt | 1 TI/National Semiconductor LP3943 PWM controller 4 - compatible: "ti,lp3943-pwm" 5 - #pwm-cells: Should be 2. See pwm.yaml in this directory for a 9 - ti,pwm0 or ti,pwm1: Output pin number(s) for PWM channel 0 or 1. 17 PWM 0 is for RGB LED brightness control 18 PWM 1 is for brightness control of LP8557 backlight device 26 * PWM 0 : output 8, 9 and 10 27 * PWM 1 : output 15 29 pwm3943: pwm { 30 compatible = "ti,lp3943-pwm"; [all …]
|
| /kernel/linux/linux-5.10/Documentation/ABI/testing/ |
| D | sysfs-class-backlight-driver-lm3533 | 1 What: /sys/class/backlight/<backlight>/als_channel 7 ALS-current-control mode (0, 1), where: 10 0 out_current0 (backlight 0) 11 1 out_current1 (backlight 1) 14 What: /sys/class/backlight/<backlight>/als_en 19 Enable ALS-current-control mode (0, 1). 21 What: /sys/class/backlight/<backlight>/id 26 Get the id of this backlight (0, 1). 28 What: /sys/class/backlight/<backlight>/linear 33 Set the brightness-mapping mode (0, 1), where: [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/pwm/ |
| D | pwm.txt | 1 Specifying PWM information for devices 4 1) PWM user nodes 5 ----------------- 7 PWM users should specify a list of PWM devices that they want to use 8 with a property containing a 'pwm-list': 10 pwm-list ::= <single-pwm> [pwm-list] 11 single-pwm ::= <pwm-phandle> <pwm-specifier> 12 pwm-phandle : phandle to PWM controller node 13 pwm-specifier : array of #pwm-cells specifying the given PWM 16 PWM properties should be named "pwms". The exact meaning of each pwms [all …]
|
| D | pwm-lp3943.txt | 1 TI/National Semiconductor LP3943 PWM controller 4 - compatible: "ti,lp3943-pwm" 5 - #pwm-cells: Should be 2. See pwm.txt in this directory for a 9 - ti,pwm0 or ti,pwm1: Output pin number(s) for PWM channel 0 or 1. 17 PWM 0 is for RGB LED brightness control 18 PWM 1 is for brightness control of LP8557 backlight device 26 * PWM 0 : output 8, 9 and 10 27 * PWM 1 : output 15 29 pwm3943: pwm { 30 compatible = "ti,lp3943-pwm"; [all …]
|
| /kernel/linux/linux-4.19/drivers/gpu/drm/i915/ |
| D | intel_panel.c | 2 * Copyright © 2006-2010 Intel Corporation 28 * Chris Wilson <chris@chris-wilson.co.uk> 35 #include <linux/pwm.h> 50 * intel_find_panel_downclock - find the reduced downclock for LVDS in EDID 66 temp_downclock = fixed_mode->clock; in intel_find_panel_downclock() 69 list_for_each_entry(scan, &connector->probed_modes, head) { in intel_find_panel_downclock() 77 if (scan->hdisplay == fixed_mode->hdisplay && in intel_find_panel_downclock() 78 scan->hsync_start == fixed_mode->hsync_start && in intel_find_panel_downclock() 79 scan->hsync_end == fixed_mode->hsync_end && in intel_find_panel_downclock() 80 scan->htotal == fixed_mode->htotal && in intel_find_panel_downclock() [all …]
|
| /kernel/linux/linux-5.10/drivers/video/backlight/ |
| 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 94 tristate "Sharp SL-6000 LCD Driver" 97 If you have an Sharp SL-6000 Zaurus say Y to enable a driver [all …]
|
| D | lp8788_bl.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * TI LP8788 MFD - backlight driver 10 #include <linux/backlight.h> 15 #include <linux/pwm.h> 32 #define DEFAULT_BL_NAME "lcd-backlight" 48 struct pwm_device *pwm; member 73 struct lp8788_backlight_platform_data *pdata = bl->pdata; in lp8788_backlight_configure() 83 cfg->bl_mode = pdata->bl_mode; in lp8788_backlight_configure() 84 cfg->dim_mode = pdata->dim_mode; in lp8788_backlight_configure() 85 cfg->full_scale = pdata->full_scale; in lp8788_backlight_configure() [all …]
|
| D | pwm_bl.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Simple PWM based backlight control, board code has to setup 4 * 1) pin configuration so PWM waveforms can output 15 #include <linux/backlight.h> 17 #include <linux/pwm.h> 23 struct pwm_device *pwm; member 47 pwm_get_state(pb->pwm, &state); in pwm_backlight_power_on() 48 if (pb->enabled) in pwm_backlight_power_on() 51 err = regulator_enable(pb->power_supply); in pwm_backlight_power_on() 53 dev_err(pb->dev, "failed to enable power supply\n"); in pwm_backlight_power_on() [all …]
|
| /kernel/linux/linux-4.19/drivers/video/backlight/ |
| D | Kconfig | 2 # Backlight & LCD drivers configuration 6 bool "Backlight & LCD device support" 9 backlight and the LCD panel on some platforms, for example on PDAs. 20 This framework adds support for low-level control of LCD. 21 Some framebuffer devices connect to platform-specific LCD modules 22 in order to have a platform-specific way to control the flat panel 23 (contrast and applying power to the LCD (not to the backlight!)). 96 This driver provides a platform-device registered LCD power 100 tristate "Sharp SL-6000 LCD Driver" 103 If you have an Sharp SL-6000 Zaurus say Y to enable a driver [all …]
|
| D | pwm_bl.c | 2 * linux/drivers/video/backlight/pwm_bl.c 4 * simple PWM based backlight control, board code has to setup 5 * 1) pin configuration so PWM waveforms can output 21 #include <linux/backlight.h> 23 #include <linux/pwm.h> 29 struct pwm_device *pwm; member 53 if (pb->enabled) in pwm_backlight_power_on() 56 err = regulator_enable(pb->power_supply); in pwm_backlight_power_on() 58 dev_err(pb->dev, "failed to enable power supply\n"); in pwm_backlight_power_on() 60 pwm_enable(pb->pwm); in pwm_backlight_power_on() [all …]
|
| D | lp8788_bl.c | 2 * TI LP8788 MFD - backlight driver 14 #include <linux/backlight.h> 19 #include <linux/pwm.h> 36 #define DEFAULT_BL_NAME "lcd-backlight" 52 struct pwm_device *pwm; member 77 struct lp8788_backlight_platform_data *pdata = bl->pdata; in lp8788_backlight_configure() 87 cfg->bl_mode = pdata->bl_mode; in lp8788_backlight_configure() 88 cfg->dim_mode = pdata->dim_mode; in lp8788_backlight_configure() 89 cfg->full_scale = pdata->full_scale; in lp8788_backlight_configure() 90 cfg->rise_time = pdata->rise_time; in lp8788_backlight_configure() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
| D | intel_panel.c | 2 * Copyright © 2006-2010 Intel Corporation 28 * Chris Wilson <chris@chris-wilson.co.uk> 35 #include <linux/pwm.h> 59 downclock_mode->clock < fixed_mode->clock; in is_downclock_mode() 66 struct drm_i915_private *dev_priv = to_i915(connector->base.dev); in intel_panel_edid_downclock_mode() 69 int best_clock = fixed_mode->clock; in intel_panel_edid_downclock_mode() 71 list_for_each_entry(scan, &connector->base.probed_modes, head) { in intel_panel_edid_downclock_mode() 80 scan->clock < best_clock) { in intel_panel_edid_downclock_mode() 85 best_clock = scan->clock; in intel_panel_edid_downclock_mode() 93 downclock_mode = drm_mode_duplicate(&dev_priv->drm, best_mode); in intel_panel_edid_downclock_mode() [all …]
|
| /kernel/linux/linux-4.19/arch/arm/mach-s3c64xx/ |
| D | dev-backlight.c | 1 // SPDX-License-Identifier: GPL-2.0 6 // Common infrastructure for PWM Backlight for Samsung boards 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() 39 s3c_gpio_cfgpin(bl_gpio_info->no, bl_gpio_info->func); in samsung_bl_init() [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 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() 39 s3c_gpio_cfgpin(bl_gpio_info->no, bl_gpio_info->func); in samsung_bl_init() [all …]
|
| /kernel/linux/linux-5.10/include/linux/platform_data/ |
| D | lp855x.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * LP855x Backlight Driver 15 /* Enable backlight. Only valid when BRT_MODE=10(I2C only) */ 22 /* DEVICE CONTROL register - LP8550 */ 27 /* DEVICE CONTROL register - LP8551 */ 31 /* DEVICE CONTROL register - LP8552 */ 35 /* DEVICE CONTROL register - LP8553 */ 39 /* CONFIG register - LP8555 */ 43 when the backlight turns on */ 50 /* DEVICE CONTROL register - LP8556 */ [all …]
|
| /kernel/linux/linux-4.19/include/linux/platform_data/ |
| D | lp855x.h | 2 * LP855x Backlight Driver 19 /* Enable backlight. Only valid when BRT_MODE=10(I2C only) */ 26 /* DEVICE CONTROL register - LP8550 */ 31 /* DEVICE CONTROL register - LP8551 */ 35 /* DEVICE CONTROL register - LP8552 */ 39 /* DEVICE CONTROL register - LP8553 */ 43 /* CONFIG register - LP8555 */ 47 when the backlight turns on */ 54 /* DEVICE CONTROL register - LP8556 */ 63 /* CONFIG register - LP8557 */ [all …]
|
| /kernel/linux/linux-5.10/include/linux/mfd/ |
| D | lp8788.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 15 #include <linux/pwm.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 …]
|