Commit 10c5964
committed
i9300: don't pull down the power key
On reset, GPX2-7 is set to pull-down. This causes the PMIC
to think that the power key is being pressed, and so causes the PMIC
to reset the SoC after ~8 seconds (as would happen if you held the power
key down normally).
To fix this, we do what S-BOOT does: set the input to floating, and rely
on the external pull-up to make the key work.1 parent d0d2669 commit 10c5964
1 file changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
| |||
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
18 | 28 | | |
19 | 29 | | |
20 | | - | |
| 30 | + | |
| 31 | + | |
21 | 32 | | |
22 | 33 | | |
0 commit comments