HomeFreeBSD

arm64: rk: Add support for setting pll rate

Description

arm64: rk: Add support for setting pll rate

Add support for setting pll rate. On RockChip SoC two kind of plls are
supported, integer mode and fractional mode.
The two modes are intended to support more frequencies for the core plls.
While here change the recalc method as it appears that the datasheet is
wrong on the calculation method.

Details

Provenance
manuAuthored on
Parents
rS333314: arm64: rockchip: rk3328: Add armclk clock
Branches
Unknown
Tags
Unknown