Message ID | 20220112002515.3991540-3-titusr@google.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [1/3] hw/sensor: add MAX31790 fan controller | expand |
On Wed, 12 Jan 2022 at 00:25, Titus Rwantare <titusr@google.com> wrote: > > From: Patrick Venture <venture@google.com> > > Signed-off-by: Patrick Venture <venture@google.com> > Reviewed-by: Titus Rwantare <titusr@google.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> thanks -- PMM
diff --git a/hw/arm/npcm7xx_boards.c b/hw/arm/npcm7xx_boards.c index 7d0f3148be..6fea2e161f 100644 --- a/hw/arm/npcm7xx_boards.c +++ b/hw/arm/npcm7xx_boards.c @@ -342,6 +342,7 @@ static void kudo_bmc_i2c_init(NPCM7xxState *soc) i2c_mux = i2c_slave_create_simple(npcm7xx_i2c_get_bus(soc, 13), TYPE_PCA9548, 0x77); + i2c_slave_create_simple(pca954x_i2c_get_bus(i2c_mux, 2), "max31790", 0x2c); /* tmp105 is compatible with the lm75 */ i2c_slave_create_simple(pca954x_i2c_get_bus(i2c_mux, 2), "tmp105", 0x48); i2c_slave_create_simple(pca954x_i2c_get_bus(i2c_mux, 3), "tmp105", 0x49);