| /linux/Documentation/devicetree/bindings/leds/backlight/ | 
| H A D | pwm-backlight.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only3 ---
 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>
 15   - $ref: common.yaml#
 19     const: pwm-backlight
 [all …]
 
 | 
| H A D | mediatek,mt6370-backlight.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 ---
 4 $id: http://devicetree.org/schemas/leds/backlight/mediatek,mt6370-backlight.yaml#
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 7 title: MediaTek MT6370 Backlight
 10   - ChiaEn Wu <chiaen_wu@richtek.com>
 14   The MT6370 Backlight WLED driver supports up to a 29V output voltage for
 21   - $ref: common.yaml#
 26       - mediatek,mt6370-backlight
 27       - mediatek,mt6372-backlight
 [all …]
 
 | 
| H A D | lp855x-backlight.yaml | 1 # 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#
 7 title: Texas Instruments LP855X backlight controllers
 10   - Artur Weber <aweber.kernel@gmail.com>
 15       - ti,lp8550
 16       - ti,lp8551
 17       - ti,lp8552
 18       - ti,lp8553
 [all …]
 
 | 
| H A D | sky81452-backlight.txt | 1 SKY81452-backlight bindings4 - 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 …]
 
 | 
| H A D | 88pm860x.txt | 1 88pm860x-backlight bindings4   - 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 {
 
 | 
| H A D | mps,mp3309c.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)3 ---
 4 $id: http://devicetree.org/schemas/leds/backlight/mps,mp3309c.yaml#
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 7 title: MPS MP3309C backlight
 10   - Flavio Suligoi <f.suligoi@asem.it>
 13   The Monolithic Power (MPS) MP3309C is a WLED step-up converter, featuring a
 17   - analog mode, via I2C commands, as default mode (32 dimming levels)
 18   - PWM controlled mode (optional)
 24   - $ref: common.yaml#
 [all …]
 
 | 
| H A D | richtek,rt4831-backlight.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 ---
 4 $id: http://devicetree.org/schemas/leds/backlight/richtek,rt4831-backlight.yaml#
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 7 title: Richtek RT4831 Backlight
 10   - ChiYuan Huang <cy_huang@richtek.com>
 14   and LCD backlight.
 16   For the LCD backlight, it can provide four channel WLED driving capability.
 20   https://www.richtek.com/assets/product_file/RT4831A/DS4831A-05.pdf
 23   - $ref: common.yaml#
 [all …]
 
 | 
| /linux/Documentation/devicetree/bindings/pwm/ | 
| H A D | pwm.txt | 1 Specifying PWM information for devices4 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 …]
 
 | 
| H A D | pwm-lp3943.txt | 1 TI/National Semiconductor LP3943 PWM controller4   - 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 …]
 
 | 
| H A D | atmel,hlcdc-pwm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 ---
 4 $id: http://devicetree.org/schemas/pwm/atmel,hlcdc-pwm.yaml#
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 7 title: Atmel's HLCDC's PWM controller
 10   - Nicolas Ferre <nicolas.ferre@microchip.com>
 11   - Alexandre Belloni <alexandre.belloni@bootlin.com>
 12   - Claudiu Beznea <claudiu.beznea@tuxon.dev>
 15   The LCDC integrates a Pulse Width Modulation (PWM) Controller. This block
 17   display's contrast by software. LCDC_PWM is an 8-bit PWM signal that can be
 [all …]
 
 | 
| /linux/Documentation/ABI/testing/ | 
| H A D | sysfs-class-backlight-driver-lm3533 | 1 What:		/sys/class/backlight/<backlight>/als_channel7 		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 …]
 
 | 
| /linux/include/linux/platform_data/ | 
| H A 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 …]
 
 | 
| /linux/drivers/video/backlight/ | 
| H A D | pwm_bl.c | 1 // SPDX-License-Identifier: GPL-2.0-only3  * Simple PWM based backlight control, board code has to setup
 4  * 1) pin configuration so PWM waveforms can output
 14 #include <linux/backlight.h>
 16 #include <linux/pwm.h>
 22 	struct pwm_device	*pwm;  member
 43 	if (pb->enabled)  in pwm_backlight_power_on()
 46 	if (pb->power_supply) {  in pwm_backlight_power_on()
 47 		err = regulator_enable(pb->power_supply);  in pwm_backlight_power_on()
 49 			dev_err(pb->dev, "failed to enable power supply\n");  in pwm_backlight_power_on()
 [all …]
 
 | 
| H A D | pandora_bl.c | 1 // SPDX-License-Identifier: GPL-2.0-only3  * Backlight driver for Pandora handheld.
 4  * Pandora uses TWL4030 PWM0 -> TPS61161 combo for control backlight.
 14 #include <linux/backlight.h>
 32 #define MAX_USER_VALUE (MAX_VALUE - MIN_VALUE)
 41 	int brightness = bl->props.brightness;  in pandora_backlight_update_status()
 45 	if (bl->props.power != BACKLIGHT_POWER_ON)  in pandora_backlight_update_status()
 47 	if (bl->props.state & BL_CORE_FBBLANK)  in pandora_backlight_update_status()
 49 	if (bl->props.state & BL_CORE_SUSPENDED)  in pandora_backlight_update_status()
 56 		if (priv->old_state == PANDORABL_WAS_OFF)  in pandora_backlight_update_status()
 [all …]
 
 | 
| /linux/Documentation/driver-api/backlight/ | 
| H A D | lp855x-driver.rst | 5 Backlight driver for LP855x ICs15 -----------
 19   Brightness can be controlled by the pwm input or the i2c command.
 26   Backlight control mode.
 28   Value: pwm based or register based
 37 ------------------------
 42 	Backlight driver name. If it is not defined, default name is set.
 46 	Initial value of backlight brightness.
 48 	Platform specific PWM period value. unit is nano.
 49 	Only valid when brightness is pwm input mode.
 [all …]
 
 | 
| /linux/Documentation/devicetree/bindings/mfd/ | 
| H A D | sky81452.txt | 4 - compatible	: Must be "skyworks,sky81452"5 - reg		: I2C slave address
 8 - backlight	: container node for backlight following the binding
 9 		in leds/backlight/sky81452-backlight.txt
 10 - regulator	: container node for regulators following the binding
 11 		in regulator/sky81452-regulator.txt
 19 		backlight {
 20 			compatible = "skyworks,sky81452-backlight";
 21 			name = "pwm-backlight";
 22 			led-sources = <0 1 2 3 6>;
 [all …]
 
 | 
| H A D | ti-lmu.txt | 6   ------      ---------------------------------7   LM3631       Backlight and regulator
 8   LM3632       Backlight and regulator
 9   LM3633       Backlight, LED and fault monitor
 10   LM3695       Backlight
 11   LM36274      Backlight and regulator
 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
 [all …]
 
 | 
| /linux/arch/arm64/boot/dts/freescale/ | 
| H A D | tqma8xxs-mb-smarc-2.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)3  * Copyright (c) 2018-2025 TQ-Systems GmbH <linux@ew.tq-group.com>,
 4  * D-82229 Seefeld, Germany.
 14 	backlight_lvds0: backlight-lvds0 {
 15 		compatible = "pwm-backlight";
 16 		pinctrl-names = "default";
 17 		pinctrl-0 = <&pinctrl_backlight_lvds0>;
 18 		/* PWM support still missing */
 19 		brightness-levels = <0 4 8 16 32 64 128 255>;
 20 		default-brightness-level = <7>;
 [all …]
 
 | 
| /linux/arch/arm/boot/dts/allwinner/ | 
| H A D | sun4i-a10-topwise-a721.dts | 1 // SPDX-License-Identifier: GPL-2.0+6 /dts-v1/;
 7 #include "sun4i-a10.dtsi"
 8 #include "sunxi-common-regulators.dtsi"
 10 #include <dt-bindings/gpio/gpio.h>
 11 #include <dt-bindings/input/input.h>
 12 #include <dt-bindings/interrupt-controller/irq.h>
 13 #include <dt-bindings/pwm/pwm.h>
 17 	compatible = "topwise,a721", "allwinner,sun4i-a10";
 23 	backlight: backlight {  label
 [all …]
 
 | 
| H A D | sun5i-a13-empire-electronix-d709.dts | 4  * This file is dual-licensed: you can use it either under the terms43 /dts-v1/;
 44 #include "sun5i-a13.dtsi"
 45 #include "sunxi-common-regulators.dtsi"
 46 #include <dt-bindings/gpio/gpio.h>
 47 #include <dt-bindings/input/input.h>
 48 #include <dt-bindings/interrupt-controller/irq.h>
 49 #include <dt-bindings/pwm/pwm.h>
 53 	compatible = "empire-electronix,d709", "allwinner,sun5i-a13";
 59 	backlight: backlight {  label
 [all …]
 
 | 
| /linux/arch/arm64/boot/dts/qcom/ | 
| H A D | x1e78100-lenovo-thinkpad-t14s.dts | 1 // SPDX-License-Identifier: BSD-3-Clause6 #include "x1e78100-lenovo-thinkpad-t14s.dtsi"
 10 	compatible = "lenovo,thinkpad-t14s-lcd", "lenovo,thinkpad-t14s",
 13 	backlight: backlight {  label
 14 		compatible = "pwm-backlight";
 16 		enable-gpios = <&pmc8380_3_gpios 4 GPIO_ACTIVE_HIGH>;
 17 		power-supply = <&vreg_edp_bl>;
 19 		pinctrl-0 = <&edp_bl_en>, <&edp_bl_pwm>;
 20 		pinctrl-names = "default";
 23 	vreg_edp_bl: regulator-edp-bl {
 [all …]
 
 | 
| /linux/arch/arm/boot/dts/nvidia/ | 
| H A D | tegra20-medcom-wide.dts | 1 // SPDX-License-Identifier: GPL-2.02 /dts-v1/;
 4 #include "tegra20-tamonten.dtsi"
 7 	model = "Avionic Design Medcom-Wide board";
 8 	compatible = "ad,medcom-wide", "ad,tamonten", "nvidia,tegra20";
 15 		stdout-path = "serial0:115200n8";
 27 	pwm@7000a000 {
 35 			interrupt-parent = <&gpio>;
 38 			gpio-controller;
 39 			#gpio-cells = <2>;
 [all …]
 
 | 
| H A D | tegra30-colibri-eval-v3.dts | 1 // SPDX-License-Identifier: GPL-2.02 /dts-v1/;
 4 #include <dt-bindings/input/input.h>
 5 #include "tegra30-colibri.dtsi"
 9 	compatible = "toradex,colibri_t30-eval-v3", "toradex,colibri_t30",
 22 		stdout-path = "serial0:115200n8";
 35 			hdmi-supply = <®_5v0>;
 39 	/* Colibri UART-A */
 41 		/delete-property/ dmas;
 42 		/delete-property/ dma-names;
 [all …]
 
 | 
| H A D | tegra20-colibri-iris.dts | 1 // SPDX-License-Identifier: GPL-2.02 /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 = <®_5v0>;
 41 			bl-on {
 49 			hotplug-detect {
 85 			uart-a {
 [all …]
 
 | 
| /linux/arch/arm/boot/dts/st/ | 
| H A D | stm32mp157c-lxa-mc1.dts | 1 /* SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) */3  * Copyright (C) 2020 STMicroelectronics - All Rights Reserved
 7 /dts-v1/;
 10 #include "stm32mp15xx-osd32.dtsi"
 11 #include "stm32mp15xxac-pinctrl.dtsi"
 13 #include <dt-bindings/gpio/gpio.h>
 14 #include <dt-bindings/pwm/pwm.h>
 17 	model = "Linux Automation MC-1 board";
 18 	compatible = "lxa,stm32mp157c-mc1", "oct,stm32mp15xx-osd32", "st,stm32mp157";
 27 	backlight: backlight {  label
 [all …]
 
 |