All of lore.kernel.org
 help / color / mirror / Atom feed
From: Frank Li <Frank.li@oss.nxp.com>
To: Luca Ceresoli <luca.ceresoli@bootlin.com>
Cc: "Andrzej Hajda" <andrzej.hajda@intel.com>,
	"Neil Armstrong" <neil.armstrong@linaro.org>,
	"Robert Foss" <rfoss@kernel.org>,
	"Laurent Pinchart" <Laurent.pinchart@ideasonboard.com>,
	"Jonas Karlman" <jonas@kwiboo.se>,
	"Jernej Skrabec" <jernej.skrabec@gmail.com>,
	"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>,
	"Guido Günther" <agx@sigxcpu.org>,
	"Fabio Estevam" <festevam@gmail.com>,
	"Robert Chiras" <robert.chiras@nxp.com>,
	"Sam Ravnborg" <sam@ravnborg.org>,
	dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org,
	"Oliver F. Brown" <oliver.brown@oss.nxp.com>
Subject: Re: [PATCH RESEND v4 4/4] drm/bridge: nwl-dsi: Correct MIPI DSI horizontal sync timing
Date: Thu, 15 Oct 2026 10:18:19 -0500	[thread overview]
Message-ID: <atDuuwqIm_Du3GJi@SMW015318> (raw)
In-Reply-To: <179207245898.1117464.4430806907649454372.b4-review@b4>

On Thu, Oct 15, 2026 at 03:54:18PM +0200, Luca Ceresoli wrote:
> Hello Robert, Oliver, Frank, all,
>
> > The NWL MIPI Host controller registers specifies the horizontal front
> > porch, sync pulse, and back porch in DSI packet payload size in bytes (ie.
> > not in pixel clocks).
> >
> > The calculation for this is (mostly) described in section 13.6.3.5.1.2 of
> > the i.MX 8M Dual/8M QuadLite/8M Quad Applications Processors Reference
> > Manual (rev. 3.1). The formula shown there does not take packet header size
> > into account though.
> >
> > The formula implemented here converts the hfp, hsa, and hbp to DSI packet
> > bytes and then subtracts the number of packet header bytes.
> >
> > It is worth noting that these values only needs to match approximately,
> > according to the reference manual.
> >
> > Based on commit in NXP vendor tree
> > commit f2a61699749d ("LF-7981-4: drm/bridge: nwl-dsi: Correct MIPI DSI horizontal sync timing")
> >
> > Signed-off-by: Esben Haabendal <esben@geanix.com>
> > Cc: Robert Chiras <robert.chiras@nxp.com>
> > Cc: Oliver F. Brown <oliver.brown@oss.nxp.com>
>
> It would be great to have this reviewed by someone at NXP.
>
> @Frank, do you think you can help with this?

Let me talk with oliver, I am not familar with this part.

Frank

>
> On my side I don't know the hardware and didn't check the maths
> implemented. Still LGTM:
> Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
>
> --
> Luca Ceresoli, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com
>

  reply	other threads:[~2026-10-15 15:18 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-14  7:44 [PATCH RESEND v4 0/4] drm/bridge: nwl-dsi: Various fixes Esben Haabendal
2026-10-14  7:44 ` [PATCH RESEND v4 1/4] drm/bridge: nwl-dsi: Cleanup endpoint mux control selection Esben Haabendal
2026-10-14  7:44 ` [PATCH RESEND v4 2/4] drm/bridge: nwl-dsi: Limit LCDIF specific sync override Esben Haabendal
2026-10-15 13:54   ` Luca Ceresoli
2026-10-14  7:44 ` [PATCH RESEND v4 3/4] drm/bridge: nwl-dsi: Correct auto-insert EOTP behavior Esben Haabendal
2026-10-15 13:54   ` Luca Ceresoli
2026-10-14  7:44 ` [PATCH RESEND v4 4/4] drm/bridge: nwl-dsi: Correct MIPI DSI horizontal sync timing Esben Haabendal
2026-10-15 13:54   ` Luca Ceresoli
2026-10-15 15:18     ` Frank Li [this message]
2026-10-16 10:12   ` Liu Ying

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=atDuuwqIm_Du3GJi@SMW015318 \
    --to=frank.li@oss.nxp.com \
    --cc=Laurent.pinchart@ideasonboard.com \
    --cc=agx@sigxcpu.org \
    --cc=airlied@gmail.com \
    --cc=andrzej.hajda@intel.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=festevam@gmail.com \
    --cc=jernej.skrabec@gmail.com \
    --cc=jonas@kwiboo.se \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luca.ceresoli@bootlin.com \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mripard@kernel.org \
    --cc=neil.armstrong@linaro.org \
    --cc=oliver.brown@oss.nxp.com \
    --cc=rfoss@kernel.org \
    --cc=robert.chiras@nxp.com \
    --cc=sam@ravnborg.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.