mb/intel/tglrvp: Add support for RT 1308

Add support for RT 1308 audio amplifier in TGLRVP.
We are using the i2c generic driver here to generate
the SSDT file. Datasheet:ALC-1308-CG-version-08.

BUG=none
BRANCH=none
TEST=Build and boot tglrvp successfully. In kernel console
use the "aplay -l" command to check soundcard is listed.

Change-Id: I41d205a3ab87db85baf49e9e8a582c226ba5832d
Signed-off-by: Shaunak Saha <shaunak.saha@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41808
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Sathyanarayana Nujella <sathyanarayana.nujella@intel.com>
Reviewed-by: Srinidhi N Kaushik <srinidhi.n.kaushik@intel.com>
Reviewed-by: Wonkyu Kim <wonkyu.kim@intel.com>
This commit is contained in:
Shaunak Saha 2020-05-27 22:48:57 -07:00 committed by Patrick Georgi
parent 8679ad6eb6
commit 48b388f911
2 changed files with 12 additions and 0 deletions

View File

@ -188,6 +188,12 @@ chip soc/intel/tigerlake
end
device pci 15.0 on # I2C0 0xA0E8
chip drivers/i2c/generic
register "hid" = ""10EC1308""
register "name" = ""RTAM""
register "desc" = ""Realtek RT1308 Codec""
device i2c 10 on end
end
chip drivers/i2c/max98373
register "vmon_slot_no" = "4"
register "imon_slot_no" = "5"

View File

@ -184,6 +184,12 @@ chip soc/intel/tigerlake
end
device pci 15.0 on # I2C0 0xA0E8
chip drivers/i2c/generic
register "hid" = ""10EC1308""
register "name" = ""RTAM""
register "desc" = ""Realtek RT1308 Codec""
device i2c 10 on end
end
chip drivers/i2c/max98373
register "vmon_slot_no" = "4"
register "imon_slot_no" = "5"