diff options
Diffstat (limited to 'arch/blackfin/include')
-rw-r--r-- | arch/blackfin/include/asm/bfin_sport.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/blackfin/include/asm/bfin_sport.h b/arch/blackfin/include/asm/bfin_sport.h index f8568a31d0ab..0afcfbd54a82 100644 --- a/arch/blackfin/include/asm/bfin_sport.h +++ b/arch/blackfin/include/asm/bfin_sport.h | |||
@@ -13,6 +13,7 @@ | |||
13 | #define NORM_MODE 0x0 | 13 | #define NORM_MODE 0x0 |
14 | #define TDM_MODE 0x1 | 14 | #define TDM_MODE 0x1 |
15 | #define I2S_MODE 0x2 | 15 | #define I2S_MODE 0x2 |
16 | #define NDSO_MODE 0x3 | ||
16 | 17 | ||
17 | /* Data format, normal, a-law or u-law */ | 18 | /* Data format, normal, a-law or u-law */ |
18 | #define NORM_FORMAT 0x0 | 19 | #define NORM_FORMAT 0x0 |
@@ -56,6 +57,8 @@ struct sport_config { | |||
56 | /* Userspace interface */ | 57 | /* Userspace interface */ |
57 | #define SPORT_IOC_MAGIC 'P' | 58 | #define SPORT_IOC_MAGIC 'P' |
58 | #define SPORT_IOC_CONFIG _IOWR('P', 0x01, struct sport_config) | 59 | #define SPORT_IOC_CONFIG _IOWR('P', 0x01, struct sport_config) |
60 | #define SPORT_IOC_GET_SYSTEMCLOCK _IOR('P', 0x02, unsigned long) | ||
61 | #define SPORT_IOC_SET_BAUDRATE _IOW('P', 0x03, unsigned long) | ||
59 | 62 | ||
60 | #ifdef __KERNEL__ | 63 | #ifdef __KERNEL__ |
61 | 64 | ||