[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220628181838.2031-1-max.oss.09@gmail.com>
Date: Tue, 28 Jun 2022 20:18:34 +0200
From: Max Krummenacher <max.oss.09@...il.com>
To: max.krummenacher@...adex.com
Cc: Laurent Pinchart <laurent.pinchart@...asonboard.com>,
Rob Herring <robh@...nel.org>,
Dave Stevenson <dave.stevenson@...pberrypi.com>,
Maxime Ripard <mripard@...nel.org>,
Marek Vasut <marex@...x.de>,
Christoph Niedermaier <cniedermaier@...electronics.com>,
Francesco Dolcini <francesco.dolcini@...adex.com>,
Daniel Vetter <daniel@...ll.ch>,
David Airlie <airlied@...ux.ie>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Laurent Pinchart <laurent.pinchart+renesas@...asonboard.com>,
Nikita Kiryanov <nikita@...pulab.co.il>,
Rob Herring <robh+dt@...nel.org>,
Sam Ravnborg <sam@...nborg.org>,
Thierry Reding <thierry.reding@...il.com>,
devicetree@...r.kernel.org, dri-devel@...ts.freedesktop.org,
linux-kernel@...r.kernel.org
Subject: [PATCH v3 0/4] drm/panel: simple: add bus-format support for panel-dpi
From: Max Krummenacher <max.krummenacher@...adex.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/
Changes in v3:
- New commit to allow for additional port node properties
- Changed the V4L number space as suggested by Rob Herring
- Set constraints for bus-format as suggested by Rob Herring, used
the range reserved for RGB formats.
- Editorial changes as suggested by Rob Herring
- Moved the bus-format property under the port/endpoint node as
suggested by Rob Herring
Changes in v2:
- Fix errors found by dt_binding_check
- New commit allowing bus-format property for derived startek yaml
- Fix errors found by dt_binding_check
Max Krummenacher (4):
dt-bindings: display: panel-common: allow for additional port node
properties
dt-bindings: display: add new bus-format property for panel-dpi
dt-bindings: display: startek,startek-kd050c: allow bus-format
property
drm/panel: simple: add bus-format support for panel-dpi
.../bindings/display/panel/panel-common.yaml | 2 +-
.../bindings/display/panel/panel-dpi.yaml | 26 +++++++++-
.../display/panel/startek,startek-kd050c.yaml | 1 +
drivers/gpu/drm/panel/panel-simple.c | 49 +++++++++++++++++++
.../dt-bindings/display/dt-media-bus-format.h | 23 +++++++++
5 files changed, 99 insertions(+), 2 deletions(-)
create mode 100644 include/dt-bindings/display/dt-media-bus-format.h
--
2.20.1
Powered by blists - more mailing lists