Skip to content

clk: ti: cleanups / fixes for preparation of clkctrl clocks

Tony Lindgren linux-arm-kernel linux-clk linux-omap 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 15 patches 0 repliesNew

Patches in v1 No applies recorded yet

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

Reviews trailers per patch

PatchTony Lindgren
SeriesA-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/15] clk: ti: cleanups / fixes for preparation of clkctrl clocks
Quoted 19 lines · Tero Kristo

Hi,

This series provides a number of cleanups and fixes for TI clock drivers. There patches are mostly independent of anything else, but are required for the upcoming clkctrl support also. Targeted for 4.12 merge window.

Main features provided by this series:
- Dropped a few obsolete definitions
- Cleanups for clock alias generation; after this most of the clock aliases can be removed from the drivers/clk/ti/clk-xyz.c files. As a sample, patch #08 is provided for cleaning up omap4 clock aliases, but this can be done for all.
- Convert mux/divider to use TI clock specific internal representation, instead of re-using the generic clk_divider / clk_mux. This allows better control over the contents of the struct and cleaning up the register access code to be more readable.
- Convert to use proper register definition instead of the overloaded void *ptr which is dynamically cast into a bitmask (Patch #15.)

Quoted 2 lines

Some of the patches touch mach-omap2 code, so Ack from Tony is needed for patch #5, #6 and patch #15.

This series looks good to me, needs to be reposted after -rc1 is out to apply though. Would be good to have this in Linux next early rather than around -rc6 time. Please feel free to add: