mbox series

[0/5] PMBus fixes and new functions

Message ID 20230322175513.1550412-1-titusr@google.com (mailing list archive)
Headers show
Series PMBus fixes and new functions | expand

Message

Titus Rwantare March 22, 2023, 5:55 p.m. UTC
This patch series contains fixes and improvements to PMBus support in QEMU.

The following has been added:
   - Support for block receive
   - Support for devices with fans
   - Support for the VCAP register for devices with onboard energy storage
   - A bitfield struct for the vout mode register, whose bits determine the formatting of several read commands in PMBus
Fixes:
   - String read now handles now logs an error when passed an empty string

This series is in preparation for some additional sensors that exercise
this functionality that will be incoming shortly.

Thanks

Titus Rwantare (5):
  hw/i2c: pmbus add support for block receive
  hw/i2c: pmbus: add vout mode bitfields
  hw/i2c: pmbus: add fan support
  hw/i2c: pmbus: block uninitialised string reads
  hw/i2c: pmbus: add VCAP register

 hw/i2c/pmbus_device.c         | 221 +++++++++++++++++++++++++++++++++-
 include/hw/i2c/pmbus_device.h |  17 +++
 2 files changed, 237 insertions(+), 1 deletion(-)

Comments

Philippe Mathieu-Daudé March 30, 2023, 2:24 p.m. UTC | #1
On 22/3/23 18:55, Titus Rwantare wrote:
> This patch series contains fixes and improvements to PMBus support in QEMU.

> Fixes:
>     - String read now handles now logs an error when passed an empty string
> 

> Titus Rwantare (5):

>    hw/i2c: pmbus: block uninitialised string reads

Patch #4 queued for 8.0-rc3, thanks.