Skip to contentSkip to conversation

leds: Add driver for mp3326

PATCH In review Yuxi (Yuxi) Wang 2 participants 2 messages Aug 9, 2023 – Aug 17, 2023 LED

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 leds: Add driver for mp3326

This patch adds a led
driver for the mp3326 which is from Monolithic Power Systems, Inc.

---
 drivers/leds/Kconfig       |   7 +
 drivers/leds/Makefile      |   1 +
 drivers/leds/leds-mp3326.c | 836 +++++++++++++++++++++++++++++++++++++
 3 files changed, 844 insertions(+)
 create mode 100644 drivers/leds/leds-mp3326.c
drivers/leds/Kconfig +7 -0
index 499d0f215a8b..5369506be7b2 100644
@@ -244,6 +244,13 @@ config LEDS_MT6323
 	  This option enables support for on-chip LED drivers found on
 	  Mediatek MT6323 PMIC.
 
+config LEDS_MP3326
+	tristate "LED Support for Monolithic power system MP3326"
+	depends on LEDS_CLASS
+	help
+	  This option enables support for on-chip LED drivers found on
+	  Monolithic power system MP3326.
+
 config LEDS_S3C24XX
 	tristate "LED Support for Samsung S3C24XX GPIO LEDs"
 	depends on LEDS_CLASS
drivers/leds/Makefile +1 -0
index 4fd2f92cd198..4859959c5c9a 100644
@@ -62,6 +62,7 @@ obj-$(CONFIG_LEDS_MIKROTIK_RB532)	+= leds-rb532.o
 obj-$(CONFIG_LEDS_MLXCPLD)		+= leds-mlxcpld.o
 obj-$(CONFIG_LEDS_MLXREG)		+= leds-mlxreg.o
 obj-$(CONFIG_LEDS_MT6323)		+= leds-mt6323.o
+obj-$(CONFIG_LEDS_MP3326)		+= leds-mp3326.o
 obj-$(CONFIG_LEDS_NET48XX)		+= leds-net48xx.o
 obj-$(CONFIG_LEDS_NETXBIG)		+= leds-netxbig.o
 obj-$(CONFIG_LEDS_NIC78BX)		+= leds-nic78bx.o
drivers/leds/leds-mp3326.c new file +836 -0

836 lines not on this page · raw message

Signature · 1 line
2.25.1
maintainer
#1 lore raw
Quoted 10 lines · Yuxi (Yuxi) Wang

This patch adds a led
driver for the mp3326 which is from Monolithic Power Systems, Inc.

---
 drivers/leds/Kconfig       |   7 +
 drivers/leds/Makefile      |   1 +
 drivers/leds/leds-mp3326.c | 836 +++++++++++++++++++++++++++++++++++++
 3 files changed, 844 insertions(+)
 create mode 100644 drivers/leds/leds-mp3326.c

Where is patch 2/2? Is it related to this one?

Please sent all patches to all people, so we can see what's happening.

Signature · 1 line
Lee Jones [李琼斯]