OSDN Git Service

drm/panel: atna33xc20: Introduce the Samsung ATNA33XC20 panel
authorDouglas Anderson <dianders@chromium.org>
Fri, 30 Jul 2021 15:46:05 +0000 (08:46 -0700)
committerSam Ravnborg <sam@ravnborg.org>
Sat, 31 Jul 2021 18:14:15 +0000 (20:14 +0200)
commit32ce3b320343acf8871c63b98e72778f5f60cefc
tree7c78d61d7bc13654b2abd4ca4dd0a134a8a616a9
parent81c3212dd5fbd5274e673c4fb3bf60879d020b35
drm/panel: atna33xc20: Introduce the Samsung ATNA33XC20 panel

The Samsung ATNA33XC20 panel is an AMOLED eDP panel that has backlight
control over the DP AUX channel.

This panel is _almost_ able to be controlled in a "simple" way (and it
originally was implemented in panel-simple.c), but it's really
impossible to get the backlight semantics right there without adding
wacky special-case code to panel-simple. Let's give up and clone the
parts of panel-simple that we need and implement the power sequence
that this panel needs.

NOTE: we'll still leave the devicetree bindings alone. Even though the
power-sequencing is non-standard the bindings are still "simple".

Signed-off-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210730084534.v2.6.I3a2900080f8749d2bb4baf49ca902db4b0e1df7d@changeid
drivers/gpu/drm/panel/Kconfig
drivers/gpu/drm/panel/Makefile
drivers/gpu/drm/panel/panel-samsung-atna33xc20.c [new file with mode: 0644]