From: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Cc: David Airlie <airlied@linux.ie>, Daniel Vetter <daniel@ffwll.ch>,
Rob Herring <robh+dt@kernel.org>,
Lee Jones <lee.jones@linaro.org>,
Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Maxime Ripard <mripard@kernel.org>,
Thomas Zimmermann <tzimmermann@suse.de>,
Paul Kocialkowski <paul.kocialkowski@bootlin.com>,
Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Subject: [PATCH v8 0/4] drm: LogiCVC display controller support
Date: Wed, 23 Dec 2020 22:29:43 +0100 [thread overview]
Message-ID: <20201223212947.160565-1-paul.kocialkowski@bootlin.com> (raw)
This series introduces support for the LogiCVC display controller.
The controller is a bit unusual since it is usually loaded as
programmable logic on Xilinx FPGAs or Zynq-7000 SoCs.
More details are presented on the main commit for the driver.
More information about the controller is available on the dedicated
web page: https://www.logicbricks.com/Products/logiCVC-ML.aspx
Note that this driver has rather simple connector management, which was
not converted to drm_panel_bridge to keep the ability to enable the panel
at first vblank but also to support DVI.
Change since v7:
- Replaced DRM_INFO/DRM_ERROR/DRM_DEBUG_DRIVER with fashions using drm_device;
- Fixed yaml binding alignment issue;
- Renamed logicvc-display name to the generic "display" name;
- Added patternProperties match for display in the parent mfd binding;
- Used drm_atomic_get_new_crtc_state when needed;
- Checked mode in mode_valid instead of atomic_check;
- Switched to drmm_mode_config_init;
- Removed useless logicvc_connector_destroy wrapper;
- Removed useless drm_dev_put calls;
- Removed atomic_commit_tail that enables the panel and streamlined the logic;
- Reworked Makefile cosmetics;
- Fixed checkpatch issues.
Changes since v6:
- Updated to the latest DRM internal API changes;
- Used an enum to index dt properties instead of the name string.
Changes since v5:
- Subclass DRM device and use devm_drm_dev_alloc for allocation;
- Removed call to drm_mode_config_cleanup (done automatically with devm);
- Some related code cleanups;
- Bring back not-for-merge patch adding colorkey support.
Changes since v4:
- Updated to internal DRM API changes (rebased on drm-misc-next);
- Added Kconfig dependency on OF;
- Added MAINTAINERS entry;
- Used drm_err and dev_err instead of DRM_ERROR where possible;
- Various cosmetic changes.
Changes since v3:
- Rebased on latest drm-misc;
- Improved event lock wrapping;
- Added collect tag;
- Added color-key support patch (not for merge, for reference only).
Changes since v2:
- Fixed and slightly improved dt schema.
Changes since v1:
- Switched dt bindings documentation to dt schema;
- Described more possible dt parameters;
- Added support for the lvds-3bit interface;
- Added support for grabbing syscon regmap from parent node;
- Removed layers count property and count layers child nodes instead.
Paul Kocialkowski (4):
dt-bindings: display: Document the Xylon LogiCVC display controller
dt-bindings: mfd: logicvc: Add patternProperties for the display
drm: Add support for the LogiCVC display controller
NOTFORMERGE: drm/logicvc: Add plane colorkey support
.../display/xylon,logicvc-display.yaml | 313 +++++++
.../bindings/mfd/xylon,logicvc.yaml | 3 +
MAINTAINERS | 6 +
drivers/gpu/drm/Kconfig | 2 +
drivers/gpu/drm/Makefile | 1 +
drivers/gpu/drm/logicvc/Kconfig | 9 +
drivers/gpu/drm/logicvc/Makefile | 9 +
drivers/gpu/drm/logicvc/logicvc_crtc.c | 280 +++++++
drivers/gpu/drm/logicvc/logicvc_crtc.h | 21 +
drivers/gpu/drm/logicvc/logicvc_drm.c | 474 +++++++++++
drivers/gpu/drm/logicvc/logicvc_drm.h | 67 ++
drivers/gpu/drm/logicvc/logicvc_interface.c | 214 +++++
drivers/gpu/drm/logicvc/logicvc_interface.h | 28 +
drivers/gpu/drm/logicvc/logicvc_layer.c | 762 ++++++++++++++++++
drivers/gpu/drm/logicvc/logicvc_layer.h | 71 ++
drivers/gpu/drm/logicvc/logicvc_mode.c | 80 ++
drivers/gpu/drm/logicvc/logicvc_mode.h | 15 +
drivers/gpu/drm/logicvc/logicvc_of.c | 185 +++++
drivers/gpu/drm/logicvc/logicvc_of.h | 46 ++
drivers/gpu/drm/logicvc/logicvc_regs.h | 88 ++
20 files changed, 2674 insertions(+)
create mode 100644 Documentation/devicetree/bindings/display/xylon,logicvc-display.yaml
create mode 100644 drivers/gpu/drm/logicvc/Kconfig
create mode 100644 drivers/gpu/drm/logicvc/Makefile
create mode 100644 drivers/gpu/drm/logicvc/logicvc_crtc.c
create mode 100644 drivers/gpu/drm/logicvc/logicvc_crtc.h
create mode 100644 drivers/gpu/drm/logicvc/logicvc_drm.c
create mode 100644 drivers/gpu/drm/logicvc/logicvc_drm.h
create mode 100644 drivers/gpu/drm/logicvc/logicvc_interface.c
create mode 100644 drivers/gpu/drm/logicvc/logicvc_interface.h
create mode 100644 drivers/gpu/drm/logicvc/logicvc_layer.c
create mode 100644 drivers/gpu/drm/logicvc/logicvc_layer.h
create mode 100644 drivers/gpu/drm/logicvc/logicvc_mode.c
create mode 100644 drivers/gpu/drm/logicvc/logicvc_mode.h
create mode 100644 drivers/gpu/drm/logicvc/logicvc_of.c
create mode 100644 drivers/gpu/drm/logicvc/logicvc_of.h
create mode 100644 drivers/gpu/drm/logicvc/logicvc_regs.h
--
2.29.2
next reply other threads:[~2020-12-23 21:30 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-23 21:29 Paul Kocialkowski [this message]
2020-12-23 21:29 ` [PATCH v8 1/4] dt-bindings: display: Document the Xylon LogiCVC display controller Paul Kocialkowski
2020-12-24 17:01 ` Rob Herring
2020-12-25 12:29 ` Paul Kocialkowski
2021-01-12 15:17 ` Rob Herring
2021-09-14 19:23 ` Paul Kocialkowski
2021-10-13 14:14 ` Geert Uytterhoeven
2020-12-23 21:29 ` [PATCH v8 2/4] dt-bindings: mfd: logicvc: Add patternProperties for the display Paul Kocialkowski
2020-12-23 21:29 ` [PATCH v8 3/4] drm: Add support for the LogiCVC display controller Paul Kocialkowski
2020-12-23 21:29 ` [PATCH v8 4/4] NOTFORMERGE: drm/logicvc: Add plane colorkey support Paul Kocialkowski
2020-12-23 22:20 ` Simon Ser
2020-12-23 23:31 ` Ilia Mirkin
2021-01-05 15:00 ` Paul Kocialkowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201223212947.160565-1-paul.kocialkowski@bootlin.com \
--to=paul.kocialkowski@bootlin.com \
--cc=airlied@linux.ie \
--cc=daniel@ffwll.ch \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=lee.jones@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=robh+dt@kernel.org \
--cc=thomas.petazzoni@bootlin.com \
--cc=tzimmermann@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).