diff options
author | Christoph Muellner <christoph.muellner@theobroma-systems.com> | 2019-04-02 16:50:41 +0200 |
---|---|---|
committer | Christoph Muellner <christoph.muellner@theobroma-systems.com> | 2019-04-30 20:02:03 +0200 |
commit | b94c928277c5915602b4e60348b3fe822a6d653f (patch) | |
tree | 1f2b05ef575e98e8d9bf6145ba95a0acca03bcb7 /firmware/advansys/3550.bin.ihex | |
parent | 51a75c32320b49f358def3105946c43c0cc1d223 (diff) |
rk: clk: Allow clk_i2s0_frac to violate precision restriction.
The fraction approximation code for rockchip frac dividers
impose the following requirement (as noted in a driver comment):
fractional divider must set that denominator is 20 times larger than
numerator to generate precise clock frequency.
Additionally the frac driver limits the maximum input frequency
to 600 MHz. This limitation can be achieved by using the integer
divider (limiting to e.g. 400 MHz).
Note, that both restrictions are not stated in the RK3399 TRM.
The implication of these restrictions are, that the range of possible
output frequencies is reduced quite drastically.
This results in the problem, that clk_i2s0_frac cannot generate
a clock of 24.56 MHz and thus audio on RK3399-Q7 is broken.
Therefore this patch whitelists clk_i2s0_frac from the first
restriction, similar to the exception for UART (in the same function).
Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
Diffstat (limited to 'firmware/advansys/3550.bin.ihex')
0 files changed, 0 insertions, 0 deletions