diff options
author | Luc Michel <luc@lmichel.fr> | 2020-10-10 15:57:51 +0200 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2020-10-27 11:10:44 +0000 |
commit | 6d2b874cf1a6f595df805835325e9124c26f3dbf (patch) | |
tree | 9faf20be2ff086dbabf8a3f00bec418cc270dd9b /scripts/clean-header-guards.pl | |
parent | 1e986e25d03c0d579843c4d3e2915b2f4ac8e47f (diff) | |
download | qemu-6d2b874cf1a6f595df805835325e9124c26f3dbf.zip qemu-6d2b874cf1a6f595df805835325e9124c26f3dbf.tar.gz qemu-6d2b874cf1a6f595df805835325e9124c26f3dbf.tar.bz2 |
hw/misc/bcm2835_cprman: implement PLLs behaviour
The CPRMAN PLLs generate a clock based on a prescaler, a multiplier and
a divider. The prescaler doubles the parent (xosc) frequency, then the
multiplier/divider are applied. The multiplier has an integer and a
fractional part.
This commit also implements the CPRMAN CM_LOCK register. This register
reports which PLL is currently locked. We consider a PLL has being
locked as soon as it is enabled (on real hardware, there is a delay
after turning a PLL on, for it to stabilize).
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Luc Michel <luc@lmichel.fr>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'scripts/clean-header-guards.pl')
0 files changed, 0 insertions, 0 deletions