* * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ #include <device/azalia_device.h> const u32 cim_verb_data[] = { 0x10ec0887, /* Codec Vendor / Device ID: Realtek */ 0x10438444, /* Subsystem ID */ 0x0000000f, /* Number of 4 dword sets */ /* NID 0x01: Subsystem ID. */ AZALIA_SUBVENDOR(0x0, 0x10438444), /* NID 0x11. */ AZALIA_PIN_CFG(0x0, 0x11, 0x99430140), /* NID 0x12. */ AZALIA_PIN_CFG(0x0, 0x12, 0x411111f0), /* NID 0x14. */ AZALIA_PIN_CFG(0x0, 0x14, 0x01014010), /* NID 0x15. */ AZALIA_PIN_CFG(0x0, 0x15, 0x01011012), /* NID 0x16. */ AZALIA_PIN_CFG(0x0, 0x16, 0x01016011),
* * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #include <device/azalia_device.h> const u32 cim_verb_data[] = { /* coreboot specific header */ 0x83847680, /* Codec Vendor / Device ID: SigmaTel STAC9221 A1 */ 0x106b2200, /* Subsystem ID */ 0x0000000B, /* Number of 4 dword sets */ /* NID 0x01: Subsystem ID. */ AZALIA_SUBVENDOR(0x0, 0x106B2200), /* NID 0x0A. */ AZALIA_PIN_CFG(0x0, 0x0A, 0x0321E21F), /* NID 0x0B. */ AZALIA_PIN_CFG(0x0, 0x0B, 0x03A1E02E), /* NID 0x0C. */ AZALIA_PIN_CFG(0x0, 0x0C, 0x9017E110), /* NID 0x0D. */ AZALIA_PIN_CFG(0x0, 0x0D, 0x9017E11F), /* NID 0x0E. */ AZALIA_PIN_CFG(0x0, 0x0E, 0x400000FE),
#include <device/azalia_device.h> const u32 cim_verb_data[] = { /* coreboot specific header */ 0x10ec0283, // Codec Vendor / Device ID: Realtek ALC283 0x10ec0283, // Subsystem ID 0x0000000e, // Number of jacks (NID entries) 0x0017ff00, // Function Reset 0x0017ff00, // Double Function Reset 0x000F0000, // Pad - get vendor id 0x000F0002, // Pad - get revision id /* NID 0x01, HDA Codec Subsystem ID Verb Table */ AZALIA_SUBVENDOR(0x0, 0x11790670), /* Pin Widget Verb Table */ /* Pin Complex (NID 0x12) DMIC - Disabled */ AZALIA_PIN_CFG(0x0, 0x12, 0x411111f0), /* Pin Complex (NID 0x14) SPKR-OUT PORTD - Disabled */ AZALIA_PIN_CFG(0x0, 0x14, 0x401111f0), /* Pin Complex (NID 0x17) MONO Out - Disabled */ AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0), /* Pin Complex (NID 0x18) MIC1 PORTB */ // group 1, cap 1 // black, jack detect
#include <device/azalia_device.h> const u32 cim_verb_data[] = { /* coreboot specific header */ 0x10ec0269, // Codec Vendor / Device ID: Realtek ALC269VC 0x17aa21fb, // Subsystem ID 0x00000013, // Number of 4 dword sets /* Bits 31:28 - Codec Address */ /* Bits 27:20 - NID */ /* Bits 19:8 - Verb ID */ /* Bits 7:0 - Payload */ /* NID 0x01 - NodeInfo */ AZALIA_SUBVENDOR(0x0, 0x17AA21FB), /* NID 0x0A - External Microphone Connector * Config=0x04A11020 (External,Right; MicIn,3.5mm; Black,JD; DA,Seq) */ AZALIA_PIN_CFG(0x0, 0x0A, 0x04A11020), /* NID 0x0B - Headphone Connector * Config=0x0421101F (External,Right; HP,3.5mm; Black,JD; DA,Seq) */ AZALIA_PIN_CFG(0x0, 0x0B, 0x0421101F), /* NID 0x0C - Not connected * Config=0x40F000F0 (N/A,N/A; Other,Unknown; Unknown,JD; DA,Seq) */ AZALIA_PIN_CFG(0x0, 0x0C, 0x40F000F0),
#include <device/azalia_device.h> const u32 cim_verb_data[] = { /* coreboot specific header */ 0x111D76E5, // Codec Vendor / Device ID: IDT 92HD99 0x103C18F9, // Subsystem ID 0x00000073, // Number of 4 dword sets /* Bits 31:28 - Codec Address */ /* Bits 27:20 - NID */ /* Bits 19:8 - Verb ID */ /* Bits 7:0 - Payload */ /* NID 0x01 - NodeInfo */ AZALIA_SUBVENDOR(0x0, 0x103C18F9), /* NID 0x0A - External Microphone Connector * Config=0x04A11020 (External,Right; MicIn,3.5mm; Black,JD; DA,Seq) */ AZALIA_PIN_CFG(0x0, 0x0A, 0x04A11020), /* NID 0x0B - Headphone Connector * Config=0x0421101F (External,Right; HP,3.5mm; Black,JD; DA,Seq) */ AZALIA_PIN_CFG(0x0, 0x0B, 0x0421101F), /* NID 0x0C - Not connected * Config=0x40F000F0 (N/A,N/A; Other,Unknown; Unknown,JD; DA,Seq) */ AZALIA_PIN_CFG(0x0, 0x0C, 0x40F000F0),
* * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #include <device/azalia_device.h> const u32 cim_verb_data[] = { /* coreboot specific header */ 0x10134210, // Codec Vendor / Device ID: Realtek ALC262 0x144db082, // Subsystem ID 0x00000007, // Number of jacks /* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x144dc0c2 */ AZALIA_SUBVENDOR(0x0, 0x144db082), 0x00170500, /* Pin Widget Verb Table */ /* Pin Complex (NID 0x05) */ AZALIA_PIN_CFG(0x0, 0x05, 0x022110f0), /* Pin Complex (NID 0x06) */ AZALIA_PIN_CFG(0x0, 0x06, 0x901700f0), /* Pin Complex (NID 0x07) */ AZALIA_PIN_CFG(0x0, 0x07, 0x02a110f0), /* Pin Complex (NID 0x08) */
* HDA codec soldered onto the ASUS M2N-E: * Analog Devices AD1988B (High Definition Audio SoundMAX Codec), rev. 0x100200 * http://www.analog.com/static/imported-files/data_sheets/AD1988A_1988B.pdf */ #include <device/azalia_device.h> const u32 cim_verb_data[] = { /* coreboot specific header */ 0x11d4198b, /* Codec Vendor / Device ID: Analog Devices AD1988B */ 0x104381f6, /* Subsystem ID (0x1043 == ASUS) */ 0x0000000d, /* Number of "pin complex" entries in the table */ /* NID 0x01, FUNCTION, Designates this device as an audio codec */ /* Set the Implementation ID (IID), here: 0x104381f6. */ AZALIA_SUBVENDOR(0x0, 0x104381f6), /* "Pin complex" HDA widgets. Comments: Node ID, Name, Description. */ /* NID 0x11, Port A, Front panel headphone jack */ AZALIA_PIN_CFG(0x0, 0x11, 0x02214130), /* NID 0x12, Port D, Rear panel front speaker jack */ AZALIA_PIN_CFG(0x0, 0x12, 0x01014010), /* NID 0x13, MONO_OUT, Monaural output pin */ AZALIA_PIN_CFG(0x0, 0x13, 0x511711f0), /* NID 0x14, Port B, Front panel microphone jack */ AZALIA_PIN_CFG(0x0, 0x14, 0x02a19122),
#include <device/azalia_device.h> const u32 cim_verb_data[] = { /* coreboot specific header */ 0x10ec0283, // Codec Vendor / Device ID: Realtek ALC283 0x10ec0283, // Subsystem ID 0x0000000d, // Number of jacks (NID entries) 0x0017ff00, // Function Reset 0x0017ff00, // Double Function Reset 0x000F0000, // Pad - get vendor id 0x000F0002, // Pad - get revision id /* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x10ec0283 */ AZALIA_SUBVENDOR(0x0, 0x10ec0283), /* Pin Widget Verb Table */ /* Pin Complex (NID 0x12) DMIC - interior mobile lid */ AZALIA_PIN_CFG(0x0, 0x12, 0xb7a61010), /* Pin Complex (NID 0x14) SPKR-OUT PORTD */ // group 1, front left/right // no connector, no jack detect // speaker out, analog // fixed function, internal AZALIA_PIN_CFG(0x0, 0x14, 0x90170110), /* Pin Complex (NID 0x17) */ AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0),
* This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ #include <device/azalia_device.h> const u32 cim_verb_data[] = { /* coreboot specific header */ 0x10134210, // Codec Vendor / Device ID: Cirrus Logic CS4210 0x10134210, // Subsystem ID 0x00000007, // Number of jacks /* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x10134210 */ AZALIA_SUBVENDOR(0x0, 0x10134210), /* Pin Widget Verb Table */ /* Pin Complex (NID 0x05) 1/8 Gray HP Out at Ext Front */ AZALIA_PIN_CFG(0x0, 0x05, 0x022120f0), /* Pin Complex (NID 0x06) Analog Unknown Speaker at Int N/A */ AZALIA_PIN_CFG(0x0, 0x06, 0x90170010), /* Pin Complex (NID 0x07) 1/8 Grey Line In at Ext Front */ AZALIA_PIN_CFG(0x0, 0x07, 0x02a120f0), /* Pin Complex (NID 0x08) Analog Unknown Mic at Oth Mobile-In */ AZALIA_PIN_CFG(0x0, 0x08, 0x77a70037),
* This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ #include <device/azalia_device.h> const u32 cim_verb_data[] = { /* coreboot specific header */ 0x10ec0262, // Codec Vendor / Device ID: Realtek ALC262 0x10714700, // Subsystem ID 0x0000000d, // Number of jacks /* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x10ec0000 */ AZALIA_SUBVENDOR(0x0, 0x10EC0000), /* Pin Widget Verb Table */ /* Pin Complex (NID 0x12), DMIC */ AZALIA_PIN_CFG(0x0, 0x12, 0x411111F0), /* Pin Complex (NID 0x14), LINE_OUT (port D) */ AZALIA_PIN_CFG(0x0, 0x14, 0x99130110), /* Pin Complex (NID 0x15), HP_OUT (port A) */ AZALIA_PIN_CFG(0x0, 0x15, 0x01214020), /* Pin Complex (NID 0x16), MONO-OUT */ AZALIA_PIN_CFG(0x0, 0x16, 0x411111F0),
* This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ #include <device/azalia_device.h> const u32 cim_verb_data[] = { /* coreboot specific header */ 0x10ec0269, // Codec Vendor / Device ID: Realtek 0x17aa21fe, // Subsystem ID 0x0000000c, // Number of jacks /* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x17aa21fe */ AZALIA_SUBVENDOR(0x0, 0x17aa21fe), /* Pin Widget Verb Table */ /* Pin Complex (NID 0x12): 0x90a60930 DMIC */ AZALIA_PIN_CFG(0x0, 0x12, 0x90a60930), /* Pin Complex (NID 0x14): 0x90170110 SPEAKER-OUT (Port-D) */ AZALIA_PIN_CFG(0x0, 0x14, 0x90170110), /* Pin Complex (NID 0x15): 0x0321101f HP-OUT (Port-A) */ AZALIA_PIN_CFG(0x0, 0x15, 0x0321101f), /* Pin Complex (NID 0x17): 0x411111f0 MONO-OUT (Port-H) */ AZALIA_PIN_CFG(0x0, 0x17, 0x411111f0),