Star64_linux/drivers/gpu/drm/omapdrm/dss
Venkateswara Rao Mandela c618a3a93b drm/omap: Implement workaround for DRA7 errata ID:i932
Description of DRA7 Errata i932:

In rare circumstances DPLL_VIDEO1 and DPLL_VIDEO2 PLL's may not lock on
the first attempt during DSS initialization. When this occurs, a
subsequent attempt to relock the PLL will result in PLL successfully
locking.

This patch does the following as per the errata recommendation:

- retries locking the PLL upto 20 times.

- The time to wait for a PLL lock set to 1000 REFCLK cycles. We use
usleep_range to wait for 1000 REFCLK cycles in the us range. This tight
constraint is imposed as a lock later than 1000 REFCLK cycles may have
high jitter.

- Criteria for PLL lock is extended from check on just the PLL_LOCK bit
to check on 6 PLL_STATUS bits.

Silicon Versions Impacted:
DRA71, DRA72, DRA74, DRA76 - All silicon revisions
AM57x - All silicon revisions

OMAP4/5 are not impacted by this errata

Signed-off-by: Venkateswara Rao Mandela <venkat.mandela@ti.com>
[tomi.valkeinen@ti.com: ported to v4.14]
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2018-06-28 13:41:05 +03:00
..
base.c drm: omapdrm: dispc: Pass DISPC pointer to dispc_ops operations 2018-03-01 09:18:18 +02:00
core.c drm: omapdrm: Simplify platform registration 2017-12-19 11:21:32 +02:00
dispc.c drm/omap: add missing linefeeds to prints 2018-05-07 10:19:12 -04:00
dispc.h drm: omapdrm: Remove filename from header and fix copyright tag 2017-12-19 11:21:32 +02:00
dispc_coefs.c drm: omapdrm: Remove filename from header and fix copyright tag 2017-12-19 11:21:32 +02:00
display.c drm: omapdrm: dss: Make omapdss_default_get_timings static 2018-03-01 09:18:18 +02:00
dpi.c drm/omap: fix crash if there's no video PLL 2018-04-05 12:47:35 +03:00
dsi.c drm: omapdrm: dispc: Pass DISPC pointer to remaining dispc API functions 2018-03-01 09:18:18 +02:00
dss-of.c drm: omapdrm: dss: Don't export functions internal to omapdss-base 2018-03-01 09:18:18 +02:00
dss.c drm/omap: fix compile error when debugfs is disabled 2018-03-14 10:39:50 +02:00
dss.h drm/omap: Implement workaround for DRA7 errata ID:i932 2018-06-28 13:41:05 +03:00
hdmi.h drm: omapdrm: hdmi4: Allocate the omap_hdmi data structure dynamically 2018-03-01 09:18:18 +02:00
hdmi4.c drm/omap: fix uninitialized ret variable 2018-05-07 10:19:11 -04:00
hdmi4_cec.c drm: omapdrm: hdmi4: Allocate the omap_hdmi data structure dynamically 2018-03-01 09:18:18 +02:00
hdmi4_cec.h omapdrm: hdmi4_cec: add OMAP4 HDMI CEC support 2017-10-12 10:49:14 +03:00
hdmi4_core.c drm/omap: check return value from soc_device_match 2018-05-07 10:19:11 -04:00
hdmi4_core.h drm: omapdrm: hdmi4: Allocate the omap_hdmi data structure dynamically 2018-03-01 09:18:18 +02:00
hdmi5.c drm/omap: fix uninitialized ret variable 2018-05-07 10:19:11 -04:00
hdmi5_core.c drm: omapdrm: Use unsigned int type 2018-03-01 09:09:10 +02:00
hdmi5_core.h
hdmi_common.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hdmi_phy.c drm: omapdrm: Use unsigned int type 2018-03-01 09:09:10 +02:00
hdmi_pll.c drm: omapdrm: dss: Store the registered plls array in struct dss_device 2018-03-01 09:18:18 +02:00
hdmi_wp.c drm: omapdrm: Use unsigned int type 2018-03-01 09:09:10 +02:00
Kconfig omapdrm: hdmi4: hook up the HDMI CEC support 2017-10-12 10:49:14 +03:00
Makefile main drm pull request for v4.15 2017-11-15 20:42:10 -08:00
omapdss-boot-init.c drm: omapdrm: Remove filename from header and fix copyright tag 2017-12-19 11:21:32 +02:00
omapdss.h drm/omap: add writeback funcs to dispc_ops 2018-03-01 09:18:18 +02:00
output.c drm: omapdrm: dss: Pass omap_drm_private pointer to dss_mgr_ops 2018-03-01 09:18:18 +02:00
pll.c drm/omap: Implement workaround for DRA7 errata ID:i932 2018-06-28 13:41:05 +03:00
sdi.c drm/omap: fix NULL deref crash with SDI displays 2018-05-24 19:14:46 +03:00
venc.c drm: omapdrm: venc: Allocate the venc private data structure dynamically 2018-03-01 09:18:18 +02:00
video-pll.c drm/omap: Implement workaround for DRA7 errata ID:i932 2018-06-28 13:41:05 +03:00