diff options
author | Claudiu Beznea <[email protected]> | 2020-07-22 10:38:13 +0300 |
---|---|---|
committer | Stephen Boyd <[email protected]> | 2020-07-24 02:18:47 -0700 |
commit | 390227dca870cd0b8b0961da9e293551015c0007 (patch) | |
tree | de8343016b397fb64726093a993ae35a80a056a1 /lib/memory-notifier-error-inject.c | |
parent | 1bef0986b125942d65d39c10cbfa75b20c3b94b3 (diff) |
clk: at91: sam9x60-pll: check fcore against ranges
According to datasheet the range of 600-1200MHz is for the
frequency generated by the fractional part of the PLL (namely
Fcorepllck according to datasheet). With this in mind the output
range of the PLL itself (fractional + div), taking into account
that the divider is 8 bits wide, is 600/256-1200Hz=2.3-1200MHz.
Fixes: a436c2a447e59 ("clk: at91: add sam9x60 PLL driver")
Signed-off-by: Claudiu Beznea <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions