[PATCH v4 0/9] Fixups for PMBus and new sensors

Titus Rwantare posted 9 patches 2 years, 1 month ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20220307200605.4001451-1-titusr@google.com
Maintainers: Peter Maydell <peter.maydell@linaro.org>, Titus Rwantare <titusr@google.com>, Thomas Huth <thuth@redhat.com>, Laurent Vivier <lvivier@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>
MAINTAINERS                      |  13 +
hw/arm/Kconfig                   |   1 +
hw/i2c/pmbus_device.c            | 112 +++++++-
hw/sensor/Kconfig                |   5 +
hw/sensor/isl_pmbus_vr.c         | 279 ++++++++++++++++++
hw/sensor/meson.build            |   1 +
include/hw/i2c/pmbus_device.h    |  25 +-
include/hw/sensor/isl_pmbus_vr.h |  52 ++++
tests/qtest/isl_pmbus_vr-test.c  | 474 +++++++++++++++++++++++++++++++
tests/qtest/meson.build          |   1 +
10 files changed, 949 insertions(+), 14 deletions(-)
create mode 100644 hw/sensor/isl_pmbus_vr.c
create mode 100644 include/hw/sensor/isl_pmbus_vr.h
create mode 100644 tests/qtest/isl_pmbus_vr-test.c
[PATCH v4 0/9] Fixups for PMBus and new sensors
Posted by Titus Rwantare 2 years, 1 month ago
This patch series contains updates to PMBus in QEMU along with some PMBus
device models for Renesas regulators.
I have also added myself to MAINTAINERS as this code is in use daily,
where I am responsible for it.

v2:
  - split PMBus commit with updates into individual fixes
  - renamed isl_pmbus[.ch] adding _vr for voltage regulators

v3:
  - split uint refactor commit and removed commit renaming files
  - rename rolled into preceding commits
  - update commit description for uint refactoring change

v4:
  - responding to reviewer suggestions
  - added PMBUS_ERR_BYTE for consistent error returns

Shengtan Mao (1):
  hw/i2c: Added linear mode translation for pmbus devices

Titus Rwantare (8):
  hw/i2c: pmbus: add registers
  hw/i2c: pmbus: fix error returns and guard against out of range
    accesses
  hw/i2c: pmbus: add PEC unsupported warning
  hw/i2c: pmbus: refactor uint handling
  hw/i2c: pmbus: update MAINTAINERS
  hw/sensor: add Intersil ISL69260 device model
  hw/sensor: add Renesas raa229004 PMBus device
  hw/sensor: add Renesas raa228000 device

 MAINTAINERS                      |  13 +
 hw/arm/Kconfig                   |   1 +
 hw/i2c/pmbus_device.c            | 112 +++++++-
 hw/sensor/Kconfig                |   5 +
 hw/sensor/isl_pmbus_vr.c         | 279 ++++++++++++++++++
 hw/sensor/meson.build            |   1 +
 include/hw/i2c/pmbus_device.h    |  25 +-
 include/hw/sensor/isl_pmbus_vr.h |  52 ++++
 tests/qtest/isl_pmbus_vr-test.c  | 474 +++++++++++++++++++++++++++++++
 tests/qtest/meson.build          |   1 +
 10 files changed, 949 insertions(+), 14 deletions(-)
 create mode 100644 hw/sensor/isl_pmbus_vr.c
 create mode 100644 include/hw/sensor/isl_pmbus_vr.h
 create mode 100644 tests/qtest/isl_pmbus_vr-test.c

-- 
2.35.1.616.g0bdcbb4464-goog