Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | #ifndef LINUX_IFX_MODEM_H |
| 3 | #define LINUX_IFX_MODEM_H |
| 4 | |
| 5 | struct ifx_modem_platform_data { |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 6 | unsigned short tx_pwr; /* modem power threshold */ |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 7 | unsigned char modem_type; /* Modem type */ |
| 8 | unsigned long max_hz; /* max SPI frequency */ |
| 9 | unsigned short use_dma:1; /* spi protocol driver supplies |
| 10 | dma-able addrs */ |
| 11 | }; |
| 12 | #define IFX_MODEM_6160 1 |
| 13 | #define IFX_MODEM_6260 2 |
| 14 | |
| 15 | #endif |