summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorRyan Brue <ryanbrue.dev@gmail.com>2026-11-10 19:23:57 -0600
committerUlf Hansson <ulfh@kernel.org>2026-11-23 15:16:32 +0100
commitce02e68b40f92d86395a39d5f2a096295151e3d1 (patch)
treeeb0660627926b24d60413cf77fdfb81fa05c1c2d /tools/lib/python
parent831f98ccaebdb71649519eea75094f16a633fc89 (diff)
pmdomain: mediatek: Don't power cycle domains on probe deferral
scpsys_add_one_domain() powers each domain on as soon as it is added, before the probe has looked up the supplies and clocks of the domains after it. When one of those is not available yet the probe defers, and the cleanup powers off every domain added so far, whatever state it was found in. The retry then powers them all on again. A bootloader that leaves the display scanning out does not survive that. On the Amazon Fire HD 10 (MT8173), mfg_async's domain-supply comes from the MT6397 PMIC, which registers after the power controller first probes, and power cycling the MM domain under the running display hangs the SoC on almost every boot. Power the domains on only once all of them have been added, so that a deferral leaves the hardware as it was found, and on cleanup power off only the domains this probe has turned on. Fixes: 59b644b01cf4 ("soc: mediatek: Add MediaTek SCPSYS power domains") Cc: stable@vger.kernel.org Signed-off-by: Ryan Brue <ryanbrue.dev@gmail.com> Signed-off-by: Ulf Hansson <ulfh@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions