clk: bcm2835: what is the best way to limit the selection of parent clocks in the device-tree

Stefan Wahren stefan.wahren at
Tue Apr 26 04:22:32 PDT 2016

Hi Martin,

Am 25.04.2016 um 10:01 schrieb Martin Sperl:
> Hi!
> On the raspberry pi the pcm (and other) clock has multiple parent
> clocks that the driver may select from to get the "best fit" clock.
> This list of parents of valid for each clock is hard-coded in the driver.
> But this "standard" list of parents includes some clocks that are
> independently controlled by the firmware with - unfortunately for
> now - no notification of changes going back to the linux kernel.
> This is mostly needed for powermanagement and ARM clock
> modifications as well as to avoid overheating.
> So how is the best way to define those parent clocks one wants to
> use for an individual clock?

since the device tree should describe the hardware this should be kept
in the driver. So we can't get into trouble if the firmware change it's


More information about the linux-rpi-kernel mailing list