Matt DeVillier | 3a4ac3a | 2023-01-17 10:57:42 -0600 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | #ifndef __DRIVERS_AUDIO_SOF_H__ |
| 4 | #define __DRIVERS_AUDIO_SOF_H__ |
| 5 | |
| 6 | #include <acpi/acpi_device.h> |
| 7 | #include <stdint.h> |
| 8 | |
| 9 | /* Speaker topology */ |
| 10 | enum _spkr_tplg { |
| 11 | max98373 = 1, |
| 12 | max98360a, |
| 13 | max98357a, |
Matt DeVillier | e1ff875 | 2023-05-13 14:46:51 -0500 | [diff] [blame] | 14 | max98357a_tdm, |
Matt DeVillier | 3a4ac3a | 2023-01-17 10:57:42 -0600 | [diff] [blame] | 15 | max98390, |
| 16 | rt1011, |
| 17 | rt1015, |
| 18 | }; |
| 19 | |
| 20 | /* Jack topology */ |
| 21 | enum _jack_tplg { |
| 22 | cs42l42 = 1, |
| 23 | da7219, |
| 24 | nau8825, |
| 25 | rt5682, |
| 26 | }; |
| 27 | |
| 28 | /* Mic topology */ |
| 29 | enum _mic_tplg { |
| 30 | _1ch = 1, |
| 31 | _2ch_pdm0, |
| 32 | _2ch_pdm1, |
| 33 | _4ch, |
| 34 | }; |
| 35 | |
Matt DeVillier | 3a4ac3a | 2023-01-17 10:57:42 -0600 | [diff] [blame] | 36 | struct drivers_sof_config { |
Matt DeVillier | 4c5ec21 | 2023-05-15 10:32:00 -0500 | [diff] [blame^] | 37 | enum _spkr_tplg spkr_tplg; |
| 38 | enum _jack_tplg jack_tplg; |
| 39 | enum _mic_tplg mic_tplg; |
Matt DeVillier | 3a4ac3a | 2023-01-17 10:57:42 -0600 | [diff] [blame] | 40 | }; |
| 41 | |
| 42 | #endif /* __DRIVERS_AUDIO_SOF_H__ */ |