[PATCH 0/2] Remove redundant X86 dependency for the cgbc backlight driver

STALE122d

5 messages, 2 authors, 2026-04-14 · open the first message on its own page

[PATCH 0/2] Remove redundant X86 dependency for the cgbc backlight driver

From: Thomas Richard <thomas.richard@bootlin.com>
Date: 2026-03-27 19:39:40

Remove redundant X86 dependency for the cgbc backlight driver. Additionally
the driver is added to MAINTAINERS file.

Signed-off-by: Thomas Richard <thomas.richard@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: c369299895a591d96745d6492d4888259b004a9e
change-id: 20260309-backlight-cgbc-remove-x86-dependency-40a7c9516459

Best regards,
-- 
Thomas Richard [off-list ref]

[PATCH 1/2] backlight: cgbc: Remove redundant X86 dependency

From: Thomas Richard <thomas.richard@bootlin.com>
Date: 2026-03-27 19:39:41

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.

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

[PATCH 2/2] MAINTAINERS: Add cgbc backlight driver

From: Thomas Richard <thomas.richard@bootlin.com>
Date: 2026-03-27 19:39:42

Add missing backlight driver in CONGATEC BOARD CONTROLLER entry.

Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
---
 MAINTAINERS | 1 +
 1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 7d10988cbc62..c210dbb94459 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -6476,6 +6476,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

Re: [PATCH 1/2] backlight: cgbc: Remove redundant X86 dependency

From: Daniel Thompson <danielt@kernel.org>
Date: 2026-04-14 16:22:03

On Fri, Mar 27, 2026 at 08:39:32PM +0100, Thomas Richard wrote:
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.

Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
Reviewed-by: Daniel Thompson (RISCstar) <danielt@kernel.org>


Daniel.

Re: [PATCH 2/2] MAINTAINERS: Add cgbc backlight driver

From: Daniel Thompson <danielt@kernel.org>
Date: 2026-04-14 16:22:23

On Fri, Mar 27, 2026 at 08:39:33PM +0100, Thomas Richard wrote:
Add missing backlight driver in CONGATEC BOARD CONTROLLER entry.

Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
Reviewed-by: Daniel Thompson (RISCstar) <danielt@kernel.org>


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