Searched +full:pwm +full:- +full:leds +full:- +full:multicolor (Results 1 – 14 of 14) sorted by relevance
/linux-6.8/Documentation/devicetree/bindings/leds/ |
D | leds-pwm-multicolor.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/leds/leds-pwm-multicolor.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Multi-color LEDs connected to PWM 10 - Sven Schwermer <sven.schwermer@disruptive-technologies.com> 13 This driver combines several monochrome PWM LEDs into one multi-color 14 LED using the multicolor LED class. 18 const: pwm-leds-multicolor 20 multi-led: [all …]
|
D | leds-qcom-lpg.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/leds/leds-qcom-lpg.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Bjorn Andersson <bjorn.andersson@linaro.org> 20 - enum: 21 - qcom,pm660l-lpg 22 - qcom,pm8150b-lpg 23 - qcom,pm8150l-lpg 24 - qcom,pm8350c-pwm [all …]
|
D | mediatek,mt6370-indicator.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/leds/mediatek,mt6370-indicator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Alice Chen <alice_chen@richtek.com> 14 Add MT6370 LED driver include 4-channel RGB LED support Register/PWM/Breath Mode 18 const: mediatek,mt6370-indicator 20 "#address-cells": 23 "#size-cells": 27 "^multi-led@[0-3]$": [all …]
|
/linux-6.8/drivers/leds/rgb/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 6 tristate "LEDs group multi-color support" 9 This option enables support for monochrome LEDs that are grouped 10 into multicolor LEDs which is useful in the case where LEDs of 11 different colors are physically grouped in a single multi-color LED 12 and driven by a controller that doesn't have multi-color support. 15 will be called leds-group-multicolor. 28 will be called leds-ktd202x. 31 tristate "PWM driven multi-color LED Support" 32 depends on PWM [all …]
|
D | leds-pwm-multicolor.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * PWM-based multi-color LED control 5 * Copyright 2022 Sven Schwermer <sven.schwermer@disruptive-technologies.com> 10 #include <linux/led-class-multicolor.h> 11 #include <linux/leds.h> 17 #include <linux/pwm.h> 20 struct pwm_device *pwm; member 28 struct pwm_led leds[]; member 42 mutex_lock(&priv->lock); in led_pwm_mc_set() 44 for (i = 0; i < mc_cdev->num_colors; i++) { in led_pwm_mc_set() [all …]
|
D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 3 obj-$(CONFIG_LEDS_GROUP_MULTICOLOR) += leds-group-multicolor.o 4 obj-$(CONFIG_LEDS_KTD202X) += leds-ktd202x.o 5 obj-$(CONFIG_LEDS_PWM_MULTICOLOR) += leds-pwm-multicolor.o 6 obj-$(CONFIG_LEDS_QCOM_LPG) += leds-qcom-lpg.o 7 obj-$(CONFIG_LEDS_MT6370_RGB) += leds-mt6370-rgb.o
|
D | leds-ktd202x.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Datasheet: https://www.kinet-ic.com/uploads/KTD2026-7-04h.pdf 11 #include <linux/led-class-multicolor.h> 50 /* Register 2-3 */ 63 /* Register 6-9 */ 103 struct ktd202x_led leds[] __counted_by(num_leds); 110 if (!chip->enabled) in ktd202x_chip_disable() 113 regmap_write(chip->regmap, KTD202X_REG_RESET_CONTROL, KTD202X_ENABLE_CTRL_SLEEP); in ktd202x_chip_disable() 115 ret = regulator_bulk_disable(ARRAY_SIZE(chip->regulators), chip->regulators); in ktd202x_chip_disable() 117 dev_err(chip->dev, "Failed to disable regulators: %d\n", ret); in ktd202x_chip_disable() [all …]
|
D | leds-qcom-lpg.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2017-2022 Linaro Ltd 4 * Copyright (c) 2010-2012, The Linux Foundation. All rights reserved. 9 #include <linux/led-class-multicolor.h> 13 #include <linux/pwm.h> 40 #define PWM_DTEST_REG(x) (0xe2 + (x) - 1) 58 * struct lpg - LPG device context 61 * @lock: used to synchronize LED and pwm callback requests 62 * @pwm: PWM-chip object, if operating in PWM mode 68 * @triled_src: power-source for the TRILED [all …]
|
/linux-6.8/drivers/leds/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 13 LEDs from both userspace and optionally, by kernel events (triggers). 20 This option enables the LED sysfs class in /sys/class/leds. You'll 21 need this to do anything useful with LEDs. If unsure, say Y. 27 This option enables the flash LED sysfs class in /sys/class/leds. 28 It wraps LED Class and adds flash LEDs specific sysfs attributes 34 tristate "LED Multicolor Class Support" 37 This option enables the multicolor LED sysfs class in /sys/class/leds. 38 It wraps LED class and adds multicolor LED specific sysfs attributes 40 for multicolor LEDs that are grouped together. This class is not [all …]
|
D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 4 obj-$(CONFIG_NEW_LEDS) += led-core.o 5 obj-$(CONFIG_LEDS_CLASS) += led-class.o 6 obj-$(CONFIG_LEDS_CLASS_FLASH) += led-class-flash.o 7 obj-$(CONFIG_LEDS_CLASS_MULTICOLOR) += led-class-multicolor.o 8 obj-$(CONFIG_LEDS_TRIGGERS) += led-triggers.o 10 # LED Platform Drivers (keep this sorted, M-| sort) 11 obj-$(CONFIG_LEDS_88PM860X) += leds-88pm860x.o 12 obj-$(CONFIG_LEDS_ACER_A500) += leds-acer-a500.o 13 obj-$(CONFIG_LEDS_ADP5520) += leds-adp5520.o [all …]
|
/linux-6.8/arch/arm/boot/dts/st/ |
D | stm32mp157c-lxa-tac-gen2.dts | 1 // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) 3 * Copyright (C) 2020 STMicroelectronics - All Rights Reserved 8 /dts-v1/; 11 #include "stm32mp15xc-lxa-tac.dtsi" 15 compatible = "lxa,stm32mp157c-tac-gen2", "oct,stm32mp15xx-osd32", "st,stm32mp157"; 18 compatible = "pwm-backlight"; 19 power-supply = <&v3v3>; 21 brightness-levels = <0 31 63 95 127 159 191 223 255>; 22 default-brightness-level = <7>; 26 reg_iobus_12v: regulator-iobus-12v { [all …]
|
/linux-6.8/arch/riscv/boot/dts/sifive/ |
D | hifive-unmatched-a00.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 4 #include "fu740-c000.dtsi" 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/leds/common.h> 8 #include <dt-bindings/pwm/pwm.h> 15 compatible = "sifive,hifive-unmatched-a00", "sifive,fu740-c000", 19 stdout-path = "serial0"; 23 timebase-frequency = <RTCCLK_FREQ>; 32 #clock-cells = <0>; [all …]
|
/linux-6.8/arch/arm64/boot/dts/rockchip/ |
D | rk3568-radxa-e25.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 4 #include "rk3568-radxa-cm3i.dtsi" 14 pwm-leds { 15 compatible = "pwm-leds-multicolor"; 17 multi-led { 19 max-brightness = <255>; 21 led-red { 26 led-green { 31 led-blue { [all …]
|
/linux-6.8/arch/arm64/boot/dts/freescale/ |
D | imx8mq-librem5.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2018-2020 Purism SPC 6 /dts-v1/; 8 #include "dt-bindings/input/input.h" 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/leds/common.h> 11 #include "dt-bindings/pwm/pwm.h" 12 #include "dt-bindings/usb/pd.h" 18 chassis-type = "handset"; 20 backlight_dsi: backlight-dsi { [all …]
|