This seems to cause a system hang with an HDMI monitor attached - likely
in unpowergate as if I disable powergating the hang doesn't happen.
Have you tested with a display attached?
Mikko
On 01/25/2018 04:00 PM, Peter De Schrijver wrote:
This patch series introduces the Memory Built-In Self Test (MBIST)
work around (WAR) needed when power ungating certain domains. More
details can be found in 'clk: tegra: MBIST WAR for Tegra210'. I choose to
implement the WAR in the Tegra210 clock driver, because most accesses are
to CAR registers and for the VENC domain, we need to make sure the CSI
clock source is not changed during the WAR execution.
Changes in v4:
* moved locking and clock control to tegra210_clk_handle_mbist_war()
* propagate errors during WAR execution to user
* rework error handling tegra210_mbist_clk_init() slightly
Changes in v3:
* fix compile problem on non-Tegra210 platforms
* fix clock handling bug in tegra210_generic_mbist_war()
* addressed minor comments
Changes in v2:
* Use readl for fence_delay() rather than readl_relaxed
* clarify MBIST and WAR acronyms
Peter De Schrijver (4):
clk: tegra: Add la clock for Tegra210
clk: tegra: add fence_delay for clock registers
clk: tegra: MBIST work around for Tegra210
soc/tegra: pmc: MBIST work around for Tegra210
drivers/clk/tegra/clk-tegra210.c | 357 ++++++++++++++++++++++++++++++-
drivers/clk/tegra/clk.h | 7 +
drivers/soc/tegra/pmc.c | 7 +
include/dt-bindings/clock/tegra210-car.h | 2 +-
include/linux/clk/tegra.h | 6 +
5 files changed, 376 insertions(+), 3 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html