Linux Framebuffer Layer development
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Remove redundant X86 dependency for the cgbc backlight driver
@ 2026-04-27  9:40 Thomas Richard
  2026-04-27  9:40 ` [PATCH v2 1/2] backlight: cgbc: Remove redundant X86 dependency Thomas Richard
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Thomas Richard @ 2026-04-27  9:40 UTC (permalink / raw)
  To: Lee Jones, Daniel Thompson, Jingoo Han, Helge Deller
  Cc: Thomas Petazzoni, dri-devel, linux-fbdev, linux-kernel,
	Thomas Richard

For this second iteration, I just added Daniel's RB tags.

Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
---
Changes in v2:
- add Daniel's RB tags.
- Link to v1: https://lore.kernel.org/r/20260327-backlight-cgbc-remove-x86-dependency-v1-0-4851c9e95371@bootlin.com

---
Thomas Richard (2):
      backlight: cgbc: Remove redundant X86 dependency
      MAINTAINERS: Add cgbc backlight driver

 MAINTAINERS                     | 1 +
 drivers/video/backlight/Kconfig | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
---
base-commit: 254f49634ee16a731174d2ae34bc50bd5f45e731
change-id: 20260309-backlight-cgbc-remove-x86-dependency-40a7c9516459

Best regards,
-- 
Thomas Richard <thomas.richard@bootlin.com>


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

* [PATCH v2 1/2] backlight: cgbc: Remove redundant X86 dependency
  2026-04-27  9:40 [PATCH v2 0/2] Remove redundant X86 dependency for the cgbc backlight driver Thomas Richard
@ 2026-04-27  9:40 ` Thomas Richard
  2026-04-27  9:40 ` [PATCH v2 2/2] MAINTAINERS: Add cgbc backlight driver Thomas Richard
  2026-05-07 13:25 ` [PATCH v2 0/2] Remove redundant X86 dependency for the " Lee Jones
  2 siblings, 0 replies; 4+ messages in thread
From: Thomas Richard @ 2026-04-27  9:40 UTC (permalink / raw)
  To: Lee Jones, Daniel Thompson, Jingoo Han, Helge Deller
  Cc: Thomas Petazzoni, dri-devel, linux-fbdev, linux-kernel,
	Thomas Richard

The backlight driver depends on the MFD cgbc-core driver, which already
depends on X86. The explicit X86 dependency for the backlight driver is
redundant and can be safely removed.

Reviewed-by: Daniel Thompson (RISCstar) <danielt@kernel.org>
Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
---
 drivers/video/backlight/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/video/backlight/Kconfig b/drivers/video/backlight/Kconfig
index a7a3fbaf7c29..07905d2ba01a 100644
--- a/drivers/video/backlight/Kconfig
+++ b/drivers/video/backlight/Kconfig
@@ -260,7 +260,7 @@ config BACKLIGHT_PWM
 
 config BACKLIGHT_CGBC
 	tristate "Congatec Board Controller (CGBC) backlight support"
-	depends on MFD_CGBC && X86
+	depends on MFD_CGBC
 	help
 	  Say Y here to enable support for LCD backlight control on Congatec
 	  x86-based boards via the CGBC (Congatec Board Controller).

-- 
2.53.0


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

* [PATCH v2 2/2] MAINTAINERS: Add cgbc backlight driver
  2026-04-27  9:40 [PATCH v2 0/2] Remove redundant X86 dependency for the cgbc backlight driver Thomas Richard
  2026-04-27  9:40 ` [PATCH v2 1/2] backlight: cgbc: Remove redundant X86 dependency Thomas Richard
@ 2026-04-27  9:40 ` Thomas Richard
  2026-05-07 13:25 ` [PATCH v2 0/2] Remove redundant X86 dependency for the " Lee Jones
  2 siblings, 0 replies; 4+ messages in thread
From: Thomas Richard @ 2026-04-27  9:40 UTC (permalink / raw)
  To: Lee Jones, Daniel Thompson, Jingoo Han, Helge Deller
  Cc: Thomas Petazzoni, dri-devel, linux-fbdev, linux-kernel,
	Thomas Richard

Add missing backlight driver in CONGATEC BOARD CONTROLLER entry.

Reviewed-by: Daniel Thompson (RISCstar) <danielt@kernel.org>
Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
---
 MAINTAINERS | 1 +
 1 file changed, 1 insertion(+)

diff --git a/MAINTAINERS b/MAINTAINERS
index 2fb1c75afd16..15b8db0721ea 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -6474,6 +6474,7 @@ F:	drivers/gpio/gpio-cgbc.c
 F:	drivers/hwmon/cgbc-hwmon.c
 F:	drivers/i2c/busses/i2c-cgbc.c
 F:	drivers/mfd/cgbc-core.c
+F:	drivers/video/backlight/cgbc_bl.c
 F:	drivers/watchdog/cgbc_wdt.c
 F:	include/linux/mfd/cgbc.h
 

-- 
2.53.0


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

* Re: [PATCH v2 0/2] Remove redundant X86 dependency for the cgbc backlight driver
  2026-04-27  9:40 [PATCH v2 0/2] Remove redundant X86 dependency for the cgbc backlight driver Thomas Richard
  2026-04-27  9:40 ` [PATCH v2 1/2] backlight: cgbc: Remove redundant X86 dependency Thomas Richard
  2026-04-27  9:40 ` [PATCH v2 2/2] MAINTAINERS: Add cgbc backlight driver Thomas Richard
@ 2026-05-07 13:25 ` Lee Jones
  2 siblings, 0 replies; 4+ messages in thread
From: Lee Jones @ 2026-05-07 13:25 UTC (permalink / raw)
  To: Lee Jones, Daniel Thompson, Jingoo Han, Helge Deller,
	Thomas Richard
  Cc: Thomas Petazzoni, dri-devel, linux-fbdev, linux-kernel

On Mon, 27 Apr 2026 11:40:32 +0200, Thomas Richard wrote:
> For this second iteration, I just added Daniel's RB tags.

Applied, thanks!

[1/2] backlight: cgbc: Remove redundant X86 dependency
      commit: db8e26c435698222b333cafcbc043dfdf083d591
[2/2] MAINTAINERS: Add cgbc backlight driver
      commit: acea35b567d0f610d533ca661f4106ac12583f78

--
Lee Jones [李琼斯]


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

end of thread, other threads:[~2026-05-07 13:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-27  9:40 [PATCH v2 0/2] Remove redundant X86 dependency for the cgbc backlight driver Thomas Richard
2026-04-27  9:40 ` [PATCH v2 1/2] backlight: cgbc: Remove redundant X86 dependency Thomas Richard
2026-04-27  9:40 ` [PATCH v2 2/2] MAINTAINERS: Add cgbc backlight driver Thomas Richard
2026-05-07 13:25 ` [PATCH v2 0/2] Remove redundant X86 dependency for the " Lee Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox