summaryrefslogtreecommitdiff
path: root/tools/u_boot_pylib/test_util.py
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2025-04-03 09:39:06 +0200
committerFabio Estevam <festevam@gmail.com>2025-04-10 22:32:55 -0300
commitac30d90f33674e49b4428b66f7dd9949f054b6c4 (patch)
treedefdb9f348b639761ac2607b14151a6a4f8eef6c /tools/u_boot_pylib/test_util.py
parent197376fbf300e92afa0a1583815d9c9eb52d613a (diff)
clk: Ensure the parent clocks are enabled while reparenting
Reparenting a clock C with a new parent P means that C will only continue clocking if P is already clocking when the mux is updated. In case the parent is currently disabled, failures (stalls) are likely to happen. This is exactly what happens on i.MX8 when enabling the video pipeline. We tell LCDIF clocks to use the VIDEO PLL as input, while the VIDEO PLL is currently off. This all happens as part of the assigned-clocks handling procedure, where the reparenting happens before the enable() calls. Enabling the parents as part of the reparenting procedure seems sane and also matches the logic applied in other parts of the CCM. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'tools/u_boot_pylib/test_util.py')
0 files changed, 0 insertions, 0 deletions