linux
linux copied to clipboard
drm/panel: s6e8aa5x01-ams497hy01 Samsung J5 backlight support
The code was shamelessly stolen from ams520kt01, seems to work the same way. The data was mined from downstream.
Tested, works for me.
@Grimler91 Do you mind taking a look at these changes?
f this ... I donate a space ...
Not J5X, but I would like to cc @B83C
Not J5X, but I would like to cc @B83C
? J5x having AMS520KT01 no?
Oo,
found some bug that shall be fixed ;)
code cleanup. @B83C: I guess the ams520kt01 can use this aswell. So stop copy and paste mistakes from each other. I guess the Author was oversleept like me ;)
static int s6e8aa5x01_ams497hy01_enable(struct drm_panel *panel)
{
...
if (ctx->prepared)
return 0;
Whats left? Actually one brightness cmd takes up to 400ms and when juggling a brightness slider I occasional get:
dsi_err_worker: status=4
but that did not hurt so far.
@B83C: I'd like some enlightenment on the Temp1? / Temp2? cmds ... do we need them?!