| /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 13 - post-pwm-on-delay-ms: Delay in ms between setting an initial (non-zero) PWM 15 - pwm-off-delay-ms: Delay in ms between disabling the backlight using GPIO 16 and setting PWM value to 0. [all …]
|
| /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 …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | rk3288-veyron-edp.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 9 backlight_regulator: backlight-regulator { 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: panel-regulator { [all …]
|
| D | s5pv210-aries.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 /dts-v1/; 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 32 reserved-memory { 33 #address-cells = <1>; 34 #size-cells = <1>; 38 compatible = "shared-dma-pool"; 39 no-map; 44 compatible = "shared-dma-pool"; [all …]
|
| D | imx6qdl-colibri.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 3 * Copyright 2014-2020 Toradex 8 #include <dt-bindings/gpio/gpio.h> 15 compatible = "pwm-backlight"; 16 pinctrl-names = "default"; 17 pinctrl-0 = <&pinctrl_gpio_bl_on>; 19 enable-gpios = <&gpio3 26 GPIO_ACTIVE_HIGH>; /* Colibri BL_ON */ 23 reg_module_3v3: regulator-module-3v3 { 24 compatible = "regulator-fixed"; 25 regulator-name = "+V3.3"; [all …]
|
| D | am5729-beagleboneai.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2014-2019 Texas Instruments Incorporated - http://www.ti.com/ 6 /dts-v1/; 9 #include "am57xx-commercial-grade.dtsi" 10 #include "dra74x-mmc-iodelay.dtsi" 11 #include "dra74-ipu-dsp-common.dtsi" 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/interrupt-controller/irq.h> 14 #include <dt-bindings/pinctrl/dra.h> 18 compatible = "beagle,am5729-beagleboneai", "ti,am5728", [all …]
|
| /kernel/linux/linux-4.19/arch/arm/boot/dts/ |
| D | rk3288-veyron-minnie.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 9 #include "rk3288-veyron-chromebook.dtsi" 13 compatible = "google,veyron-minnie-rev4", "google,veyron-minnie-rev3", 14 "google,veyron-minnie-rev2", "google,veyron-minnie-rev1", 15 "google,veyron-minnie-rev0", "google,veyron-minnie", 18 backlight_regulator: backlight-regulator { 19 compatible = "regulator-fixed"; 20 enable-active-high; 22 pinctrl-names = "default"; [all …]
|
| D | rk3288-veyron-chromebook.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 9 #include <dt-bindings/clock/rockchip,rk808.h> 10 #include <dt-bindings/input/input.h> 11 #include "rk3288-veyron.dtsi" 12 #include "rk3288-veyron-analog-audio.dtsi" 13 #include "rk3288-veyron-sdmmc.dtsi" 22 compatible = "pwm-backlight"; 23 brightness-levels = < 56 default-brightness-level = <128>; 57 enable-gpios = <&gpio7 RK_PA2 GPIO_ACTIVE_HIGH>; [all …]
|
| /kernel/linux/linux-5.10/drivers/scsi/ufs/ |
| D | ufs_quirks.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2014-2016, The Linux Foundation. All rights reserved. 22 * ufs_dev_fix - ufs device quirk info 51 * - As soon as SW sees the DL NAC error, it should schedule the error handler 52 * - Error handler would sleep for 50ms to see if there are any fatal errors 54 * - If there are fatal errors then SW does normal error recovery. 55 * - If there are no fatal errors then SW sends the NOP command to device 57 * - If NOP command times out, SW does normal error recovery 58 * - If NOP command succeed, skip the error handling. 70 * To workaround this issue, host should set its PA_TACTIVATE time to 1ms even [all …]
|
| /kernel/linux/linux-4.19/drivers/scsi/ufs/ |
| D | ufs_quirks.h | 2 * Copyright (c) 2014-2016, The Linux Foundation. All rights reserved. 30 * ufs_dev_fix - ufs device quirk info 73 * - As soon as SW sees the DL NAC error, it should schedule the error handler 74 * - Error handler would sleep for 50ms to see if there are any fatal errors 76 * - If there are fatal errors then SW does normal error recovery. 77 * - If there are no fatal errors then SW sends the NOP command to device 79 * - If NOP command times out, SW does normal error recovery 80 * - If NOP command succeed, skip the error handling. 90 * in off state during suspend. Enabling this quirk will not allow the 91 * link to be kept in off state during suspend. [all …]
|
| /kernel/linux/linux-5.10/drivers/video/backlight/ |
| 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 8 #include <linux/delay.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-5.10/arch/arm/mach-pxa/ |
| D | mioa701.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 13 #include <linux/delay.h> 15 #include <linux/pwm.h> 31 #include <linux/platform_data/i2c-pxa.h> 33 #include <asm/mach-types.h> 37 #include "regs-rtc.h" 38 #include <linux/platform_data/keypad-pxa27x.h> 39 #include <linux/platform_data/video-pxafb.h> 40 #include <linux/platform_data/mmc-pxamci.h> 42 #include "pxa27x-udc.h" [all …]
|
| /kernel/linux/linux-5.10/drivers/leds/ |
| D | leds-lm3533.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * leds-lm3533.c -- LM3533 LED driver 5 * Copyright (C) 2011-2012 Texas Instruments 61 return led->id + 2; in lm3533_led_get_ctrlbank_id() 66 return base + led->id; in lm3533_led_get_lv_reg() 71 return led->id; in lm3533_led_get_pattern() 88 dev_dbg(led->cdev.dev, "%s - %d\n", __func__, enable); in lm3533_led_pattern_enable() 90 mutex_lock(&led->mutex); in lm3533_led_pattern_enable() 92 state = test_bit(LM3533_LED_FLAG_PATTERN_ENABLE, &led->flags); in lm3533_led_pattern_enable() 104 ret = lm3533_update(led->lm3533, LM3533_REG_PATTERN_ENABLE, val, mask); in lm3533_led_pattern_enable() [all …]
|
| /kernel/linux/linux-4.19/drivers/leds/ |
| D | leds-lm3533.c | 2 * leds-lm3533.c -- LM3533 LED driver 4 * Copyright (C) 2011-2012 Texas Instruments 65 return led->id + 2; in lm3533_led_get_ctrlbank_id() 70 return base + led->id; in lm3533_led_get_lv_reg() 75 return led->id; in lm3533_led_get_pattern() 92 dev_dbg(led->cdev.dev, "%s - %d\n", __func__, enable); in lm3533_led_pattern_enable() 94 mutex_lock(&led->mutex); in lm3533_led_pattern_enable() 96 state = test_bit(LM3533_LED_FLAG_PATTERN_ENABLE, &led->flags); in lm3533_led_pattern_enable() 108 ret = lm3533_update(led->lm3533, LM3533_REG_PATTERN_ENABLE, val, mask); in lm3533_led_pattern_enable() 110 dev_err(led->cdev.dev, "failed to enable pattern %d (%d)\n", in lm3533_led_pattern_enable() [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/rockchip/ |
| D | rk3399-pinebook-pro.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 9 #include <dt-bindings/input/gpio-keys.h> 10 #include <dt-bindings/input/linux-event-codes.h> 11 #include <dt-bindings/pwm/pwm.h> 12 #include <dt-bindings/usb/pd.h> 13 #include <dt-bindings/leds/common.h> 15 #include "rk3399-opp.dtsi" 19 compatible = "pine64,pinebook-pro", "rockchip,rk3399"; 22 stdout-path = "serial2:1500000n8"; [all …]
|
| /kernel/linux/linux-4.19/arch/arm/mach-pxa/ |
| D | mioa701.c | 18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 27 #include <linux/delay.h> 29 #include <linux/pwm.h> 45 #include <linux/platform_data/i2c-pxa.h> 47 #include <asm/mach-types.h> 51 #include "regs-rtc.h" 52 #include <linux/platform_data/keypad-pxa27x.h> 53 #include <linux/platform_data/video-pxafb.h> 54 #include <linux/platform_data/mmc-pxamci.h> 56 #include "pxa27x-udc.h" [all …]
|
| D | raumfeld.c | 2 * arch/arm/mach-pxa/raumfeld.c 30 #include <linux/w1-gpio.h> 32 #include <linux/pwm.h> 35 #include <linux/platform_data/i2c-pxa.h> 45 #include <linux/delay.h> 49 #include <asm/mach-types.h> 53 #include <linux/platform_data/usb-ohci-pxa27x.h> 54 #include <linux/platform_data/video-pxafb.h> 55 #include <linux/platform_data/mmc-pxamci.h> 56 #include <linux/platform_data/mtd-nand-pxa3xx.h> [all …]
|
| /kernel/linux/linux-5.10/drivers/pwm/ |
| D | pwm-stmpe.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 #include <linux/delay.h> 15 #include <linux/pwm.h> 39 static int stmpe_24xx_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) in stmpe_24xx_pwm_enable() argument 45 ret = stmpe_reg_read(stmpe_pwm->stmpe, STMPE24XX_PWMCS); in stmpe_24xx_pwm_enable() 47 dev_err(chip->dev, "error reading PWM#%u control\n", in stmpe_24xx_pwm_enable() 48 pwm->hwpwm); in stmpe_24xx_pwm_enable() 52 value = ret | BIT(pwm->hwpwm); in stmpe_24xx_pwm_enable() 54 ret = stmpe_reg_write(stmpe_pwm->stmpe, STMPE24XX_PWMCS, value); in stmpe_24xx_pwm_enable() 56 dev_err(chip->dev, "error writing PWM#%u control\n", in stmpe_24xx_pwm_enable() [all …]
|
| /kernel/linux/linux-4.19/drivers/video/backlight/ |
| D | pwm_bl.c | 4 * simple PWM based backlight control, board code has to setup 5 * 1) pin configuration so PWM waveforms can output 13 #include <linux/delay.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() 62 if (pb->post_pwm_on_delay) in pwm_backlight_power_on() [all …]
|
| /kernel/linux/linux-4.19/drivers/pwm/ |
| D | pwm-stmpe.c | 13 #include <linux/delay.h> 19 #include <linux/pwm.h> 43 static int stmpe_24xx_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) in stmpe_24xx_pwm_enable() argument 49 ret = stmpe_reg_read(stmpe_pwm->stmpe, STMPE24XX_PWMCS); in stmpe_24xx_pwm_enable() 51 dev_err(chip->dev, "error reading PWM#%u control\n", in stmpe_24xx_pwm_enable() 52 pwm->hwpwm); in stmpe_24xx_pwm_enable() 56 value = ret | BIT(pwm->hwpwm); in stmpe_24xx_pwm_enable() 58 ret = stmpe_reg_write(stmpe_pwm->stmpe, STMPE24XX_PWMCS, value); in stmpe_24xx_pwm_enable() 60 dev_err(chip->dev, "error writing PWM#%u control\n", in stmpe_24xx_pwm_enable() 61 pwm->hwpwm); in stmpe_24xx_pwm_enable() [all …]
|
| /kernel/linux/linux-5.10/arch/mips/boot/dts/ingenic/ |
| D | gcw0.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 5 #include <dt-bindings/clock/ingenic,tcu.h> 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/iio/adc/ingenic,adc.h> 9 #include <dt-bindings/input/input.h> 29 stdout-path = "serial2:57600n8"; 33 compatible = "regulator-fixed"; 34 regulator-name = "vcc"; 36 regulator-min-microvolt = <3300000>; [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/bridge/ |
| D | parade-ps8622.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 #include <linux/delay.h> 69 struct i2c_adapter *adap = client->adapter; in ps8622_set() 73 msg.addr = client->addr + page; in ps8622_set() 81 client->addr + page, reg, val, ret); in ps8622_set() 87 struct i2c_client *cl = ps8622->client; in ps8622_send_config() 138 /* [7:5] DCO_FTRNG=+-40% */ in ps8622_send_config() 148 /* Gitune=-37% */ in ps8622_send_config() 168 /* [7:6] Right-bar GPIO output strength is 8mA */ in ps8622_send_config() 180 err = ps8622_set(cl, 0x01, 0x02, 0x80 | ps8622->max_lane_count); in ps8622_send_config() [all …]
|
| /kernel/linux/linux-5.10/drivers/acpi/ |
| D | acpi_lpss.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 #include <linux/clk-provider.h> 19 #include <linux/platform_data/x86/clk-lpss.h> 23 #include <linux/pwm.h> 25 #include <linux/delay.h> 32 #include <asm/intel-family.h> 69 * For some devices the DSDT AML code for another device turns off the device 70 * before our suspend handler runs, causing us to read/save all 1-s (0xffffffff) 114 * it can be powered off automatically whenever the last LPSS device goes down. 133 offset = pdata->dev_desc->prv_offset + LPSS_TX_INT; in lpss_uart_setup() [all …]
|
| /kernel/linux/linux-5.10/drivers/input/keyboard/ |
| D | lm8323.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2007-2009 Nokia Corporation 18 #include <linux/delay.h> 45 #define LM8323_CMD_PWM_WRITE 0x95 /* Write PWM script. */ 46 #define LM8323_CMD_START_PWM 0x96 /* Start PWM engine. */ 47 #define LM8323_CMD_STOP_PWM 0x97 /* Stop PWM engine. */ 87 /* Commands for PWM engine; feed in with PWM_WRITE. */ 88 /* Load ramp counter from duty cycle field (range 0 - 0xff). */ 126 /* pwm lock */ 147 struct lm8323_pwm pwm[LM8323_NUM_PWMS]; member [all …]
|
| /kernel/linux/linux-4.19/drivers/input/keyboard/ |
| D | lm8323.c | 4 * Copyright (C) 2007-2009 Nokia Corporation 22 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 30 #include <linux/delay.h> 57 #define LM8323_CMD_PWM_WRITE 0x95 /* Write PWM script. */ 58 #define LM8323_CMD_START_PWM 0x96 /* Start PWM engine. */ 59 #define LM8323_CMD_STOP_PWM 0x97 /* Stop PWM engine. */ 99 /* Commands for PWM engine; feed in with PWM_WRITE. */ 100 /* Load ramp counter from duty cycle field (range 0 - 0xff). */ 138 /* pwm lock */ 159 struct lm8323_pwm pwm[LM8323_NUM_PWMS]; member [all …]
|