diff options
| author | Troy Mitchell <troy.mitchell@linux.spacemit.com> | 2026-07-17 00:26:03 -0700 |
|---|---|---|
| committer | Yixun Lan <dlan@kernel.org> | 2026-07-29 02:42:06 +0000 |
| commit | 8a7d4b1924d2a424b1a6fe69de4f9464ee1fb485 (patch) | |
| tree | 6c639b2decdd84eb2cad5aaac67b647caf909905 /include/linux/timerqueue.h | |
| parent | e6b17a690c2f920963d6a9328642bb090f3be587 (diff) | |
clk: spacemit: k3: fix missing /2 factor in i2s sysclk dividers
The i2s{0,2,3,4,5}_sysclk_div DDNs have an additional fixed 1/2
divider in the hardware IP after the configurable divider, so the
real output rate is:
rate = parent_rate * den / (num * 2)
Set pre_div to 2 to account for it.
Fixes: e371a77255b8 ("clk: spacemit: k3: add the clock tree")
Signed-off-by: Troy Mitchell <troy.mitchell@linux.spacemit.com>
Reviewed-by: Yixun Lan <dlan@kernel.org>
Link: https://patch.msgid.link/20260717-k3-clk-fix-i2s-v1-3-e95001a692ee@linux.spacemit.com
Signed-off-by: Yixun Lan <dlan@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
