Thread (8 messages) flat view 8 messages, 3 authors, 11h ago
HOTtoday

[PATCH RFC 2/3] leds: aw2013: Rename to aw20xx

From: Paul Sajna <hidden>
Date: 2026-09-07 23:48:29
Also in: linux-leds, lkml, phone-devel
Subsystem: led subsystem, the rest · Maintainers: Lee Jones, Pavel Machek, Linus Torvalds

I had to split this into a separate commit for git to properly detect
this as a rename rather than remove/add. Next commit will add another
chip to justify the rename.

Includes update of Makefile, Kconfig, Kconfig help, and raw leds-aw2013.c
rename.

Signed-off-by: Paul Sajna <redacted>
---
 drivers/leds/Kconfig                          | 14 +++++++++-----
 drivers/leds/Makefile                         |  2 +-
 drivers/leds/{leds-aw2013.c => leds-aw20xx.c} |  0
 3 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig
index d0d3182236be..7548c320e55c 100644
--- a/drivers/leds/Kconfig
+++ b/drivers/leds/Kconfig
@@ -137,16 +137,20 @@ config LEDS_AW200XX
 	  To compile this driver as a module, choose M here: the module
 	  will be called leds-aw200xx.
 
-config LEDS_AW2013
-	tristate "LED support for Awinic AW2013"
+config LEDS_AW20XX
+	tristate "LED support for Awinic AW2013/AW2027"
 	depends on LEDS_CLASS && I2C && OF
 	select REGMAP_I2C
 	help
-	  This option enables support for the AW2013 3-channel
-	  LED driver.
+	  This option enables support for the Awinic AW20XX 3-channel
+	  LED controllers. Devices have a set of individually controlled
+	  LEDs and support individual dimming and blinking patterns via
+	  an I2C interface. Supported devices:
+	  - AW2013
+	  - AW2027
 
 	  To compile this driver as a module, choose M here: the module
-	  will be called leds-aw2013.
+	  will be called leds-aw20xx.
 
 config LEDS_BCM6328
 	tristate "LED Support for Broadcom BCM6328"
diff --git a/drivers/leds/Makefile b/drivers/leds/Makefile
index a68244bd50fb..b20a744065a5 100644
--- a/drivers/leds/Makefile
+++ b/drivers/leds/Makefile
@@ -17,7 +17,7 @@ obj-$(CONFIG_LEDS_APU)			+= leds-apu.o
 obj-$(CONFIG_LEDS_ARIEL)		+= leds-ariel.o
 obj-$(CONFIG_LEDS_OSRAM_AMS_AS3668)	+= leds-as3668.o
 obj-$(CONFIG_LEDS_AW200XX)		+= leds-aw200xx.o
-obj-$(CONFIG_LEDS_AW2013)		+= leds-aw2013.o
+obj-$(CONFIG_LEDS_AW20XX)		+= leds-aw20xx.o
 obj-$(CONFIG_LEDS_BCM6328)		+= leds-bcm6328.o
 obj-$(CONFIG_LEDS_BCM6358)		+= leds-bcm6358.o
 obj-$(CONFIG_LEDS_BD2606MVV)		+= leds-bd2606mvv.o
diff --git a/drivers/leds/leds-aw2013.c b/drivers/leds/leds-aw20xx.c
similarity index 100%
rename from drivers/leds/leds-aw2013.c
rename to drivers/leds/leds-aw20xx.c

-- 
2.55.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help