Revert "microblaze_mmu_v2: Update signal returning address"
[linux/fpc-iii.git] / sound / soc / ux500 / ux500_pcm.h
blob77ed44d371e994a244d1393f0898fbae8a7af764
1 /*
2 * Copyright (C) ST-Ericsson SA 2012
4 * Author: Ola Lilja <ola.o.lilja@stericsson.com>,
5 * Roger Nilsson <roger.xr.nilsson@stericsson.com>
6 * for ST-Ericsson.
8 * License terms:
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License version 2 as published
12 * by the Free Software Foundation.
14 #ifndef UX500_PCM_H
15 #define UX500_PCM_H
17 #include <asm/page.h>
19 #include <linux/workqueue.h>
21 #define UX500_PLATFORM_MIN_RATE_PLAYBACK 8000
22 #define UX500_PLATFORM_MAX_RATE_PLAYBACK 48000
23 #define UX500_PLATFORM_MIN_RATE_CAPTURE 8000
24 #define UX500_PLATFORM_MAX_RATE_CAPTURE 48000
26 #define UX500_PLATFORM_MIN_CHANNELS 1
27 #define UX500_PLATFORM_MAX_CHANNELS 8
29 #define UX500_PLATFORM_PERIODS_BYTES_MIN 128
30 #define UX500_PLATFORM_PERIODS_BYTES_MAX (64 * PAGE_SIZE)
31 #define UX500_PLATFORM_PERIODS_MIN 2
32 #define UX500_PLATFORM_PERIODS_MAX 48
33 #define UX500_PLATFORM_BUFFER_BYTES_MAX (2048 * PAGE_SIZE)
35 #endif