From a24886e263ec4b7062c88cfa84577080ea00da94 Mon Sep 17 00:00:00 2001 From: Tero Kristo Date: Wed, 2 Jul 2014 11:47:40 +0300 Subject: ARM: OMAP2+: clock: add fint values to the ti_clk_features struct These are SoC specific and get their init values based on the SoC type. Previously the values were hard coded within the DPLL clock code, but having them inside the clock features avoids runtime cpu_is_X type checks. Signed-off-by: Tero Kristo Reviewed-by: Mike Turquette Signed-off-by: Paul Walmsley --- arch/arm/mach-omap2/clock.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'arch/arm/mach-omap2/clock.h') diff --git a/arch/arm/mach-omap2/clock.h b/arch/arm/mach-omap2/clock.h index 9b89cc03869e..02aa2e3ac036 100644 --- a/arch/arm/mach-omap2/clock.h +++ b/arch/arm/mach-omap2/clock.h @@ -228,6 +228,10 @@ extern u16 cpu_mask; */ struct ti_clk_features { u32 flags; + long fint_min; + long fint_max; + long fint_band1_max; + long fint_band2_min; }; extern struct ti_clk_features ti_clk_features; -- cgit