Add HDA settings and disable GPU by default (temporary)
This commit is contained in:
@@ -233,9 +233,9 @@ static const struct pad_config gpio_table[] = {
|
|||||||
|
|
||||||
// UART
|
// UART
|
||||||
// UART2_RXD
|
// UART2_RXD
|
||||||
PAD_CFG_NF(GPP_C20, NONE, DEEP, NF1),
|
PAD_CFG_NC(GPP_C20), //PAD_CFG_NF(GPP_C20, NONE, DEEP, NF1),
|
||||||
// UART2_TXD
|
// UART2_TXD
|
||||||
PAD_CFG_NF(GPP_C21, NONE, DEEP, NF1),
|
PAD_CFG_NC(GPP_C21), //PAD_CFG_NF(GPP_C21, NONE, DEEP, NF1),
|
||||||
// NC
|
// NC
|
||||||
PAD_CFG_NC(GPP_C22),
|
PAD_CFG_NC(GPP_C22),
|
||||||
// NC
|
// NC
|
||||||
@@ -396,9 +396,9 @@ static const struct pad_config gpio_table[] = {
|
|||||||
// EDP_BRIGHTNESS
|
// EDP_BRIGHTNESS
|
||||||
PAD_CFG_NF(GPP_F21, NONE, DEEP, NF1),
|
PAD_CFG_NF(GPP_F21, NONE, DEEP, NF1),
|
||||||
// TODO: DGPU_RST#_PCH
|
// TODO: DGPU_RST#_PCH
|
||||||
PAD_CFG_GPO(GPP_F22, 1, DEEP),
|
PAD_CFG_GPO(GPP_F22, 0, DEEP),
|
||||||
// TODO: DGPU_PWR_EN
|
// TODO: DGPU_PWR_EN
|
||||||
PAD_CFG_GPO(GPP_F23, 1, DEEP),
|
PAD_CFG_GPO(GPP_F23, 0, DEEP),
|
||||||
|
|
||||||
// GPP_G
|
// GPP_G
|
||||||
// SD
|
// SD
|
||||||
@@ -408,7 +408,7 @@ static const struct pad_config gpio_table[] = {
|
|||||||
PAD_CFG_NC(GPP_G1),
|
PAD_CFG_NC(GPP_G1),
|
||||||
// TODO: TPM_DET
|
// TODO: TPM_DET
|
||||||
PAD_CFG_NC(GPP_G2),
|
PAD_CFG_NC(GPP_G2),
|
||||||
// //TODO: GPIO4_1V8_MAIN_EN_R
|
// TODO: GPIO4_1V8_MAIN_EN_R
|
||||||
PAD_CFG_NC(GPP_G3),
|
PAD_CFG_NC(GPP_G3),
|
||||||
// NC
|
// NC
|
||||||
PAD_CFG_NC(GPP_G4),
|
PAD_CFG_NC(GPP_G4),
|
||||||
@@ -608,9 +608,9 @@ static const struct pad_config gpio_table[] = {
|
|||||||
static const struct pad_config early_gpio_table[] = {
|
static const struct pad_config early_gpio_table[] = {
|
||||||
// UART2
|
// UART2
|
||||||
// UART2_RXD
|
// UART2_RXD
|
||||||
PAD_CFG_NF(GPP_C20, NONE, DEEP, NF1),
|
PAD_CFG_NC(GPP_C20), //PAD_CFG_NF(GPP_C20, NONE, DEEP, NF1),
|
||||||
// UART2_TXD
|
// UART2_TXD
|
||||||
PAD_CFG_NF(GPP_C21, NONE, DEEP, NF1),
|
PAD_CFG_NC(GPP_C21), //PAD_CFG_NF(GPP_C21, NONE, DEEP, NF1),
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -19,22 +19,21 @@
|
|||||||
#include <device/azalia_device.h>
|
#include <device/azalia_device.h>
|
||||||
|
|
||||||
const u32 cim_verb_data[] = {
|
const u32 cim_verb_data[] = {
|
||||||
/* Realtek, ALC293 */
|
/* Realtek, ALC269VC */
|
||||||
0x10ec0293, /* Vendor ID */
|
0x10ec0269, /* Vendor ID */
|
||||||
0x15581325, /* Subsystem ID */
|
0x15588560, /* Subsystem ID */
|
||||||
12, /* Number of entries */
|
11, /* Number of entries */
|
||||||
AZALIA_SUBVENDOR(0, 0x15581325),
|
AZALIA_SUBVENDOR(0, 0x15588560),
|
||||||
AZALIA_PIN_CFG(0, 0x12, 0x90a60140),
|
AZALIA_PIN_CFG(0, 0x12, 0x90a60140),
|
||||||
AZALIA_PIN_CFG(0, 0x13, 0x40000000),
|
|
||||||
AZALIA_PIN_CFG(0, 0x14, 0x90170110),
|
AZALIA_PIN_CFG(0, 0x14, 0x90170110),
|
||||||
AZALIA_PIN_CFG(0, 0x15, 0x02211020),
|
AZALIA_PIN_CFG(0, 0x15, 0x02211020),
|
||||||
AZALIA_PIN_CFG(0, 0x16, 0x411111f0),
|
AZALIA_PIN_CFG(0, 0x17, 0x40000000),
|
||||||
AZALIA_PIN_CFG(0, 0x18, 0x02a11050),
|
AZALIA_PIN_CFG(0, 0x18, 0x02a11030),
|
||||||
AZALIA_PIN_CFG(0, 0x19, 0x411111f0),
|
AZALIA_PIN_CFG(0, 0x19, 0x02a1103f),
|
||||||
AZALIA_PIN_CFG(0, 0x1a, 0x411111f0),
|
AZALIA_PIN_CFG(0, 0x1a, 0x411111f0),
|
||||||
AZALIA_PIN_CFG(0, 0x1b, 0x411111f0),
|
AZALIA_PIN_CFG(0, 0x1b, 0x411111f0),
|
||||||
AZALIA_PIN_CFG(0, 0x1d, 0x41738205),
|
AZALIA_PIN_CFG(0, 0x1d, 0x40f00001),
|
||||||
AZALIA_PIN_CFG(0, 0x1e, 0x02451130),
|
AZALIA_PIN_CFG(0, 0x1e, 0x411111f0),
|
||||||
/* Intel, KabylakeHDMI */
|
/* Intel, KabylakeHDMI */
|
||||||
0x8086280b, /* Vendor ID */
|
0x8086280b, /* Vendor ID */
|
||||||
0x80860101, /* Subsystem ID */
|
0x80860101, /* Subsystem ID */
|
||||||
|
@@ -19,22 +19,21 @@
|
|||||||
#include <device/azalia_device.h>
|
#include <device/azalia_device.h>
|
||||||
|
|
||||||
const u32 cim_verb_data[] = {
|
const u32 cim_verb_data[] = {
|
||||||
/* Realtek, ALC293 */
|
/* Realtek, ALC269VC */
|
||||||
0x10ec0293, /* Vendor ID */
|
0x10ec0269, /* Vendor ID */
|
||||||
0x15581325, /* Subsystem ID */
|
0x15588561, /* Subsystem ID */
|
||||||
12, /* Number of entries */
|
11, /* Number of entries */
|
||||||
AZALIA_SUBVENDOR(0, 0x15581325),
|
AZALIA_SUBVENDOR(0, 0x15588561),
|
||||||
AZALIA_PIN_CFG(0, 0x12, 0x90a60140),
|
AZALIA_PIN_CFG(0, 0x12, 0x90a60140),
|
||||||
AZALIA_PIN_CFG(0, 0x13, 0x40000000),
|
|
||||||
AZALIA_PIN_CFG(0, 0x14, 0x90170110),
|
AZALIA_PIN_CFG(0, 0x14, 0x90170110),
|
||||||
AZALIA_PIN_CFG(0, 0x15, 0x02211020),
|
AZALIA_PIN_CFG(0, 0x15, 0x02211020),
|
||||||
AZALIA_PIN_CFG(0, 0x16, 0x411111f0),
|
AZALIA_PIN_CFG(0, 0x17, 0x40000000),
|
||||||
AZALIA_PIN_CFG(0, 0x18, 0x02a11050),
|
AZALIA_PIN_CFG(0, 0x18, 0x02a11030),
|
||||||
AZALIA_PIN_CFG(0, 0x19, 0x411111f0),
|
AZALIA_PIN_CFG(0, 0x19, 0x02a1103f),
|
||||||
AZALIA_PIN_CFG(0, 0x1a, 0x411111f0),
|
AZALIA_PIN_CFG(0, 0x1a, 0x411111f0),
|
||||||
AZALIA_PIN_CFG(0, 0x1b, 0x411111f0),
|
AZALIA_PIN_CFG(0, 0x1b, 0x411111f0),
|
||||||
AZALIA_PIN_CFG(0, 0x1d, 0x41738205),
|
AZALIA_PIN_CFG(0, 0x1d, 0x40f00001),
|
||||||
AZALIA_PIN_CFG(0, 0x1e, 0x02451130),
|
AZALIA_PIN_CFG(0, 0x1e, 0x411111f0),
|
||||||
/* Intel, KabylakeHDMI */
|
/* Intel, KabylakeHDMI */
|
||||||
0x8086280b, /* Vendor ID */
|
0x8086280b, /* Vendor ID */
|
||||||
0x80860101, /* Subsystem ID */
|
0x80860101, /* Subsystem ID */
|
||||||
|
@@ -1,52 +1 @@
|
|||||||
/*
|
//TODO
|
||||||
* This file is part of the coreboot project.
|
|
||||||
*
|
|
||||||
* Copyright (C) 2019 System76
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU General Public License as published by
|
|
||||||
* the Free Software Foundation; version 2 of the License.
|
|
||||||
*
|
|
||||||
* 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef HDA_VERB_H
|
|
||||||
#define HDA_VERB_H
|
|
||||||
|
|
||||||
#include <device/azalia_device.h>
|
|
||||||
|
|
||||||
const u32 cim_verb_data[] = {
|
|
||||||
/* Realtek, ALC293 */
|
|
||||||
0x10ec0293, /* Vendor ID */
|
|
||||||
0x15581325, /* Subsystem ID */
|
|
||||||
12, /* Number of entries */
|
|
||||||
AZALIA_SUBVENDOR(0, 0x15581325),
|
|
||||||
AZALIA_PIN_CFG(0, 0x12, 0x90a60140),
|
|
||||||
AZALIA_PIN_CFG(0, 0x13, 0x40000000),
|
|
||||||
AZALIA_PIN_CFG(0, 0x14, 0x90170110),
|
|
||||||
AZALIA_PIN_CFG(0, 0x15, 0x02211020),
|
|
||||||
AZALIA_PIN_CFG(0, 0x16, 0x411111f0),
|
|
||||||
AZALIA_PIN_CFG(0, 0x18, 0x02a11050),
|
|
||||||
AZALIA_PIN_CFG(0, 0x19, 0x411111f0),
|
|
||||||
AZALIA_PIN_CFG(0, 0x1a, 0x411111f0),
|
|
||||||
AZALIA_PIN_CFG(0, 0x1b, 0x411111f0),
|
|
||||||
AZALIA_PIN_CFG(0, 0x1d, 0x41738205),
|
|
||||||
AZALIA_PIN_CFG(0, 0x1e, 0x02451130),
|
|
||||||
/* Intel, KabylakeHDMI */
|
|
||||||
0x8086280b, /* Vendor ID */
|
|
||||||
0x80860101, /* Subsystem ID */
|
|
||||||
4, /* Number of entries */
|
|
||||||
AZALIA_SUBVENDOR(2, 0x80860101),
|
|
||||||
AZALIA_PIN_CFG(2, 0x05, 0x18560010),
|
|
||||||
AZALIA_PIN_CFG(2, 0x06, 0x18560010),
|
|
||||||
AZALIA_PIN_CFG(2, 0x07, 0x18560010),
|
|
||||||
};
|
|
||||||
|
|
||||||
const u32 pc_beep_verbs[] = {};
|
|
||||||
|
|
||||||
AZALIA_ARRAY_SIZES;
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
@@ -1,52 +1 @@
|
|||||||
/*
|
//TODO
|
||||||
* This file is part of the coreboot project.
|
|
||||||
*
|
|
||||||
* Copyright (C) 2019 System76
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU General Public License as published by
|
|
||||||
* the Free Software Foundation; version 2 of the License.
|
|
||||||
*
|
|
||||||
* 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef HDA_VERB_H
|
|
||||||
#define HDA_VERB_H
|
|
||||||
|
|
||||||
#include <device/azalia_device.h>
|
|
||||||
|
|
||||||
const u32 cim_verb_data[] = {
|
|
||||||
/* Realtek, ALC293 */
|
|
||||||
0x10ec0293, /* Vendor ID */
|
|
||||||
0x15581325, /* Subsystem ID */
|
|
||||||
12, /* Number of entries */
|
|
||||||
AZALIA_SUBVENDOR(0, 0x15581325),
|
|
||||||
AZALIA_PIN_CFG(0, 0x12, 0x90a60140),
|
|
||||||
AZALIA_PIN_CFG(0, 0x13, 0x40000000),
|
|
||||||
AZALIA_PIN_CFG(0, 0x14, 0x90170110),
|
|
||||||
AZALIA_PIN_CFG(0, 0x15, 0x02211020),
|
|
||||||
AZALIA_PIN_CFG(0, 0x16, 0x411111f0),
|
|
||||||
AZALIA_PIN_CFG(0, 0x18, 0x02a11050),
|
|
||||||
AZALIA_PIN_CFG(0, 0x19, 0x411111f0),
|
|
||||||
AZALIA_PIN_CFG(0, 0x1a, 0x411111f0),
|
|
||||||
AZALIA_PIN_CFG(0, 0x1b, 0x411111f0),
|
|
||||||
AZALIA_PIN_CFG(0, 0x1d, 0x41738205),
|
|
||||||
AZALIA_PIN_CFG(0, 0x1e, 0x02451130),
|
|
||||||
/* Intel, KabylakeHDMI */
|
|
||||||
0x8086280b, /* Vendor ID */
|
|
||||||
0x80860101, /* Subsystem ID */
|
|
||||||
4, /* Number of entries */
|
|
||||||
AZALIA_SUBVENDOR(2, 0x80860101),
|
|
||||||
AZALIA_PIN_CFG(2, 0x05, 0x18560010),
|
|
||||||
AZALIA_PIN_CFG(2, 0x06, 0x18560010),
|
|
||||||
AZALIA_PIN_CFG(2, 0x07, 0x18560010),
|
|
||||||
};
|
|
||||||
|
|
||||||
const u32 pc_beep_verbs[] = {};
|
|
||||||
|
|
||||||
AZALIA_ARRAY_SIZES;
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
Reference in New Issue
Block a user