hw/i2c: add support for PMBus
commit3746d5c15e70570be265e55c838429db97ef94ab
authorTitus Rwantare <titusr@google.com>
Thu, 8 Jul 2021 17:25:52 +0000 (8 10:25 -0700)
committerCorey Minyard <cminyard@mvista.com>
Thu, 8 Jul 2021 19:15:45 +0000 (8 14:15 -0500)
tree7d5c21c92dee148693d8e57539afea9fa2f1f04d
parent9e7449901d33ed0ddc0c432b15896019e3aec4f1
hw/i2c: add support for PMBus

QEMU has support for SMBus devices, and PMBus is a more specific
implementation of SMBus. The additions made in this commit makes it easier to
add new PMBus devices to QEMU.

https://pmbus.org/specification-archives/

Reviewed-by: Joel Stanley <joel@jms.id.au>
Reviewed-by: Hao Wu <wuhaotsh@google.com>
Signed-off-by: Titus Rwantare <titusr@google.com>
Message-Id: <20210708172556.1868139-2-titusr@google.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
hw/arm/Kconfig
hw/i2c/Kconfig
hw/i2c/meson.build
hw/i2c/pmbus_device.c [new file with mode: 0644]
include/hw/i2c/pmbus_device.h [new file with mode: 0644]