Searched hist:c618a3a93b5a118fcf4afe5fe85e83c190f4b127 (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/gpu/drm/omapdrm/dss/ |
H A D | pll.c | diff c618a3a93b5a118fcf4afe5fe85e83c190f4b127 Wed Jan 24 04:45:09 CST 2018 Venkateswara Rao Mandela <venkat.mandela@ti.com> 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>
|
H A D | video-pll.c | diff c618a3a93b5a118fcf4afe5fe85e83c190f4b127 Wed Jan 24 04:45:09 CST 2018 Venkateswara Rao Mandela <venkat.mandela@ti.com> 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>
|
H A D | dss.h | diff c618a3a93b5a118fcf4afe5fe85e83c190f4b127 Wed Jan 24 04:45:09 CST 2018 Venkateswara Rao Mandela <venkat.mandela@ti.com> 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>
|