hwmon: (pmbus/core) Introduce and use pmbus_read_smbus_i2c_block_data()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | hwmon: (pmbus/core) Introduce pmbus_read_smbus_i2c_block_data()drivers/ drivers/ | +95 | 2 replies | |
| 2/5 | hwmon: (pmbus/adm1275) Use pmbus_read_smbus_i2c_block_data for block commandsdrivers/ | +2 | 0 replies | |
| 3/5 | hwmon: (pmbus/ltc2978) Use pmbus_read_smbus_i2c_block_data for block commandsdrivers/ | +9 | 0 replies | |
| 4/5 | hwmon: (pmbus/max20830) Use pmbus_read_smbus_i2c_block_data for block commandsdrivers/ | +4 | 0 replies | |
| 5/5 | hwmon: (pmbus/ir36021) Use pmbus_read_smbus_i2c_block_data for block commandsdrivers/ | +7 | 0 replies |
Reviews trailers per patch
None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Nuno Sá |
|---|---|
| Series | R-b |
| 1/5 | |
| 2/5 | |
| 3/5 | |
| 4/5 | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/5] hwmon: (pmbus/core) Introduce and use pmbus_read_smbus_i2c_block_data()
PMBus drivers need support for reading SMBus block data. Unfortunately, not all i2C controllers support this command.
Implement pmbus_read_smbus_i2c_block_data() which first tries to use i2c_smbus_read_block_data(). If not supported, try to emulate it by calling i2c_smbus_read_i2c_block_data(). Export the new function for use in PMBus drivers, and use it in affected drivers.
----------------------------------------------------------------
Guenter Roeck (5):
hwmon: (pmbus/core) Introduce pmbus_read_smbus_i2c_block_data()
hwmon: (pmbus/adm1275) Use pmbus_read_smbus_i2c_block_data for block commands
hwmon: (pmbus/ltc2978) Use pmbus_read_smbus_i2c_block_data for block commands
hwmon: (pmbus/max20830) Use pmbus_read_smbus_i2c_block_data for block commands
hwmon: (pmbus/ir36021) Use pmbus_read_smbus_i2c_block_data for block commands
drivers/hwmon/pmbus/adm1275.c | 9 +--- drivers/hwmon/pmbus/ir36021.c | 22 +++------ drivers/hwmon/pmbus/ltc2978.c | 21 ++++---- drivers/hwmon/pmbus/max20830.c | 34 ++----------- drivers/hwmon/pmbus/pmbus.h | 1 + drivers/hwmon/pmbus/pmbus_core.c | 102 ++++++++++++++++++++++++++++++++++++--- 6 files changed, 117 insertions(+), 72 deletions(-)