aboutsummaryrefslogtreecommitdiff
path: root/hw/sensor/meson.build
diff options
context:
space:
mode:
authorTitus Rwantare <titusr@google.com>2021-07-08 10:25:53 -0700
committerCorey Minyard <cminyard@mvista.com>2021-07-08 14:41:50 -0500
commitc93488f16b70debc0c168b4117531623b03d6bf0 (patch)
treeac8e8f32ababcb86948cddd657ad77fae92a71df /hw/sensor/meson.build
parent3746d5c15e70570be265e55c838429db97ef94ab (diff)
hw/misc: add ADM1272 device
The ADM1272 is a PMBus compliant Hot Swap Controller and Digital Power Monitor by Analog Devices. This commit adds support for interfacing with it, and support for setting and monitoring sensor limits. Datasheet: https://www.analog.com/media/en/technical-documentation/data-sheets/ADM1272.pdf 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-3-titusr@google.com> [Moved the device to the sensor directory] [remove include of trace.h, it is not needed] Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'hw/sensor/meson.build')
-rw-r--r--hw/sensor/meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/sensor/meson.build b/hw/sensor/meson.build
index 9e0f3ab1fd..8b319b5826 100644
--- a/hw/sensor/meson.build
+++ b/hw/sensor/meson.build
@@ -1,3 +1,4 @@
softmmu_ss.add(when: 'CONFIG_TMP105', if_true: files('tmp105.c'))
softmmu_ss.add(when: 'CONFIG_TMP421', if_true: files('tmp421.c'))
softmmu_ss.add(when: 'CONFIG_EMC141X', if_true: files('emc141x.c'))
+softmmu_ss.add(when: 'CONFIG_ADM1272', if_true: files('adm1272.c'))