Cliff Huang | 7e653d8 | 2022-01-21 17:36:20 -0800 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | #ifndef __DRIVERS_WWAN_FM_CHIP_H__ |
| 4 | #define __DRIVERS_WWAN_FM_CHIP_H__ |
| 5 | |
| 6 | struct drivers_wwan_fm_config { |
| 7 | const char *name; |
| 8 | const char *desc; |
| 9 | /* GPIO used for FULL_CARD_POWER_OFF# */ |
| 10 | struct acpi_gpio fcpo_gpio; |
| 11 | |
| 12 | /* GPIO used for RESET# */ |
| 13 | struct acpi_gpio reset_gpio; |
| 14 | |
| 15 | /* GPIO used for PERST# */ |
| 16 | struct acpi_gpio perst_gpio; |
| 17 | |
| 18 | /* GPIO used for wake */ |
| 19 | struct acpi_gpio wake_gpio; |
| 20 | |
| 21 | /* Pointer to the corresponding RTD3 */ |
| 22 | DEVTREE_CONST struct device *rtd3dev; |
Tim Wawrzynczak | 0292703 | 2022-02-28 08:57:09 -0700 | [diff] [blame] | 23 | |
| 24 | /* Add `DmaProperty` in _DSD */ |
| 25 | bool add_acpi_dma_property; |
Cliff Huang | 7e653d8 | 2022-01-21 17:36:20 -0800 | [diff] [blame] | 26 | }; |
| 27 | |
| 28 | #endif /* __DRIVERS_WWAN_FM_CHIP_H__ */ |