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>
This commit is contained in:
Titus Rwantare 2021-07-08 10:25:52 -07:00 committed by Corey Minyard
parent 9e7449901d
commit 3746d5c15e
5 changed files with 2135 additions and 0 deletions

View file

@ -375,6 +375,7 @@ config NPCM7XX
select ARM_GIC
select AT24C # EEPROM
select PL310 # cache controller
select PMBUS
select SERIAL
select SSI
select UNIMP