xref: /aosp_15_r20/external/coreboot/src/drivers/wwan/fm/chip.h (revision b9411a12aaaa7e1e6a6fb7c5e057f44ee179a49c)
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;
23 
24 	/* Add `DmaProperty` in _DSD */
25 	bool add_acpi_dma_property;
26 };
27 
28 #endif /* __DRIVERS_WWAN_FM_CHIP_H__ */
29