ventura: add leak detector configuration
Add the GPIO leak detector configuration for Meta's Ventura platform.
Tested:
```
> busctl tree xyz.openbmc_project.leakdetector
└─ /xyz
└─ /xyz/openbmc_project
└─ /xyz/openbmc_project/state
└─ /xyz/openbmc_project/state/leak
└─ /xyz/openbmc_project/state/leak/detector
├─ /xyz/openbmc_project/state/leak/detector/LeakPort10_Big
├─ /xyz/openbmc_project/state/leak/detector/LeakPort10_Small
├─ /xyz/openbmc_project/state/leak/detector/LeakPort11_Big
├─ /xyz/openbmc_project/state/leak/detector/LeakPort11_Small
├─ /xyz/openbmc_project/state/leak/detector/LeakPort12_Big
├─ /xyz/openbmc_project/state/leak/detector/LeakPort12_Small
├─ /xyz/openbmc_project/state/leak/detector/LeakPort13_Big
├─ /xyz/openbmc_project/state/leak/detector/LeakPort13_Small
├─ /xyz/openbmc_project/state/leak/detector/LeakPort14_Big
├─ /xyz/openbmc_project/state/leak/detector/LeakPort14_Small
├─ /xyz/openbmc_project/state/leak/detector/LeakPort15_Big
├─ /xyz/openbmc_project/state/leak/detector/LeakPort15_Small
├─ /xyz/openbmc_project/state/leak/detector/LeakPort16_Big
├─ /xyz/openbmc_project/state/leak/detector/LeakPort16_Small
├─ /xyz/openbmc_project/state/leak/detector/LeakPort17_Big
├─ /xyz/openbmc_project/state/leak/detector/LeakPort17_Small
├─ /xyz/openbmc_project/state/leak/detector/LeakPort18_Big
├─ /xyz/openbmc_project/state/leak/detector/LeakPort18_Small
├─ /xyz/openbmc_project/state/leak/detector/LeakPort19_Big
├─ /xyz/openbmc_project/state/leak/detector/LeakPort19_Small
├─ /xyz/openbmc_project/state/leak/detector/LeakPort1_Big
├─ /xyz/openbmc_project/state/leak/detector/LeakPort1_Small
├─ /xyz/openbmc_project/state/leak/detector/LeakPort20_Big
├─ /xyz/openbmc_project/state/leak/detector/LeakPort20_Small
├─ /xyz/openbmc_project/state/leak/detector/LeakPort21_Big
├─ /xyz/openbmc_project/state/leak/detector/LeakPort21_Small
├─ /xyz/openbmc_project/state/leak/detector/LeakPort22_Big
├─ /xyz/openbmc_project/state/leak/detector/LeakPort22_Small
├─ /xyz/openbmc_project/state/leak/detector/LeakPort23_Big
├─ /xyz/openbmc_project/state/leak/detector/LeakPort23_Small
├─ /xyz/openbmc_project/state/leak/detector/LeakPort24_Big
├─ /xyz/openbmc_project/state/leak/detector/LeakPort24_Small
├─ /xyz/openbmc_project/state/leak/detector/LeakPort25_Big
├─ /xyz/openbmc_project/state/leak/detector/LeakPort25_Small
├─ /xyz/openbmc_project/state/leak/detector/LeakPort26_Big
├─ /xyz/openbmc_project/state/leak/detector/LeakPort26_Small
├─ /xyz/openbmc_project/state/leak/detector/LeakPort27_Big
├─ /xyz/openbmc_project/state/leak/detector/LeakPort27_Small
├─ /xyz/openbmc_project/state/leak/detector/LeakPort2_Big
├─ /xyz/openbmc_project/state/leak/detector/LeakPort2_Small
├─ /xyz/openbmc_project/state/leak/detector/LeakPort3_Big
├─ /xyz/openbmc_project/state/leak/detector/LeakPort3_Small
├─ /xyz/openbmc_project/state/leak/detector/LeakPort4_Big
├─ /xyz/openbmc_project/state/leak/detector/LeakPort4_Small
├─ /xyz/openbmc_project/state/leak/detector/LeakPort5_Big
├─ /xyz/openbmc_project/state/leak/detector/LeakPort5_Small
├─ /xyz/openbmc_project/state/leak/detector/LeakPort6_Big
├─ /xyz/openbmc_project/state/leak/detector/LeakPort6_Small
├─ /xyz/openbmc_project/state/leak/detector/LeakPort7_Big
├─ /xyz/openbmc_project/state/leak/detector/LeakPort7_Small
├─ /xyz/openbmc_project/state/leak/detector/LeakPort8_Big
├─ /xyz/openbmc_project/state/leak/detector/LeakPort8_Small
├─ /xyz/openbmc_project/state/leak/detector/LeakPort9_Big
├─ /xyz/openbmc_project/state/leak/detector/LeakPort9_Small
├─ /xyz/openbmc_project/state/leak/detector/RackDripPan
├─ /xyz/openbmc_project/state/leak/detector/RackFloorLeak1
├─ /xyz/openbmc_project/state/leak/detector/RackFloorLeak2
├─ /xyz/openbmc_project/state/leak/detector/RackLeftManifold
└─ /xyz/openbmc_project/state/leak/detector/RackRightManifold
> busctl introspect xyz.openbmc_project.leakdetector /xyz/openbmc_project/state/leak/detector/RackDripPan
NAME TYPE SIGNATURE RESULT/VALUE FLAGS
org.freedesktop.DBus.Introspectable interface - - -
.Introspect method - s -
org.freedesktop.DBus.Peer interface - - -
.GetMachineId method - s -
.Ping method - - -
org.freedesktop.DBus.Properties interface - - -
.Get method ss v -
.GetAll method s a{sv} -
.Set method ssv - -
.PropertiesChanged signal sa{sv}as - -
xyz.openbmc_project.Association.Definitions interface - - -
.Associations property a(sss) 0 emits-change writable
xyz.openbmc_project.State.Leak.Detector interface - - -
.PrettyName property s "RackDripPan" emits-change
.State property s "xyz.openbmc_project.State.Leak.Detecto… emits-change
.Type property s "xyz.openbmc_project.State.Leak.Detecto… emits-change writable
```
Change-Id: Ifda7d807209f2ddda45e1aa553400a7ff5c5cbe8
Signed-off-by: Jagpal Singh Gill <paligill@gmail.com>
diff --git a/configurations/meta/ventura_scm.json b/configurations/meta/ventura_scm.json
index 729f6b2..ecadda1 100644
--- a/configurations/meta/ventura_scm.json
+++ b/configurations/meta/ventura_scm.json
@@ -216,6 +216,478 @@
"Type": "EEPROM"
},
{
+ "Level": "Warning",
+ "Name": "LeakPort1_Small",
+ "PinName": "SMALL_LEAK_COMPUTE_TRAY1_N",
+ "Polarity": "Low",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Warning",
+ "Name": "LeakPort2_Small",
+ "PinName": "SMALL_LEAK_COMPUTE_TRAY2_N",
+ "Polarity": "Low",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Warning",
+ "Name": "LeakPort3_Small",
+ "PinName": "SMALL_LEAK_COMPUTE_TRAY3_N",
+ "Polarity": "Low",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Warning",
+ "Name": "LeakPort4_Small",
+ "PinName": "SMALL_LEAK_COMPUTE_TRAY4_N",
+ "Polarity": "Low",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Warning",
+ "Name": "LeakPort5_Small",
+ "PinName": "SMALL_LEAK_COMPUTE_TRAY5_N",
+ "Polarity": "Low",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Warning",
+ "Name": "LeakPort6_Small",
+ "PinName": "SMALL_LEAK_COMPUTE_TRAY6_N",
+ "Polarity": "Low",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Warning",
+ "Name": "LeakPort7_Small",
+ "PinName": "SMALL_LEAK_COMPUTE_TRAY7_N",
+ "Polarity": "Low",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Warning",
+ "Name": "LeakPort8_Small",
+ "PinName": "SMALL_LEAK_COMPUTE_TRAY8_N",
+ "Polarity": "Low",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Warning",
+ "Name": "LeakPort18_Small",
+ "PinName": "SMALL_LEAK_COMPUTE_TRAY9_N",
+ "Polarity": "Low",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Warning",
+ "Name": "LeakPort19_Small",
+ "PinName": "SMALL_LEAK_COMPUTE_TRAY10_N",
+ "Polarity": "Low",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Warning",
+ "Name": "LeakPort20_Small",
+ "PinName": "SMALL_LEAK_COMPUTE_TRAY11_N",
+ "Polarity": "Low",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Warning",
+ "Name": "LeakPort21_Small",
+ "PinName": "SMALL_LEAK_COMPUTE_TRAY12_N",
+ "Polarity": "Low",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Warning",
+ "Name": "LeakPort22_Small",
+ "PinName": "SMALL_LEAK_COMPUTE_TRAY13_N",
+ "Polarity": "Low",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Warning",
+ "Name": "LeakPort23_Small",
+ "PinName": "SMALL_LEAK_COMPUTE_TRAY14_N",
+ "Polarity": "Low",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Warning",
+ "Name": "LeakPort24_Small",
+ "PinName": "SMALL_LEAK_COMPUTE_TRAY15_N",
+ "Polarity": "Low",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Warning",
+ "Name": "LeakPort25_Small",
+ "PinName": "SMALL_LEAK_COMPUTE_TRAY16_N",
+ "Polarity": "Low",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Warning",
+ "Name": "LeakPort26_Small",
+ "PinName": "SMALL_LEAK_COMPUTE_TRAY17_N",
+ "Polarity": "Low",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Warning",
+ "Name": "LeakPort27_Small",
+ "PinName": "SMALL_LEAK_COMPUTE_TRAY18_N",
+ "Polarity": "Low",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Warning",
+ "Name": "LeakPort9_Small",
+ "PinName": "SMALL_LEAK_NVS_TRAY1_N",
+ "Polarity": "Low",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Warning",
+ "Name": "LeakPort10_Small",
+ "PinName": "SMALL_LEAK_NVS_TRAY2_N",
+ "Polarity": "Low",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Warning",
+ "Name": "LeakPort11_Small",
+ "PinName": "SMALL_LEAK_NVS_TRAY3_N",
+ "Polarity": "Low",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Warning",
+ "Name": "LeakPort12_Small",
+ "PinName": "SMALL_LEAK_NVS_TRAY4_N",
+ "Polarity": "Low",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Warning",
+ "Name": "LeakPort13_Small",
+ "PinName": "SMALL_LEAK_NVS_TRAY5_N",
+ "Polarity": "Low",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Warning",
+ "Name": "LeakPort14_Small",
+ "PinName": "SMALL_LEAK_NVS_TRAY6_N",
+ "Polarity": "Low",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Warning",
+ "Name": "LeakPort15_Small",
+ "PinName": "SMALL_LEAK_NVS_TRAY7_N",
+ "Polarity": "Low",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Warning",
+ "Name": "LeakPort16_Small",
+ "PinName": "SMALL_LEAK_NVS_TRAY8_N",
+ "Polarity": "Low",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Warning",
+ "Name": "LeakPort17_Small",
+ "PinName": "SMALL_LEAK_NVS_TRAY9_N",
+ "Polarity": "Low",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Critical",
+ "Name": "LeakPort1_Big",
+ "PinName": "LEAK_DETECT_COMPUTE_TRAY1_N",
+ "Polarity": "Low",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Critical",
+ "Name": "LeakPort2_Big",
+ "PinName": "LEAK_DETECT_COMPUTE_TRAY2_N",
+ "Polarity": "Low",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Critical",
+ "Name": "LeakPort3_Big",
+ "PinName": "LEAK_DETECT_COMPUTE_TRAY3_N",
+ "Polarity": "Low",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Critical",
+ "Name": "LeakPort4_Big",
+ "PinName": "LEAK_DETECT_COMPUTE_TRAY4_N",
+ "Polarity": "Low",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Critical",
+ "Name": "LeakPort5_Big",
+ "PinName": "LEAK_DETECT_COMPUTE_TRAY5_N",
+ "Polarity": "Low",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Critical",
+ "Name": "LeakPort6_Big",
+ "PinName": "LEAK_DETECT_COMPUTE_TRAY6_N",
+ "Polarity": "Low",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Critical",
+ "Name": "LeakPort7_Big",
+ "PinName": "LEAK_DETECT_COMPUTE_TRAY7_N",
+ "Polarity": "Low",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Critical",
+ "Name": "LeakPort8_Big",
+ "PinName": "LEAK_DETECT_COMPUTE_TRAY8_N",
+ "Polarity": "Low",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Critical",
+ "Name": "LeakPort18_Big",
+ "PinName": "LEAK_DETECT_COMPUTE_TRAY9_N",
+ "Polarity": "Low",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Critical",
+ "Name": "LeakPort19_Big",
+ "PinName": "LEAK_DETECT_COMPUTE_TRAY10_N",
+ "Polarity": "Low",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Critical",
+ "Name": "LeakPort20_Big",
+ "PinName": "LEAK_DETECT_COMPUTE_TRAY11_N",
+ "Polarity": "Low",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Critical",
+ "Name": "LeakPort21_Big",
+ "PinName": "LEAK_DETECT_COMPUTE_TRAY12_N",
+ "Polarity": "Low",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Critical",
+ "Name": "LeakPort22_Big",
+ "PinName": "LEAK_DETECT_COMPUTE_TRAY13_N",
+ "Polarity": "Low",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Critical",
+ "Name": "LeakPort23_Big",
+ "PinName": "LEAK_DETECT_COMPUTE_TRAY14_N",
+ "Polarity": "Low",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Critical",
+ "Name": "LeakPort24_Big",
+ "PinName": "LEAK_DETECT_COMPUTE_TRAY15_N",
+ "Polarity": "Low",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Critical",
+ "Name": "LeakPort25_Big",
+ "PinName": "LEAK_DETECT_COMPUTE_TRAY16_N",
+ "Polarity": "Low",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Critical",
+ "Name": "LeakPort26_Big",
+ "PinName": "LEAK_DETECT_COMPUTE_TRAY17_N",
+ "Polarity": "Low",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Critical",
+ "Name": "LeakPort27_Big",
+ "PinName": "LEAK_DETECT_COMPUTE_TRAY18_N",
+ "Polarity": "Low",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Critical",
+ "Name": "LeakPort9_Big",
+ "PinName": "LEAK_DETECT_NVS_TRAY1_N",
+ "Polarity": "Low",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Critical",
+ "Name": "LeakPort10_Big",
+ "PinName": "LEAK_DETECT_NVS_TRAY2_N",
+ "Polarity": "Low",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Critical",
+ "Name": "LeakPort11_Big",
+ "PinName": "LEAK_DETECT_NVS_TRAY3_N",
+ "Polarity": "Low",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Critical",
+ "Name": "LeakPort12_Big",
+ "PinName": "LEAK_DETECT_NVS_TRAY4_N",
+ "Polarity": "Low",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Critical",
+ "Name": "LeakPort13_Big",
+ "PinName": "LEAK_DETECT_NVS_TRAY5_N",
+ "Polarity": "Low",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Critical",
+ "Name": "LeakPort14_Big",
+ "PinName": "LEAK_DETECT_NVS_TRAY6_N",
+ "Polarity": "Low",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Critical",
+ "Name": "LeakPort15_Big",
+ "PinName": "LEAK_DETECT_NVS_TRAY7_N",
+ "Polarity": "Low",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Critical",
+ "Name": "LeakPort16_Big",
+ "PinName": "LEAK_DETECT_NVS_TRAY8_N",
+ "Polarity": "Low",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Critical",
+ "Name": "LeakPort17_Big",
+ "PinName": "LEAK_DETECT_NVS_TRAY9_N",
+ "Polarity": "Low",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Critical",
+ "Name": "RackDripPan",
+ "PinName": "LEAK0_DETECT",
+ "Polarity": "High",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Critical",
+ "Name": "RackFloorLeak1",
+ "PinName": "LEAK1_DETECT",
+ "Polarity": "High",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Critical",
+ "Name": "RackFloorLeak2",
+ "PinName": "LEAK2_DETECT",
+ "Polarity": "High",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Critical",
+ "Name": "RackRightManifold",
+ "PinName": "LEAK3_DETECT",
+ "Polarity": "High",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
+ "Level": "Critical",
+ "Name": "RackLeftManifold",
+ "PinName": "LEAK4_DETECT",
+ "Polarity": "High",
+ "SubType": "LeakSensingCable",
+ "Type": "GPIOLeakDetector"
+ },
+ {
"Address": "0x4b",
"Bus": 9,
"Name": "SCM_TEMP_C",