]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/panel: panel-simple: Allow panel-simple be a DP AUX endpoint device
authorDouglas Anderson <dianders@chromium.org>
Fri, 11 Jun 2021 17:17:41 +0000 (10:17 -0700)
committerDouglas Anderson <dianders@chromium.org>
Fri, 11 Jun 2021 19:31:13 +0000 (12:31 -0700)
commit74c06c282ae63560fcf4073d1564f054d96285ec
tree31239978f53fa9ff40b6e236e7be9d49536feade
parentaeb33699fc2c97994de0e9acb74d0fd319380614
drm/panel: panel-simple: Allow panel-simple be a DP AUX endpoint device

The panel-simple driver can already have devices instantiated as
platform devices or MIPI DSI devices. Let's add a 3rd way to
instantiate it: as DP AUX endpoint devices.

At the moment there is no benefit to instantiating it in this way,
but:
- In the next patch we'll give it access to the DDC channel via the DP
  AUX bus.
- Possibly in the future we may use this channel to configure the
  backlight.

Signed-off-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210611101711.v10.5.Iada41f76a7342354bae929d0bb3ceba40f27f0ea@changeid
drivers/gpu/drm/panel/Kconfig
drivers/gpu/drm/panel/panel-simple.c