diff options
| author | David Lechner <[email protected]> | 2026-01-07 10:21:09 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-01-12 13:35:03 -0600 |
| commit | a694df199a4246036497447479bc08c6c4c09534 (patch) | |
| tree | b06e87f0a0c063f66e991c56859354e366ae455c /scripts/basic | |
| parent | 32087f61adae56e9e23d80f82567dbb6ce3e8e54 (diff) | |
clk: mediatek: add separate gates_offs for cg gates
Add a gates_offs field to struct mtk_cg_priv and use that instead of
struct mtk_clk_tree.gates_offs.
Prior to this change, struct mtk_clk_tree.gates_offs could be the offset
of struct mtk_clk_tree.gates or struct mtk_cg_priv.gates depending on
the context. This was confusing and error-prone. For example, in mt8365
there is one set of gates that needs an offset and one that does not
that share the same struct mtk_clk_tree. This is fixed in this patch by
giving the correct offset for each gate separately.
Signed-off-by: David Lechner <[email protected]>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
