diff options
author | Lei YU <mine260309@gmail.com> | 2016-12-27 09:43:14 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-01-12 00:37:49 +0300 |
commit | 3dd1eea5c779c8fc1bd4e19b4bd4cbb1221b3bbc (patch) | |
tree | b67d7e5143a64e7fe9931aa50e2c4bd0789968dc /meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/chassis/avsbus-control/avsbus-workaround.sh | |
parent | fdc0491d6e3775e89d1cc7e1ef57182f854f840d (diff) | |
download | openbmc-3dd1eea5c779c8fc1bd4e19b4bd4cbb1221b3bbc.tar.xz |
meta-romulus: Add AVSBus and VRM workarounds
Add AVSBus and VRM control scripts.
Add systemd services to do AVSBus workaround, disable AVSBus, do VRM workaround and enable
AVSBus.
Add BitBake recipe to install script and services.
Change-Id: I72ec0138d23eba57ee56d5a6b01e3cd638c819bc
Signed-off-by: Lei YU <mine260309@gmail.com>
Diffstat (limited to 'meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/chassis/avsbus-control/avsbus-workaround.sh')
-rw-r--r-- | meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/chassis/avsbus-control/avsbus-workaround.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/chassis/avsbus-control/avsbus-workaround.sh b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/chassis/avsbus-control/avsbus-workaround.sh new file mode 100644 index 000000000..75ec8caed --- /dev/null +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/chassis/avsbus-control/avsbus-workaround.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +i2cset -y 4 0x28 0x2E 0x23 b # VDD/VCS 0 +i2cset -y 4 0x2B 0x2E 0x23 b # VDN 0 +i2cset -y 5 0x28 0x2E 0x23 b # VDD/VCS 1 +i2cset -y 5 0x2B 0x2E 0x23 b # VDN 1 + |