Linux kernel and device drivers for NXP i.MX platforms
 help / color / mirror / Atom feed
From: Laurentiu Palcu <laurentiu.palcu@oss.nxp.com>
To: Abel Vesa <abelvesa@kernel.org>, Peng Fan <peng.fan@nxp.com>,
	 Stephen Boyd <sboyd@kernel.org>,
	Brian Masney <bmasney+clk@redhat.com>,
	 Jerome Brunet <jbrunet+clk@baylibre.com>,
	Rob Herring <robh@kernel.org>,
	 Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>, Frank Li <Frank.Li@nxp.com>,
	 Sascha Hauer <s.hauer@pengutronix.de>,
	Pengutronix Kernel Team <kernel@pengutronix.de>,
	 Fabio Estevam <festevam@gmail.com>,
	Philipp Zabel <p.zabel@pengutronix.de>,
	 Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
	Maxime Ripard <mripard@kernel.org>,
	 Thomas Zimmermann <tzimmermann@suse.de>,
	David Airlie <airlied@gmail.com>,
	 Simona Vetter <simona@ffwll.ch>,
	Luca Ceresoli <luca.ceresoli@bootlin.com>
Cc: linux-clk@vger.kernel.org, imx@lists.linux.dev,
	 devicetree@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	 linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org
Subject: Re: [PATCH v13 0/5] Add support for i.MX94 DCIF
Date: Fri, 27 Nov 2026 15:41:31 +0200	[thread overview]
Message-ID: <awmGCp4e2pgtxsqr@vm> (raw)
In-Reply-To: <20261120-dcif-upstreaming-v13-0-966ac248773f@oss.nxp.com>

Hi Luca, Frank,

All patches in v13 now have review tags. Since we are approaching -rc6,
would it be possible to pick this up for 7.5?

Luca: could you apply 1/5 and 2/5 to drm-misc-next?
Frank: could 3/5-5/5 go through i.MX tree?

Thanks,
Laurentiu

