#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/clk.h>
#include <linux/mmc/host.h>
#include <linux/mmc/dw_mmc.h>
#include <linux/of.h>
#include <linux/of_gpio.h>
#include "dw_mmc.h"
#include "dw_mmc-pltfm.h"
Go to the source code of this file.
#define EXYNOS4210_FIXED_CIU_CLK_DIV 2 |
#define EXYNOS4412_FIXED_CIU_CLK_DIV 4 |
#define NUM_PINS |
( |
|
x | ) |
(x + 2) |
#define SDMMC_CLKSEL 0x09C |
#define SDMMC_CLKSEL_CCLK_DIVIDER |
( |
|
x | ) |
(((x) & 7) << 24) |
#define SDMMC_CLKSEL_CCLK_DRIVE |
( |
|
x | ) |
(((x) & 7) << 16) |
#define SDMMC_CLKSEL_CCLK_SAMPLE |
( |
|
x | ) |
(((x) & 7) << 0) |
#define SDMMC_CLKSEL_GET_DRV_WD3 |
( |
|
x | ) |
(((x) >> 16) & 0x7) |
#define SDMMC_CLKSEL_TIMING |
( |
|
x, |
|
|
|
y, |
|
|
|
z |
|
) |
| |
Value:
SDMMC_CLKSEL_CCLK_DRIVE(
y) | \
SDMMC_CLKSEL_CCLK_DIVIDER(z))
Definition at line 30 of file dw_mmc-exynos.c.
#define SDMMC_CMD_USE_HOLD_REG BIT(29) |
- Enumerator:
DW_MCI_TYPE_EXYNOS4210 |
|
DW_MCI_TYPE_EXYNOS4412 |
|
DW_MCI_TYPE_EXYNOS5250 |
|
Definition at line 40 of file dw_mmc-exynos.c.
MODULE_ALIAS |
( |
"platform:dwmmc-exynos" |
| ) |
|
MODULE_DESCRIPTION |
( |
"Samsung Specific DW-MSHC Driver Extension" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
of |
, |
|
|
dw_mci_exynos_match |
|
|
) |
| |
MODULE_LICENSE |
( |
"GPL v2" |
| ) |
|
module_platform_driver |
( |
dw_mci_exynos_pltfm_driver |
| ) |
|