Matt Spinler | d4cf3a3 | 2016-12-20 10:59:13 -0600 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | |
| 3 | i2cset -y 4 0x12 0x2E 0x23 b # VDD/VCS 0 |
| 4 | i2cset -y 4 0x13 0x2E 0x23 b # VDN 0 |
| 5 | i2cset -y 5 0x12 0x2E 0x23 b # VDD/VCS 1 |
| 6 | i2cset -y 5 0x13 0x2E 0x23 b # VDN 1 |
| 7 | |
Andrew Geissler | 7e9e9f0 | 2017-07-28 15:55:06 -0500 | [diff] [blame] | 8 | # A side VDDR - set to 1.23V |
| 9 | i2cset -y 4 0x71 0x00 0x01 |
| 10 | i2cset -y 4 0x71 0x21 0x3B 0x01 i |
| 11 | i2cset -y 4 0x71 0x00 0x00 |
| 12 | |
| 13 | # B side VDDR - set to 1.23V |
| 14 | i2cset -y 5 0x71 0x00 0x01 |
| 15 | i2cset -y 5 0x71 0x21 0x3B 0x01 i |
| 16 | i2cset -y 5 0x71 0x00 0x00 |
Andrew Geissler | 7e1ed0c | 2017-07-28 16:07:27 -0500 | [diff] [blame] | 17 | |
| 18 | # VDN A - PGOOD_ON threshold |
| 19 | i2cset -y 4 0x71 0x00 0x00 b # PAGE |
| 20 | i2cset -y 4 0x71 0x5E 0xCD 0x00 i # set to 0.8V |
| 21 | |
| 22 | # VDN B - PGOOD_ON threshold |
| 23 | i2cset -y 5 0x71 0x00 0x00 b # PAGE |
| 24 | i2cset -y 5 0x71 0x5E 0xCD 0x00 i # set to 0.8V |