backlight: lcd: Remove fbdev dependencies
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest28 patches 7 repliesApplied
- v128 patches 7 repliesSuperseded
Changes in v2 from the cover letter
- use guard(mutex) (Daniel)
- fix typos in various commit descriptions (Daniel)
[1] https://patchwork.freedesktop.org/series/129782/
[2] https://patchwork.freedesktop.org/series/134718/
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/28 | backlight: lcd: Rearrange code in fb_notifier_callback()drivers/ | +13 | 0 replies | |
| 2/28 | backlight: lcd: Test against struct fb_info.lcd_devdrivers/ include/ | +16 | 0 replies | |
| 3/28 | backlight: lcd: Add LCD_POWER_ constants for power statesdrivers/ include/ | +26 | 0 replies | |
| 4/28 | backlight: corgi_lcd: Use lcd power constantsdrivers/ | +6 | 0 replies | |
| 5/28 | backlight: hx8357: Use lcd power constantsdrivers/ | +1 | 0 replies | |
| 6/28 | backlight: ili922x: Use lcd power constantsdrivers/ | +3 | 0 replies | |
| 7/28 | backlight: ili9320: Use lcd power constantsdrivers/ | +7 | 0 replies | |
| 8/28 | backlight: jornada720_lcd: Include <linux/io.h> for IOMEM() macrodrivers/ | +1 | 0 replies | |
| 9/28 | backlight: jornada720_lcd: Use lcd power constantsdrivers/ | +4 | 0 replies | |
| 10/28 | backlight: l4f00242t03: Use lcd power constantsdrivers/ | +16 | 0 replies | |
| 11/28 | backlight: lms283gf05: Use lcd power constantsdrivers/ | +1 | 0 replies | |
| 12/28 | backlight: lms501kf03: Remove unnecessary include of <linux/backlight.h>drivers/ | +0 | 0 replies | |
| 13/28 | backlight: lms501kf03: Use lcd power constantsdrivers/ | +11 | 0 replies | |
| 14/28 | backlight: ltv350qv: Use lcd power constantsdrivers/ | +7 | 0 replies | |
| 15/28 | backlight: otm3225a: Use lcd power constantsdrivers/ | +1 | 0 replies | |
| 16/28 | backlight: platform_lcd: Remove include statement for <linux/backlight.h>drivers/ | +0 | 0 replies | |
| 17/28 | backlight: platform_lcd: Remove match_fb from struct plat_lcd_datadrivers/ include/ | +0 | 0 replies | |
| 18/28 | backlight: platform_lcd: Use lcd power constantsdrivers/ | +2 | 0 replies | |
| 19/28 | backlight: tdo24m: Use lcd power constantsdrivers/ | +7 | 0 replies | |
| 20/28 | fbdev: clps711x-fb: Replace check_fb in favor of struct fb_info.lcd_devdrivers/ | +10 | 3 replies | |
| 21/28 | fbdev: clps711x-fb: Use lcd power constantsdrivers/ | +3 | 0 replies | |
| 22/28 | fbdev: imxfb: Replace check_fb in favor of struct fb_info.lcd_devdrivers/ | +8 | 0 replies | |
| 23/28 | fbdev: imxfb: Use lcd power constantsdrivers/ | +3 | 0 replies | |
| 24/28 | fbdev: omap: Use lcd power constantsdrivers/ | +4 | 0 replies | |
| 25/28 | HID: picoLCD: Replace check_fb in favor of struct fb_info.lcd_devdrivers/ drivers/ | +4 | 0 replies | |
| 26/28 | backlight: lcd: Replace check_fb with controls_devicedrivers/ drivers/ include/ | +18 | 0 replies | |
| 27/28 | backlight: lcd: Remove struct fb_videomode from set_mode callbackdrivers/ drivers/ drivers/ +1 more | +12 | 0 replies | |
| 28/28 | backlight: lcd: Do not include <linux/fb.h> in lcd headerinclude/ | +0 | 0 replies |
Reviews trailers per patch
All 28 patches have a Reviewed-by or Acked-by.
| Patch | Daniel Thompson | Jiri Kosina |
|---|---|---|
| 1/28 | R-b | |
| 2/28 | R-b | |
| 3/28 | R-b | |
| 4/28 | R-b | |
| 5/28 | R-b | |
| 6/28 | R-b | |
| 7/28 | R-b | |
| 8/28 | R-b | |
| 9/28 | R-b | |
| 10/28 | R-b | |
| 11/28 | R-b | |
| 12/28 | R-b | |
| 13/28 | R-b | |
| 14/28 | R-b | |
| 15/28 | R-b | |
| 16/28 | R-b | |
| 17/28 | R-b | |
| 18/28 | R-b | |
| 19/28 | R-b | |
| 20/28 | R-b | |
| 21/28 | R-b | |
| 22/28 | R-b | |
| 23/28 | R-b | |
| 24/28 | R-b | |
| 25/28 | R-b | A-b |
| 26/28 | R-b | |
| 27/28 | R-b | |
| 28/28 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 00/28] backlight: lcd: Remove fbdev dependencies
This series removes most dependencies on fbdev from the lcd subsystem and its drivers.
Patches 1 to 3 rework the fbdev notifier, the fbdev's fb_info can now refer to a dedicated lcd device, and lcd defines constants for power states. These changes resemble similar changes to the backlight code.
Patches 4 to 19 update lcd drivers to the new interfaces and perform minor cleanups during the process. Patches 20 to 24 update fbdev drivers and patch 25 updates the picolcd driver from the hid subsystem.
Patches 25 to 28 finally clean up various lcd interfaces and files.
This patchset is part of a larger effort to implement the lcd code without depending on fbdev. Similar patches have been sent out for the backlight subsystem, such as in [1] and [2].
Hopefully this series can be merged at once through the lcd tree.
v2:
- use guard(mutex) (Daniel)
- fix typos in various commit descriptions (Daniel)
[1] https://patchwork.freedesktop.org/series/129782/
[2] https://patchwork.freedesktop.org/series/134718/
Thomas Zimmermann (28):
backlight: lcd: Rearrange code in fb_notifier_callback()
backlight: lcd: Test against struct fb_info.lcd_dev
backlight: lcd: Add LCD_POWER_ constants for power states
backlight: corgi_lcd: Use lcd power constants
backlight: hx8357: Use lcd power constants
backlight: ili922x: Use lcd power constants
backlight: ili9320: Use lcd power constants
backlight: jornada720_lcd: Include <linux/io.h> for IOMEM() macro
backlight: jornada720_lcd: Use lcd power constants
backlight: l4f00242t03: Use lcd power constants
backlight: lms283gf05: Use lcd power constants
backlight: lms501kf03: Remove unnecessary include of
<linux/backlight.h>
backlight: lms501kf03: Use lcd power constants
backlight: ltv350qv: Use lcd power constants
backlight: otm3225a: Use lcd power constants
backlight: platform_lcd: Remove include statement for
<linux/backlight.h>
backlight: platform_lcd: Remove match_fb from struct plat_lcd_data
backlight: platform_lcd: Use lcd power constants
backlight: tdo24m: Use lcd power constants
fbdev: clps711x-fb: Replace check_fb in favor of struct
fb_info.lcd_dev
fbdev: clps711x-fb: Use lcd power constants
fbdev: imxfb: Replace check_fb in favor of struct fb_info.lcd_dev
fbdev: imxfb: Use lcd power constants
fbdev: omap: Use lcd power constants
HID: picoLCD: Replace check_fb in favor of struct fb_info.lcd_dev
backlight: lcd: Replace check_fb with controls_device
backlight: lcd: Remove struct fb_videomode from set_mode callback
backlight: lcd: Do not include <linux/fb.h> in lcd header
drivers/hid/hid-picolcd_fb.c | 4 ++ drivers/hid/hid-picolcd_lcd.c | 6 --- drivers/video/backlight/corgi_lcd.c | 17 ++++---- drivers/video/backlight/hx8357.c | 2 +- drivers/video/backlight/ili922x.c | 7 ++-- drivers/video/backlight/ili9320.c | 15 ++++--- drivers/video/backlight/jornada720_lcd.c | 10 ++--- drivers/video/backlight/l4f00242t03.c | 32 +++++++-------- drivers/video/backlight/lcd.c | 50 ++++++++++++++++++------ drivers/video/backlight/lms283gf05.c | 2 +- drivers/video/backlight/lms501kf03.c | 24 ++++++------ drivers/video/backlight/ltv350qv.c | 15 ++++--- drivers/video/backlight/otm3225a.c | 2 +- drivers/video/backlight/platform_lcd.c | 20 ++++------ drivers/video/backlight/tdo24m.c | 19 +++++---- drivers/video/fbdev/clps711x-fb.c | 29 ++++++-------- drivers/video/fbdev/imxfb.c | 32 ++++++--------- drivers/video/fbdev/omap/lcd_ams_delta.c | 8 ++-- include/linux/fb.h | 13 ++++++ include/linux/lcd.h | 29 ++++++++++---- include/video/platform_lcd.h | 3 -- 21 files changed, 181 insertions(+), 158 deletions(-)
Signature · 1 line
2.46.0