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
17 #define IFX_MODEM_6160 1
18 #define IFX_MODEM_6260 2