mbox series

[v1,0/2] drm/panel: simple: add bus-format support for panel-dpi

Message ID 20220516162826.23025-1-max.oss.09@gmail.com (mailing list archive)
Headers show
Series drm/panel: simple: add bus-format support for panel-dpi | expand

Message

Max Krummenacher May 16, 2022, 4:28 p.m. UTC
From: Max Krummenacher <max.krummenacher@toradex.com>


Commit 4a1d0dbc8332 ("drm/panel: simple: add panel-dpi support") added
support for defining a panel from device tree provided data.

However support for setting the bus format is missing, so that with
the current implementation a 'panel-dpi' panel can only be used
if the driver of the display interface connected can cope with a
missing bus_format.

This patch series defines the new property bus-format and adds it to
the panel-dpi implementation.

Check initial discussions [1] and [2].
[1] https://lore.kernel.org/all/20220201110717.3585-1-cniedermaier@dh-electronics.com/
[2] https://lore.kernel.org/all/20220222084723.14310-1-max.krummenacher@toradex.com/



Max Krummenacher (2):
  dt-bindings: display: add new bus-format property for panel-dpi
  drm/panel: simple: add bus-format support for panel-dpi

 .../bindings/display/panel/panel-dpi.yaml     | 11 +++++
 drivers/gpu/drm/panel/panel-simple.c          | 43 +++++++++++++++++++
 .../dt-bindings/display/dt-media-bus-format.h | 23 ++++++++++
 3 files changed, 77 insertions(+)
 create mode 100644 include/dt-bindings/display/dt-media-bus-format.h