Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
clock_data.c File Reference
#include <linux/kernel.h>
#include <linux/io.h>
#include <linux/clk.h>
#include <linux/cpufreq.h>
#include <linux/delay.h>
#include <asm/mach-types.h>
#include <plat/clock.h>
#include <plat/cpu.h>
#include <plat/clkdev_omap.h>
#include <plat/sram.h>
#include <mach/hardware.h>
#include <mach/usb.h>
#include "iomap.h"
#include "clock.h"

Go to the source code of this file.

Macros

#define IDL_CLKOUT_ARM_SHIFT   12
 
#define IDLTIM_ARM_SHIFT   9
 
#define IDLAPI_ARM_SHIFT   8
 
#define IDLIF_ARM_SHIFT   6
 
#define IDLLB_ARM_SHIFT   4 /* undocumented? */
 
#define OMAP1510_IDLLCD_ARM_SHIFT   3 /* undocumented? */
 
#define IDLPER_ARM_SHIFT   2
 
#define IDLXORP_ARM_SHIFT   1
 
#define IDLWDT_ARM_SHIFT   0
 
#define CONF_MOD_UART3_CLK_MODE_R   31
 
#define CONF_MOD_UART2_CLK_MODE_R   30
 
#define CONF_MOD_UART1_CLK_MODE_R   29
 
#define CONF_MOD_MMC_SD_CLK_REQ_R   23
 
#define CONF_MOD_MCBSP3_AUXON   20
 
#define CONF_MOD_SOSSI_CLK_EN_R   16
 
#define OTG_SYSCON_2_UHOST_EN_SHIFT   8
 
#define SOFT_MMC2_DPLL_REQ_SHIFT   13
 
#define SOFT_MMC_DPLL_REQ_SHIFT   12
 
#define SOFT_UART3_DPLL_REQ_SHIFT   11
 
#define SOFT_UART2_DPLL_REQ_SHIFT   10
 
#define SOFT_UART1_DPLL_REQ_SHIFT   9
 
#define SOFT_USB_OTG_DPLL_REQ_SHIFT   8
 
#define SOFT_CAM_DPLL_REQ_SHIFT   7
 
#define SOFT_COM_MCKO_REQ_SHIFT   6
 
#define SOFT_PERIPH_REQ_SHIFT   5 /* sys_ck gate for UART2 ? */
 
#define USB_REQ_EN_SHIFT   4
 
#define SOFT_USB_REQ_SHIFT   3 /* sys_ck gate for USB host? */
 
#define SOFT_SDW_REQ_SHIFT   2 /* sys_ck gate for Bluetooth? */
 
#define SOFT_COM_REQ_SHIFT   1 /* sys_ck gate for com proc? */
 
#define SOFT_DPLL_REQ_SHIFT   0
 
#define OMAP1_DPLL1_SANE_VALUE   60000000
 

Functions

int __init omap1_clk_init (void)
 
void __init omap1_clk_late_init (void)
 

Variables

u32 cpu_mask
 

Macro Definition Documentation

#define CONF_MOD_MCBSP3_AUXON   20

Definition at line 52 of file clock_data.c.

#define CONF_MOD_MMC_SD_CLK_REQ_R   23

Definition at line 51 of file clock_data.c.

#define CONF_MOD_SOSSI_CLK_EN_R   16

Definition at line 55 of file clock_data.c.

#define CONF_MOD_UART1_CLK_MODE_R   29

Definition at line 50 of file clock_data.c.

#define CONF_MOD_UART2_CLK_MODE_R   30

Definition at line 49 of file clock_data.c.

#define CONF_MOD_UART3_CLK_MODE_R   31

Definition at line 48 of file clock_data.c.

#define IDL_CLKOUT_ARM_SHIFT   12

Definition at line 37 of file clock_data.c.

#define IDLAPI_ARM_SHIFT   8

Definition at line 39 of file clock_data.c.

#define IDLIF_ARM_SHIFT   6

Definition at line 40 of file clock_data.c.

#define IDLLB_ARM_SHIFT   4 /* undocumented? */

Definition at line 41 of file clock_data.c.

#define IDLPER_ARM_SHIFT   2

Definition at line 43 of file clock_data.c.

#define IDLTIM_ARM_SHIFT   9

Definition at line 38 of file clock_data.c.

#define IDLWDT_ARM_SHIFT   0

Definition at line 45 of file clock_data.c.

#define IDLXORP_ARM_SHIFT   1

Definition at line 44 of file clock_data.c.

#define OMAP1510_IDLLCD_ARM_SHIFT   3 /* undocumented? */

Definition at line 42 of file clock_data.c.

#define OMAP1_DPLL1_SANE_VALUE   60000000

Definition at line 928 of file clock_data.c.

#define OTG_SYSCON_2_UHOST_EN_SHIFT   8

Definition at line 58 of file clock_data.c.

#define SOFT_CAM_DPLL_REQ_SHIFT   7

Definition at line 67 of file clock_data.c.

#define SOFT_COM_MCKO_REQ_SHIFT   6

Definition at line 68 of file clock_data.c.

#define SOFT_COM_REQ_SHIFT   1 /* sys_ck gate for com proc? */

Definition at line 73 of file clock_data.c.

#define SOFT_DPLL_REQ_SHIFT   0

Definition at line 74 of file clock_data.c.

#define SOFT_MMC2_DPLL_REQ_SHIFT   13

Definition at line 61 of file clock_data.c.

#define SOFT_MMC_DPLL_REQ_SHIFT   12

Definition at line 62 of file clock_data.c.

#define SOFT_PERIPH_REQ_SHIFT   5 /* sys_ck gate for UART2 ? */

Definition at line 69 of file clock_data.c.

#define SOFT_SDW_REQ_SHIFT   2 /* sys_ck gate for Bluetooth? */

Definition at line 72 of file clock_data.c.

#define SOFT_UART1_DPLL_REQ_SHIFT   9

Definition at line 65 of file clock_data.c.

#define SOFT_UART2_DPLL_REQ_SHIFT   10

Definition at line 64 of file clock_data.c.

#define SOFT_UART3_DPLL_REQ_SHIFT   11

Definition at line 63 of file clock_data.c.

#define SOFT_USB_OTG_DPLL_REQ_SHIFT   8

Definition at line 66 of file clock_data.c.

#define SOFT_USB_REQ_SHIFT   3 /* sys_ck gate for USB host? */

Definition at line 71 of file clock_data.c.

#define USB_REQ_EN_SHIFT   4

Definition at line 70 of file clock_data.c.

Function Documentation

int __init omap1_clk_init ( void  )

Definition at line 786 of file clock_data.c.

void __init omap1_clk_late_init ( void  )

Definition at line 930 of file clock_data.c.

Variable Documentation

u32 cpu_mask

Definition at line 784 of file clock_data.c.