2 * arch/arm/mach-u300/include/mach/clock.h
4 * Copyright (C) 2004 - 2005 Nokia corporation
5 * Written by Tuukka Tikkanen <tuukka.tikkanen@elektrobit.com>
6 * Based on clocks.h by Tony Lindgren, Gordon McNutt and RidgeRun, Inc
7 * Copyright (C) 2007-2009 ST-Ericsson AB
8 * Adopted to ST-Ericsson U300 platforms by
9 * Jonas Aaberg <jonas.aberg@stericsson.com>
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License version 2 as
13 * published by the Free Software Foundation.
17 #ifndef __MACH_CLOCK_H
18 #define __MACH_CLOCK_H
20 #include <linux/clk.h>
23 struct list_head node
;
34 void __iomem
* res_reg
;
39 void (*recalc
) (struct clk
*);
40 int (*set_rate
) (struct clk
*, unsigned long);
41 unsigned long (*get_rate
) (struct clk
*);
42 unsigned long (*round_rate
) (struct clk
*, unsigned long);
43 void (*init
) (struct clk
*);
44 void (*enable
) (struct clk
*);
45 void (*disable
) (struct clk
*);
48 int u300_clock_init(void);