summaryrefslogtreecommitdiff
path: root/meta-ibm
diff options
context:
space:
mode:
authorJim Wright <jlwright@us.ibm.com>2019-10-03 23:01:54 +0300
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2019-10-09 16:53:44 +0300
commit647acf49e7f46d99b691eac2c8d3c4c0fdef298d (patch)
treec410c711d13b27fdbd1cdc5055f87cab42ee88e1 /meta-ibm
parent0c4b9f222e7450de1f6325c5947d153e3350b76f (diff)
downloadopenbmc-647acf49e7f46d99b691eac2c8d3c4c0fdef298d.tar.xz
Change to /sys/bus/i2c/devices/... paths.
Per review comments, change device paths to symlinks thought to be more stable. (From meta-ibm rev: ad75a64d9b120f9b9ed0453acca1da2bf119e78e) Signed-off-by: Jim Wright <jlwright@us.ibm.com> Change-Id: I925dac346368a0a40fa64948ac7f640c33f15019 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-ibm')
-rw-r--r--meta-ibm/meta-witherspoon/recipes-phosphor/power/power-sequencer/rainier/ucd90160.yaml2
-rw-r--r--meta-ibm/meta-witherspoon/recipes-phosphor/power/power-sequencer/swift/ucd90160.yaml10
-rw-r--r--meta-ibm/meta-witherspoon/recipes-phosphor/power/power-sequencer/witherspoon/ucd90160.yaml6
3 files changed, 9 insertions, 9 deletions
diff --git a/meta-ibm/meta-witherspoon/recipes-phosphor/power/power-sequencer/rainier/ucd90160.yaml b/meta-ibm/meta-witherspoon/recipes-phosphor/power/power-sequencer/rainier/ucd90160.yaml
index ba98e801e..d23ce58fb 100644
--- a/meta-ibm/meta-witherspoon/recipes-phosphor/power/power-sequencer/rainier/ucd90160.yaml
+++ b/meta-ibm/meta-witherspoon/recipes-phosphor/power/power-sequencer/rainier/ucd90160.yaml
@@ -1,7 +1,7 @@
- Device:
index: 0
# Linux sysfs path for this power sequencer (0x22 8-bit address)
- path: /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a480.i2c-bus/i2c-8/8-0011
+ path: /sys/bus/i2c/devices/i2c-8/8-0011
RailNames:
- "12.0V"
- "5.0V_USB"
diff --git a/meta-ibm/meta-witherspoon/recipes-phosphor/power/power-sequencer/swift/ucd90160.yaml b/meta-ibm/meta-witherspoon/recipes-phosphor/power/power-sequencer/swift/ucd90160.yaml
index e14640202..abb2ce326 100644
--- a/meta-ibm/meta-witherspoon/recipes-phosphor/power/power-sequencer/swift/ucd90160.yaml
+++ b/meta-ibm/meta-witherspoon/recipes-phosphor/power/power-sequencer/swift/ucd90160.yaml
@@ -1,7 +1,7 @@
- Device:
index: 0
# Linux sysfs path for this power sequencer (0xC8 8-bit address)
- path: /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a340.i2c-bus/i2c-8/8-0064
+ path: /sys/bus/i2c/devices/i2c-8/8-0064
RailNames:
- "12.0V"
- "3.3V"
@@ -52,7 +52,7 @@
GPIOAnalysis:
- type: gpuPGOOD
# The PCA9xxx chip device path and address (0xC0 8-bit = 0x60 7-bit)
- path: /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a340.i2c-bus/i2c-8/8-0060
+ path: /sys/bus/i2c/devices/i2c-8/8-0060
gpio_value: low # What GPIO value indicates a fault/problem?
error_function: gpuPGOODError # Extra analysis function to call for this type
option_flags: none
@@ -72,7 +72,7 @@
callout: /system/chassis/motherboard/gv100card3
- type: gpuOverTemp
# The PCA9xxx chip device path and address (0xC0 8-bit = 0x60 7-bit)
- path: /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a340.i2c-bus/i2c-8/8-0060
+ path: /sys/bus/i2c/devices/i2c-8/8-0060
gpio_value: low # What GPIO value indicates a fault/problem?
error_function: gpuOverTempError # Extra analysis function to call for this type
option_flags: shutdownOnFault
@@ -92,7 +92,7 @@
callout: /system/chassis/motherboard/gv100card3
- type: memGOOD0
# The PCA9xxx chip device path and address (0xE8 8-bit = 0x74 7-bit)
- path: /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a380.i2c-bus/i2c-9/9-0074
+ path: /sys/bus/i2c/devices/i2c-9/9-0074
gpio_value: low # What GPIO value indicates a fault/problem?
error_function: memGoodError # Extra analysis function to call for this type
option_flags: none
@@ -136,7 +136,7 @@
callout: /system/chassis/motherboard/dimm6
- type: memGOOD1
# The PCA9xxx chip device path and address (0xE8 8-bit = 0x74 7-bit)
- path: /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a3c0.i2c-bus/i2c-10/10-0074
+ path: /sys/bus/i2c/devices/i2c-10/10-0074
gpio_value: low # What GPIO value indicates a fault/problem?
error_function: memGoodError # Extra analysis function to call for this type
option_flags: none
diff --git a/meta-ibm/meta-witherspoon/recipes-phosphor/power/power-sequencer/witherspoon/ucd90160.yaml b/meta-ibm/meta-witherspoon/recipes-phosphor/power/power-sequencer/witherspoon/ucd90160.yaml
index bf373ea92..39ee8ed36 100644
--- a/meta-ibm/meta-witherspoon/recipes-phosphor/power/power-sequencer/witherspoon/ucd90160.yaml
+++ b/meta-ibm/meta-witherspoon/recipes-phosphor/power/power-sequencer/witherspoon/ucd90160.yaml
@@ -1,7 +1,7 @@
- Device:
index: 0
# Linux sysfs path for this power sequencer (0xC8 8-bit address)
- path: /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a400.i2c-bus/i2c-11/11-0064
+ path: /sys/bus/i2c/devices//i2c-11/11-0064
RailNames:
- "5.0VCS"
- "12.0V"
@@ -52,7 +52,7 @@
analysis: none
GPIOAnalysis:
- type: gpuPGOOD
- path: /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a400.i2c-bus/i2c-11/11-0060
+ path: /sys/bus/i2c/devices/i2c-11/11-0060
gpio_value: low
error_function: gpuPGOODError
option_flags: none
@@ -77,7 +77,7 @@
callout: /system/chassis/motherboard/gv100card5
- type: gpuOverTemp # Extra analysis function to call for this type
# The PCA9xxx chip device path and address (0xC0 8-bit = 0x60 7-bit)
- path: /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a400.i2c-bus/i2c-11/11-0060
+ path: /sys/bus/i2c/devices/i2c-11/11-0060
gpio_value: low # What GPIO value indicates a fault/problem?
error_function: gpuOverTempError
option_flags: shutdownOnFault