blob: e59180bdae20f4ce0530cc8d0577beff65be6e93 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: Intel */
Bin Meng1de482e2017-10-13 01:30:04 -07002/*
3 * Copyright (C) 2013, Intel Corporation
4 * Copyright (C) 2015, Google, Inc
Bin Meng1de482e2017-10-13 01:30:04 -07005 */
6
7#ifndef _FSP_AZALIA_H_
8#define _FSP_AZALIA_H_
9
10struct __packed azalia_verb_table_header {
11 u32 vendor_device_id;
12 u16 sub_system_id;
13 u8 revision_id; /* 0xff applies to all steppings */
14 u8 front_panel_support;
15 u16 number_of_rear_jacks;
16 u16 number_of_front_jacks;
17};
18
19struct __packed azalia_verb_table {
20 struct azalia_verb_table_header header;
21 const u32 *data;
22};
23
24struct __packed azalia_config {
25 u8 pme_enable:1;
26 u8 docking_supported:1;
27 u8 docking_attached:1;
28 u8 hdmi_codec_enable:1;
29 u8 azalia_v_ci_enable:1;
30 u8 rsvdbits:3;
31 /* number of verb tables provided by platform */
32 u8 verb_table_num;
33 const struct azalia_verb_table *verb_table;
34 /* delay timer after azalia reset */
35 u16 reset_wait_timer_ms;
36};
37
38#endif