Skip to content

Commit 0745658

Browse files
author
Ulf Hansson
committed
pmdomain: samsung: Fix splash-screen handover by enforcing a sync_state
It's has been reported that some Samsung platforms fails to boot with genpd's new sync_state support. Typically the problem exists for platforms where bootloaders are turning on the splash-screen and handing it over to be managed by the kernel. However, at this point, it's not clear how to correctly solve the problem. Although, to make the platforms boot again, let's add a temporary hack in the samsung power-domain provider driver, which enforces a sync_state that allows the power-domains to be reset before consumer devices starts to be attached. Reported-by: Marek Szyprowski <m.szyprowski@samsung.com> Link: https://lore.kernel.org/all/212a1a56-08a5-48a5-9e98-23de632168d0@samsung.com Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Tested-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Link: https://lore.kernel.org/r/20250711114719.189441-1-ulf.hansson@linaro.org
1 parent eb34a0b commit 0745658

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

drivers/pmdomain/samsung/exynos-pm-domains.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,15 @@ static int exynos_pd_probe(struct platform_device *pdev)
147147
parent.np, child.np);
148148
}
149149

150+
/*
151+
* Some Samsung platforms with bootloaders turning on the splash-screen
152+
* and handing it over to the kernel, requires the power-domains to be
153+
* reset during boot. As a temporary hack to manage this, let's enforce
154+
* a sync_state.
155+
*/
156+
if (!ret)
157+
of_genpd_sync_state(np);
158+
150159
pm_runtime_enable(dev);
151160
return ret;
152161
}

0 commit comments

Comments
 (0)