Witherspoon AVS Bus Control

Perform an AVS bus workaround on the VRMs attached
to the processor.  The AVS bus is how the processor
talks to the VRMs.

After the workaround, this also provides services to
disable the AVS bus so a VRM override can be run, and
then enable it again afterwards.

Change-Id: I68c48ffaafe5d7125556aa9d36cf11bf55ca93ac
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
diff --git a/meta-witherspoon/recipes-phosphor/chassis/avsbus-control/avsbus-workaround.sh b/meta-witherspoon/recipes-phosphor/chassis/avsbus-control/avsbus-workaround.sh
new file mode 100644
index 0000000..775c45d
--- /dev/null
+++ b/meta-witherspoon/recipes-phosphor/chassis/avsbus-control/avsbus-workaround.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+i2cset -y 4 0x12 0x2E 0x23 b # VDD/VCS 0
+i2cset -y 4 0x13 0x2E 0x23 b # VDN 0
+i2cset -y 5 0x12 0x2E 0x23 b # VDD/VCS 1
+i2cset -y 5 0x13 0x2E 0x23 b # VDN 1
+