* [PATCH 0/2] ExpressWire dependency fixes
@ 2025-07-29 17:18 Duje Mihanović
2025-07-29 17:18 ` [PATCH 1/2] leds: Drop duplicate LEDS_EXPRESSWIRE config Duje Mihanović
2025-07-29 17:18 ` [PATCH 2/2] backlight: ktd2801: Depend on GPIOLIB Duje Mihanović
0 siblings, 2 replies; 5+ messages in thread
From: Duje Mihanović @ 2025-07-29 17:18 UTC (permalink / raw)
To: Lee Jones, Pavel Machek, Daniel Thompson, Jingoo Han,
Helge Deller
Cc: Randy Dunlap, linux-leds, linux-kernel, dri-devel, linux-fbdev,
Duje Mihanović
Hello,
This tiny series fixes two dependency issues with the ExpressWire
library and the KTD2801 backlight driver. Thanks to Randy for reporting
these.
Signed-off-by: Duje Mihanović <duje@dujemihanovic.xyz>
---
Duje Mihanović (2):
leds: Drop duplicate LEDS_EXPRESSWIRE config
backlight: ktd2801: Depend on GPIOLIB
drivers/leds/Kconfig | 4 ----
drivers/video/backlight/Kconfig | 1 +
2 files changed, 1 insertion(+), 4 deletions(-)
---
base-commit: 038d61fd642278bab63ee8ef722c50d10ab01e8f
change-id: 20250729-expresswire-dep-fix-ba5b8bab83cb
Best regards,
--
Duje Mihanović <duje@dujemihanovic.xyz>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/2] leds: Drop duplicate LEDS_EXPRESSWIRE config
2025-07-29 17:18 [PATCH 0/2] ExpressWire dependency fixes Duje Mihanović
@ 2025-07-29 17:18 ` Duje Mihanović
2025-07-29 23:31 ` Randy Dunlap
2025-07-29 17:18 ` [PATCH 2/2] backlight: ktd2801: Depend on GPIOLIB Duje Mihanović
1 sibling, 1 reply; 5+ messages in thread
From: Duje Mihanović @ 2025-07-29 17:18 UTC (permalink / raw)
To: Lee Jones, Pavel Machek, Daniel Thompson, Jingoo Han,
Helge Deller
Cc: Randy Dunlap, linux-leds, linux-kernel, dri-devel, linux-fbdev,
Duje Mihanović
While moving said config symbol out of the "if NEW_LEDS" block, I
accidentally left a copy inside that block. Remove it.
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Link: https://lore.kernel.org/all/b6c481bb-e854-405e-a428-90301789fe20@infradead.org/
Fixes: 2cd0d1db31e7 ("leds: expresswire: Don't depend on NEW_LEDS")
Signed-off-by: Duje Mihanović <duje@dujemihanovic.xyz>
---
drivers/leds/Kconfig | 4 ----
1 file changed, 4 deletions(-)
diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig
index 6e3dce7e35a490df050cb4cd8e98611028c8dce1..8098b7b49c9decb591a894fe514a7ee757da5b44 100644
--- a/drivers/leds/Kconfig
+++ b/drivers/leds/Kconfig
@@ -214,10 +214,6 @@ config LEDS_EL15203000
To compile this driver as a module, choose M here: the module
will be called leds-el15203000.
-config LEDS_EXPRESSWIRE
- bool
- depends on GPIOLIB
-
config LEDS_TURRIS_OMNIA
tristate "LED support for CZ.NIC's Turris Omnia"
depends on LEDS_CLASS_MULTICOLOR
--
2.50.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/2] backlight: ktd2801: Depend on GPIOLIB
2025-07-29 17:18 [PATCH 0/2] ExpressWire dependency fixes Duje Mihanović
2025-07-29 17:18 ` [PATCH 1/2] leds: Drop duplicate LEDS_EXPRESSWIRE config Duje Mihanović
@ 2025-07-29 17:18 ` Duje Mihanović
2025-07-29 23:32 ` Randy Dunlap
1 sibling, 1 reply; 5+ messages in thread
From: Duje Mihanović @ 2025-07-29 17:18 UTC (permalink / raw)
To: Lee Jones, Pavel Machek, Daniel Thompson, Jingoo Han,
Helge Deller
Cc: Randy Dunlap, linux-leds, linux-kernel, dri-devel, linux-fbdev,
Duje Mihanović
The LEDS_EXPRESSWIRE library used by the driver requires GPIOLIB. Make
sure this dependency is not left unsatisfied.
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Link: https://lore.kernel.org/all/b6c481bb-e854-405e-a428-90301789fe20@infradead.org/
Signed-off-by: Duje Mihanović <duje@dujemihanovic.xyz>
---
drivers/video/backlight/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/video/backlight/Kconfig b/drivers/video/backlight/Kconfig
index d9374d208ceebbf8b3c27976e9cb4d725939b942..37341474beb9982f7099711e5e2506081061df46 100644
--- a/drivers/video/backlight/Kconfig
+++ b/drivers/video/backlight/Kconfig
@@ -185,6 +185,7 @@ config BACKLIGHT_KTD253
config BACKLIGHT_KTD2801
tristate "Backlight Driver for Kinetic KTD2801"
+ depends on GPIOLIB || COMPILE_TEST
select LEDS_EXPRESSWIRE
help
Say Y to enable the backlight driver for the Kinetic KTD2801 1-wire
--
2.50.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 1/2] leds: Drop duplicate LEDS_EXPRESSWIRE config
2025-07-29 17:18 ` [PATCH 1/2] leds: Drop duplicate LEDS_EXPRESSWIRE config Duje Mihanović
@ 2025-07-29 23:31 ` Randy Dunlap
0 siblings, 0 replies; 5+ messages in thread
From: Randy Dunlap @ 2025-07-29 23:31 UTC (permalink / raw)
To: Duje Mihanović, Lee Jones, Pavel Machek, Daniel Thompson,
Jingoo Han, Helge Deller
Cc: linux-leds, linux-kernel, dri-devel, linux-fbdev
On 7/29/25 10:18 AM, Duje Mihanović wrote:
> While moving said config symbol out of the "if NEW_LEDS" block, I
> accidentally left a copy inside that block. Remove it.
>
> Reported-by: Randy Dunlap <rdunlap@infradead.org>
> Link: https://lore.kernel.org/all/b6c481bb-e854-405e-a428-90301789fe20@infradead.org/
s/Link/Closes/
> Fixes: 2cd0d1db31e7 ("leds: expresswire: Don't depend on NEW_LEDS")
> Signed-off-by: Duje Mihanović <duje@dujemihanovic.xyz>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Thanks.
> ---
> drivers/leds/Kconfig | 4 ----
> 1 file changed, 4 deletions(-)
>
> diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig
> index 6e3dce7e35a490df050cb4cd8e98611028c8dce1..8098b7b49c9decb591a894fe514a7ee757da5b44 100644
> --- a/drivers/leds/Kconfig
> +++ b/drivers/leds/Kconfig
> @@ -214,10 +214,6 @@ config LEDS_EL15203000
> To compile this driver as a module, choose M here: the module
> will be called leds-el15203000.
>
> -config LEDS_EXPRESSWIRE
> - bool
> - depends on GPIOLIB
> -
> config LEDS_TURRIS_OMNIA
> tristate "LED support for CZ.NIC's Turris Omnia"
> depends on LEDS_CLASS_MULTICOLOR
>
--
~Randy
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 2/2] backlight: ktd2801: Depend on GPIOLIB
2025-07-29 17:18 ` [PATCH 2/2] backlight: ktd2801: Depend on GPIOLIB Duje Mihanović
@ 2025-07-29 23:32 ` Randy Dunlap
0 siblings, 0 replies; 5+ messages in thread
From: Randy Dunlap @ 2025-07-29 23:32 UTC (permalink / raw)
To: Duje Mihanović, Lee Jones, Pavel Machek, Daniel Thompson,
Jingoo Han, Helge Deller
Cc: linux-leds, linux-kernel, dri-devel, linux-fbdev
On 7/29/25 10:18 AM, Duje Mihanović wrote:
> The LEDS_EXPRESSWIRE library used by the driver requires GPIOLIB. Make
> sure this dependency is not left unsatisfied.
>
> Reported-by: Randy Dunlap <rdunlap@infradead.org>
> Link: https://lore.kernel.org/all/b6c481bb-e854-405e-a428-90301789fe20@infradead.org/
s/Link/Closes/
> Signed-off-by: Duje Mihanović <duje@dujemihanovic.xyz>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Thanks.
> ---
> drivers/video/backlight/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/video/backlight/Kconfig b/drivers/video/backlight/Kconfig
> index d9374d208ceebbf8b3c27976e9cb4d725939b942..37341474beb9982f7099711e5e2506081061df46 100644
> --- a/drivers/video/backlight/Kconfig
> +++ b/drivers/video/backlight/Kconfig
> @@ -185,6 +185,7 @@ config BACKLIGHT_KTD253
>
> config BACKLIGHT_KTD2801
> tristate "Backlight Driver for Kinetic KTD2801"
> + depends on GPIOLIB || COMPILE_TEST
> select LEDS_EXPRESSWIRE
> help
> Say Y to enable the backlight driver for the Kinetic KTD2801 1-wire
>
--
~Randy
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2025-07-29 23:32 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-29 17:18 [PATCH 0/2] ExpressWire dependency fixes Duje Mihanović
2025-07-29 17:18 ` [PATCH 1/2] leds: Drop duplicate LEDS_EXPRESSWIRE config Duje Mihanović
2025-07-29 23:31 ` Randy Dunlap
2025-07-29 17:18 ` [PATCH 2/2] backlight: ktd2801: Depend on GPIOLIB Duje Mihanović
2025-07-29 23:32 ` Randy Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).