MFC r341404-r341405, r344699, r347024, r347442r341404 by andreast:Add rule to build the dtb for the rock64 board.Reviewed by: manu@r341405 by andreast:Build the dtb for the rock64 board.Rev
MFC r341404-r341405, r344699, r347024, r347442r341404 by andreast:Add rule to build the dtb for the rock64 board.Reviewed by: manu@r341405 by andreast:Build the dtb for the rock64 board.Reviewed by: manu@r344699:arm64: rockchip: rk3399_pll: Fix the recalc functionThe plls frequency are now correctly calculated in fractional modeand integer mode.While here add some debug printfs (disabled by default)Tested with powerd on the little cluster on a RockPro64.r347024:dtb: Include RK3399 RockPro64 DTS in kernel buildThe DTS for this board is already present in sys/gnu/dts/arm64/rockchip/and just needs to be enabled.Submitted by: [email protected]Differential Revision: https://reviews.freebsd.org/D19823r347442:arm64: rockchip: Don't always put PLL to normal modeWe used to put every PLL in normal mode (meaning that the output wouldbe the result of the PLL configuration) instead of slow mode (the outputis equal to the external oscillator frequency, 24-26Mhz) but this doesn'twork for most of the PLLs as when we put them into normal mode the registersconfiguring the output frequency haven't been set.Add a normal_mode member in clk_pll_def/clk_pll_sc struct and if it's truewe then set the PLL to normal mode.For now only set it to the LPLL and BPLL (Little cluster PLL and Big clusterPLL respectively).Reviewed by: ganboldDifferential Revision: https://reviews.freebsd.org/D20174
show more ...