Thread (1 message) 1 message, 1 author, 2016-01-11

[PATCH V2 0/4] clk: bcm2835: add additinal clocks and add frac support

From: arnd@arndb.de (Arnd Bergmann)
Date: 2016-01-11 21:01:12
Also in: linux-clk, linux-devicetree

On Monday 11 January 2016 19:55:52 kernel at martin.sperl.org wrote:
From: Martin Sperl <redacted>

The clk-bcm2835 driver right now relies on BCM2835_CLOCK_COUNT defined
in include/dt-binding/clocks/bcm2835.h
With every new clock introduced this value needs to increase,
which is not what should happen for bindings.

So we reorganize the driver so that it is no longer necessary
to define BCM2835_CLOCK_COUNT.

Also the driver calculates fractional clock dividers correctly,
but it does not enable the bit to enable support in the register.
As a minimal extension we now can also define higher order MASH
support when defining the clocks.

Finally we add all the 23 different HW clocks that have not been
configured in the driver.
Looks good to me, thanks for the update!

	Arnd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help