linux-aspeed: Rename APB nodes, PT5161L support, Catalina updatesThe notable change is to the phosphor-hwmon configuration paths for allAspeed-based platforms. The changes were generated with the
linux-aspeed: Rename APB nodes, PT5161L support, Catalina updatesThe notable change is to the phosphor-hwmon configuration paths for allAspeed-based platforms. The changes were generated with the followingincantations:```git ls-files -- :/:*/ahb/apb/bus@1e78* | while read -r S; do D="$(echo $S | sed -E 's|ahb/apb/bus@1e78a000/i2c-bus|ahb/apb@1e780000/bus@1e78a000/i2c|')"; mkdir -p "$(dirname "$D")"; git mv "$S" "$D"; donegit ls-files -- :/:*/ahb/apb/pwm-tacho-controller@1e786* | while read -r S; do D="$(echo "$S" | sed -E 's|ahb/apb/pwm-tacho-controller@1e786000|ahb/apb@1e780000/pwm-tacho-controller@1e786000|')"; mkdir -p "$(dirname "$D")"; git mv "$S" "$D"; donesed -Ei 's|ahb/apb/|ahb/apb@1e780000/|g' meta-ibm/meta-palmetto/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend meta-ibm/meta-romulus/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend meta-ibm/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend meta-ingrasys/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend meta-quanta/meta-f0b/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend meta-quanta/meta-q71l/recipes-phosphor/sensors/phosphor-hwmon_%.bbappendsed -Ei 's/i2c-bus@/i2c@/g' meta-ibm/dynamic-layers/meta-openpower/recipes-phosphor/vpd/openpower-fru-vpd_%.bbappend meta-ibm/meta-palmetto/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend meta-ibm/meta-romulus/recipes-phosphor/logging/files/callouts.yaml meta-ibm/meta-romulus/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend meta-ibm/recipes-phosphor/chassis/vrm-control/ibm-ac-server/ir35221-unbind-bind.sh meta-ibm/recipes-phosphor/fans/phosphor-fan-presence-config/swift/config.yaml meta-ibm/recipes-phosphor/logging/ibm-logging/ibm-ac-server/policyTable.json meta-ibm/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend meta-ingrasys/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend meta-quanta/meta-f0b/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend meta-quanta/meta-q71l/recipes-phosphor/sensors/phosphor-hwmon_%.bbappendsed -Ei 's|/ahb:apb/|/1e780000.apb/|g' $(git grep -lE 'ahb:apb/.*1e78')sed -Ei 's|ahb:apb:i2c@1e78a000|1e780000.apb:bus@1e78a000|g' $(git grep -l ahb:apb:i2c@1e78a000)sed -Ei 's|ahb:apb|1e6e0000.apb|g' meta-phosphor/recipes-phosphor/video/uart-render-controller/uart-render-controller.servicegit ls-files -- :/:meta-ibm/*/ahb--apb/* | while read -r S; do D="$(echo "$S" | sed -E 's/ahb--apb/1e780000.apb/g')"; mkdir -p "$(dirname "$D")"; git mv "$S" "$D"; done; sed -Ei 's/ahb--apb/1e780000.apb/g' $(git grep -l ahb--apb -- meta-ibm)git ls-files -- :/:*i2c-bus* | while read -r S; do D="$(echo "$S" | sed -E 's/(1e78a..0).i2c-bus/\1.i2c/g')"; mkdir -p "$(dirname "$D")"; git mv "$S" "$D"; done; sed -Ei 's/(1e78a..0).i2c-bus/\1.i2c/g' $(git grep -lE '(1e78a..0).i2c-bus')```What couldn't be automated was cleaning up the ibm-logging policy table,which had many duplicate keys that needed manual inspection to remove.It's worth noting that even for the remaining, non-duplicate keys, thesysfs paths are not correct: The physical address of the I2C controllersneeds to map to the assigned device index, but in the file they all haveaddress 1e78a100 despite changes to the device index.From eslint in CI:```meta-ibm/recipes-phosphor/logging/ibm-logging/ibm-ac-server/policyTable.json9999:10 error Duplicate object key json/*10020:10 error Duplicate object key json/*10041:10 error Duplicate object key json/*10062:10 error Duplicate object key json/*10083:10 error Duplicate object key json/*10104:10 error Duplicate object key json/*17097:10 error Duplicate object key json/*17118:10 error Duplicate object key json/*17139:10 error Duplicate object key json/*17160:10 error Duplicate object key json/*17181:10 error Duplicate object key json/*17202:10 error Duplicate object key json/*17223:10 error Duplicate object key json/*17244:10 error Duplicate object key json/*17265:10 error Duplicate object key json/*17286:10 error Duplicate object key json/*17307:10 error Duplicate object key json/*17328:10 error Duplicate object key json/*17349:10 error Duplicate object key json/*17370:10 error Duplicate object key json/*17391:10 error Duplicate object key json/*17412:10 error Duplicate object key json/*17433:10 error Duplicate object key json/*17454:10 error Duplicate object key json/*19575:10 error Duplicate object key json/*19596:10 error Duplicate object key json/*```Andrew Jeffery (1): ARM: dts: aspeed: Rework APB nodesCosmo Chou (3): dt-bindings: vendor-prefixes: add asteralabs dt-bindings: trivial-devices: add Astera Labs PT5161L hwmon: Add driver for Astera Labs PT5161L retimerPotin Lai (2): ARM: dts: aspeed: catalina: add pdb cpld io expander ARM: dts: aspeed: catalina: update io_expander7 & io_expander8 line nameRob Herring (Arm) (1): arm: dts: aspeed: Use standard 'i2c' bus node nameChange-Id: I32ca7579eabd59ed20da3f481da687589a361763Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
ibm: Drop hwmon support for water cooled wspoonThere is an upcoming systemd change that doesn't handle what was beingdone, which was to delay starting phosphor-hwmon from udev until thechassis co
ibm: Drop hwmon support for water cooled wspoonThere is an upcoming systemd change that doesn't handle what was beingdone, which was to delay starting phosphor-hwmon from udev until thechassis cooling type was on D-Bus.This commit removes this method and goes down to a single hwmon configfile that only supports the air cooled system, which has 2 more fanrotors than the water cooled one does.This change also applies to the similar systems witherspoon-tacoma andswift.Resolves openbmc/phosphor-hwmon/#19.Signed-off-by: Matt Spinler <spinler@us.ibm.com>Change-Id: Ic4ed46a5bf310fb1fef8704dcafc0376c441f8c4
meta-ibm: move all meta-witherspoon metadataThe metadata common to all IBM systems is confusingly split betweenmeta-ibm and meta-witherspoon. Move everything to meta-ibm.The meta-ibm README is
meta-ibm: move all meta-witherspoon metadataThe metadata common to all IBM systems is confusingly split betweenmeta-ibm and meta-witherspoon. Move everything to meta-ibm.The meta-ibm README is re-written to more accurately reflect the scopeof the layer.Allow the configuration samples (bblayers.conf.sample,local.conf.sample) to be sourced from either meta-ibm ormeta-witherspoon until such a time that any workflows and tooling havehad the opportunity to move to meta-ibm.(From meta-ibm rev: 6e05ef2e90b214eaf4e43ee7027bbbb1d8d09442)Change-Id: I3ec890d5300f9649c974ea6b9dca93a2e8a889abSigned-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>Signed-off-by: Andrew Geissler <geissonator@yahoo.com>