]> git.sur5r.net Git - u-boot/blob - arch/x86/include/asm/arch-baytrail/fsp/azalia.h
x86: Rename PORT_RESET to IO_PORT_RESET
[u-boot] / arch / x86 / include / asm / arch-baytrail / 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 pch_azalia_verb_table_header {
12         uint32_t vendor_device_id;
13         uint16_t sub_system_id;
14         uint8_t revision_id;            /* 0xff applies to all steppings */
15         uint8_t front_panel_support;
16         uint16_t number_of_rear_jacks;
17         uint16_t number_of_front_jacks;
18 };
19
20 struct __packed pch_azalia_verb_table {
21         struct pch_azalia_verb_table_header verb_table_header;
22         const uint32_t *verb_table_data;
23 };
24
25 struct __packed pch_azalia_config {
26         uint8_t pme_enable:1;
27         uint8_t docking_supported:1;
28         uint8_t docking_attached:1;
29         uint8_t hdmi_codec_enable:1;
30         uint8_t azalia_v_ci_enable:1;
31         uint8_t rsvdbits:3;
32         /* number of verb tables provided by platform */
33         uint8_t azalia_verb_table_num;
34         const struct pch_azalia_verb_table *azalia_verb_table;
35         /* delay timer after azalia reset */
36         uint16_t reset_wait_timer_us;
37 };
38
39 #endif