coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
nhlt.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
3 #ifndef _SOC_APOLLOLAKE_NHLT_H_
4 #define _SOC_APOLLOLAKE_NHLT_H_
5 
6 #include <nhlt.h>
7 
8 #define NHLT_VID 0x8086
9 #define NHLT_DID_DMIC 0xae20
10 #define NHLT_DID_BT 0xae30
11 #define NHLT_DID_SSP 0xae34
12 
13 /* The following link values should be used for the hwlink parameters below. */
14 enum {
22 };
23 
24 /* Returns < 0 on error, 0 on success. */
25 int nhlt_soc_add_dmic_array(struct nhlt *nhlt, int num_channels);
26 int nhlt_soc_add_max98357(struct nhlt *nhlt, int hwlink);
27 int nhlt_soc_add_da7219(struct nhlt *nhlt, int hwlink);
28 int nhlt_soc_add_rt5682(struct nhlt *nhlt, int hwlink);
29 
30 #endif
int nhlt_soc_add_da7219(struct nhlt *nhlt, int hwlink)
Definition: nhlt.c:232
int nhlt_soc_add_dmic_array(struct nhlt *nhlt, int num_channels)
Definition: nhlt.c:168
int nhlt_soc_add_rt5682(struct nhlt *nhlt, int hwlink)
Definition: nhlt.c:246
@ AUDIO_LINK_SSP2
Definition: nhlt.h:17
@ AUDIO_LINK_SSP0
Definition: nhlt.h:15
@ AUDIO_LINK_SSP5
Definition: nhlt.h:20
@ AUDIO_LINK_DMIC
Definition: nhlt.h:21
@ AUDIO_LINK_SSP4
Definition: nhlt.h:19
@ AUDIO_LINK_SSP3
Definition: nhlt.h:18
@ AUDIO_LINK_SSP1
Definition: nhlt.h:16
int nhlt_soc_add_max98357(struct nhlt *nhlt, int hwlink)
Definition: nhlt.c:239
Definition: nhlt.h:287