Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
23 lines
575 B
C
23 lines
575 B
C
/*
|
|
* Copyright (C) ST-Ericsson SA 2011
|
|
*
|
|
* Author: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com>
|
|
* License terms: GNU General Public License (GPL) version 2
|
|
*/
|
|
#ifndef __ASM_ARCH_USB_H
|
|
#define __ASM_ARCH_USB_H
|
|
|
|
#include <linux/dmaengine.h>
|
|
|
|
#define UX500_MUSB_DMA_NUM_RX_TX_CHANNELS 8
|
|
|
|
struct ux500_musb_board_data {
|
|
void **dma_rx_param_array;
|
|
void **dma_tx_param_array;
|
|
bool (*dma_filter)(struct dma_chan *chan, void *filter_param);
|
|
};
|
|
|
|
void ux500_add_usb(struct device *parent, resource_size_t base,
|
|
int irq, int *dma_rx_cfg, int *dma_tx_cfg);
|
|
#endif
|