Skip to content

Commit

Permalink
Update sensor names for msn4600c for the 5.10 kernel (#11491)
Browse files Browse the repository at this point in the history
* Update sensor names for msn4600c for the 5.10 kernel

Looks like a sensor was removed in the 5.10 kernel for the tps53679
sensor, so the names/indexing has changed.

Related to sonic-net/sonic-mgmt#4513.

Signed-off-by: Saikrishna Arcot <[email protected]>

* Update sensors file

Signed-off-by: Saikrishna Arcot <[email protected]>

Signed-off-by: Saikrishna Arcot <[email protected]>
  • Loading branch information
saiarcot895 authored Aug 29, 2022
1 parent a1d3d99 commit 186568a
Showing 1 changed file with 18 additions and 16 deletions.
34 changes: 18 additions & 16 deletions device/mellanox/x86_64-mlnx_msn4600c-r0/sensors.conf
Original file line number Diff line number Diff line change
Expand Up @@ -129,27 +129,29 @@ bus "i2c-5" "i2c-1-mux (chan_id 4)"

bus "i2c-15" "i2c-1-mux (chan_id 6)"
chip "tps53679-i2c-*-58"
label in1 "PMIC-8 PSU 12V Rail (in1)"
label in2 "PMIC-8 PSU 12V Rail (in2)"
label in3 "PMIC-8 COMEX 1.8V Rail (out)"
label in4 "PMIC-8 COMEX 1.05V Rail (out)"
label in1 "PMIC-8 PSU 12V Rail (in)"
label in2 "PMIC-8 COMEX 1.8V Rail (out)"
label in3 "PMIC-8 COMEX 1.05V Rail (out)"
label temp1 "PMIC-8 Temp 1"
label temp2 "PMIC-8 Temp 2"
label power1 "PMIC-8 COMEX 1.8V Rail Pwr (out)"
label power2 "PMIC-8 COMEX 1.05V Rail Pwr (out)"
label curr1 "PMIC-8 COMEX 1.8V Rail Curr (out)"
label curr2 "PMIC-8 COMEX 1.05V Rail Curr (out)"
ignore power1
label power2 "PMIC-8 COMEX 1.8V Rail Pwr (out)"
label power3 "PMIC-8 COMEX 1.05V Rail Pwr (out)"
ignore curr1
label curr2 "PMIC-8 COMEX 1.8V Rail Curr (out)"
label curr3 "PMIC-8 COMEX 1.05V Rail Curr (out)"
chip "tps53679-i2c-*-61"
label in1 "PMIC-9 PSU 12V Rail (in1)"
label in2 "PMIC-9 PSU 12V Rail (in2)"
label in3 "PMIC-9 COMEX 1.2V Rail (out)"
ignore in4
label in1 "PMIC-9 PSU 12V Rail (in)"
label in2 "PMIC-9 COMEX 1.2V Rail (out)"
ignore in3
label temp1 "PMIC-9 Temp 1"
label temp2 "PMIC-9 Temp 2"
label power1 "PMIC-9 COMEX 1.2V Rail Pwr (out)"
ignore power2
label curr1 "PMIC-9 COMEX 1.2V Rail Curr (out)"
ignore curr2
ignore power1
label power2 "PMIC-9 COMEX 1.2V Rail Pwr (out)"
ignore power3
ignore curr1
label curr2 "PMIC-9 COMEX 1.2V Rail Curr (out)"
ignore curr3

# Power supplies
bus "i2c-4" "i2c-1-mux (chan_id 3)"
Expand Down

0 comments on commit 186568a

Please sign in to comment.