aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-lpc32xx/common.h
diff options
context:
space:
mode:
authorVladimir Zapolskiy <vz@mleia.com>2016-04-17 21:05:25 -0400
committerVladimir Zapolskiy <vz@mleia.com>2016-04-27 17:45:01 -0400
commitd82b4b0a5ebeb55c3b88e49b38135a847736e6b5 (patch)
tree37d78539fb3eee32135b7943d3b17dcfc742ef44 /arch/arm/mach-lpc32xx/common.h
parent715552aa30ffe3bd776bb7635056f6622a29133d (diff)
ARM: lpc32xx: remove leftovers of legacy clock source and provider drivers
After switching the platform to common clock framework there is no more need to keep dead code in arch/arm/mach-lpc32xx, which glued legacy clock source and clock provider drivers, remove the leftovers. Acked-by: Sylvain Lemieux <slemieux.tyco@gmail.com> Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Diffstat (limited to 'arch/arm/mach-lpc32xx/common.h')
-rw-r--r--arch/arm/mach-lpc32xx/common.h23
1 files changed, 1 insertions, 22 deletions
diff --git a/arch/arm/mach-lpc32xx/common.h b/arch/arm/mach-lpc32xx/common.h
index 9b5ae42d3a6f..30c9e64fc65b 100644
--- a/arch/arm/mach-lpc32xx/common.h
+++ b/arch/arm/mach-lpc32xx/common.h
@@ -19,36 +19,15 @@
19#ifndef __LPC32XX_COMMON_H 19#ifndef __LPC32XX_COMMON_H
20#define __LPC32XX_COMMON_H 20#define __LPC32XX_COMMON_H
21 21
22#include <mach/board.h> 22#include <linux/init.h>
23#include <linux/platform_device.h>
24 23
25/* 24/*
26 * Other arch specific structures and functions 25 * Other arch specific structures and functions
27 */ 26 */
28extern void lpc32xx_timer_init(void);
29extern void __init lpc32xx_init_irq(void); 27extern void __init lpc32xx_init_irq(void);
30extern void __init lpc32xx_map_io(void); 28extern void __init lpc32xx_map_io(void);
31extern void __init lpc32xx_serial_init(void); 29extern void __init lpc32xx_serial_init(void);
32 30
33
34/*
35 * Structure used for setting up and querying the PLLS
36 */
37struct clk_pll_setup {
38 int analog_on;
39 int cco_bypass_b15;
40 int direct_output_b14;
41 int fdbk_div_ctrl_b13;
42 int pll_p;
43 int pll_n;
44 u32 pll_m;
45};
46
47extern int clk_is_sysclk_mainosc(void);
48extern u32 clk_check_pll_setup(u32 ifreq, struct clk_pll_setup *pllsetup);
49extern u32 clk_get_pllrate_from_reg(u32 inputclk, u32 regval);
50extern u32 clk_get_pclk_div(void);
51
52/* 31/*
53 * Returns the LPC32xx unique 128-bit chip ID 32 * Returns the LPC32xx unique 128-bit chip ID
54 */ 33 */