summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShaunak Saha <shaunak.saha@intel.com>2020-05-27 22:48:57 -0700
committerPatrick Georgi <pgeorgi@google.com>2020-06-06 09:42:25 +0000
commit48b388f911a064864760ab918e850b82cfb82f44 (patch)
tree062e3c315b9013f6f905fb1895963a9e4e7e4a8d /src
parent8679ad6eb651492a0307c1aec0e9c37a5090768c (diff)
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>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/intel/tglrvp/variants/tglrvp_up3/devicetree.cb6
-rw-r--r--src/mainboard/intel/tglrvp/variants/tglrvp_up4/devicetree.cb6
2 files changed, 12 insertions, 0 deletions
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"