[PATCH v1 0/3] drm/panel: update backlight support for samsung panels

Sam Ravnborg sam at ravnborg.org
Thu Apr 9 11:52:36 UTC 2020


Update the backlight handling in three samsung panels.
  - Use devm_ functions to automate cleanup
  - Utilize backlight support in drm_panel
  - Introduce a register backlight helper in all panels
    Using the same pattern in all panels makes it simpler
    to read the code.

With this change the backlight handling in these panels
is now much more like what we see in other panels.

Testing or any other feedback appreciated!

	Sam


Sam Ravnborg (3):
      drm/panel: update backlight handling for samsung-s6e3ha2
      drm/panel: update backlight handling for samsung-s6e63j0x03
      drm/panel: update backlight handling for samsung-s6e63m0

 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c    | 55 +++++++++++++-----------
 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c | 55 +++++++++++++-----------
 drivers/gpu/drm/panel/panel-samsung-s6e63m0.c    | 20 ++++-----
 3 files changed, 68 insertions(+), 62 deletions(-)




More information about the dri-devel mailing list