linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [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ć
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ 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] 10+ 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
                     ` (2 more replies)
  2025-07-29 17:18 ` [PATCH 2/2] backlight: ktd2801: Depend on GPIOLIB Duje Mihanović
  2025-11-06 16:56 ` [PATCH 0/2] ExpressWire dependency fixes Lee Jones
  2 siblings, 3 replies; 10+ 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] 10+ 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
                     ` (2 more replies)
  2025-11-06 16:56 ` [PATCH 0/2] ExpressWire dependency fixes Lee Jones
  2 siblings, 3 replies; 10+ 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] 10+ 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
  2025-10-30 11:47   ` Daniel Thompson
  2025-11-06 16:58   ` (subset) " Lee Jones
  2 siblings, 0 replies; 10+ 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] 10+ 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
  2025-10-30 11:48   ` Daniel Thompson
  2025-11-06 16:56   ` (subset) " Lee Jones
  2 siblings, 0 replies; 10+ 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] 10+ 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
@ 2025-10-30 11:47   ` Daniel Thompson
  2025-11-06 16:58   ` (subset) " Lee Jones
  2 siblings, 0 replies; 10+ messages in thread
From: Daniel Thompson @ 2025-10-30 11:47 UTC (permalink / raw)
  To: Duje Mihanović
  Cc: Lee Jones, Pavel Machek, Jingoo Han, Helge Deller, Randy Dunlap,
	linux-leds, linux-kernel, dri-devel, linux-fbdev

On Tue, Jul 29, 2025 at 07:18:29PM +0200, 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/
> Fixes: 2cd0d1db31e7 ("leds: expresswire: Don't depend on NEW_LEDS")
> Signed-off-by: Duje Mihanović <duje@dujemihanovic.xyz>

Reviewed-by: Daniel Thompson (RISCstar) <danielt@kernel.org>


Daniel.

^ permalink raw reply	[flat|nested] 10+ 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
@ 2025-10-30 11:48   ` Daniel Thompson
  2025-11-06 16:56   ` (subset) " Lee Jones
  2 siblings, 0 replies; 10+ messages in thread
From: Daniel Thompson @ 2025-10-30 11:48 UTC (permalink / raw)
  To: Duje Mihanović
  Cc: Lee Jones, Pavel Machek, Jingoo Han, Helge Deller, Randy Dunlap,
	linux-leds, linux-kernel, dri-devel, linux-fbdev

On Tue, Jul 29, 2025 at 07:18:30PM +0200, 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/
> Signed-off-by: Duje Mihanović <duje@dujemihanovic.xyz>

Reviewed-by: Daniel Thompson (RISCstar) <danielt@kernel.org>


Daniel.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 0/2] ExpressWire dependency fixes
  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 ` [PATCH 2/2] backlight: ktd2801: Depend on GPIOLIB Duje Mihanović
@ 2025-11-06 16:56 ` Lee Jones
  2 siblings, 0 replies; 10+ messages in thread
From: Lee Jones @ 2025-11-06 16:56 UTC (permalink / raw)
  To: Lee Jones, Pavel Machek, Daniel Thompson, Jingoo Han,
	Helge Deller, Duje Mihanović
  Cc: Randy Dunlap, linux-leds, linux-kernel, dri-devel, linux-fbdev

On Tue, 29 Jul 2025 19:18:28 +0200, Duje Mihanović wrote:
> This tiny series fixes two dependency issues with the ExpressWire
> library and the KTD2801 backlight driver. Thanks to Randy for reporting
> these.
> 
> 

Applied, thanks!

[1/2] leds: Drop duplicate LEDS_EXPRESSWIRE config
      (no commit info)
[2/2] backlight: ktd2801: Depend on GPIOLIB
      commit: d95963e309bc1211e28051314e72638d98225614

--
Lee Jones [李琼斯]


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: (subset) [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
  2025-10-30 11:48   ` Daniel Thompson
@ 2025-11-06 16:56   ` Lee Jones
  2 siblings, 0 replies; 10+ messages in thread
From: Lee Jones @ 2025-11-06 16:56 UTC (permalink / raw)
  To: Lee Jones, Pavel Machek, Daniel Thompson, Jingoo Han,
	Helge Deller, Duje Mihanović
  Cc: Randy Dunlap, linux-leds, linux-kernel, dri-devel, linux-fbdev

On Tue, 29 Jul 2025 19:18:30 +0200, Duje Mihanović wrote:
> The LEDS_EXPRESSWIRE library used by the driver requires GPIOLIB. Make
> sure this dependency is not left unsatisfied.
> 
> 

Applied, thanks!

[2/2] backlight: ktd2801: Depend on GPIOLIB
      commit: d95963e309bc1211e28051314e72638d98225614

--
Lee Jones [李琼斯]


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: (subset) [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
  2025-10-30 11:47   ` Daniel Thompson
@ 2025-11-06 16:58   ` Lee Jones
  2 siblings, 0 replies; 10+ messages in thread
From: Lee Jones @ 2025-11-06 16:58 UTC (permalink / raw)
  To: Lee Jones, Pavel Machek, Daniel Thompson, Jingoo Han,
	Helge Deller, Duje Mihanović
  Cc: Randy Dunlap, linux-leds, linux-kernel, dri-devel, linux-fbdev

On Tue, 29 Jul 2025 19:18:29 +0200, 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.
> 
> 

Applied, thanks!

[1/2] leds: Drop duplicate LEDS_EXPRESSWIRE config
      commit: ea1c4c7e648d1ca91577071fc42fdc219521098c

--
Lee Jones [李琼斯]


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2025-11-06 16:58 UTC | newest]

Thread overview: 10+ 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-10-30 11:47   ` Daniel Thompson
2025-11-06 16:58   ` (subset) " Lee Jones
2025-07-29 17:18 ` [PATCH 2/2] backlight: ktd2801: Depend on GPIOLIB Duje Mihanović
2025-07-29 23:32   ` Randy Dunlap
2025-10-30 11:48   ` Daniel Thompson
2025-11-06 16:56   ` (subset) " Lee Jones
2025-11-06 16:56 ` [PATCH 0/2] ExpressWire dependency fixes Lee Jones

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).