summaryrefslogtreecommitdiffstats
path: root/src/usr/i2c/i2c.H
Commit message (Collapse)AuthorAgeFilesLines
* Change copyright prolog for all files to Apache.Patrick Williams2014-05-211-10/+10
| | | | | | | Change-Id: I5664587b4f889099290ef50d50fa9ce5e580e1eb Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/11167 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Verify Hostboot I2C SettingsMike Baiocchi2014-04-021-31/+78
| | | | | | | | | | | | | | Updates to I2C Device Driver code to base its settings off of system's Nest Frequency. Change-Id: Iefc556a7d868544d57dd545dc3c41e4bad9d01be Backport: release-fips810 RTC: 96656 CQ: SW253157 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/9574 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Update Default I2C Bus Speed to 1MHzMike Baiocchi2014-02-121-5/+6
| | | | | | | | | | | | | | Currently Hostboot only supports I2C interactions with the SBE SEEPROMs which can run at the faster 1MHz bus speed. Therefore, I am changing the default to run at 1MHz while keeping the ability to set the speed to 400KHz that PHYP needs (via i2cSetupMaster()). Change-Id: I99eb2933502803816e52d1c88d7570bb11319c47 RTC: 80614 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/8413 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Add Callouts to I2C and VPD driversMike Baiocchi2014-01-151-34/+0
| | | | | | | | | | | | Callouts were added to I2C, EEPROM, MVPD and CVPD (via IPVPD code), and SPD code. Change-Id: Ibcb14ea3a228a5175b6faed06189286b0e0526bc RTC: 69113 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/7966 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Update I2C and EEPROM Device Drivers Error PathsMike Baiocchi2014-01-091-4/+4
| | | | | | | | | | | | | This commit removes the retry path from the I2C Device Driver and adds two to the EEPROM Device Driver. This will provide more flexibility to I2C DD use in the future, while keeping the current level of EEPROM DD robustness. Change-Id: I2b2aa3ed83557a5f2d9523cd55a7486924205e2f RTC: 89667 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/7508 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Add More Attribute Support for I2C and EEPROM DriversMike Baiocchi2013-10-101-61/+83
| | | | | | | | | | | | | This commit adds more attribute fields to be used in the EEPROM device drivers. The I2C device driver is also being updated so that it can eventually get the desired bus speed from an attribute, as well. Change-Id: I6b609cafdd7ea3b015a4f62009297e0149ba5b84 RTC: 72715 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/6116 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* New I2C Interface that adds device offset parameterMike Baiocchi2013-08-081-1/+13
| | | | | | | | | | | | | | Adding an I2C Device Driver interface that has an additional offset paramter which allows for a single operation to set both the device's internal offset and then do a read or write to the device. RTC: 73815 Change-Id: Ib77682f3b7e2088d77ce28b885c544e5cb785f6a Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/5524 Tested-by: Jenkins Server Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Program I2C Bus Divisor ValueTerry J. Opie2012-12-131-22/+23
| | | | | | | | Change-Id: I784a6b598298fcd09dcd5c108e0a47f1e7daa544 RTC: 49136 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2440 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Hostboot-aware errl tool part 1.Monte Copeland2012-02-021-1/+1
| | | | | | | Change-Id: Ibe49dc935206775de032d397b2800a7b83208283 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/630 Tested-by: Jenkins Server Reviewed-by: Monte K. Copeland <copelanm@us.ibm.com>
* I2C Bad Machine Path and Cxx Testcases as well as the EEPROM device driver.Terry J. Opie2011-12-011-21/+74
| | | | | | | Change-Id: Ia89d3aecb3192a2f99ef9fbb5abe0ce1d528a481 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/506 Tested-by: Jenkins Server Reviewed-by: Terry J. Opie <opiet@us.ibm.com>
* I2C Device Driver Good Machine PathTerry J. Opie2011-10-211-90/+200
| | | | | | | | Change-Id: I88bf5ce464cdeceb3e151bde72fb51295ede07c0 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/428 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Reviewed-by: Terry J. Opie <opiet@us.ibm.com>
* Add copyright headers to all source files.Patrick Williams2011-08-241-0/+22
| | | | | | | Change-Id: I205f2409e56032cfc0aaf01d7e26d357f0b86373 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/277 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: Jenkins Server
* I2C Device Driver SkeletonTerry J. Opie2011-08-151-0/+450
Change-Id: I0b092ea67e5bb8789378041c8c3a6a3f5cf3025e Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/242 Reviewed-by: Terry J. Opie <opiet@us.ibm.com> Tested-by: Jenkins Server
OpenPOWER on IntegriCloud