summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Lai <ericr_lai@compal.corp-partner.google.com>2021-04-08 12:23:37 +0800
committerPatrick Georgi <pgeorgi@google.com>2021-04-09 06:25:54 +0000
commit09446778e899fa923895f5690481a509479c6641 (patch)
tree1d2376642fbfb7d8890077502440183534ad4543
parente86384a2d7859fe613c5435370fece7ba7e91b6c (diff)
downloadcoreboot-09446778e899fa923895f5690481a509479c6641.tar.gz
coreboot-09446778e899fa923895f5690481a509479c6641.tar.bz2
coreboot-09446778e899fa923895f5690481a509479c6641.zip
mb/google/mancomb: Add Codec configration
Enable I2C2 in devicetree and fill ACPI information for Codec. BUG=b:182211161 TEST=builds Signed-off-by: Eric Lai <ericr_lai@compal.corp-partner.google.com> Change-Id: Ib75ef99cbca8b2f38268705704e7616b456f19d9 Reviewed-on: https://review.coreboot.org/c/coreboot/+/52179 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Mathew King <mathewk@chromium.org>
-rw-r--r--src/mainboard/google/mancomb/variants/mancomb/overridetree.cb14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/mainboard/google/mancomb/variants/mancomb/overridetree.cb b/src/mainboard/google/mancomb/variants/mancomb/overridetree.cb
index 59fe79046cfe..891b4ebf0bf0 100644
--- a/src/mainboard/google/mancomb/variants/mancomb/overridetree.cb
+++ b/src/mainboard/google/mancomb/variants/mancomb/overridetree.cb
@@ -22,4 +22,18 @@ chip soc/amd/cezanne
.early_init = true,
}"
+ device ref i2c_2 on
+ chip drivers/i2c/generic
+ register "hid" = ""10EC5682""
+ register "name" = ""RT58""
+ register "desc" = ""Realtek RT5682""
+ register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPIO_90)"
+ register "property_count" = "1"
+ register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER"
+ register "property_list[0].name" = ""realtek,jd-src""
+ register "property_list[0].integer" = "1"
+ device i2c 1a on end
+ end
+ end # I2C2
+
end # chip soc/amd/cezanne