Skip to content

clk: bcm2835: add additinal clocks and add frac support

Arnd Bergmann linux-arm-kernel linux-clk linux-devicetree 1 version New

Get series with b4
b4 am 7176182.NH1zi8JFMJ@wuerfel

Versions newest first

  1. v2 Latest0 of 4 patches 0 repliesNew

Patches in v2 No applies recorded yet

None of the 4 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH V2 0/4] clk: bcm2835: add additinal clocks and add frac support
Quoted 10 lines · On Monday 11 January 2016 19:55:52 kernel at martin.sperl.org wrote:

From: Martin Sperl <[email protected]>

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.

Quoted 9 lines

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