[PATCH v3 2/4] clk: bcm2835: Support for clock parent selection

Eric Anholt eric at anholt.net
Mon Dec 7 17:32:04 PST 2015

Remi Pommarel <repk at triplefau.lt> writes:

> Some bcm2835 clocks used by hardware (like "PWM" or "H264") can have multiple
> parent clocks. These clocks divide the rate of a parent which can be selected by
> setting the proper bits in the clock control register.
> Previously all these parents where handled by a mux clock. But a mux clock
> cannot be used because updating clock control register to select parent needs a
> password to be xor'd with the parent index.
> This patch get rid of mux clock and make these clocks handle their own parent,
> allowing them to select the one to use.

I see, you use the new flag now in this patch.  I take back the comment
on the previous patch.

Patches 1-3 are:

Reviewed-by: Eric Anholt <eric at anholt.net>

and I think they're ready to go in the clock tree, even while the DT for
setting up the bcm2835-pwm driver is being reviewed on the DT list.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-rpi-kernel/attachments/20151207/8c1f203d/attachment.sig>

More information about the linux-rpi-kernel mailing list