Closed Scott8440 closed 1 year ago
This pull request was exported from Phabricator. Differential Revision: D44937979
This pull request was exported from Phabricator. Differential Revision: D44937979
This pull request has been merged in facebook/openbmc@780d49efeef90386ede8902bea6df8f27c947597.
Summary: Adds a much simpler ir35215 driver as a patch in preparation of upstreaming this version of the driver.
Reasoning:
vout0_value
andvout1_value
).pmbus_core
So these files don't add any benefit and just cause us to have to carry around this patch and not have the driver upstreamed. If anyone needs to directly control voltage output, they can use set_vdd.sh
Next steps are to upstream this driver so we can remove this patch altogether.
Test Plan: From the patch test plan:
check device and driver installation
Check sensor command
ir35215-i2c-1-47 Adapter: 1e78a080.i2c-bus Chip 3V3 Right Input Voltage: +11.94 V (min = +10.50 V, crit max = +14.56 V) TRVDD0R8 Input Voltage: +11.94 V (min = +0.06 V, crit max = +14.56 V) Chip 3V3 Right Output Voltage: +3.31 V (crit min = +1.40 V, min = +2.80 V) (max = +3.60 V, crit max = +3.80 V) TRVDD0R8 Output Voltage: +0.79 V (crit min = +0.50 V, min = +0.60 V) (max = +0.90 V, crit max = +2.05 V) Chip 3V3 Right Temp: +19.0 C (high = +100.0 C, crit = +125.0 C) TRVDD0R8 Temp: +19.0 C (high = +100.0 C, crit = +125.0 C) Chip 3V3 Right Input Power: 0.00 W TRVDD0R8 Input Power: 500.00 mW Chip 3V3 Right Output Power: 0.00 W TRVDD0R8 Output Power: 0.00 W Chip 3V3 Right Input Current: +0.00 A (max = +30.00 A) TRVDD0R8 Input Current: +0.03 A (max = +30.00 A) Chip 3V3 Right Output Current: +0.01 A (max = +62.06 A, crit max = +111.71 A) TRVDD0R8 Output Current: +1.52 A (max = +84.97 A, crit max = +90.97 A)
Reviewed By: tao-ren
Differential Revision: D44937979