diff options
| author | Junhui Liu <junhui.liu@pigmoral.tech> | 2026-09-06 15:06:39 +0800 |
|---|---|---|
| committer | Chen-Yu Tsai <wens@kernel.org> | 2026-09-14 00:16:56 +0800 |
| commit | 59dced16a82d1ec685b88365c64dde27a0a0b46a (patch) | |
| tree | 8db68ec89ff9a9afaa06da6c47fbeb3bb12f26eb /include/linux/debugobjects.h | |
| parent | f43bed1fb1ddf7b350ceb7c371c624795a7820e8 (diff) | |
clk: sunxi-ng: sun55i-a523-ccu: Use M-only clocks for MBUS, IOMMU and DRAM
The MBUS, IOMMU, and DRAM clocks only have an M divider, but are
currently modeled as MP clocks with a zero-width P divider.
ccu_mp_set_rate() generates an invalid mask for the zero-width P
divider, clearing unrelated register fields. It also ignores
CCU_FEATURE_UPDATE_BIT, so the new divider value does not take effect.
Model these clocks as M-only clocks instead. This avoids accessing a
nonexistent P divider and uses ccu_div_set_rate(), which handles the
update bit.
Fixes: 74b0443a0d0a ("clk: sunxi-ng: a523: add system mod clocks")
Signed-off-by: Junhui Liu <junhui.liu@pigmoral.tech>
Link: https://patch.msgid.link/20260906-sunxi-clk-no-p-v1-2-cbde21c9fe69@pigmoral.tech
Signed-off-by: Chen-Yu Tsai <wens@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
