Page MenuHomeFreeBSD

arm64: rockchip: Don't always put PLL to normal mode
ClosedPublic

Authored by manu on May 6 2019, 8:24 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 13 2024, 11:26 AM
Unknown Object (File)
Dec 20 2023, 12:06 AM
Unknown Object (File)
Dec 15 2023, 5:18 AM
Unknown Object (File)
Nov 12 2023, 5:23 AM
Unknown Object (File)
Nov 12 2023, 4:54 AM
Unknown Object (File)
Nov 5 2023, 5:16 AM
Unknown Object (File)
Nov 2 2023, 2:59 AM
Unknown Object (File)
Oct 11 2023, 4:25 AM
Subscribers

Details

Summary

We used to put every PLL in normal mode (meaning that the output would
be the result of the PLL configuration) instead of slow mode (the output
is equal to the external oscillator frequency, 24-26Mhz) but this doesn't
work for most of the PLLs as when we put them into normal mode the registers
configuring the output frequency haven't been set.
Add a normal_mode member in clk_pll_def/clk_pll_sc struct and if it's true
we then set the PLL to normal mode.
For now only set it to the LPLL and BPLL (Little cluster PLL and Big cluster
PLL respectively).

Test Plan

Tested on Rockpro64

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable