* [PATCH 1/6] leds: aat1290: Move driver to flash subdirectory
@ 2021-05-28 20:23 Linus Walleij
2021-05-28 20:24 ` [PATCH 2/6] leds: as3645a: " Linus Walleij
` (6 more replies)
0 siblings, 7 replies; 9+ messages in thread
From: Linus Walleij @ 2021-05-28 20:23 UTC (permalink / raw)
To: Pavel Machek; +Cc: linux-leds, Linus Walleij, Jacek Anaszewski
We created a subdirectory for LED drivers that depend on
CONFIG_LEDS_CLASS_FLASH, and this driver does so let's
move it there.
Cc: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
drivers/leds/Kconfig | 10 ----------
drivers/leds/Makefile | 1 -
drivers/leds/flash/Kconfig | 9 +++++++++
drivers/leds/flash/Makefile | 1 +
drivers/leds/{ => flash}/leds-aat1290.c | 0
5 files changed, 10 insertions(+), 11 deletions(-)
rename drivers/leds/{ => flash}/leds-aat1290.c (100%)
diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig
index bdf16180f5ff..a350d8fbb085 100644
--- a/drivers/leds/Kconfig
+++ b/drivers/leds/Kconfig
@@ -59,16 +59,6 @@ config LEDS_88PM860X
This option enables support for on-chip LED drivers found on Marvell
Semiconductor 88PM8606 PMIC.
-config LEDS_AAT1290
- tristate "LED support for the AAT1290"
- depends on LEDS_CLASS_FLASH
- depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
- depends on GPIOLIB || COMPILE_TEST
- depends on OF
- depends on PINCTRL
- help
- This option enables support for the LEDs on the AAT1290.
-
config LEDS_AN30259A
tristate "LED support for Panasonic AN30259A"
depends on LEDS_CLASS && I2C && OF
diff --git a/drivers/leds/Makefile b/drivers/leds/Makefile
index 7e604d3028c8..c7231975837a 100644
--- a/drivers/leds/Makefile
+++ b/drivers/leds/Makefile
@@ -9,7 +9,6 @@ obj-$(CONFIG_LEDS_TRIGGERS) += led-triggers.o
# LED Platform Drivers (keep this sorted, M-| sort)
obj-$(CONFIG_LEDS_88PM860X) += leds-88pm860x.o
-obj-$(CONFIG_LEDS_AAT1290) += leds-aat1290.o
obj-$(CONFIG_LEDS_ACER_A500) += leds-acer-a500.o
obj-$(CONFIG_LEDS_ADP5520) += leds-adp5520.o
obj-$(CONFIG_LEDS_AN30259A) += leds-an30259a.o
diff --git a/drivers/leds/flash/Kconfig b/drivers/leds/flash/Kconfig
index 3f49f3edbffb..736153b0bfd6 100644
--- a/drivers/leds/flash/Kconfig
+++ b/drivers/leds/flash/Kconfig
@@ -2,6 +2,15 @@
if LEDS_CLASS_FLASH
+config LEDS_AAT1290
+ tristate "LED support for the AAT1290"
+ depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
+ depends on GPIOLIB || COMPILE_TEST
+ depends on OF
+ depends on PINCTRL
+ help
+ This option enables support for the LEDs on the AAT1290.
+
config LEDS_RT4505
tristate "LED support for RT4505 flashlight controller"
depends on I2C && OF
diff --git a/drivers/leds/flash/Makefile b/drivers/leds/flash/Makefile
index 09aee561f769..11bec5881d51 100644
--- a/drivers/leds/flash/Makefile
+++ b/drivers/leds/flash/Makefile
@@ -1,4 +1,5 @@
# SPDX-License-Identifier: GPL-2.0
+obj-$(CONFIG_LEDS_AAT1290) += leds-aat1290.o
obj-$(CONFIG_LEDS_RT4505) += leds-rt4505.o
obj-$(CONFIG_LEDS_RT8515) += leds-rt8515.o
diff --git a/drivers/leds/leds-aat1290.c b/drivers/leds/flash/leds-aat1290.c
similarity index 100%
rename from drivers/leds/leds-aat1290.c
rename to drivers/leds/flash/leds-aat1290.c
--
2.31.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 2/6] leds: as3645a: Move driver to flash subdirectory
2021-05-28 20:23 [PATCH 1/6] leds: aat1290: Move driver to flash subdirectory Linus Walleij
@ 2021-05-28 20:24 ` Linus Walleij
2021-05-31 6:39 ` Sakari Ailus
2021-05-28 20:24 ` [PATCH 3/6] leds: max77693: " Linus Walleij
` (5 subsequent siblings)
6 siblings, 1 reply; 9+ messages in thread
From: Linus Walleij @ 2021-05-28 20:24 UTC (permalink / raw)
To: Pavel Machek; +Cc: linux-leds, Linus Walleij, Sakari Ailus
We created a subdirectory for LED drivers that depend on
CONFIG_LEDS_CLASS_FLASH, and this driver does so let's
move it there.
Cc: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
MAINTAINERS | 2 +-
drivers/leds/Kconfig | 9 ---------
drivers/leds/Makefile | 1 -
drivers/leds/flash/Kconfig | 9 +++++++++
drivers/leds/flash/Makefile | 1 +
drivers/leds/{ => flash}/leds-as3645a.c | 0
6 files changed, 11 insertions(+), 11 deletions(-)
rename drivers/leds/{ => flash}/leds-as3645a.c (100%)
diff --git a/MAINTAINERS b/MAINTAINERS
index bd7aff0c120f..7816098d09b9 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -2793,7 +2793,7 @@ AS3645A LED FLASH CONTROLLER DRIVER
M: Sakari Ailus <sakari.ailus@iki.fi>
L: linux-leds@vger.kernel.org
S: Maintained
-F: drivers/leds/leds-as3645a.c
+F: drivers/leds/flash/leds-as3645a.c
ASAHI KASEI AK7375 LENS VOICE COIL DRIVER
M: Tianshu Qiu <tian.shu.qiu@intel.com>
diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig
index a350d8fbb085..cfa6b8194b6b 100644
--- a/drivers/leds/Kconfig
+++ b/drivers/leds/Kconfig
@@ -94,15 +94,6 @@ config LEDS_ARIEL
Say Y to if your machine is a Dell Wyse 3020 thin client.
-config LEDS_AS3645A
- tristate "AS3645A and LM3555 LED flash controllers support"
- depends on I2C && LEDS_CLASS_FLASH
- depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
- help
- Enable LED flash class support for AS3645A LED flash
- controller. V4L2 flash API is provided as well if
- CONFIG_V4L2_FLASH_API is enabled.
-
config LEDS_AW2013
tristate "LED support for Awinic AW2013"
depends on LEDS_CLASS && I2C && OF
diff --git a/drivers/leds/Makefile b/drivers/leds/Makefile
index c7231975837a..a3a6fda8ab99 100644
--- a/drivers/leds/Makefile
+++ b/drivers/leds/Makefile
@@ -14,7 +14,6 @@ obj-$(CONFIG_LEDS_ADP5520) += leds-adp5520.o
obj-$(CONFIG_LEDS_AN30259A) += leds-an30259a.o
obj-$(CONFIG_LEDS_APU) += leds-apu.o
obj-$(CONFIG_LEDS_ARIEL) += leds-ariel.o
-obj-$(CONFIG_LEDS_AS3645A) += leds-as3645a.o
obj-$(CONFIG_LEDS_ASIC3) += leds-asic3.o
obj-$(CONFIG_LEDS_AW2013) += leds-aw2013.o
obj-$(CONFIG_LEDS_BCM6328) += leds-bcm6328.o
diff --git a/drivers/leds/flash/Kconfig b/drivers/leds/flash/Kconfig
index 736153b0bfd6..1126ad3954b6 100644
--- a/drivers/leds/flash/Kconfig
+++ b/drivers/leds/flash/Kconfig
@@ -11,6 +11,15 @@ config LEDS_AAT1290
help
This option enables support for the LEDs on the AAT1290.
+config LEDS_AS3645A
+ tristate "AS3645A and LM3555 LED flash controllers support"
+ depends on I2C
+ depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
+ help
+ Enable LED flash class support for AS3645A LED flash
+ controller. V4L2 flash API is provided as well if
+ CONFIG_V4L2_FLASH_API is enabled.
+
config LEDS_RT4505
tristate "LED support for RT4505 flashlight controller"
depends on I2C && OF
diff --git a/drivers/leds/flash/Makefile b/drivers/leds/flash/Makefile
index 11bec5881d51..9bb2fccee047 100644
--- a/drivers/leds/flash/Makefile
+++ b/drivers/leds/flash/Makefile
@@ -1,5 +1,6 @@
# SPDX-License-Identifier: GPL-2.0
obj-$(CONFIG_LEDS_AAT1290) += leds-aat1290.o
+obj-$(CONFIG_LEDS_AS3645A) += leds-as3645a.o
obj-$(CONFIG_LEDS_RT4505) += leds-rt4505.o
obj-$(CONFIG_LEDS_RT8515) += leds-rt8515.o
diff --git a/drivers/leds/leds-as3645a.c b/drivers/leds/flash/leds-as3645a.c
similarity index 100%
rename from drivers/leds/leds-as3645a.c
rename to drivers/leds/flash/leds-as3645a.c
--
2.31.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 3/6] leds: max77693: Move driver to flash subdirectory
2021-05-28 20:23 [PATCH 1/6] leds: aat1290: Move driver to flash subdirectory Linus Walleij
2021-05-28 20:24 ` [PATCH 2/6] leds: as3645a: " Linus Walleij
@ 2021-05-28 20:24 ` Linus Walleij
2021-05-28 20:24 ` [PATCH 4/6] leds: sgm3140: " Linus Walleij
` (4 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: Linus Walleij @ 2021-05-28 20:24 UTC (permalink / raw)
To: Pavel Machek; +Cc: linux-leds, Linus Walleij, Jacek Anaszewski
We created a subdirectory for LED drivers that depend on
CONFIG_LEDS_CLASS_FLASH, and this driver does so let's
move it there.
Cc: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
drivers/leds/Kconfig | 11 -----------
drivers/leds/Makefile | 1 -
drivers/leds/flash/Kconfig | 10 ++++++++++
drivers/leds/flash/Makefile | 1 +
drivers/leds/{ => flash}/leds-max77693.c | 0
5 files changed, 11 insertions(+), 12 deletions(-)
rename drivers/leds/{ => flash}/leds-max77693.c (100%)
diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig
index cfa6b8194b6b..723de0d30039 100644
--- a/drivers/leds/Kconfig
+++ b/drivers/leds/Kconfig
@@ -680,17 +680,6 @@ config LEDS_MAX77650
help
LEDs driver for MAX77650 family of PMICs from Maxim Integrated.
-config LEDS_MAX77693
- tristate "LED support for MAX77693 Flash"
- depends on LEDS_CLASS_FLASH
- depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
- depends on MFD_MAX77693
- depends on OF
- help
- This option enables support for the flash part of the MAX77693
- multifunction device. It has build in control for two leds in flash
- and torch mode.
-
config LEDS_MAX8997
tristate "LED support for MAX8997 PMIC"
depends on LEDS_CLASS && MFD_MAX8997
diff --git a/drivers/leds/Makefile b/drivers/leds/Makefile
index a3a6fda8ab99..6f4aa0e6e355 100644
--- a/drivers/leds/Makefile
+++ b/drivers/leds/Makefile
@@ -58,7 +58,6 @@ obj-$(CONFIG_LEDS_LP8788) += leds-lp8788.o
obj-$(CONFIG_LEDS_LP8860) += leds-lp8860.o
obj-$(CONFIG_LEDS_LT3593) += leds-lt3593.o
obj-$(CONFIG_LEDS_MAX77650) += leds-max77650.o
-obj-$(CONFIG_LEDS_MAX77693) += leds-max77693.o
obj-$(CONFIG_LEDS_MAX8997) += leds-max8997.o
obj-$(CONFIG_LEDS_MC13783) += leds-mc13783.o
obj-$(CONFIG_LEDS_MENF21BMC) += leds-menf21bmc.o
diff --git a/drivers/leds/flash/Kconfig b/drivers/leds/flash/Kconfig
index 1126ad3954b6..6401af23947f 100644
--- a/drivers/leds/flash/Kconfig
+++ b/drivers/leds/flash/Kconfig
@@ -20,6 +20,16 @@ config LEDS_AS3645A
controller. V4L2 flash API is provided as well if
CONFIG_V4L2_FLASH_API is enabled.
+config LEDS_MAX77693
+ tristate "LED support for MAX77693 Flash"
+ depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
+ depends on MFD_MAX77693
+ depends on OF
+ help
+ This option enables support for the flash part of the MAX77693
+ multifunction device. It has build in control for two leds in flash
+ and torch mode.
+
config LEDS_RT4505
tristate "LED support for RT4505 flashlight controller"
depends on I2C && OF
diff --git a/drivers/leds/flash/Makefile b/drivers/leds/flash/Makefile
index 9bb2fccee047..c2a5e530261d 100644
--- a/drivers/leds/flash/Makefile
+++ b/drivers/leds/flash/Makefile
@@ -2,5 +2,6 @@
obj-$(CONFIG_LEDS_AAT1290) += leds-aat1290.o
obj-$(CONFIG_LEDS_AS3645A) += leds-as3645a.o
+obj-$(CONFIG_LEDS_MAX77693) += leds-max77693.o
obj-$(CONFIG_LEDS_RT4505) += leds-rt4505.o
obj-$(CONFIG_LEDS_RT8515) += leds-rt8515.o
diff --git a/drivers/leds/leds-max77693.c b/drivers/leds/flash/leds-max77693.c
similarity index 100%
rename from drivers/leds/leds-max77693.c
rename to drivers/leds/flash/leds-max77693.c
--
2.31.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 4/6] leds: sgm3140: Move driver to flash subdirectory
2021-05-28 20:23 [PATCH 1/6] leds: aat1290: Move driver to flash subdirectory Linus Walleij
2021-05-28 20:24 ` [PATCH 2/6] leds: as3645a: " Linus Walleij
2021-05-28 20:24 ` [PATCH 3/6] leds: max77693: " Linus Walleij
@ 2021-05-28 20:24 ` Linus Walleij
2021-05-28 20:24 ` [PATCH 5/6] leds: lm3601x: " Linus Walleij
` (3 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: Linus Walleij @ 2021-05-28 20:24 UTC (permalink / raw)
To: Pavel Machek; +Cc: linux-leds, Linus Walleij, Luca Weiss
We created a subdirectory for LED drivers that depend on
CONFIG_LEDS_CLASS_FLASH, and this driver does so let's
move it there.
Cc: Luca Weiss <luca@z3ntu.xyz>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
drivers/leds/Kconfig | 8 --------
drivers/leds/Makefile | 1 -
drivers/leds/flash/Kconfig | 7 +++++++
drivers/leds/flash/Makefile | 1 +
drivers/leds/{ => flash}/leds-sgm3140.c | 0
5 files changed, 8 insertions(+), 9 deletions(-)
rename drivers/leds/{ => flash}/leds-sgm3140.c (100%)
diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig
index 723de0d30039..171ccfd4de1b 100644
--- a/drivers/leds/Kconfig
+++ b/drivers/leds/Kconfig
@@ -883,14 +883,6 @@ config LEDS_IP30
To compile this driver as a module, choose M here: the module
will be called leds-ip30.
-config LEDS_SGM3140
- tristate "LED support for the SGM3140"
- depends on LEDS_CLASS_FLASH
- depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
- help
- This option enables support for the SGM3140 500mA Buck/Boost Charge
- Pump LED Driver.
-
config LEDS_ACER_A500
tristate "Power button LED support for Acer Iconia Tab A500"
depends on LEDS_CLASS && MFD_ACER_A500_EC
diff --git a/drivers/leds/Makefile b/drivers/leds/Makefile
index 6f4aa0e6e355..5e804f72b8e5 100644
--- a/drivers/leds/Makefile
+++ b/drivers/leds/Makefile
@@ -79,7 +79,6 @@ obj-$(CONFIG_LEDS_PWM) += leds-pwm.o
obj-$(CONFIG_LEDS_REGULATOR) += leds-regulator.o
obj-$(CONFIG_LEDS_S3C24XX) += leds-s3c24xx.o
obj-$(CONFIG_LEDS_SC27XX_BLTC) += leds-sc27xx-bltc.o
-obj-$(CONFIG_LEDS_SGM3140) += leds-sgm3140.o
obj-$(CONFIG_LEDS_SUNFIRE) += leds-sunfire.o
obj-$(CONFIG_LEDS_SYSCON) += leds-syscon.o
obj-$(CONFIG_LEDS_TCA6507) += leds-tca6507.o
diff --git a/drivers/leds/flash/Kconfig b/drivers/leds/flash/Kconfig
index 6401af23947f..788d698587a7 100644
--- a/drivers/leds/flash/Kconfig
+++ b/drivers/leds/flash/Kconfig
@@ -52,4 +52,11 @@ config LEDS_RT8515
To compile this driver as a module, choose M here: the module
will be called leds-rt8515.
+config LEDS_SGM3140
+ tristate "LED support for the SGM3140"
+ depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
+ help
+ This option enables support for the SGM3140 500mA Buck/Boost Charge
+ Pump LED Driver.
+
endif # LEDS_CLASS_FLASH
diff --git a/drivers/leds/flash/Makefile b/drivers/leds/flash/Makefile
index c2a5e530261d..2f9153e78717 100644
--- a/drivers/leds/flash/Makefile
+++ b/drivers/leds/flash/Makefile
@@ -5,3 +5,4 @@ obj-$(CONFIG_LEDS_AS3645A) += leds-as3645a.o
obj-$(CONFIG_LEDS_MAX77693) += leds-max77693.o
obj-$(CONFIG_LEDS_RT4505) += leds-rt4505.o
obj-$(CONFIG_LEDS_RT8515) += leds-rt8515.o
+obj-$(CONFIG_LEDS_SGM3140) += leds-sgm3140.o
diff --git a/drivers/leds/leds-sgm3140.c b/drivers/leds/flash/leds-sgm3140.c
similarity index 100%
rename from drivers/leds/leds-sgm3140.c
rename to drivers/leds/flash/leds-sgm3140.c
--
2.31.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 5/6] leds: lm3601x: Move driver to flash subdirectory
2021-05-28 20:23 [PATCH 1/6] leds: aat1290: Move driver to flash subdirectory Linus Walleij
` (2 preceding siblings ...)
2021-05-28 20:24 ` [PATCH 4/6] leds: sgm3140: " Linus Walleij
@ 2021-05-28 20:24 ` Linus Walleij
2021-05-28 20:24 ` [PATCH 6/6] leds: ktd2692: " Linus Walleij
` (2 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: Linus Walleij @ 2021-05-28 20:24 UTC (permalink / raw)
To: Pavel Machek; +Cc: linux-leds, Linus Walleij, Dan Murphy
We created a subdirectory for LED drivers that depend on
CONFIG_LEDS_CLASS_FLASH, and this driver does so let's
move it there.
Cc: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
drivers/leds/Kconfig | 9 ---------
drivers/leds/Makefile | 1 -
drivers/leds/flash/Kconfig | 8 ++++++++
drivers/leds/flash/Makefile | 1 +
drivers/leds/{ => flash}/leds-lm3601x.c | 0
5 files changed, 9 insertions(+), 10 deletions(-)
rename drivers/leds/{ => flash}/leds-lm3601x.c (100%)
diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig
index 171ccfd4de1b..1671aa2f90b5 100644
--- a/drivers/leds/Kconfig
+++ b/drivers/leds/Kconfig
@@ -220,15 +220,6 @@ config LEDS_LM3692X
This option enables support for the TI LM3692x family
of white LED string drivers used for backlighting.
-config LEDS_LM3601X
- tristate "LED support for LM3601x Chips"
- depends on LEDS_CLASS && I2C
- depends on LEDS_CLASS_FLASH
- select REGMAP_I2C
- help
- This option enables support for the TI LM3601x family
- of flash, torch and indicator classes.
-
config LEDS_LOCOMO
tristate "LED Support for Locomo device"
depends on LEDS_CLASS
diff --git a/drivers/leds/Makefile b/drivers/leds/Makefile
index 5e804f72b8e5..6d5c23afaf98 100644
--- a/drivers/leds/Makefile
+++ b/drivers/leds/Makefile
@@ -40,7 +40,6 @@ obj-$(CONFIG_LEDS_LM3530) += leds-lm3530.o
obj-$(CONFIG_LEDS_LM3532) += leds-lm3532.o
obj-$(CONFIG_LEDS_LM3533) += leds-lm3533.o
obj-$(CONFIG_LEDS_LM355x) += leds-lm355x.o
-obj-$(CONFIG_LEDS_LM3601X) += leds-lm3601x.o
obj-$(CONFIG_LEDS_LM36274) += leds-lm36274.o
obj-$(CONFIG_LEDS_LM3642) += leds-lm3642.o
obj-$(CONFIG_LEDS_LM3692X) += leds-lm3692x.o
diff --git a/drivers/leds/flash/Kconfig b/drivers/leds/flash/Kconfig
index 788d698587a7..6cb6600555f0 100644
--- a/drivers/leds/flash/Kconfig
+++ b/drivers/leds/flash/Kconfig
@@ -20,6 +20,14 @@ config LEDS_AS3645A
controller. V4L2 flash API is provided as well if
CONFIG_V4L2_FLASH_API is enabled.
+config LEDS_LM3601X
+ tristate "LED support for LM3601x Chips"
+ depends on LEDS_CLASS && I2C
+ select REGMAP_I2C
+ help
+ This option enables support for the TI LM3601x family
+ of flash, torch and indicator classes.
+
config LEDS_MAX77693
tristate "LED support for MAX77693 Flash"
depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
diff --git a/drivers/leds/flash/Makefile b/drivers/leds/flash/Makefile
index 2f9153e78717..67556329441e 100644
--- a/drivers/leds/flash/Makefile
+++ b/drivers/leds/flash/Makefile
@@ -2,6 +2,7 @@
obj-$(CONFIG_LEDS_AAT1290) += leds-aat1290.o
obj-$(CONFIG_LEDS_AS3645A) += leds-as3645a.o
+obj-$(CONFIG_LEDS_LM3601X) += leds-lm3601x.o
obj-$(CONFIG_LEDS_MAX77693) += leds-max77693.o
obj-$(CONFIG_LEDS_RT4505) += leds-rt4505.o
obj-$(CONFIG_LEDS_RT8515) += leds-rt8515.o
diff --git a/drivers/leds/leds-lm3601x.c b/drivers/leds/flash/leds-lm3601x.c
similarity index 100%
rename from drivers/leds/leds-lm3601x.c
rename to drivers/leds/flash/leds-lm3601x.c
--
2.31.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 6/6] leds: ktd2692: Move driver to flash subdirectory
2021-05-28 20:23 [PATCH 1/6] leds: aat1290: Move driver to flash subdirectory Linus Walleij
` (3 preceding siblings ...)
2021-05-28 20:24 ` [PATCH 5/6] leds: lm3601x: " Linus Walleij
@ 2021-05-28 20:24 ` Linus Walleij
2021-05-31 19:49 ` [PATCH 1/6] leds: aat1290: " Jacek Anaszewski
2021-07-03 20:15 ` Pavel Machek
6 siblings, 0 replies; 9+ messages in thread
From: Linus Walleij @ 2021-05-28 20:24 UTC (permalink / raw)
To: Pavel Machek; +Cc: linux-leds, Linus Walleij, Ingi Kim
We created a subdirectory for LED drivers that depend on
CONFIG_LEDS_CLASS_FLASH, and this driver does so let's
move it there.
Cc: Ingi Kim <ingi2.kim@samsung.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
drivers/leds/Kconfig | 10 ----------
drivers/leds/Makefile | 1 -
drivers/leds/flash/Kconfig | 10 ++++++++++
drivers/leds/flash/Makefile | 1 +
drivers/leds/{ => flash}/leds-ktd2692.c | 0
5 files changed, 11 insertions(+), 11 deletions(-)
rename drivers/leds/{ => flash}/leds-ktd2692.c (100%)
diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig
index 1671aa2f90b5..da7773dc8670 100644
--- a/drivers/leds/Kconfig
+++ b/drivers/leds/Kconfig
@@ -702,16 +702,6 @@ config LEDS_MENF21BMC
This driver can also be built as a module. If so the module
will be called leds-menf21bmc.
-config LEDS_KTD2692
- tristate "LED support for KTD2692 flash LED controller"
- depends on LEDS_CLASS_FLASH && OF
- depends on GPIOLIB || COMPILE_TEST
- help
- This option enables support for KTD2692 LED flash connected
- through ExpressWire interface.
-
- Say Y to enable this driver.
-
config LEDS_IS31FL319X
tristate "LED Support for ISSI IS31FL319x I2C LED controller family"
depends on LEDS_CLASS && I2C && OF
diff --git a/drivers/leds/Makefile b/drivers/leds/Makefile
index 6d5c23afaf98..c636ec069612 100644
--- a/drivers/leds/Makefile
+++ b/drivers/leds/Makefile
@@ -35,7 +35,6 @@ obj-$(CONFIG_LEDS_IP30) += leds-ip30.o
obj-$(CONFIG_LEDS_IPAQ_MICRO) += leds-ipaq-micro.o
obj-$(CONFIG_LEDS_IS31FL319X) += leds-is31fl319x.o
obj-$(CONFIG_LEDS_IS31FL32XX) += leds-is31fl32xx.o
-obj-$(CONFIG_LEDS_KTD2692) += leds-ktd2692.o
obj-$(CONFIG_LEDS_LM3530) += leds-lm3530.o
obj-$(CONFIG_LEDS_LM3532) += leds-lm3532.o
obj-$(CONFIG_LEDS_LM3533) += leds-lm3533.o
diff --git a/drivers/leds/flash/Kconfig b/drivers/leds/flash/Kconfig
index 6cb6600555f0..b230f3d65eb0 100644
--- a/drivers/leds/flash/Kconfig
+++ b/drivers/leds/flash/Kconfig
@@ -20,6 +20,16 @@ config LEDS_AS3645A
controller. V4L2 flash API is provided as well if
CONFIG_V4L2_FLASH_API is enabled.
+config LEDS_KTD2692
+ tristate "LED support for Kinetic KTD2692 flash LED controller"
+ depends on OF
+ depends on GPIOLIB || COMPILE_TEST
+ help
+ This option enables support for Kinetic KTD2692 LED flash connected
+ through ExpressWire interface.
+
+ Say Y to enable this driver.
+
config LEDS_LM3601X
tristate "LED support for LM3601x Chips"
depends on LEDS_CLASS && I2C
diff --git a/drivers/leds/flash/Makefile b/drivers/leds/flash/Makefile
index 67556329441e..ebea42f9c37e 100644
--- a/drivers/leds/flash/Makefile
+++ b/drivers/leds/flash/Makefile
@@ -2,6 +2,7 @@
obj-$(CONFIG_LEDS_AAT1290) += leds-aat1290.o
obj-$(CONFIG_LEDS_AS3645A) += leds-as3645a.o
+obj-$(CONFIG_LEDS_KTD2692) += leds-ktd2692.o
obj-$(CONFIG_LEDS_LM3601X) += leds-lm3601x.o
obj-$(CONFIG_LEDS_MAX77693) += leds-max77693.o
obj-$(CONFIG_LEDS_RT4505) += leds-rt4505.o
diff --git a/drivers/leds/leds-ktd2692.c b/drivers/leds/flash/leds-ktd2692.c
similarity index 100%
rename from drivers/leds/leds-ktd2692.c
rename to drivers/leds/flash/leds-ktd2692.c
--
2.31.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH 2/6] leds: as3645a: Move driver to flash subdirectory
2021-05-28 20:24 ` [PATCH 2/6] leds: as3645a: " Linus Walleij
@ 2021-05-31 6:39 ` Sakari Ailus
0 siblings, 0 replies; 9+ messages in thread
From: Sakari Ailus @ 2021-05-31 6:39 UTC (permalink / raw)
To: Linus Walleij; +Cc: Pavel Machek, linux-leds
On Fri, May 28, 2021 at 10:24:00PM +0200, Linus Walleij wrote:
> We created a subdirectory for LED drivers that depend on
> CONFIG_LEDS_CLASS_FLASH, and this driver does so let's
> move it there.
>
> Cc: Sakari Ailus <sakari.ailus@linux.intel.com>
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Thanks, Linus!
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
--
Sakari Ailus
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 1/6] leds: aat1290: Move driver to flash subdirectory
2021-05-28 20:23 [PATCH 1/6] leds: aat1290: Move driver to flash subdirectory Linus Walleij
` (4 preceding siblings ...)
2021-05-28 20:24 ` [PATCH 6/6] leds: ktd2692: " Linus Walleij
@ 2021-05-31 19:49 ` Jacek Anaszewski
2021-07-03 20:15 ` Pavel Machek
6 siblings, 0 replies; 9+ messages in thread
From: Jacek Anaszewski @ 2021-05-31 19:49 UTC (permalink / raw)
To: Linus Walleij, Pavel Machek; +Cc: linux-leds
Hi Linus,
On 5/28/21 10:23 PM, Linus Walleij wrote:
> We created a subdirectory for LED drivers that depend on
> CONFIG_LEDS_CLASS_FLASH, and this driver does so let's
> move it there.
>
> Cc: Jacek Anaszewski <jacek.anaszewski@gmail.com>
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
> ---
> drivers/leds/Kconfig | 10 ----------
> drivers/leds/Makefile | 1 -
> drivers/leds/flash/Kconfig | 9 +++++++++
> drivers/leds/flash/Makefile | 1 +
> drivers/leds/{ => flash}/leds-aat1290.c | 0
> 5 files changed, 10 insertions(+), 11 deletions(-)
> rename drivers/leds/{ => flash}/leds-aat1290.c (100%)
For 1/6 and 3/6:
Acked-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
--
Best regards,
Jacek Anaszewski
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 1/6] leds: aat1290: Move driver to flash subdirectory
2021-05-28 20:23 [PATCH 1/6] leds: aat1290: Move driver to flash subdirectory Linus Walleij
` (5 preceding siblings ...)
2021-05-31 19:49 ` [PATCH 1/6] leds: aat1290: " Jacek Anaszewski
@ 2021-07-03 20:15 ` Pavel Machek
6 siblings, 0 replies; 9+ messages in thread
From: Pavel Machek @ 2021-07-03 20:15 UTC (permalink / raw)
To: Linus Walleij; +Cc: linux-leds, Jacek Anaszewski
[-- Attachment #1: Type: text/plain, Size: 410 bytes --]
On Fri 2021-05-28 22:23:59, Linus Walleij wrote:
> We created a subdirectory for LED drivers that depend on
> CONFIG_LEDS_CLASS_FLASH, and this driver does so let's
> move it there.
>
> Cc: Jacek Anaszewski <jacek.anaszewski@gmail.com>
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Thanks, applied.
Best regards,
Pavel
--
http://www.livejournal.com/~pavelmachek
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2021-07-03 20:15 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-28 20:23 [PATCH 1/6] leds: aat1290: Move driver to flash subdirectory Linus Walleij
2021-05-28 20:24 ` [PATCH 2/6] leds: as3645a: " Linus Walleij
2021-05-31 6:39 ` Sakari Ailus
2021-05-28 20:24 ` [PATCH 3/6] leds: max77693: " Linus Walleij
2021-05-28 20:24 ` [PATCH 4/6] leds: sgm3140: " Linus Walleij
2021-05-28 20:24 ` [PATCH 5/6] leds: lm3601x: " Linus Walleij
2021-05-28 20:24 ` [PATCH 6/6] leds: ktd2692: " Linus Walleij
2021-05-31 19:49 ` [PATCH 1/6] leds: aat1290: " Jacek Anaszewski
2021-07-03 20:15 ` Pavel Machek
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.