Merge tag 'v3.3.7' into 3.3/master
[zen-stable.git] / arch / arm / mach-ux500 / include / mach / usb.h
blobd3739d418813f5ddf64f64dea4e99fea57961f24
1 /*
2 * Copyright (C) ST-Ericsson SA 2011
4 * Author: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com>
5 * License terms: GNU General Public License (GPL) version 2
6 */
7 #ifndef __ASM_ARCH_USB_H
8 #define __ASM_ARCH_USB_H
10 #include <linux/dmaengine.h>
12 #define UX500_MUSB_DMA_NUM_RX_CHANNELS 8
13 #define UX500_MUSB_DMA_NUM_TX_CHANNELS 8
15 struct ux500_musb_board_data {
16 void **dma_rx_param_array;
17 void **dma_tx_param_array;
18 u32 num_rx_channels;
19 u32 num_tx_channels;
20 bool (*dma_filter)(struct dma_chan *chan, void *filter_param);
23 void ux500_add_usb(resource_size_t base, int irq, int *dma_rx_cfg,
24 int *dma_tx_cfg);
25 #endif