aboutsummaryrefslogtreecommitdiff
path: root/hw/i2c/meson.build
diff options
context:
space:
mode:
authorTitus Rwantare <titusr@google.com>2021-07-08 10:25:52 -0700
committerCorey Minyard <cminyard@mvista.com>2021-07-08 14:15:45 -0500
commit3746d5c15e70570be265e55c838429db97ef94ab (patch)
tree7d5c21c92dee148693d8e57539afea9fa2f1f04d /hw/i2c/meson.build
parent9e7449901d33ed0ddc0c432b15896019e3aec4f1 (diff)
downloadqemu-3746d5c15e70570be265e55c838429db97ef94ab.zip
qemu-3746d5c15e70570be265e55c838429db97ef94ab.tar.gz
qemu-3746d5c15e70570be265e55c838429db97ef94ab.tar.bz2
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>
Diffstat (limited to 'hw/i2c/meson.build')
-rw-r--r--hw/i2c/meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/i2c/meson.build b/hw/i2c/meson.build
index dd3aef0..d3df273 100644
--- a/hw/i2c/meson.build
+++ b/hw/i2c/meson.build
@@ -15,4 +15,5 @@ i2c_ss.add(when: 'CONFIG_VERSATILE_I2C', if_true: files('versatile_i2c.c'))
i2c_ss.add(when: 'CONFIG_OMAP', if_true: files('omap_i2c.c'))
i2c_ss.add(when: 'CONFIG_PPC4XX', if_true: files('ppc4xx_i2c.c'))
i2c_ss.add(when: 'CONFIG_PCA954X', if_true: files('i2c_mux_pca954x.c'))
+i2c_ss.add(when: 'CONFIG_PMBUS', if_true: files('pmbus_device.c'))
softmmu_ss.add_all(when: 'CONFIG_I2C', if_true: i2c_ss)