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)
22 lines
357 B
C
22 lines
357 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef __SPI_SH_MSIOF_H__
|
|
#define __SPI_SH_MSIOF_H__
|
|
|
|
enum {
|
|
MSIOF_SPI_MASTER,
|
|
MSIOF_SPI_SLAVE,
|
|
};
|
|
|
|
struct sh_msiof_spi_info {
|
|
int tx_fifo_override;
|
|
int rx_fifo_override;
|
|
u16 num_chipselect;
|
|
int mode;
|
|
unsigned int dma_tx_id;
|
|
unsigned int dma_rx_id;
|
|
u32 dtdl;
|
|
u32 syncdl;
|
|
};
|
|
|
|
#endif /* __SPI_SH_MSIOF_H__ */
|