Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/gimlet/base.toml
Original file line number Diff line number Diff line change
Expand Up @@ -966,7 +966,7 @@ device = "isl68224"
description = "DIMM/SP3 1.8V A0 power controller"
power.rails = [ "VPP_ABCD", "VPP_EFGH", "V1P8_SP3" ]
power.phases = [ [ 0 ], [ 1 ], [ 2 ] ]
sensors = { voltage = 3, current = 3 }
sensors = { temperature = 3, voltage = 3, current = 3 }
refdes = "U352"

[[config.i2c.devices]]
Expand Down
2 changes: 1 addition & 1 deletion drv/i2c-devices/src/isl68224.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ impl VoltageSensor<Error> for Isl68224 {

impl TempSensor<Error> for Isl68224 {
fn read_temperature(&self) -> Result<Celsius, Error> {
let t = pmbus_rail_read!(self.device, self.rail, READ_TEMPERATURE_1)?;
let t = pmbus_rail_read!(self.device, self.rail, READ_TEMPERATURE_2)?;
Ok(Celsius(t.get()?.0))
}
}
Expand Down
2 changes: 1 addition & 1 deletion drv/i2c-devices/src/raa229618.rs
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ impl VoltageSensor<Error> for Raa229618 {

impl TempSensor<Error> for Raa229618 {
fn read_temperature(&self) -> Result<Celsius, Error> {
let t = pmbus_rail_read!(self.device, self.rail, READ_TEMPERATURE_1)?;
let t = pmbus_rail_read!(self.device, self.rail, READ_TEMPERATURE_2)?;
Ok(Celsius(t.get()?.0))
}
}
Expand Down