On Fri, Nov 20, 2026 at 12:50:35PM +0000, Laurentiu Palcu wrote:
> Hi,
> 
> This patch-set adds support for the i.MX94 Display Control Interface.
> 
> Thanks,
> Laurentiu
> 
> ---
> Changes in v13:
> - Rebased to latest linux-next (next-20261119);
> - 1/5: No change;
> - 2/5: When disabling the CRC, also clear CRC_TRIG and set
>   CRC_SHADOW_LOAD_EN. CRC_EN is shadowed, so the disable was never
>   latched, and CRC_TRIG is not self-clearing in continuous mode, so a
>   later re-enable did not write the register (Sashiko). Sashiko's
>   comments about register access and unbalanced clock disable when
>   runtime PM resume fails were not addressed: the only failure point
>   is clk_bulk_prepare_enable() and the clocks are managed by the SCMI
>   firmware, so extra checks would only add noise. See:
>   https://lore.kernel.org/r/awAgaVs4LLwqVA57@vm
> - 3/5: No change;
> - 4/5: No change;
> - 5/5: No change;
> - Link to v12: https://patch.msgid.link/20261118-dcif-upstreaming-v12-0-29b35e27a1cc@oss.nxp.com
> 
> Changes in v12:
> - Rebased to latest linux-next (next-20261116);
> - Dropped the fsl-ldb patches (v11 1/7 and 2/7) since they were applied
>   to drm-misc-next by Luca and are now in linux-next;
> - 1/5: No change;
> - 2/5: Take a vblank reference while the CRC is enabled, otherwise the
>   VS_BLANK interrupt gets masked on a static screen and reads from the
>   debugfs crc/data file block forever; always stop the CRC when the CRTC
>   is disabled (Sashiko); in the IRQ handler, only handle the status bits
>   that are enabled in IE0/IE1 and return IRQ_NONE when none is pending
>   (Sashiko); reject negative ROI coordinates in the CRC source parser
>   (Sashiko); propagate runtime PM resume failures from
>   dcif_hw_probe_init() and call it after KMS init, so the hardware is
>   not touched before the bridge lookup can defer and before the
>   supplier device links are created (Sashiko); reject framebuffers whose
>   pitch does not fit in the 16-bit CTRLDESC3 pitch field (Sashiko); use
>   of_drm_get_bridge_by_endpoint() instead of the deprecated
>   devm_drm_of_get_bridge(), and drop the DRM_PANEL_BRIDGE select and the
>   unused drm_panel.h include (Luca); declare and initialize the __free()
>   bridge pointers in one statement (Luca, Sashiko); allow COMPILE_TEST;
>   update the copyright year to 2026 (Luca);
> - 3/5: Collected Rob's r-b tag;
> - 4/5: No change;
> - 5/5: No change;
> - Link to v11: https://patch.msgid.link/20261110-dcif-upstreaming-v11-0-9e13c85ae0d8@oss.nxp.com
> 
> Changes in v11:
> - Rebased to latest linux-next (next-20261109);
> - Dropped "drm/bridge: fsl-ldb: Get the next non-panel bridge" since the
>   driver already gets the next bridge after upstream commit 802372cf316a
>   ("drm/bridge: fsl-ldb: don't create a panel_bridge") (Luca). The
>   remaining cleanups suggested by Luca were sent as a separate patch,
>   not needed by this series:
>   https://lore.kernel.org/r/20261030163254.3175671-1-laurentiu.palcu@oss.nxp.com
> - Dropped the standalone MAINTAINERS patch. The entry is now added
>   together with the DCIF binding (3/7) and the driver (4/7) to make
>   checkpatch happy;
> - 1/7: No change;
> - 2/7: Collected Luca's r-b tag;
> - 3/7: Add the MAINTAINERS entry;
> - 4/7: Program the plane registers (format, size, pitch, base address,
>   layer enable) only from the plane update path, no longer from CRTC
>   enable; arm the vblank event with drm_crtc_arm_vblank_event() in
>   atomic_flush and drop the driver-private event caching, which fixes
>   the vblank refcount and early-event issues; on probe, mask and ack the
>   interrupts left enabled by the bootloader, and request the IRQ only
>   after KMS init to avoid a NULL CRTC dereference; dropped the unneeded
>   mod_devicetable.h and drm_fb_dma_helper.h includes; style fixes in
>   the of_device_id table and platform_driver initializer (Uwe); follow
>   the reference manual software reset sequence: wait for the DPI to go
>   idle after clearing DISP_ON and hold the AXI fetches (AXI_RD_HOLD)
>   until the pending reads are done before pulsing SW_RST; stop the
>   controller at probe if the bootloader left it running; add device
>   links to the display CSR and the LDB to enforce the suspend/resume
>   ordering, which fixes a vblank timeout after system resume; include
>   <linux/bitfield.h> in dcif-reg.h; in mode_valid, reject modes larger
>   than the mode_config max_width/max_height and modes whose porches or
>   sync widths overflow the 12-bit DPI timing fields;
> - 5/7: Renamed the 'ldb' child node to the generic 'bridge' node name
>   (Conor);
> - 6/7: Renamed the ldb@4 node to bridge@4 accordingly;
> - 7/7: No change;
> - Link to v10: https://patch.msgid.link/20261006-dcif-upstreaming-v10-0-bcfb28de0aae@oss.nxp.com
> 
> Changes in v10:
> - Rebased to latest linux-next (next-20261005);
> - 1/9: No functional change;
> - 2/9: Switch to using of_drm_get_bridge_by_endpoint() helper for
>   fetching the next bridge;
> - 3/9: No functional change;
> - 4/9: No functional change;
> - 5/9: Fixed a pixel-clock unit mismatch bug, ROI now derived from mode
>   at program time, CRC reprogrammed on ROI/source change, bus-format
>   validated with a whitelist, forced modeset on CRTC activation
>   (dcif_atomic_check), vblank event flushed on disable to avoid hangs,
>   dropped PREMULTI blend support since PREMULTI is not mandatory anymore
>   and the display controller does not support it, probe error paths
>   checked, shared dcif_set_csc()/dcif_plane_disable_layer() helpers
>   introduced;
> - 6/9: restructured to reuse the existing conditional schema pattern for
>   the new nxp,imx94-lvds-csr compatible, instead of unconditional
>   properties. Dropped Krzysztof r-b tag as it needs reviewed;
> - 7/9: No functional change (context shift);
> - 8/9: regulator nodes relocated/renamed (reg_1v8_ext/reg_3v3_ext ->
>   reg_1p8v_ext/reg_3p3v_ext) to match existing naming convention;
> - 9/9: No functional change (context shift);
> - Link to v9: https://patch.msgid.link/20260612-dcif-upstreaming-v9-0-8d0ff89aa3c5@oss.nxp.com
> 
> Changes in v9:
> - Rebased to latest linux-next (next-20260611);
> - 2/9: Reworked to store the next bridge in fsl_ldb->bridge.next_bridge
>   (taking a reference with drm_bridge_get()) instead of adding a new
>   dedicated field. Removed the r-b tags for this patch since it needs a
>   fresh review;
> - 3/9: Fixed the i.MX94 LDB max_clk_khz limit (165 MHz -> 148.5 MHz) to
>   match the actual hardware limit. Removed the r-b tags for this patch
>   since it needs a fresh review;
> - 4/9: Added a 'required:' properties list to the binding. Removed
>   Krzysztof's r-b tag for this patch since it needs a fresh review;
> - 5/9: Renamed the CRC source helpers (dcif_crc_source_*) and made them
>   unconditionally available, dropping the CONFIG_DEBUG_FS stubs;
>   improved CRC source parsing (auto ROI for the full-frame source,
>   unsigned params, safer string handling); rebased onto the
>   drm_atomic_state -> drm_atomic_commit rename in linux-next; reworked
>   CRC/modeset gating with new has_crc and crtc_pm_enabled flags and
>   proper PM error handling; switched event_lock to spinlock_irq; removed
>   a redundant connector-attach call and fixed an error format string;
>   added new pixel formats and full alpha/blend-mode support;
> - 6/9: YAML quoting style fix only, no functional change;
> - 7/9: Combined the former "arm64: dts: imx943: Add LVDS/DISPLAY CSR
>   nodes" prerequisite and the "arm64: dts: imx943: Add display pipeline
>   nodes" patch into a single new patch targeting the shared imx94.dtsi
>   instead of imx943.dtsi, removing the dependency on Peng Fan's
>   not-yet-merged patch;
> - 8/9: Renamed the IT6263 bridge node to 'hdmi@4c' and fixed its
>   reset-gpios polarity to GPIO_ACTIVE_LOW;
> - Link to v8: https://lore.kernel.org/r/20260304-dcif-upstreaming-v8-0-bec5c047edd4@oss.nxp.com
> 
> Changes in v8:
> - Rebased to latest linux-next (next-20260303). Patch 2/9 had a minor
>   conflict bacause of a patch introduced recently;
> - 8/9: Fixed CHECK_DTBS errors reported by Rob's bot due to missing
>   regulators. Removed the r-b tag for this patch because it needs a
>   fresh review;
> - Link to v7: https://lore.kernel.org/r/20260122-dcif-upstreaming-v7-0-19ea17eb046f@oss.nxp.com
> 
> Changes in v7:
> - Rebased to latest linux-next;
> - Addressed some new checkpatch warnings: kzalloc -> kzalloc_obj;
> - Fixed a couple of static check warnings in probe();
> - Added Luca's r-b tag for bridge refcounting;
> - Link to v6: https://lore.kernel.org/r/20251103-dcif-upstreaming-v6-0-76fcecfda919@oss.nxp.com
> 
> Changes in v6:
> - 2/9: Collected r-b tag from Francesco;
> - 3/9: Removed ch_max_clk_khz variable as suggested by Luca and added
>   his r-b tag;
> - 4/9: Collected r-b tag;
> - 5/9: Call drm_bridge_put() automatically in
>   dcif_crtc_query_output_bus_format() by using a cleanup action (Luca);
> - 6/9: Moved allOf: block after required: block (Krzysztof). Collected
>   r-b tag;
> - Link to v5: https://lore.kernel.org/r/20250911-dcif-upstreaming-v5-0-a1e8dab8ae40@oss.nxp.com
> 
> Changes in v5:
> - 4/9: Removed "bindings for" from the title, changed the port
>   definition and simplified the example;
> - 6/9: Fixed the way 'ldb' child node is declared: declare the
>   'ldb' child node out of if:then: block and set the property
>   to false for compatibles other than nxp,imx94-lvds-csr;
> - Link to v4: https://lore.kernel.org/r/20250903123332.2569241-1-laurentiu.palcu@oss.nxp.com
> 
> Changes in v4:
> - Addressed remaining DCIF driver comments from Frank;
> - Limit the 'ldb' child node only to CSRs compatible with 'nxp,imx94-lvds-csr'
>   in the binding file. Since LVDS CSRs are a minority, I chose to
>   use the if:then: construct instead of if:not:then:;
> - Remove the '#address-cells' and '#size-cells' from the ldb node, in
>   imx94.dtsi, as they're not needed;
> - Link to v3: https://lore.kernel.org/r/20250806150521.2174797-1-laurentiu.palcu@oss.nxp.com
> 
> Changes in v3:
> - Removed the BLK CTL patches and created a separate patch set [2] for them;
> - Collected r-b tags for 1/9, 2/9, 3/9 and 9/9;
> - Removed the DCIF QoS functionality until I find a better way to
>   implement it through syscon. QoS functionality will be added in
>   subsequent patches. Also, used devm_clk_bulk_get_all() and used
>   dev_err_probe() as suggested;
> - Addressed Frank's and Krzysztof's comments on the DCIF bindings;
> - Addressed Frank's comments on dtsi and dts files;
> - Added a new binding patch, 6/9, for adding 'ldb' optional property to
>   nxp,imx95-blk-ctl.yaml;
> - Link to v2: https://lore.kernel.org/r/20250716081519.3400158-1-laurentiu.palcu@oss.nxp.com
> 
> Changes in v2:
> - reworked the BLK_CTL patch and split in 2 to make it easier for
>   review;
> - split the dts and dtsi patch in 2 separate ones;
> - addressed Frank's comments in DCIF driver;
> - addressed Rob's comments for the bindings files;
> - addressed a couple of checkpatch issues;
> - Link to v1: https://lore.kernel.org/r/20250709122332.2874632-1-laurentiu.palcu@oss.nxp.com
> 
> ---
> Laurentiu Palcu (4):
>       dt-bindings: display: imx: Add i.MX94 DCIF
>       dt-bindings: clock: nxp,imx95-blk-ctl: Add LDB bridge child node
>       arm64: dts: imx94: Add display pipeline nodes
>       arm64: dts: imx943-evk: Add display support using IT6263
> 
> Sandor Yu (1):
>       drm/imx: Add support for i.MX94 DCIF
> 
>  .../bindings/clock/nxp,imx95-blk-ctl.yaml          |  24 +-
>  .../bindings/display/imx/nxp,imx94-dcif.yaml       |  90 +++
>  MAINTAINERS                                        |   9 +
>  arch/arm64/boot/dts/freescale/imx94.dtsi           |  82 +++
>  arch/arm64/boot/dts/freescale/imx943-evk.dts       |  86 +++
>  drivers/gpu/drm/imx/Kconfig                        |   1 +
>  drivers/gpu/drm/imx/Makefile                       |   1 +
>  drivers/gpu/drm/imx/dcif/Kconfig                   |  15 +
>  drivers/gpu/drm/imx/dcif/Makefile                  |   5 +
>  drivers/gpu/drm/imx/dcif/dcif-crc.c                | 238 +++++++
>  drivers/gpu/drm/imx/dcif/dcif-crc.h                |  54 ++
>  drivers/gpu/drm/imx/dcif/dcif-crtc.c               | 710 +++++++++++++++++++++
>  drivers/gpu/drm/imx/dcif/dcif-drv.c                | 250 ++++++++
>  drivers/gpu/drm/imx/dcif/dcif-drv.h                |  90 +++
>  drivers/gpu/drm/imx/dcif/dcif-kms.c                | 181 ++++++
>  drivers/gpu/drm/imx/dcif/dcif-plane.c              | 300 +++++++++
>  drivers/gpu/drm/imx/dcif/dcif-reg.h                | 270 ++++++++
>  17 files changed, 2405 insertions(+), 1 deletion(-)
> ---
> base-commit: d785d132202e8e8e93335ebf74ad5b29fca0951f
> change-id: 20260602-dcif-upstreaming-fb177f3c9351
> 
> Best regards,
> --  
> Laurentiu Palcu <laurentiu.palcu@oss.nxp.com>

