diff options
author | Tim Crawford <tcrawford@system76.com> | 2021-02-08 23:01:53 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-04-15 07:37:22 +0000 |
commit | a346fd943fe40b12c62a2d881054853445482520 (patch) | |
tree | b54873d8204927b15c0fb08c8320109fb72578c3 /src/mainboard/system76/oryp5/devicetree.cb | |
parent | e20c47b408807c7562fc8c05e06780e3e9199573 (diff) |
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>
Diffstat (limited to 'src/mainboard/system76/oryp5/devicetree.cb')
-rw-r--r-- | src/mainboard/system76/oryp5/devicetree.cb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mainboard/system76/oryp5/devicetree.cb b/src/mainboard/system76/oryp5/devicetree.cb index 2b08909b67..e8463ca7ca 100644 --- a/src/mainboard/system76/oryp5/devicetree.cb +++ b/src/mainboard/system76/oryp5/devicetree.cb @@ -195,7 +195,12 @@ chip soc/intel/cannonlake subsystemid 0x1558 0x96e1 register "PchHdaAudioLinkHda" = "1" 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.6 off end # GbE end |