configurations: ventura: add the valve train config for GPIODeviceDetect
Updates:
- Add GPIODeviceDetect valve train config in entity manager.
- Add valve train presence probe using gpio-presence reverse interface
Change-Id: I221320ac7f36cb9cf122b45123970c8404570251
Signed-off-by: Jason Hsu <Jason-Hsu@quantatw.com>
Signed-off-by: Eldin Lee <eldin.lee@quantatw.com>
diff --git a/configurations/meta/ventura_cable.json b/configurations/meta/ventura_cable.json
index 18989de..b996bfa 100644
--- a/configurations/meta/ventura_cable.json
+++ b/configurations/meta/ventura_cable.json
@@ -305,5 +305,43 @@
"Length": 0.9,
"Type": "Copper"
}
+ },
+ {
+ "Exposes": [],
+ "Name": "$Name",
+ "Probe": [
+ "xyz.openbmc_project.Inventory.Source.DevicePresence({'Name': 'ReturnValve'})"
+ ],
+ "Type": "Cable",
+ "xyz.openbmc_project.Inventory.Decorator.Asset": {
+ "Manufacturer": "Unknown",
+ "Model": "Unknown",
+ "PartNumber": "Unknown",
+ "SerialNumber": "Unknown",
+ "SparePartNumber": "07-100705"
+ },
+ "xyz.openbmc_project.Inventory.Decorator.Cable": {
+ "Length": 0.46,
+ "Type": "Copper"
+ }
+ },
+ {
+ "Exposes": [],
+ "Name": "$Name",
+ "Probe": [
+ "xyz.openbmc_project.Inventory.Source.DevicePresence({'Name': 'SupplyValve'})"
+ ],
+ "Type": "Cable",
+ "xyz.openbmc_project.Inventory.Decorator.Asset": {
+ "Manufacturer": "Unknown",
+ "Model": "Unknown",
+ "PartNumber": "Unknown",
+ "SerialNumber": "Unknown",
+ "SparePartNumber": "07-100704"
+ },
+ "xyz.openbmc_project.Inventory.Decorator.Cable": {
+ "Length": 0.46,
+ "Type": "Copper"
+ }
}
]
diff --git a/configurations/meta/ventura_scm.json b/configurations/meta/ventura_scm.json
index e197b76..c38755c 100644
--- a/configurations/meta/ventura_scm.json
+++ b/configurations/meta/ventura_scm.json
@@ -576,6 +576,26 @@
"Type": "GPIODeviceDetect"
},
{
+ "Name": "ReturnValve",
+ "PresencePinNames": [
+ "wPRSNT_RETURN_PLD_R_N"
+ ],
+ "PresencePinValues": [
+ 0
+ ],
+ "Type": "GPIODeviceDetect"
+ },
+ {
+ "Name": "SupplyValve",
+ "PresencePinNames": [
+ "wPRSNT_SUPPLY_PLD_R_N"
+ ],
+ "PresencePinValues": [
+ 0
+ ],
+ "Type": "GPIODeviceDetect"
+ },
+ {
"Level": "Warning",
"Name": "LeakPort1_Small",
"PinName": "SMALL_LEAK_COMPUTE_TRAY1_N",