From 91c8d35be36521a9fbe39c0bfd54562cf3cf5a2c Mon Sep 17 00:00:00 2001 From: Cheng-Yi Chiang Date: Mon, 14 Oct 2019 12:40:37 +0800 Subject: 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 Change-Id: Ic72fd57becf93e70a1a716dbb76633509f2fd5c1 Reviewed-on: https://review.coreboot.org/c/coreboot/+/36031 Tested-by: build bot (Jenkins) Reviewed-by: Paul Fagerburg Reviewed-by: Furquan Shaikh --- .../google/hatch/variants/helios/overridetree.cb | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) (limited to 'src/mainboard') 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 -- cgit v1.2.3