blob: 7ff607a4ba40dd8fd842f185c7d440720b79552b [file] [log] [blame]
Adriana Kobylakd95d6af2019-03-19 10:40:36 -05001#!/bin/sh
2# For each AVSBus attached power rail set the default boot voltage and then
3# program the OPERATION register to switch to AVSBus mode and update default
4# start voltage to what was last programmed in VOUT_COMMAND. This should be run
5# before power-on. This is platform specific settings that must be
6# updated/removed if not Swift.
7
8i2cset -y 9 0x70 0x00 0x00 b # VDD 0 - PAGE set
Adriana Kobylakd95d6af2019-03-19 10:40:36 -05009i2cset -y 9 0x70 0x01 0xB0 b # VDD 0
10i2cset -y 9 0x71 0x00 0x01 b # VCS 0 - PAGE set
Adriana Kobylakd95d6af2019-03-19 10:40:36 -050011i2cset -y 9 0x71 0x01 0xB0 b # VCS 0
12i2cset -y 9 0x71 0x00 0x00 b # VDN 0 - PAGE set
Adriana Kobylakd95d6af2019-03-19 10:40:36 -050013i2cset -y 9 0x71 0x01 0xB0 b # VDN 0
Matt Spinlerf1ceece2019-07-29 08:56:51 -050014
Adriana Kobylakd95d6af2019-03-19 10:40:36 -050015i2cset -y 10 0x70 0x00 0x00 b # VDD 1 - PAGE set
Adriana Kobylakd95d6af2019-03-19 10:40:36 -050016i2cset -y 10 0x70 0x01 0xB0 b # VDD 1
17i2cset -y 10 0x71 0x00 0x01 b # VCS 1 - PAGE set
Adriana Kobylakd95d6af2019-03-19 10:40:36 -050018i2cset -y 10 0x71 0x01 0xB0 b # VCS 1
19i2cset -y 10 0x71 0x00 0x00 b # VDN 1 - PAGE set
Adriana Kobylakd95d6af2019-03-19 10:40:36 -050020i2cset -y 10 0x71 0x01 0xB0 b # VDN 1