Skip to content

Add Quanta GSZ BMC machine and PCA I2C GPIO expanders

Titus Rwantare qemu-arm qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6bitops.h: add deposit16 functioninclude/qemu/bitops.h+26 -02 replies
2/6hw/gpio: add PCA953x i2c GPIO expandershw/gpio/Kconfig hw/gpio/meson.build hw/gpio/pca_i2c_gpio.c +4 more+659 -00 replies
3/6hw/gpio: add PCA9536 i2c gpio expanderhw/gpio/pca_i2c_gpio.c include/hw/gpio/pca_i2c_gpio.h+20 -00 replies
4/6hw/i2c: add canonical path to i2c event traceshw/i2c/core.c hw/i2c/trace-events+6 -41 reply
5/6hw/arm: imply I2C_DEVICES on NPCM7xxhw/arm/Kconfig+1 -00 replies
6/6hw/arm: add Quanta GSZ bmc machinehw/arm/npcm7xx_boards.c+160 -00 replies

Reviews trailers per patch

4 of 6 patches have a Reviewed-by or Acked-by.

PatchPhilippe Mathieu-DaudéHao WuCorey MinyardGlenn Miles
1/6R-b
2/6R-b R-b
3/6R-b R-b
4/6R-b A-b
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [PATCH 0/6] Add Quanta GSZ BMC machine and PCA I2C GPIO expanders

This patch series bundles the GPIO sensors previously sent for review:
https://lore.kernel.org/all/[email protected]

and the GSZ board commit sent here:
https://lore.kernel.org/all/[email protected]/

The Quanta GSZ a current Google machine of the day. This machine will be used as a platform to enable features such as the PECI bmc interface, and Intel eSPI virtual wire interface in QEMU.

This patch series also contains a set of i2c GPIO expanders, with support for 4, 8, and 16 GPIO connections.

The devices are configured as GPIO inputs by default, but can have pins configured to be inputs with qmp commands.

These sensors and machine are maintained and used in CI daily within Google.

Titus Rwantare (6):
bitops.h: add deposit16 function
hw/gpio: add PCA953x i2c GPIO expanders
hw/gpio: add PCA9536 i2c gpio expander
hw/i2c: add canonical path to i2c event traces
hw/arm: imply I2C_DEVICES on NPCM7xx
hw/arm: add Quanta GSZ bmc machine

 hw/arm/Kconfig                  |   1 +
 hw/arm/npcm7xx_boards.c         | 160 +++++++++++++
 hw/gpio/Kconfig                 |   5 +
 hw/gpio/meson.build             |   1 +
 hw/gpio/pca_i2c_gpio.c          | 409 ++++++++++++++++++++++++++++++++
 hw/gpio/trace-events            |   5 +
 hw/i2c/core.c                   |   8 +-
 hw/i2c/trace-events             |   2 +-
 include/hw/gpio/pca_i2c_gpio.h  |  70 ++++++
 include/qemu/bitops.h           |  26 ++
 tests/qtest/meson.build         |   1 +
 tests/qtest/pca_i2c_gpio-test.c | 188 +++++++++++++++
 12 files changed, 872 insertions(+), 4 deletions(-)
 create mode 100644 hw/gpio/pca_i2c_gpio.c
 create mode 100644 include/hw/gpio/pca_i2c_gpio.h
 create mode 100644 tests/qtest/pca_i2c_gpio-test.c
Signature · 1 line
2.47.0.277.g8800431eea-goog