diff options
| author | Thomas Richard (TI) <thomas.richard@bootlin.com> | 2026-05-19 18:06:58 +0300 |
|---|---|---|
| committer | Nishanth Menon <nm@ti.com> | 2026-05-26 14:44:33 +0300 |
| commit | 3c5912373340cb79db6585f0fcd8107198d4933d (patch) | |
| tree | 11e147da8454d472c2415a1bb7f72fcfc397c502 /include/linux | |
| parent | 703b341fdd875c2d9c30a835021689e5a430a39a (diff) | |
| download | linux-3c5912373340cb79db6585f0fcd8107198d4933d.tar.xz | |
clk: keystone: sci-clk: Add restore_context() operation
Implement the restore_context() operation to restore the clock rate
and the clock parent state. The clock rate is saved in sci_clk struct
during set_rate() and recalc_rate() operations. The parent index
is saved in sci_clk struct during set_parent() operation. During
clock registration, the core retrieves each clockâs parent using
get_parent() operation to ensure the internal clock tree reflects
the actual hardware state, including any configurations made by the
bootloader. So we also save the parent index in get_parent().
Reviewed-by: Dhruva Gole <d-gole@ti.com>
Reviewed-by: Kendall Willis <k-willis@ti.com>
Acked-by: Stephen Boyd <sboyd@kernel.org>
Reviewed-by: Brian Masney <bmasney@redhat.com>
Signed-off-by: Thomas Richard (TI) <thomas.richard@bootlin.com>
Link: https://patch.msgid.link/20260519-ti-sci-jacinto-s2r-restore-irq-v9-3-c550a8ae0f31@bootlin.com
Signed-off-by: Nishanth Menon <nm@ti.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
