drm: renesas: shmobile: Atomic conversion + DT support Currently, there are two drivers for the LCD controller on Renesas SuperH-based and ARM-based SH-Mobile and R-Mobile SoCs: 1. sh_mobile_lcdcfb, using the fbdev framework, 2. shmob_drm, using the DRM framework. However, only the former driver is used, as all platform support integrates the former. None of these drivers support DT-based systems. Convert the SH-Mobile DRM driver to atomic modesetting, and add DT support, complemented by the customary set of fixes and improvements. Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Link: https://lore.kernel.org/r/cover.1694767208.git.geert+renesas@glider.be/ Signed-off-by: Dave Airlie <airlied@redhat.com>
Showing the changes to include/uapi (1 of 17 files). Show all
Unified · Split
| @@ -34,7 +34,7 @@ · 33 unmodified lines | |||
| 34 | 34 | ||
| 35 | #define MEDIA_BUS_FMT_FIXED 0x0001 | 35 | #define MEDIA_BUS_FMT_FIXED 0x0001 |
| 36 | 36 | ||
| 37 | /* RGB - next is 0x1025 */ | 37 | /* RGB - next is 0x1026 */ |
| 38 | #define MEDIA_BUS_FMT_RGB444_1X12 0x1016 | 38 | #define MEDIA_BUS_FMT_RGB444_1X12 0x1016 |
| 39 | #define MEDIA_BUS_FMT_RGB444_2X8_PADHI_BE 0x1001 | 39 | #define MEDIA_BUS_FMT_RGB444_2X8_PADHI_BE 0x1001 |
| 40 | #define MEDIA_BUS_FMT_RGB444_2X8_PADHI_LE 0x1002 | 40 | #define MEDIA_BUS_FMT_RGB444_2X8_PADHI_LE 0x1002 |
| @@ -46,6 +46,7 @@ · 5 unmodified lines | |||
| 46 | #define MEDIA_BUS_FMT_RGB565_2X8_BE 0x1007 | 46 | #define MEDIA_BUS_FMT_RGB565_2X8_BE 0x1007 |
| 47 | #define MEDIA_BUS_FMT_RGB565_2X8_LE 0x1008 | 47 | #define MEDIA_BUS_FMT_RGB565_2X8_LE 0x1008 |
| 48 | #define MEDIA_BUS_FMT_RGB666_1X18 0x1009 | 48 | #define MEDIA_BUS_FMT_RGB666_1X18 0x1009 |
| 49 | #define MEDIA_BUS_FMT_RGB666_2X9_BE 0x1025 | ||
| 49 | #define MEDIA_BUS_FMT_BGR666_1X18 0x1023 | 50 | #define MEDIA_BUS_FMT_BGR666_1X18 0x1023 |
| 50 | #define MEDIA_BUS_FMT_RBG888_1X24 0x100e | 51 | #define MEDIA_BUS_FMT_RBG888_1X24 0x100e |
| 51 | #define MEDIA_BUS_FMT_RGB666_1X24_CPADHI 0x1015 | 52 | #define MEDIA_BUS_FMT_RGB666_1X24_CPADHI 0x1015 |