From 48b388f911a064864760ab918e850b82cfb82f44 Mon Sep 17 00:00:00 2001 From: Shaunak Saha Date: Wed, 27 May 2020 22:48:57 -0700 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/41808 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh Reviewed-by: Sathyanarayana Nujella Reviewed-by: Srinidhi N Kaushik Reviewed-by: Wonkyu Kim --- src/mainboard/intel/tglrvp/variants/tglrvp_up3/devicetree.cb | 6 ++++++ src/mainboard/intel/tglrvp/variants/tglrvp_up4/devicetree.cb | 6 ++++++ 2 files changed, 12 insertions(+) (limited to 'src/mainboard') diff --git a/src/mainboard/intel/tglrvp/variants/tglrvp_up3/devicetree.cb b/src/mainboard/intel/tglrvp/variants/tglrvp_up3/devicetree.cb index 582ee128f0..4550815470 100644 --- a/src/mainboard/intel/tglrvp/variants/tglrvp_up3/devicetree.cb +++ b/src/mainboard/intel/tglrvp/variants/tglrvp_up3/devicetree.cb @@ -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" diff --git a/src/mainboard/intel/tglrvp/variants/tglrvp_up4/devicetree.cb b/src/mainboard/intel/tglrvp/variants/tglrvp_up4/devicetree.cb index d15da3083a..d095ff39c9 100644 --- a/src/mainboard/intel/tglrvp/variants/tglrvp_up4/devicetree.cb +++ b/src/mainboard/intel/tglrvp/variants/tglrvp_up4/devicetree.cb @@ -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" -- cgit v1.2.3