meta: ventura: add configuration for valves
Add configuration for liquid cooling valves for Meta's Ventura platform.
Change-Id: I66a20a82f75b3def7a4de47cdddb81c346dd4dd5
Signed-off-by: Jagpal Singh Gill <paligill@gmail.com>
diff --git a/configurations/meson.build b/configurations/meson.build
index c2f5c56..6560c05 100644
--- a/configurations/meson.build
+++ b/configurations/meson.build
@@ -132,6 +132,7 @@
'meta/ventura_rmc_hsc_ltc_fsc_max_p24vsen_ina_gndsen_ina_p12vbrick_delta.json',
'meta/ventura_rmc_hsc_xdp_fsc_nct_p24vsen_isl_gndsen_isl_p12vbrick_flex.json',
'meta/ventura_scm.json',
+ 'meta/ventura_valve.json',
'meta/yosemite4.json',
'meta/yosemite4_chassis.json',
'meta/yosemite4_cpu.json',
diff --git a/configurations/meta/ventura_valve.json b/configurations/meta/ventura_valve.json
new file mode 100644
index 0000000..9a21859
--- /dev/null
+++ b/configurations/meta/ventura_valve.json
@@ -0,0 +1,58 @@
+[
+ {
+ "Exposes": [
+ {
+ "CoolantLoopName": "CoolantLoop_1",
+ "Name": "$Name",
+ "OpenControlPinName": "WATER_VALVE_CLOSED_N",
+ "OpenControlValue": false,
+ "OpenPinName": "SUPPLY_CNTL_FB_D_R",
+ "OpenPolarity": "High",
+ "Type": "GPIOValve"
+ }
+ ],
+ "Name": "$Name",
+ "Probe": [
+ "xyz.openbmc_project.Inventory.Source.DevicePresence({'Name': '^SupplyValve_1$'})"
+ ],
+ "Type": "Valve",
+ "xyz.openbmc_project.Inventory.Decorator.Asset": {
+ "Manufacturer": "Unknown",
+ "Model": "Unknown",
+ "PartNumber": "Unknown",
+ "SerialNumber": "Unknown",
+ "SparePartNumber": "Unknown"
+ },
+ "xyz.openbmc_project.Inventory.Item.Valve": {
+ "Direction": "xyz.openbmc_project.Inventory.Item.Valve.Direction.Supply"
+ }
+ },
+ {
+ "Exposes": [
+ {
+ "CoolantLoopName": "CoolantLoop_1",
+ "Name": "$Name",
+ "OpenControlPinName": "WATER_VALVE_CLOSED_N",
+ "OpenControlValue": false,
+ "OpenPinName": "RETURN_CNTL_FB_D_R",
+ "OpenPolarity": "High",
+ "Type": "GPIOValve"
+ }
+ ],
+ "Name": "$Name",
+ "Probe": [
+ "xyz.openbmc_project.Inventory.Source.DevicePresence({'Name': '^ReturnValve_1$'})"
+ ],
+ "Type": "Valve",
+ "xyz.openbmc_project.Inventory.Decorator.Asset": {
+ "Manufacturer": "Unknown",
+ "Model": "Unknown",
+ "PartNumber": "Unknown",
+ "SerialNumber": "Unknown",
+ "SparePartNumber": "Unknown"
+ },
+ "xyz.openbmc_project.Inventory.Item.Valve": {
+ "Direction": "xyz.openbmc_project.Inventory.Item.Valve.Direction.Return"
+ }
+ }
+]