linux/include/linux/platform_data/usb-musb-ux500.h
<<
>>
Prefs
   1/* SPDX-License-Identifier: GPL-2.0-only */
   2/*
   3 * Copyright (C) ST-Ericsson SA 2011
   4 *
   5 * Author: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com>
   6 */
   7#ifndef __ASM_ARCH_USB_H
   8#define __ASM_ARCH_USB_H
   9
  10#include <linux/dmaengine.h>
  11
  12#define UX500_MUSB_DMA_NUM_RX_TX_CHANNELS 8
  13
  14struct ux500_musb_board_data {
  15        void    **dma_rx_param_array;
  16        void    **dma_tx_param_array;
  17        bool (*dma_filter)(struct dma_chan *chan, void *filter_param);
  18};
  19
  20void ux500_add_usb(struct device *parent, resource_size_t base,
  21                   int irq, int *dma_rx_cfg, int *dma_tx_cfg);
  22#endif
  23