#include <linux/clk.h>
#include <linux/io.h>
#include <linux/module.h>
#include <sound/soc.h>
#include <sound/pcm_params.h>
#include <linux/platform_data/asoc-s3c.h>
#include <mach/dma.h>
#include "dma.h"
#include "spdif.h"
Go to the source code of this file.
#define CLKCTL_MCLK_EXT (0x1 << 2) |
#define CLKCTL_PWR_ON (0x1 << 0) |
#define CON_FIFO_TH_MASK (0x7 << 19) |
#define CON_FIFO_TH_SHIFT 19 |
#define CON_MASK 0x3ffffff |
#define CON_MCLKDIV_256FS (0x0 << 3) |
#define CON_MCLKDIV_384FS (0x1 << 3) |
#define CON_MCLKDIV_512FS (0x2 << 3) |
#define CON_MCLKDIV_MASK (0x3 << 3) |
#define CON_PCM_16BIT (0x0 << 1) |
#define CON_PCM_20BIT (0x1 << 1) |
#define CON_PCM_24BIT (0x2 << 1) |
#define CON_PCM_DATA (0x1 << 0) |
#define CON_PCM_MASK (0x3 << 1) |
#define CON_SW_RESET (0x1 << 5) |
#define CON_USERDATA_23RDBIT (0x1 << 12) |
#define CSTAS_CATEGORY_CODE_CDP (0x01 << 8) |
#define CSTAS_CATEGORY_MASK (0xFF << 8) |
#define CSTAS_MASK 0x3fffffff |
#define CSTAS_NO_COPYRIGHT (0x1 << 2) |
#define CSTAS_SAMP_FREQ_32 (0x3 << 24) |
#define CSTAS_SAMP_FREQ_44 (0x0 << 24) |
#define CSTAS_SAMP_FREQ_48 (0x2 << 24) |
#define CSTAS_SAMP_FREQ_96 (0xA << 24) |
#define CSTAS_SAMP_FREQ_MASK (0xF << 24) |
#define spdif_resume NULL |
#define spdif_suspend NULL |
MODULE_ALIAS |
( |
"platform:samsung-spdif" |
| ) |
|
MODULE_AUTHOR |
( |
"Seungwhan |
Youn, |
|
|
< sw.youn @samsung.com >" |
|
|
) |
| |
MODULE_DESCRIPTION |
( |
"Samsung S/PDIF Controller Driver" |
| ) |
|
module_platform_driver |
( |
samsung_spdif_driver |
| ) |
|