-- 
Thanks,
Laurentiu

  parent reply	other threads:[~2026-11-27 13:41 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-20 12:50 [PATCH v13 0/5] Add support for i.MX94 DCIF Laurentiu Palcu
2026-11-20 12:50 ` [PATCH v13 1/5] dt-bindings: display: imx: Add " Laurentiu Palcu
2026-11-25 13:02   ` Daniel Baluta
2026-11-20 12:50 ` [PATCH v13 2/5] drm/imx: Add support for " Laurentiu Palcu
2026-11-20 13:16   ` sashiko-bot
2026-11-20 13:21     ` Laurentiu Palcu
2026-11-25 18:05   ` Luca Ceresoli
2026-11-20 12:50 ` [PATCH v13 3/5] dt-bindings: clock: nxp,imx95-blk-ctl: Add LDB bridge child node Laurentiu Palcu
2026-11-25 13:05   ` Daniel Baluta
2026-11-20 12:50 ` [PATCH v13 4/5] arm64: dts: imx94: Add display pipeline nodes Laurentiu Palcu
2026-11-25 18:05   ` Luca Ceresoli
2026-11-25 19:23   ` Frank Li
2026-11-20 12:50 ` [PATCH v13 5/5] arm64: dts: imx943-evk: Add display support using IT6263 Laurentiu Palcu
2026-11-25 18:05   ` Luca Ceresoli
2026-11-25 19:24   ` Frank Li
2026-11-27 13:41 ` Laurentiu Palcu [this message]
2026-11-27 15:15   ` [PATCH v13 0/5] Add support for i.MX94 DCIF Luca Ceresoli

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=awmGCp4e2pgtxsqr@vm \
    --to=laurentiu.palcu@oss.nxp.com \
    --cc=Frank.Li@nxp.com \
    --cc=abelvesa@kernel.org \
    --cc=airlied@gmail.com \
    --cc=bmasney+clk@redhat.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=festevam@gmail.com \
    --cc=imx@lists.linux.dev \
    --cc=jbrunet+clk@baylibre.com \
    --cc=kernel@pengutronix.de \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luca.ceresoli@bootlin.com \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mripard@kernel.org \
    --cc=p.zabel@pengutronix.de \
    --cc=peng.fan@nxp.com \
    --cc=robh@kernel.org \
    --cc=s.hauer@pengutronix.de \
    --cc=sboyd@kernel.org \
    --cc=simona@ffwll.ch \
    --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