1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-11 09:50:12 +00:00
freebsd/sys/arm64
Emmanuel Vadot 3df266dff9 arm64: rockchip: Add proper armclock support
The core clock (armclk) on RockChip SoC is special.
It can derive it's clock from many PLLs but RockChip recommand to do it
from "apll" on old SoC and "npll" on new SoC. The reason for choosing npll
is that it's have less jitter and is more close to the arm core on the SoC.
r333314 added the core clock as a composite clock but due to it's specials
property we need to deal with it differently.
A new rk_clk_armclk type is added for this and it supports only the "npll"
as we don't run on old RockChip SoC that only have the "apll".
It will always reparent to "npll" and set the frequency according to a rate
table that is known to be good.
For now we set the "npll" to the desired frequency and just set the core clk
divider to 1 as its parent it just used for the core clk.
2018-05-23 19:07:03 +00:00
..
acpica Add support to find the arm64 serial using the ACPI tables. This uses the 2016-11-21 19:26:58 +00:00
arm64 Revert r334035 for now. It breaks the boot on some boards as er expect to 2018-05-22 15:52:11 +00:00
cavium If ofw_bus_msimap fails don't try to use the invalid MSI/MSI-X parent node. 2017-03-16 17:49:37 +00:00
cloudabi32 Port cloudabi32.ko to FreeBSD/arm64. 2017-11-30 17:58:48 +00:00
cloudabi64 Correct some more places where TO_PTR() should be used. 2017-11-26 14:53:56 +00:00
conf Enable kernel dump features in GENERIC for most platforms. 2018-05-19 19:53:23 +00:00
coresight Fix one more OF_getprop_alloc instance missed in r332310 2018-04-08 23:17:51 +00:00
include Add GET_STACK_USAGE() for arm64. 2018-05-23 15:43:35 +00:00
linux arm64 linuxulator: add generated sysent files 2018-04-26 18:46:38 +00:00
qualcomm Enable Qualcomm Debug Subsystem (QDSS) block on MSM8916 SoC. 2018-04-10 12:53:48 +00:00
rockchip arm64: rockchip: Add proper armclock support 2018-05-23 19:07:03 +00:00