| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
| 2 | |
| 3 | #ifndef __DRIVERS_AMD_I2S_MACHINE_DEV_H__ |
| 4 | #define __DRIVERS_AMD_I2S_MACHINE_DEV_H__ |
| 5 | |
| 6 | #include <acpi/acpi_device.h> |
| 7 | |
| 8 | struct drivers_amd_i2s_machine_dev_config { |
| 9 | /* ACPI _HID (required) */ |
| 10 | const char *hid; |
| 11 | |
| 12 | /* ACPI _UID */ |
| 13 | unsigned int uid; |
| 14 | |
| 15 | /* |
| 16 | * DMIC select GPIO (optional). Needs to be configured if the audio framework cannot use |
| 17 | * all the mics and select the right channel based on the use-case. |
| 18 | */ |
| 19 | struct acpi_gpio dmic_select_gpio; |
| 20 | }; |
| 21 | |
| 22 | #endif /* ___DRIVERS_AMD_I2S_MACHINE_DEV_H__ */ |