Searched hist:"1 d103428" (Results 1 – 5 of 5) sorted by relevance
/openbmc/phosphor-power/tools/power-utils/test/ |
H A D | test_updater.cpp | 1d103428 Fri Nov 29 00:00:02 CST 2019 Lei YU <mine260309@gmail.com> i2c: Add i2c block transaction support The previous code always uses SMBus block read/write. On some PSU (e.g. FP5280G2's PSU) the I2C block read/write is required, so add that support. Specifically, add a Mode enum class and add the parameter for block read/write to indicate whether SMBus or I2C block read/write is to be called. Tested: Verify the code works on FP5280G2 with I2C block write. Note: Currently there is no case for I2C block read, so that function is not tested. Signed-off-by: Lei YU <mine260309@gmail.com> Change-Id: I5f77ffe6900d14f3703dae7241799a7b37c5a726
|
/openbmc/phosphor-power/tools/i2c/test/ |
H A D | mocked_i2c_interface.hpp | 1d103428 Fri Nov 29 00:00:02 CST 2019 Lei YU <mine260309@gmail.com> i2c: Add i2c block transaction support The previous code always uses SMBus block read/write. On some PSU (e.g. FP5280G2's PSU) the I2C block read/write is required, so add that support. Specifically, add a Mode enum class and add the parameter for block read/write to indicate whether SMBus or I2C block read/write is to be called. Tested: Verify the code works on FP5280G2 with I2C block write. Note: Currently there is no case for I2C block read, so that function is not tested. Signed-off-by: Lei YU <mine260309@gmail.com> Change-Id: I5f77ffe6900d14f3703dae7241799a7b37c5a726
|
/openbmc/phosphor-power/tools/i2c/ |
H A D | i2c_interface.hpp | 1d103428 Fri Nov 29 00:00:02 CST 2019 Lei YU <mine260309@gmail.com> i2c: Add i2c block transaction support The previous code always uses SMBus block read/write. On some PSU (e.g. FP5280G2's PSU) the I2C block read/write is required, so add that support. Specifically, add a Mode enum class and add the parameter for block read/write to indicate whether SMBus or I2C block read/write is to be called. Tested: Verify the code works on FP5280G2 with I2C block write. Note: Currently there is no case for I2C block read, so that function is not tested. Signed-off-by: Lei YU <mine260309@gmail.com> Change-Id: I5f77ffe6900d14f3703dae7241799a7b37c5a726
|
H A D | i2c.cpp | 1d103428 Fri Nov 29 00:00:02 CST 2019 Lei YU <mine260309@gmail.com> i2c: Add i2c block transaction support The previous code always uses SMBus block read/write. On some PSU (e.g. FP5280G2's PSU) the I2C block read/write is required, so add that support. Specifically, add a Mode enum class and add the parameter for block read/write to indicate whether SMBus or I2C block read/write is to be called. Tested: Verify the code works on FP5280G2 with I2C block write. Note: Currently there is no case for I2C block read, so that function is not tested. Signed-off-by: Lei YU <mine260309@gmail.com> Change-Id: I5f77ffe6900d14f3703dae7241799a7b37c5a726
|
H A D | i2c.hpp | 1d103428 Fri Nov 29 00:00:02 CST 2019 Lei YU <mine260309@gmail.com> i2c: Add i2c block transaction support The previous code always uses SMBus block read/write. On some PSU (e.g. FP5280G2's PSU) the I2C block read/write is required, so add that support. Specifically, add a Mode enum class and add the parameter for block read/write to indicate whether SMBus or I2C block read/write is to be called. Tested: Verify the code works on FP5280G2 with I2C block write. Note: Currently there is no case for I2C block read, so that function is not tested. Signed-off-by: Lei YU <mine260309@gmail.com> Change-Id: I5f77ffe6900d14f3703dae7241799a7b37c5a726
|