Fix a few whitespace and coding style issues.
[coreboot.git] / src / mainboard / iwave / iWRainbowG6 / hda_verb.h
1 /*
2  * This file is part of the coreboot project.
3  *
4  * Copyright (C) 2009-2010 iWave Systems
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; version 2 of the License.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18  */
19
20 static u32 mainboard_cim_verb_data[] = {
21         /* coreboot specific header */
22         0x111d76d5,             // Codec Vendor / Device ID: IDT 92HD81
23         0x00000000,             // Subsystem ID
24         0x0000000a,             // Number of jacks
25
26         /* NID 0x0a, Port A (capless headphone) */
27         0x0A71C40,
28         0x0A71D10,
29         0x0A71EA1,
30         0x0A71F02,
31
32         /* NID 0x0b, Port B (capless headphone) */
33         0x0B71C1F,
34         0x0B71D10,
35         0x0B71E21,
36         0x0B71F02,
37
38         /*
39          * NID 0x0c, Port C (Line IN/OUT+MIC for YD/UA revisions, and
40          * Line IN+MIC for TA revision)
41          */
42         0x0C71CF0,
43         0x0C71D00,
44         0x0C71E00,
45         0x0C71F40,
46
47         /* NID 0x0d, Port D (BTL output - EAPD control) */
48         0x0D71C10,
49         0x0D71D41,
50         0x0D71E10,
51         0x0D71F10,
52
53         /* NID 0x0e, Port E (Line IN/OUT) */
54         0x0E71CF0,
55         0x0E71D00,
56         0x0E71E00,
57         0x0E71F40,
58
59         /* NID 0x0f, Port F (Line IN/OUT, MIC) */
60         0x0F71CF0,
61         0x0F71D00,
62         0x0F71E00,
63         0x0F71F40,
64
65         /* NID 0x10, MonoOut (output-only) */
66         0x1071CF0,
67         0x1071D00,
68         0x1071EF0,
69         0x1071F40,
70
71         /* NID 0x10, DigMic0 (Digital Microphone 0) */
72         0x1171CF0,
73         0x1171D00,
74         0x1171E00,
75         0x1171F40,
76
77         /* NID 0x1f, Dig0Pin (First Digital Output Pin) */
78         0x1F71C50,
79         0x1F71D21,
80         0x1F71E40,
81         0x1F71F10,
82
83         /* NID 0x20, Dig1Pin (Second Digital Output Pin / DMIC Input Pin) */
84         0x2071CF0,
85         0x2071D00,
86         0x2071E00,
87         0x2071F40,
88
89         /* BTL Gain */
90         0x017F417, /* Gain = 16.79dB */
91 };
92
93 extern const u32 *cim_verb_data;
94 extern u32 cim_verb_data_size;