hw/misc: add MAX34451 device
authorTitus Rwantare <titusr@google.com>
Thu, 8 Jul 2021 17:25:55 +0000 (10:25 -0700)
committerCorey Minyard <cminyard@mvista.com>
Thu, 8 Jul 2021 19:42:00 +0000 (14:42 -0500)
commit7215456a4fe6d7416fbad829ad25ec994d3a1cd0
tree507abfc07ab6e6fda32899088371e1d39d8d65a0
parentc0167539bae6da6baa07fe660d6bed07ed16c3e5
hw/misc: add MAX34451 device

The MAX34451 is a Maxim power-supply system manager that can monitor up to 16 voltage rails or currents. It also contains a temperature sensor and supports up to four external temperature sensors.

This commit adds support for interfacing with it, and setting limits on the supported sensors.

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-5-titusr@google.com>
[Moved the device to the sensor directory]
Signed-off-by: Corey Minyard <cminyard@mvista.com>
hw/arm/Kconfig
hw/sensor/Kconfig
hw/sensor/max34451.c [new file with mode: 0644]
hw/sensor/meson.build