summaryrefslogtreecommitdiff
path: root/src/drivers/wwan/fm/chip.h
blob: 635178bd16e0a44efbad30d6d38fd19a588aaad1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* SPDX-License-Identifier: GPL-2.0-only */

#ifndef __DRIVERS_WWAN_FM_CHIP_H__
#define __DRIVERS_WWAN_FM_CHIP_H__

struct drivers_wwan_fm_config {
	const char *name;
	const char *desc;
	/* GPIO used for FULL_CARD_POWER_OFF# */
	struct acpi_gpio fcpo_gpio;

	/* GPIO used for RESET# */
	struct acpi_gpio reset_gpio;

	/* GPIO used for PERST# */
	struct acpi_gpio perst_gpio;

	/* GPIO used for wake */
	struct acpi_gpio wake_gpio;

	/* Pointer to the corresponding RTD3 */
	DEVTREE_CONST struct device *rtd3dev;
};

#endif /* __DRIVERS_WWAN_FM_CHIP_H__ */