linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 00/15] backlight: Do not include <linux/fb.h> in header file
@ 2025-07-15 12:24 Thomas Zimmermann
  2025-07-15 12:24 ` [PATCH v2 01/15] platform/x86: dell-uart-backlight: Use blacklight power constant Thomas Zimmermann
                   ` (14 more replies)
  0 siblings, 15 replies; 29+ messages in thread
From: Thomas Zimmermann @ 2025-07-15 12:24 UTC (permalink / raw)
  To: lee, danielt, jingoohan1, neil.armstrong, jessica.zhang, deller,
	maarten.lankhorst, mripard, airlied, simona, fnkl.kernel, j,
	hdegoede, ilpo.jarvinen, sven, alyssa, neal, support.opensource,
	duje.mihanovic
  Cc: dri-devel, asahi, platform-driver-x86, linux-arm-kernel,
	linux-fbdev, Thomas Zimmermann

Remove the final dependencies on fbdev from the backlight subsystem.
This is really just the include of <linux/fb.h> in backlight, but it
has some fallout in other code.

Patches 1 to 14 fix all the implicit includes that come from fb.h
throughout the kernel. It's all trivial, but touches various drivers.
Maintainers are in CC. Patch 15 fixes the backlight header.

With the series applied the backlight subsystem should be free from
fbdev dependencies.

v2:
- add missing clean ups in jornada720, rave-sp, rt4831

Thomas Zimmermann (15):
  platform/x86: dell-uart-backlight: Use blacklight power constant
  drm/panel: panel-samsung-s6e63m0: Include <linux/of.h>
  drm/panel: panel-samsung-s6e88a0-ams427ap24: Include <linux/of.h>
  drm/panel: panel-summit: Include <linux/of.h>
  fbcon: Add necessary include statements and forward declarations
  backlight: Include <linux/of.h>
  backlight: apple_dwi_bl: Include <linux/mod_devicetable.h>
  backlight: as3711_bl: Include <linux/of.h>
  backlight: da9052_bl: Include <linux/mod_devicetable.h>
  backlight: jornada720: Include <linux/io.h>
  backlight: ktd2801: Include <linux/mod_devicetable.h>
  backlight: led_bl: Include <linux/of.h>
  backlight: rave-sp: Include <linux/of.h> and <linux/mod_devicetable.h>
  backlight: rt4831: Include <linux/mod_devicetable.h>
  backlight: Do not include <linux/fb.h> in header file

 drivers/gpu/drm/panel/panel-samsung-s6e63m0.c            | 1 +
 drivers/gpu/drm/panel/panel-samsung-s6e88a0-ams427ap24.c | 1 +
 drivers/gpu/drm/panel/panel-summit.c                     | 1 +
 drivers/platform/x86/dell/dell-uart-backlight.c          | 2 +-
 drivers/video/backlight/apple_dwi_bl.c                   | 1 +
 drivers/video/backlight/as3711_bl.c                      | 1 +
 drivers/video/backlight/backlight.c                      | 1 +
 drivers/video/backlight/da9052_bl.c                      | 1 +
 drivers/video/backlight/jornada720_bl.c                  | 1 +
 drivers/video/backlight/ktd2801-backlight.c              | 1 +
 drivers/video/backlight/led_bl.c                         | 1 +
 drivers/video/backlight/rave-sp-backlight.c              | 2 ++
 drivers/video/backlight/rt4831-backlight.c               | 1 +
 include/linux/backlight.h                                | 1 -
 include/linux/fbcon.h                                    | 7 +++++++
 15 files changed, 21 insertions(+), 2 deletions(-)

-- 
2.50.0



