clk: ti: convert to use proper register definition for all accesses
authorTero Kristo <t-kristo@ti.com>
Thu, 9 Feb 2017 09:24:37 +0000 (11:24 +0200)
committerTero Kristo <t-kristo@ti.com>
Wed, 8 Mar 2017 11:06:15 +0000 (13:06 +0200)
commit6c0afb503937a12a8d20a805fcf263e31afa9871
tree4e0d29a53aae87a587dc802be0697facf90703e8
parent473adbf4e02857a6b78dfb3d9fcf752638bbadb9
clk: ti: convert to use proper register definition for all accesses

Currently, TI clock driver uses an encapsulated struct that is cast into
a void pointer to store all register addresses. This can be considered
as rather nasty hackery, and prevents from expanding the register
address field also. Instead, replace all the code to use proper struct
in place for this, which contains all the previously used data.

This patch is rather large as it is touching multiple files, but this
can't be split up as we need to avoid any boot breakage.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
24 files changed:
arch/arm/mach-omap2/clkt2xxx_dpllcore.c
arch/arm/mach-omap2/clock.c
arch/arm/mach-omap2/clock.h
arch/arm/mach-omap2/cm.h
arch/arm/mach-omap2/cm2xxx.c
arch/arm/mach-omap2/cm3xxx.c
arch/arm/mach-omap2/cm_common.c
drivers/clk/ti/apll.c
drivers/clk/ti/autoidle.c
drivers/clk/ti/clk-3xxx.c
drivers/clk/ti/clk.c
drivers/clk/ti/clkt_dflt.c
drivers/clk/ti/clkt_dpll.c
drivers/clk/ti/clkt_iclk.c
drivers/clk/ti/clock.h
drivers/clk/ti/clockdomain.c
drivers/clk/ti/divider.c
drivers/clk/ti/dpll.c
drivers/clk/ti/dpll3xxx.c
drivers/clk/ti/dpll44xx.c
drivers/clk/ti/gate.c
drivers/clk/ti/interface.c
drivers/clk/ti/mux.c
include/linux/clk/ti.h