unify {de,}mangle_poll(), get rid of kernel-side POLL...
[cris-mirror.git] / include / linux / spi / ifx_modem.h
blob694268c78d5da053440cf4c69875e6b9901dfe47
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef LINUX_IFX_MODEM_H
3 #define LINUX_IFX_MODEM_H
5 struct ifx_modem_platform_data {
6 unsigned short rst_out; /* modem reset out */
7 unsigned short pwr_on; /* power on */
8 unsigned short rst_pmu; /* reset modem */
9 unsigned short tx_pwr; /* modem power threshold */
10 unsigned short srdy; /* SRDY */
11 unsigned short mrdy; /* MRDY */
12 unsigned char modem_type; /* Modem type */
13 unsigned long max_hz; /* max SPI frequency */
14 unsigned short use_dma:1; /* spi protocol driver supplies
15 dma-able addrs */
17 #define IFX_MODEM_6160 1
18 #define IFX_MODEM_6260 2
20 #endif