]> git.sur5r.net Git - u-boot/blob - arch/x86/include/asm/fsp/fsp_azalia.h
x86: fsp: Consolidate Azalia header file
[u-boot] / arch / x86 / include / asm / fsp / fsp_azalia.h
1 /*
2  * Copyright (C) 2013, Intel Corporation
3  * Copyright (C) 2015, Google, Inc
4  *
5  * SPDX-License-Identifier:     Intel
6  */
7
8 #ifndef _FSP_AZALIA_H_
9 #define _FSP_AZALIA_H_
10
11 struct __packed azalia_verb_table_header {
12         u32 vendor_device_id;
13         u16 sub_system_id;
14         u8 revision_id;         /* 0xff applies to all steppings */
15         u8 front_panel_support;
16         u16 number_of_rear_jacks;
17         u16 number_of_front_jacks;
18 };
19
20 struct __packed azalia_verb_table {
21         struct azalia_verb_table_header header;
22         const u32 *data;
23 };
24
25 struct __packed azalia_config {
26         u8 pme_enable:1;
27         u8 docking_supported:1;
28         u8 docking_attached:1;
29         u8 hdmi_codec_enable:1;
30         u8 azalia_v_ci_enable:1;
31         u8 rsvdbits:3;
32         /* number of verb tables provided by platform */
33         u8 verb_table_num;
34         const struct azalia_verb_table *verb_table;
35         /* delay timer after azalia reset */
36         u16 reset_wait_timer_ms;
37 };
38
39 #endif