From 656ba908c6f2e83c8e7323d6774709e44361443d Mon Sep 17 00:00:00 2001 From: Mike Baiocchi Date: Sat, 16 Mar 2019 23:35:10 -0500 Subject: Add UCD devices to ATTR_I2C_BUS_SPEED_ARRAY for ZZ This commit adds specific support for the UCD9090 and UCD90120A devices to be added to the ATTR_I2C_BUS_SPEED_ARRAY that Hostboot uses to know which I2C buses have devices on them and what speed thoses buses should be run at. Change-Id: I74c73dc4ed6528eb8937795c105da79101a9f1e3 RTC:205979 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/73505 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: Ilya Smirnov Reviewed-by: Matthew Raybuck Reviewed-by: Daniel M. Crowell --- src/usr/targeting/common/genHwsvMrwXml.pl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/usr') diff --git a/src/usr/targeting/common/genHwsvMrwXml.pl b/src/usr/targeting/common/genHwsvMrwXml.pl index 7a670515f..72e5e9b05 100755 --- a/src/usr/targeting/common/genHwsvMrwXml.pl +++ b/src/usr/targeting/common/genHwsvMrwXml.pl @@ -7152,7 +7152,12 @@ sub addI2cBusSpeedArray ( ($I2Cdevices[$i]{i2c_part_id} eq "MAX5961") || ($I2Cdevices[$i]{i2c_part_id} - eq "PCA9551") ) + eq "PCA9551") || + ($I2Cdevices[$i]{i2c_part_id} + eq "UCD90120A") || + ($I2Cdevices[$i]{i2c_part_id} + eq "UCD9090") + ) ) ) || ($I2Cdevices[$i]{i2cm_node} != $node) || -- cgit v1.2.1