| #!/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 |
| |
| # A side VDDR - set to 1.23V |
| i2cset -y 4 0x71 0x00 0x01 |
| i2cset -y 4 0x71 0x21 0x3B 0x01 i |
| i2cset -y 4 0x71 0x00 0x00 |
| |
| # B side VDDR - set to 1.23V |
| i2cset -y 5 0x71 0x00 0x01 |
| i2cset -y 5 0x71 0x21 0x3B 0x01 i |
| i2cset -y 5 0x71 0x00 0x00 |
| |
| # VDN A - PGOOD_ON threshold |
| i2cset -y 4 0x71 0x00 0x00 b # PAGE |
| i2cset -y 4 0x71 0x5E 0xCD 0x00 i # set to 0.8V |
| |
| # VDN B - PGOOD_ON threshold |
| i2cset -y 5 0x71 0x00 0x00 b # PAGE |
| i2cset -y 5 0x71 0x5E 0xCD 0x00 i # set to 0.8V |