diff options
author | chenzanxi <chenzanxi@huaqin.corp-partner.google.com> | 2021-02-22 20:20:25 +0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-03-15 06:28:32 +0000 |
commit | f8aa8dc2482b2a1033a88a1d3ed13a6356b4a304 (patch) | |
tree | 6e4a201d73c3ae8e3b9f9a9e9ca467cb378a4884 /src/mainboard/google/dedede/variants/storo | |
parent | c4691ab75446207a1d622d19e044b6f2534aaccc (diff) |
mb/google/dedede/var/storo: Add codec and speaker amplifier support
Add audio codec and speaker amplifier support into devicetree
BUG=b:179057895
BRANCH=dedede
TEST=audio function is OK
Change-Id: Ia864ac47223adb80463966209f6ff3640b715378
Signed-off-by: Zanxi Chen <chenzanxi@huaqin.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/51003
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Reviewed-by: Tao Xia <xiatao5@huaqin.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/dedede/variants/storo')
-rw-r--r-- | src/mainboard/google/dedede/variants/storo/overridetree.cb | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/mainboard/google/dedede/variants/storo/overridetree.cb b/src/mainboard/google/dedede/variants/storo/overridetree.cb index 57a6cdf124..aaa6d0d54d 100644 --- a/src/mainboard/google/dedede/variants/storo/overridetree.cb +++ b/src/mainboard/google/dedede/variants/storo/overridetree.cb @@ -164,5 +164,31 @@ chip soc/intel/jasperlake device i2c 50 on end end end # I2C 3 + device pci 19.0 on + chip drivers/i2c/generic + register "hid" = ""10EC5682"" + register "name" = ""RT58"" + register "desc" = ""Realtek RT5682"" + register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_D16)" + 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 + chip drivers/i2c/generic + register "hid" = ""10EC1015"" + register "desc" = ""Realtek SPK AMP L"" + register "uid" = "0" + device i2c 28 on end + end + chip drivers/i2c/generic + register "hid" = ""10EC1015"" + register "desc" = ""Realtek SPK AMP R"" + register "uid" = "1" + device i2c 29 on end + end + end # I2C 4 + device pci 1f.3 on end # Intel HDA end end |