summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorCheng-Yi Chiang <cychiang@google.com>2019-10-14 12:40:37 +0800
committerDuncan Laurie <dlaurie@chromium.org>2019-10-25 03:12:26 +0000
commit91c8d35be36521a9fbe39c0bfd54562cf3cf5a2c (patch)
tree19a77a4099e403fb77c24f5a2bc95ebc8ff8aeb5 /src/mainboard
parent9680b84eb1c892d5fdb32539ede541af33554306 (diff)
mb/google/hatch: Set DSM parameters for Helios
Set VPD keys for DSM parameters in overridetree.cb for Helios. RT1011 driver will load values from VPD and set them to device property. BUG=b:140397934 BRANCH=none TEST=On Helios, with patch series, check realtek,r0_calib and realtek,temperature_calib are available to rt1011 codec driver. Signed-off-by: Cheng-Yi Chiang <cychiang@chromium.org> Change-Id: Ic72fd57becf93e70a1a716dbb76633509f2fd5c1 Reviewed-on: https://review.coreboot.org/c/coreboot/+/36031 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/hatch/variants/helios/overridetree.cb20
1 files changed, 12 insertions, 8 deletions
diff --git a/src/mainboard/google/hatch/variants/helios/overridetree.cb b/src/mainboard/google/hatch/variants/helios/overridetree.cb
index 8dcb049274..2434dfff2a 100644
--- a/src/mainboard/google/hatch/variants/helios/overridetree.cb
+++ b/src/mainboard/google/hatch/variants/helios/overridetree.cb
@@ -145,32 +145,36 @@ chip soc/intel/cannonlake
register "property_list[0].integer" = "1"
device i2c 1a on end
end
- chip drivers/i2c/generic
- register "hid" = ""10EC1011""
+ chip drivers/i2c/rt1011
register "desc" = ""RT1011 Woofer Left Speaker Amp""
register "uid" = "0"
register "name" = ""RTWL""
+ register "r0_calib_key" = ""dsm_calib_r0_0""
+ register "temperature_calib_key" = ""dsm_calib_temp_0""
device i2c 38 on end
end
- chip drivers/i2c/generic
- register "hid" = ""10EC1011""
+ chip drivers/i2c/rt1011
register "desc" = ""RT1011 Woofer Right Speaker Amp""
register "uid" = "1"
register "name" = ""RTWR""
+ register "r0_calib_key" = ""dsm_calib_r0_1""
+ register "temperature_calib_key" = ""dsm_calib_temp_0""
device i2c 39 on end
end
- chip drivers/i2c/generic
- register "hid" = ""10EC1011""
+ chip drivers/i2c/rt1011
register "desc" = ""RT1011 Tweeter Left Speaker Amp""
register "uid" = "2"
register "name" = ""RTTL""
+ register "r0_calib_key" = ""dsm_calib_r0_2""
+ register "temperature_calib_key" = ""dsm_calib_temp_0""
device i2c 3a on end
end
- chip drivers/i2c/generic
- register "hid" = ""10EC1011""
+ chip drivers/i2c/rt1011
register "desc" = ""RT1011 Tweeter Right Speaker Amp""
register "uid" = "3"
register "name" = ""RTTR""
+ register "r0_calib_key" = ""dsm_calib_r0_3""
+ register "temperature_calib_key" = ""dsm_calib_temp_0""
device i2c 3b on end
end
end #I2C #4