diff options
author | Varshini Rajendran <[email protected]> | 2024-07-29 12:37:46 +0530 |
---|---|---|
committer | Claudiu Beznea <[email protected]> | 2024-08-07 19:16:47 +0300 |
commit | 5299f801875f376f65322ff9d5df68ae662d640a (patch) | |
tree | 88cd779b79b67e23090662374adc1738d32c2f1e /lib/crypto/mpi/mpiutil.c | |
parent | a402c663940dfeca22caa7390b9f35aee6925caf (diff) |
clk: at91: sam9x7: add support for HW PLL freq dividers
Add support for hardware dividers for PLL IDs in sam9x7 SoC. The system
PLL - PLLA and the system PLL divided by 2 - PLLADIV2 with PLL ID 0 and
4 respectively, both have a hardware divider /2. This has to be taken into
account in the software to obtain the right frequencies. Support for the
same is added in the PLL driver.
fcorepllack -----> HW Div = 2 -+--> fpllack
|
+--> HW Div = 2 ---> fplladiv2ck
In this case the corepll freq is 1600 MHz. So, the plla freq is 800 MHz
after the hardware divider and the plladiv2 freq is 400 MHz after the
hardware divider (given that the DIVPMC is 0).
Signed-off-by: Varshini Rajendran <[email protected]>
Reviewed-by: Claudiu Beznea <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Claudiu Beznea <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions