summaryrefslogtreecommitdiff
path: root/src/mainboard/google/volteer/variants
diff options
context:
space:
mode:
authorStanley Wu <stanley1.wu@lcfc.corp-partner.google.com>2020-10-30 12:01:20 +0800
committerPatrick Georgi <pgeorgi@google.com>2020-11-25 09:14:28 +0000
commit64f7bdf19a05b773eaf68acc9067bab8309cbefb (patch)
tree723c2003bba0a40f968d291113388fb6272d8153 /src/mainboard/google/volteer/variants
parentea378ccc8f61b64fcc8be603e5d1c76555086108 (diff)
mb/google/volteer/variant/lindar: change speaker smart amplifier to ALC1011
Lindar change amp to ALC1011 Add ALC1011 amp acpi info to devicetree BUG=b:171771736 BRANCH=firmware-volteer-13521.B TEST=build and verify ALC1011 can be recognized. Change-Id: I4d83a19b3baa87cc926bb7c3a2cb96bf3165d2f4 Signed-off-by: Stanley Wu <stanley1.wu@lcfc.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/47009 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Zhuohao Lee <zhuohao@google.com> Reviewed-by: Caveh Jalali <caveh@chromium.org>
Diffstat (limited to 'src/mainboard/google/volteer/variants')
-rw-r--r--src/mainboard/google/volteer/variants/baseboard/devicetree.cb1
-rw-r--r--src/mainboard/google/volteer/variants/lindar/overridetree.cb20
2 files changed, 20 insertions, 1 deletions
diff --git a/src/mainboard/google/volteer/variants/baseboard/devicetree.cb b/src/mainboard/google/volteer/variants/baseboard/devicetree.cb
index 7964885ffa..bc1febb18f 100644
--- a/src/mainboard/google/volteer/variants/baseboard/devicetree.cb
+++ b/src/mainboard/google/volteer/variants/baseboard/devicetree.cb
@@ -16,6 +16,7 @@ fw_config
option MAX98373_ALC5682_SNDW 3
option MAX98373_ALC5682I_I2S_UP4 4
option MAX98360_ALC5682I_I2S 5
+ option RT1011_ALC5682I_I2S 6
end
field TABLETMODE 11
option TABLETMODE_DISABLED 0
diff --git a/src/mainboard/google/volteer/variants/lindar/overridetree.cb b/src/mainboard/google/volteer/variants/lindar/overridetree.cb
index 64f5ab9910..2e61071c9d 100644
--- a/src/mainboard/google/volteer/variants/lindar/overridetree.cb
+++ b/src/mainboard/google/volteer/variants/lindar/overridetree.cb
@@ -35,7 +35,25 @@ chip soc/intel/tigerlake
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
+ device i2c 1a on
+ probe AUDIO RT1011_ALC5682I_I2S
+ end
+ end
+ chip drivers/i2c/rt1011
+ register "desc" = ""Realtek SPK AMP L""
+ register "uid" = "0"
+ register "name" = ""RTL""
+ device i2c 38 on
+ probe AUDIO RT1011_ALC5682I_I2S
+ end
+ end
+ chip drivers/i2c/rt1011
+ register "desc" = ""Realtek SPK AMP R""
+ register "uid" = "1"
+ register "name" = ""RTR""
+ device i2c 39 on
+ probe AUDIO RT1011_ALC5682I_I2S
+ end
end
end
device ref i2c1 on