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>
This commit is contained in:
Cheng-Yi Chiang 2019-10-14 12:40:37 +08:00 committed by Duncan Laurie
parent 9680b84eb1
commit 91c8d35be3
1 changed files with 12 additions and 8 deletions

View File

@ -145,32 +145,36 @@ chip soc/intel/cannonlake
register "property_list[0].integer" = "1" register "property_list[0].integer" = "1"
device i2c 1a on end device i2c 1a on end
end end
chip drivers/i2c/generic chip drivers/i2c/rt1011
register "hid" = ""10EC1011""
register "desc" = ""RT1011 Woofer Left Speaker Amp"" register "desc" = ""RT1011 Woofer Left Speaker Amp""
register "uid" = "0" register "uid" = "0"
register "name" = ""RTWL"" register "name" = ""RTWL""
register "r0_calib_key" = ""dsm_calib_r0_0""
register "temperature_calib_key" = ""dsm_calib_temp_0""
device i2c 38 on end device i2c 38 on end
end end
chip drivers/i2c/generic chip drivers/i2c/rt1011
register "hid" = ""10EC1011""
register "desc" = ""RT1011 Woofer Right Speaker Amp"" register "desc" = ""RT1011 Woofer Right Speaker Amp""
register "uid" = "1" register "uid" = "1"
register "name" = ""RTWR"" register "name" = ""RTWR""
register "r0_calib_key" = ""dsm_calib_r0_1""
register "temperature_calib_key" = ""dsm_calib_temp_0""
device i2c 39 on end device i2c 39 on end
end end
chip drivers/i2c/generic chip drivers/i2c/rt1011
register "hid" = ""10EC1011""
register "desc" = ""RT1011 Tweeter Left Speaker Amp"" register "desc" = ""RT1011 Tweeter Left Speaker Amp""
register "uid" = "2" register "uid" = "2"
register "name" = ""RTTL"" register "name" = ""RTTL""
register "r0_calib_key" = ""dsm_calib_r0_2""
register "temperature_calib_key" = ""dsm_calib_temp_0""
device i2c 3a on end device i2c 3a on end
end end
chip drivers/i2c/generic chip drivers/i2c/rt1011
register "hid" = ""10EC1011""
register "desc" = ""RT1011 Tweeter Right Speaker Amp"" register "desc" = ""RT1011 Tweeter Right Speaker Amp""
register "uid" = "3" register "uid" = "3"
register "name" = ""RTTR"" register "name" = ""RTTR""
register "r0_calib_key" = ""dsm_calib_r0_3""
register "temperature_calib_key" = ""dsm_calib_temp_0""
device i2c 3b on end device i2c 3b on end
end end
end #I2C #4 end #I2C #4