mb/system76/oryp5: Enable TAS5825M smart amp
Allows using the internal speakers of the oryp5. Smart AMP data was collected using a logic analyzer connected to the IC during system start on proprietary firmware. This data is then used to generate a C file [1]. [1]: https://github.com/system76/smart-amp Change-Id: I148f18ff3e754d913bdf907121b103c6de02ffc3 Signed-off-by: Tim Crawford <tcrawford@system76.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/47962 Reviewed-by: Jeremy Soller <jeremy@system76.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
committed by
Patrick Georgi
parent
e20c47b408
commit
a346fd943f
@@ -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 EC_SYSTEM76_EC
|
select EC_SYSTEM76_EC
|
||||||
select EC_SYSTEM76_EC_BAT_THRESHOLDS
|
select EC_SYSTEM76_EC_BAT_THRESHOLDS
|
||||||
select EC_SYSTEM76_EC_COLOR_KEYBOARD
|
select EC_SYSTEM76_EC_COLOR_KEYBOARD
|
||||||
|
@@ -6,3 +6,4 @@ bootblock-y += gpio_early.c
|
|||||||
ramstage-y += ramstage.c
|
ramstage-y += ramstage.c
|
||||||
ramstage-y += gpio.c
|
ramstage-y += gpio.c
|
||||||
ramstage-y += hda_verb.c
|
ramstage-y += hda_verb.c
|
||||||
|
ramstage-y += tas5825m.c
|
||||||
|
@@ -195,7 +195,12 @@ chip soc/intel/cannonlake
|
|||||||
subsystemid 0x1558 0x96e1
|
subsystemid 0x1558 0x96e1
|
||||||
register "PchHdaAudioLinkHda" = "1"
|
register "PchHdaAudioLinkHda" = "1"
|
||||||
end
|
end
|
||||||
device pci 1f.4 on end # SMBus
|
device pci 1f.4 on # SMBus
|
||||||
|
chip drivers/i2c/tas5825m
|
||||||
|
register "id" = "0"
|
||||||
|
device i2c 4e on end # (8bit address: 0x9c)
|
||||||
|
end # tas5825m
|
||||||
|
end
|
||||||
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
|
||||||
|
1244
src/mainboard/system76/oryp5/tas5825m.c
Normal file
1244
src/mainboard/system76/oryp5/tas5825m.c
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user