|
Linux Kernel
3.7.1
|
#include <linux/clk.h>#include <linux/clkdev.h>#include <linux/err.h>#include <linux/init.h>#include <linux/io.h>#include <linux/of.h>#include <mach/common.h>#include <mach/mx23.h>#include "clk.h"Go to the source code of this file.
Macros | |
| #define | DIGCTRL MX23_IO_ADDRESS(MX23_DIGCTL_BASE_ADDR) |
| #define | CLKCTRL MX23_IO_ADDRESS(MX23_CLKCTRL_BASE_ADDR) |
| #define | PLLCTRL0 (CLKCTRL + 0x0000) |
| #define | CPU (CLKCTRL + 0x0020) |
| #define | HBUS (CLKCTRL + 0x0030) |
| #define | XBUS (CLKCTRL + 0x0040) |
| #define | XTAL (CLKCTRL + 0x0050) |
| #define | PIX (CLKCTRL + 0x0060) |
| #define | SSP (CLKCTRL + 0x0070) |
| #define | GPMI (CLKCTRL + 0x0080) |
| #define | SPDIF (CLKCTRL + 0x0090) |
| #define | EMI (CLKCTRL + 0x00a0) |
| #define | SAIF (CLKCTRL + 0x00c0) |
| #define | TV (CLKCTRL + 0x00d0) |
| #define | ETM (CLKCTRL + 0x00e0) |
| #define | FRAC (CLKCTRL + 0x00f0) |
| #define | CLKSEQ (CLKCTRL + 0x0110) |
| #define | BP_CPU_INTERRUPT_WAIT 12 |
| #define | BP_CLKSEQ_BYPASS_SAIF 0 |
| #define | BP_CLKSEQ_BYPASS_SSP 5 |
| #define | BP_SAIF_DIV_FRAC_EN 16 |
| #define | BP_FRAC_IOFRAC 24 |
Enumerations | |
| enum | imx23_clk { ref_xtal, pll, ref_cpu, ref_emi, ref_pix, ref_io, saif_sel, lcdif_sel, gpmi_sel, ssp_sel, emi_sel, cpu, etm_sel, cpu_pll, cpu_xtal, hbus, xbus, lcdif_div, ssp_div, gpmi_div, emi_pll, emi_xtal, etm_div, saif_div, clk32k_div, rtc, adc, spdif_div, clk32k, dri, pwm, filt, uart, ssp, gpmi, spdif, emi, saif, lcdif, etm, usb, usb_pwr, clk_max } |
Functions | |
| int __init | mx23_clocks_init (void) |
| #define BP_CLKSEQ_BYPASS_SAIF 0 |
Definition at line 41 of file clk-imx23.c.
| #define BP_CLKSEQ_BYPASS_SSP 5 |
Definition at line 42 of file clk-imx23.c.
| #define BP_CPU_INTERRUPT_WAIT 12 |
Definition at line 40 of file clk-imx23.c.
| #define BP_FRAC_IOFRAC 24 |
Definition at line 44 of file clk-imx23.c.
| #define BP_SAIF_DIV_FRAC_EN 16 |
Definition at line 43 of file clk-imx23.c.
| #define CLKCTRL MX23_IO_ADDRESS(MX23_CLKCTRL_BASE_ADDR) |
Definition at line 23 of file clk-imx23.c.
| #define CLKSEQ (CLKCTRL + 0x0110) |
Definition at line 38 of file clk-imx23.c.
| #define CPU (CLKCTRL + 0x0020) |
Definition at line 25 of file clk-imx23.c.
| #define DIGCTRL MX23_IO_ADDRESS(MX23_DIGCTL_BASE_ADDR) |
Definition at line 22 of file clk-imx23.c.
| #define EMI (CLKCTRL + 0x00a0) |
Definition at line 33 of file clk-imx23.c.
| #define ETM (CLKCTRL + 0x00e0) |
Definition at line 36 of file clk-imx23.c.
| #define FRAC (CLKCTRL + 0x00f0) |
Definition at line 37 of file clk-imx23.c.
| #define GPMI (CLKCTRL + 0x0080) |
Definition at line 31 of file clk-imx23.c.
| #define HBUS (CLKCTRL + 0x0030) |
Definition at line 26 of file clk-imx23.c.
| #define PIX (CLKCTRL + 0x0060) |
Definition at line 29 of file clk-imx23.c.
| #define PLLCTRL0 (CLKCTRL + 0x0000) |
Definition at line 24 of file clk-imx23.c.
| #define SAIF (CLKCTRL + 0x00c0) |
Definition at line 34 of file clk-imx23.c.
| #define SPDIF (CLKCTRL + 0x0090) |
Definition at line 32 of file clk-imx23.c.
| #define SSP (CLKCTRL + 0x0070) |
Definition at line 30 of file clk-imx23.c.
| #define TV (CLKCTRL + 0x00d0) |
Definition at line 35 of file clk-imx23.c.
| #define XBUS (CLKCTRL + 0x0040) |
Definition at line 27 of file clk-imx23.c.
| #define XTAL (CLKCTRL + 0x0050) |
Definition at line 28 of file clk-imx23.c.
| enum imx23_clk |
Definition at line 82 of file clk-imx23.c.
Definition at line 99 of file clk-imx23.c.
1.8.2