Support ADC sensors for Meta Yosemite 4 schematic change
Add following sensors which are added on medusa board of Meta Yosemite4
- MEDUSA_ADC_GND_SENSE_VOLT_V
- MEDUSA_ADC_48V_SENSE_VOLT_V
Tested:
- Read ina233/ina238 voltage reading through command busctl
Change-Id: I6675f9b943e1642aa8d204afb058eba61c1e9380
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
diff --git a/configurations/yosemite4_medusaboard.json b/configurations/yosemite4_medusaboard.json
index 77aee4b..9f17dcd 100644
--- a/configurations/yosemite4_medusaboard.json
+++ b/configurations/yosemite4_medusaboard.json
@@ -1531,6 +1531,70 @@
"vout1_Name": "MEDUSA_MB8_12VHSC_OUTPUT_VOLT_V"
},
{
+ "Address": "0x41",
+ "Bus": 11,
+ "Labels": [
+ "vout1"
+ ],
+ "Name": "MEDUSA_ADC_GND_SENSE",
+ "Type": "INA233",
+ "vout1_Name": "MEDUSA_ADC_GND_SENSE_VOLT_V"
+ },
+ {
+ "Address": "0x44",
+ "Bus": 11,
+ "Labels": [
+ "in1"
+ ],
+ "Name": "MEDUSA_ADC_48V_SENSE",
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Label": "in1",
+ "Name": "upper non recoverable",
+ "Severity": 4,
+ "Value": 60
+ },
+ {
+ "Direction": "greater than",
+ "Label": "in1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 53.28
+ },
+ {
+ "Direction": "greater than",
+ "Label": "in1",
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 52.8
+ },
+ {
+ "Direction": "less than",
+ "Label": "in1",
+ "Name": "lower non critical",
+ "Severity": 0,
+ "Value": 43.2
+ },
+ {
+ "Direction": "less than",
+ "Label": "in1",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 42.72
+ },
+ {
+ "Direction": "less than",
+ "Label": "in1",
+ "Name": "lower non recoverable",
+ "Severity": 4,
+ "Value": 40
+ }
+ ],
+ "Type": "INA238",
+ "in1_Name": "MEDUSA_ADC_48V_SENSE_VOLT_V"
+ },
+ {
"Address": "0x40",
"Bus": 11,
"Labels": [