mbox series

[v2,00/13] drm/panel: Make panel drivers use existing DSI write macros

Message ID 20230107191822.3787147-1-javierm@redhat.com (mailing list archive)
Headers show
Series drm/panel: Make panel drivers use existing DSI write macros | expand

Message

Javier Martinez Canillas Jan. 7, 2023, 7:18 p.m. UTC
Hello,

This series contains cleanups for DRM panel drivers that define their own
DSI write macros instead of using what's already in <drm/drm_mipi_dsi.h>.

This is a v2 that addresses issues pointed out by Sam Ravnborg in the v1:

https://lore.kernel.org/lkml/20221228014757.3170486-1-javierm@redhat.com/

The changes are quite trivial but I've only tested this with allmodconfig
and `make M=drivers/gpu/drm/panel/` so please review and testing would be
highly appreciated.

Best regards,
Javier

Changes in v2:
- Fix identations and a usage discrepancy in one driver (Sam Ravnborg).

Javier Martinez Canillas (13):
  drm/panel-asus-z00t-tm5p5-n35596: Drop custom DSI write macros
  drm/panel-sitronix-st7703: Drop custom DSI write macros
  drm/panel-leadtek-ltk050h3146w: Drop custom DSI write macro
  drm/panel-elida-kd35t133: Drop custom DSI write macro
  drm/panel-boe-bf060y8m-aj0: Drop custom DSI write macro
  drm/panel-novatek-nt35950: Drop custom DSI write macro
  drm/panel-jdi-fhd-r63452: Drop custom DSI write macros
  drm/panel-samsung-s6e88a0-ams452ef01: Drop custom DSI write macro
  drm/panel-samsung-sofef00: Drop custom DSI write macro
  drm/panel-sharp-ls060t1sx01: Drop custom DSI write macro
  drm/panel-mantix-mlaf057we51: Drop custom DSI write macro
  drm/panel-sony-tulip-truly-nt35521: Drop custom DSI write macro
  drm/panel-xinpeng-xpp055c272: Drop custom DSI write macro

 .../drm/panel/panel-asus-z00t-tm5p5-n35596.c  |  96 ++---
 .../gpu/drm/panel/panel-boe-bf060y8m-aj0.c    |  42 +-
 drivers/gpu/drm/panel/panel-elida-kd35t133.c  |  46 +-
 drivers/gpu/drm/panel/panel-jdi-fhd-r63452.c  |  58 +--
 .../drm/panel/panel-leadtek-ltk050h3146w.c    | 106 +++--
 .../gpu/drm/panel/panel-mantix-mlaf057we51.c  |  24 +-
 drivers/gpu/drm/panel/panel-novatek-nt35950.c |  14 +-
 .../panel/panel-samsung-s6e88a0-ams452ef01.c  |  44 +-
 drivers/gpu/drm/panel/panel-samsung-sofef00.c |  24 +-
 .../gpu/drm/panel/panel-sharp-ls060t1sx01.c   |  19 +-
 drivers/gpu/drm/panel/panel-sitronix-st7703.c | 341 +++++++--------
 .../panel/panel-sony-tulip-truly-nt35521.c    | 398 +++++++++---------
 .../gpu/drm/panel/panel-xinpeng-xpp055c272.c  | 112 +++--
 13 files changed, 594 insertions(+), 730 deletions(-)

Comments

Javier Martinez Canillas Jan. 11, 2023, 6:02 p.m. UTC | #1
On 1/7/23 20:18, Javier Martinez Canillas wrote:
> Hello,
> 
> This series contains cleanups for DRM panel drivers that define their own
> DSI write macros instead of using what's already in <drm/drm_mipi_dsi.h>.
> 
> This is a v2 that addresses issues pointed out by Sam Ravnborg in the v1:
> 
> https://lore.kernel.org/lkml/20221228014757.3170486-1-javierm@redhat.com/
> 
> The changes are quite trivial but I've only tested this with allmodconfig
> and `make M=drivers/gpu/drm/panel/` so please review and testing would be
> highly appreciated.
> 

Pushed this to drm-misc (drm-misc-next). Thanks!