[PATCH RFC] WIP: clk: Draft for BCM2835 ARM core frequency control

Eric Anholt eric at anholt.net
Tue Apr 3 13:43:29 PDT 2018

Stefan Wahren <stefan.wahren at i2se.com> writes:

> This approach adds a new clock driver which controls the ARM core
> frequency via the mailbox interface. So the cpufreq-dt driver can
> operate via the common clock API.

I've tried to follow the logic in the FW related to clock management
again, and once again I'm going to admit defeat.  So here are a couple
of things I learned:

I suspect you're going to have a very restricted frequency range if you
don't send a SET_TURBO packet or have a turbo setting in config.txt
already.  (GET_TURBO returns that state).

Also, if GET_MAX_TEMPERATURE returns nonzero, that means there's a VPU
thread running that's polling the temp and voltage and will crank down
the voltage and ARM/V3D/CORE/ISP/SDRAM clocks when out of bounds.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-rpi-kernel/attachments/20180403/7fad756f/attachment.sig>

More information about the linux-rpi-kernel mailing list