^ permalink raw reply	[flat|nested] 29+ messages in thread
* [PATCH v2 00/15] backlight: Do not include <linux/fb.h> in header file
@ 2025-06-24 13:45 Thomas Zimmermann
  2025-06-24 13:45 ` [PATCH v2 12/15] backlight: led_bl: Include <linux/of.h> Thomas Zimmermann
  0 siblings, 1 reply; 29+ messages in thread
From: Thomas Zimmermann @ 2025-06-24 13:45 UTC (permalink / raw)
  To: lee, danielt, jingoohan1, neil.armstrong, jessica.zhang,
	maarten.lankhorst, mripard, airlied, simona, fnkl.kernel, j,
	hdegoede, ilpo.jarvinen, sven, alyssa, neal, deller,
	support.opensource, duje.mihanovic
  Cc: dri-devel, asahi, platform-driver-x86, linux-arm-kernel,
	linux-fbdev, Thomas Zimmermann

Remove the final dependencies on fbdev from the backlight subsystem.
This is really just the include of <linux/fb.h> in <linux/backlight.h>,
but it has some fallout in other code.

Patches 1 to 14 fix all the implicit includes that come from fb.h
throughout the kernel. It's all trivial, but touches various drivers.
Maintainers are in CC. Patch 15 fixes the backlight header.

With the series applied the backlight subsystem should be free from
fbdev dependencies.

v2:
- fix jornada720, rave-sp and rt4831 (kernel test robot)

Thomas Zimmermann (15):
  platform/x86: dell-uart-backlight: Use blacklight power constant
  drm/panel: panel-samsung-s6e63m0: Include <linux/of.h>
  drm/panel: panel-samsung-s6e88a0-ams427ap24: Include <linux/of.h>
  drm/panel: panel-summit: Include <linux/of.h>
  fbcon: Add necessary include statements and forward declarations
  backlight: Include <linux/of.h>
  backlight: apple_dwi_bl: Include <linux/mod_devicetable.h>
  backlight: as3711_bl: Include <linux/of.h>
  backlight: da9052_bl: Include <linux/mod_devicetable.h>
  backlight: jornada720: Include <linux/io.h>
  backlight: ktd2801: Include <linux/mod_devicetable.h>
  backlight: led_bl: Include <linux/of.h>
  backlight: rave-sp: Include <linux/of.h> and <linux/mod_devicetable.h>
  backlight: rt4831: Include <linux/mod_devicetable.h>
  backlight: Do not include <linux/fb.h> in header file

 drivers/gpu/drm/panel/panel-samsung-s6e63m0.c            | 1 +
 drivers/gpu/drm/panel/panel-samsung-s6e88a0-ams427ap24.c | 1 +
 drivers/gpu/drm/panel/panel-summit.c                     | 1 +
 drivers/platform/x86/dell/dell-uart-backlight.c          | 2 +-
 drivers/video/backlight/apple_dwi_bl.c                   | 1 +
 drivers/video/backlight/as3711_bl.c                      | 1 +
 drivers/video/backlight/backlight.c                      | 1 +
 drivers/video/backlight/da9052_bl.c                      | 1 +
 drivers/video/backlight/jornada720_bl.c                  | 1 +
 drivers/video/backlight/ktd2801-backlight.c              | 1 +
 drivers/video/backlight/led_bl.c                         | 1 +
 drivers/video/backlight/rave-sp-backlight.c              | 2 ++
 drivers/video/backlight/rt4831-backlight.c               | 1 +
 include/linux/backlight.h                                | 1 -
 include/linux/fbcon.h                                    | 7 +++++++
 15 files changed, 21 insertions(+), 2 deletions(-)

-- 
2.50.0



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

end of thread, other threads:[~2025-07-22 13:57 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-15 12:24 [PATCH v2 00/15] backlight: Do not include <linux/fb.h> in header file Thomas Zimmermann
2025-07-15 12:24 ` [PATCH v2 01/15] platform/x86: dell-uart-backlight: Use blacklight power constant Thomas Zimmermann
2025-07-21 11:43   ` Ilpo Järvinen
2025-07-21 19:42     ` Thomas Zimmermann
2025-07-22 13:03       ` Ilpo Järvinen
2025-07-15 12:24 ` [PATCH v2 02/15] drm/panel: panel-samsung-s6e63m0: Include <linux/of.h> Thomas Zimmermann
2025-07-15 13:19   ` Simona Vetter
2025-07-15 23:43   ` Sebastian Reichel
2025-07-16  6:37     ` Thomas Zimmermann
2025-07-15 12:24 ` [PATCH v2 03/15] drm/panel: panel-samsung-s6e88a0-ams427ap24: " Thomas Zimmermann
2025-07-15 12:24 ` [PATCH v2 04/15] drm/panel: panel-summit: " Thomas Zimmermann
2025-07-15 13:28   ` Rob Herring
2025-07-15 12:24 ` [PATCH v2 05/15] fbcon: Add necessary include statements and forward declarations Thomas Zimmermann
2025-07-15 13:20   ` Simona Vetter
2025-07-15 12:24 ` [PATCH v2 06/15] backlight: Include <linux/of.h> Thomas Zimmermann
2025-07-15 12:24 ` [PATCH v2 07/15] backlight: apple_dwi_bl: Include <linux/mod_devicetable.h> Thomas Zimmermann
2025-07-15 12:24 ` [PATCH v2 08/15] backlight: as3711_bl: Include <linux/of.h> Thomas Zimmermann
2025-07-15 12:24 ` [PATCH v2 09/15] backlight: da9052_bl: Include <linux/mod_devicetable.h> Thomas Zimmermann
2025-07-15 12:24 ` [PATCH v2 10/15] backlight: jornada720: Include <linux/io.h> Thomas Zimmermann
2025-07-15 12:24 ` [PATCH v2 11/15] backlight: ktd2801: Include <linux/mod_devicetable.h> Thomas Zimmermann
2025-07-15 12:24 ` [PATCH v2 12/15] backlight: led_bl: Include <linux/of.h> Thomas Zimmermann
2025-07-15 12:24 ` [PATCH v2 13/15] backlight: rave-sp: Include <linux/of.h> and <linux/mod_devicetable.h> Thomas Zimmermann
2025-07-15 13:34   ` Rob Herring
2025-07-16  6:39     ` Thomas Zimmermann
2025-07-15 12:24 ` [PATCH v2 14/15] backlight: rt4831: Include <linux/mod_devicetable.h> Thomas Zimmermann
2025-07-15 12:24 ` [PATCH v2 15/15] backlight: Do not include <linux/fb.h> in header file Thomas Zimmermann
2025-07-15 13:22   ` Simona Vetter
2025-07-16  6:44     ` Thomas Zimmermann
  -- strict thread matches above, loose matches on Subject: below --
2025-06-24 13:45 [PATCH v2 00/15] " Thomas Zimmermann
2025-06-24 13:45 ` [PATCH v2 12/15] backlight: led_bl: Include <linux/of.h> Thomas Zimmermann

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