blob: 0b0e3a8777d344cf65ffcb4052a9d037fd31d83b [file] [log] [blame]
Paul Walmsley657ebfa2010-02-22 22:09:20 -07001/*
2 * OMAP3-specific clock framework functions
3 *
4 * Copyright (C) 2007-2008 Texas Instruments, Inc.
5 * Copyright (C) 2007-2010 Nokia Corporation
6 *
7 * Paul Walmsley
8 * Jouni Högander
9 *
10 * Parts of this code are based on code written by
11 * Richard Woodruff, Tony Lindgren, Tuukka Tikkanen, Karthik Dasu
12 *
13 * This program is free software; you can redistribute it and/or modify
14 * it under the terms of the GNU General Public License version 2 as
15 * published by the Free Software Foundation.
16 */
17#undef DEBUG
18
19#include <linux/kernel.h>
20#include <linux/errno.h>
Paul Walmsley657ebfa2010-02-22 22:09:20 -070021#include <linux/clk.h>
22#include <linux/io.h>
Paul Walmsley657ebfa2010-02-22 22:09:20 -070023
Tony Lindgrendbc04162012-08-31 10:59:07 -070024#include "soc.h"
Paul Walmsley657ebfa2010-02-22 22:09:20 -070025#include "clock.h"
26#include "clock3xxx.h"
Paul Walmsley59fb6592010-12-21 15:30:55 -070027#include "prm2xxx_3xxx.h"
Paul Walmsley657ebfa2010-02-22 22:09:20 -070028#include "prm-regbits-34xx.h"
Paul Walmsley59fb6592010-12-21 15:30:55 -070029#include "cm2xxx_3xxx.h"
Paul Walmsley657ebfa2010-02-22 22:09:20 -070030#include "cm-regbits-34xx.h"
31
Paul Walmsley657ebfa2010-02-22 22:09:20 -070032/* needed by omap3_core_dpll_m2_set_rate() */
33struct clk *sdrc_ick_p, *arm_fck_p;