Add addw2 smart amp init
Change-Id: Icbd640dd9584f0c58833dffc9a46a6afb4787abc
This commit is contained in:
@ -4,6 +4,7 @@ config BOARD_SPECIFIC_OPTIONS
|
|||||||
def_bool y
|
def_bool y
|
||||||
select BOARD_ROMSIZE_KB_16384
|
select BOARD_ROMSIZE_KB_16384
|
||||||
select DRIVERS_I2C_HID
|
select DRIVERS_I2C_HID
|
||||||
|
select DRIVERS_I2C_TAS5825M
|
||||||
select DRIVERS_SYSTEM76_EC
|
select DRIVERS_SYSTEM76_EC
|
||||||
select EC_ACPI
|
select EC_ACPI
|
||||||
select HAVE_ACPI_RESUME
|
select HAVE_ACPI_RESUME
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
bootblock-y += bootblock.c
|
bootblock-y += bootblock.c
|
||||||
ramstage-y += ramstage.c
|
ramstage-y += ramstage.c
|
||||||
ramstage-y += hda_verb.c
|
ramstage-y += hda_verb.c
|
||||||
|
ramstage-y += tas5825m.c
|
||||||
|
@ -319,7 +319,11 @@ chip soc/intel/cannonlake
|
|||||||
device pci 1f.1 off end # P2SB
|
device pci 1f.1 off end # P2SB
|
||||||
device pci 1f.2 off end # Power Management Controller
|
device pci 1f.2 off end # Power Management Controller
|
||||||
device pci 1f.3 on end # Intel HDA
|
device pci 1f.3 on end # Intel HDA
|
||||||
device pci 1f.4 on end # SMBus
|
device pci 1f.4 on
|
||||||
|
chip drivers/i2c/tas5825m
|
||||||
|
device i2c 4e on end # (8bit address: 0x9c)
|
||||||
|
end # tas5825m
|
||||||
|
end # SMBus
|
||||||
device pci 1f.5 on end # PCH SPI
|
device pci 1f.5 on end # PCH SPI
|
||||||
device pci 1f.6 off end # GbE
|
device pci 1f.6 off end # GbE
|
||||||
end
|
end
|
||||||
|
@ -24,7 +24,11 @@ const u32 cim_verb_data[] = {
|
|||||||
AZALIA_PIN_CFG(0, 0x1e, 0x04451150),
|
AZALIA_PIN_CFG(0, 0x1e, 0x04451150),
|
||||||
};
|
};
|
||||||
|
|
||||||
const u32 pc_beep_verbs[] = {};
|
const u32 pc_beep_verbs[] = {
|
||||||
|
// Enable DMIC microphone on ALC1220
|
||||||
|
0x02050036,
|
||||||
|
0x02042a6a,
|
||||||
|
};
|
||||||
|
|
||||||
AZALIA_ARRAY_SIZES;
|
AZALIA_ARRAY_SIZES;
|
||||||
|
|
||||||
|
1447
src/mainboard/system76/addw2/tas5825m.c
Normal file
1447
src/mainboard/system76/addw2/tas5825m.c
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user