Skip to content

Commit

Permalink
hw/sensor: add MAX34451 device
Browse files Browse the repository at this point in the history
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>
[Moved the file to the sensor directory]
Signed-off-by: Corey Minyard <cminyard@mvista.com>
  • Loading branch information
Rwantare authored and cminyard committed Jun 17, 2021
1 parent a398837 commit 0c3999d
Show file tree
Hide file tree
Showing 4 changed files with 781 additions and 0 deletions.
1 change: 1 addition & 0 deletions hw/arm/Kconfig
Expand Up @@ -375,6 +375,7 @@ config NPCM7XX
select ADM1272
select ARM_GIC
select AT24C # EEPROM
select MAX34451
select PL310 # cache controller
select PMBUS
select SERIAL
Expand Down
4 changes: 4 additions & 0 deletions hw/sensor/Kconfig
Expand Up @@ -13,3 +13,7 @@ config EMC141X
config ADM1272
bool
depends on I2C

config MAX34451
bool
depends on I2C

0 comments on commit 0c3999d

Please sign in to comment.