mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH V2 0/6] drm: bridge: samsung-dsim: Support variable clocking
@ 2023-04-23 12:12 Adam Ford
  2023-04-23 12:12 ` [PATCH V2 1/6] drm: bridge: samsung-dsim: fix blanking packet size calculation Adam Ford
                   ` (6 more replies)
  0 siblings, 7 replies; 25+ messages in thread
From: Adam Ford @ 2023-04-23 12:12 UTC (permalink / raw)
  To: dri-devel
  Cc: m.szyprowski, aford, dario.binacchi, l.stach, Adam Ford,
	Inki Dae, Jagan Teki, Andrzej Hajda, Neil Armstrong, Robert Foss,
	Laurent Pinchart, Jonas Karlman, Jernej Skrabec, David Airlie,
	Daniel Vetter, Frieder Schrempf, linux-kernel

This series fixes the blanking pack size and the PMS calculation.  It then
adds support to allows the DSIM to dynamically DPHY clocks, and support
non-burst mode while allowing the removal of the hard-coded clock values
for the PLL for imx8m mini/nano/plus, and it allows the removal of the
burst-clock device tree entry when burst-mode isn't supported by connected
devices like an HDMI brige.  In that event, the HS clock is set to the value
requested by the bridge chip.

This has been tested on both an i.MX8M Nano and i.MX8M Plus, and should work
on i.MX8M Mini as well.


Adam Ford (5):
  drm: bridge: samsung-dsim: Fix PMS Calculator on imx8m[mnp]
  drm: bridge: samsung-dsim: Fetch pll-clock-frequency automatically
  drm: bridge: samsung-dsim: Dynamically configure DPHY timing
  drm: bridge: samsung-dsim: Support non-burst mode
  drm: bridge: samsung-dsim: Let blanking calcuation work in non-burst
    mode

Lucas Stach (1):
  drm: bridge: samsung-dsim: fix blanking packet size calculation

 drivers/gpu/drm/bridge/samsung-dsim.c | 150 ++++++++++++++++++++++----
 include/drm/bridge/samsung-dsim.h     |   5 +
 2 files changed, 135 insertions(+), 20 deletions(-)

---
V2:  Instead of using my packet blanking calculation, this integrates
     on from Lucas Stach which gets modified later in the series to
     cache the value of the HS-clock instead of having to do the
     calucations again.
     
     Instead of completely eliminating the PLL clock frequency from
     the device tree, this makes it optional to avoid breaking some
     Samsung devices.  When the samsung,pll-clock-frequency is not 
     found, it reads the value of the clock named "sclk_mipi"
     This also maintains backwords compatibility with older device
     trees.
     
     This also changes the DPHY calcuation from a Look-up table, 
     a reverse engineered algorithm which uses
     phy_mipi_dphy_get_default_config to determine the standard
     nominal values and calculates the cycles necessary to update
     the DPHY timings accordingly.
     
-- 
2.39.2


^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2023-05-04  7:15 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-23 12:12 [PATCH V2 0/6] drm: bridge: samsung-dsim: Support variable clocking Adam Ford
2023-04-23 12:12 ` [PATCH V2 1/6] drm: bridge: samsung-dsim: fix blanking packet size calculation Adam Ford
2023-04-24  9:03   ` Jagan Teki
2023-04-24  9:47     ` Adam Ford
2023-05-03 16:35       ` Jagan Teki
2023-05-04  7:14         ` Lucas Stach
2023-04-23 12:12 ` [PATCH V2 2/6] drm: bridge: samsung-dsim: Fix PMS Calculator on imx8m[mnp] Adam Ford
2023-04-24  6:53   ` Lucas Stach
2023-04-23 12:12 ` [PATCH V2 3/6] drm: bridge: samsung-dsim: Fetch pll-clock-frequency automatically Adam Ford
2023-04-23 12:12 ` [PATCH V2 4/6] drm: bridge: samsung-dsim: Dynamically configure DPHY timing Adam Ford
2023-04-24  6:12   ` Chen-Yu Tsai
2023-04-24  9:31     ` Adam Ford
2023-04-24  9:44       ` Chen-Yu Tsai
2023-04-24  9:47         ` Marek Szyprowski
2023-04-24  9:50           ` Adam Ford
2023-04-24 12:48             ` Adam Ford
2023-04-23 12:12 ` [PATCH V2 5/6] drm: bridge: samsung-dsim: Support non-burst mode Adam Ford
2023-04-24  8:25   ` Marek Szyprowski
2023-04-24 10:00     ` Adam Ford
2023-04-28 12:31       ` Marek Szyprowski
2023-04-28 13:35         ` Adam Ford
2023-04-28 14:04           ` Marek Szyprowski
2023-04-28 14:09             ` Adam Ford
2023-04-23 12:12 ` [PATCH V2 6/6] drm: bridge: samsung-dsim: Let blanking calcuation work in " Adam Ford
2023-04-24  7:20 ` [PATCH V2 0/6] drm: bridge: samsung-dsim: Support variable clocking Chen-Yu Tsai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®