Commit 1936bf7
fwk: Change GN22 gpio2 EEPROM pin config to output
Add GPIO_FUNC_GPU_PWR_LEVEL function.
First just change the EEPROM GPIO configuration so that it will be correctly
overwritten during manufacturing.
Then in the next change we can change the EC logic to behave as required by
nvidia: Output to the GPU if AC-to-battery power change event or a system power
overdraw event.
BRANCH=fwk-tulip-29169
BUG=GPU_2A2_GPIO2_EC should be an output pin for EC, required by GN22
TEST=1.gpucfg erase
2.gpucfg write nvgpu "serial number"
3.reboot the EC
4.gpucfg and check GPIO02=1 in G3/S5
Signed-off-by: johnwc_yeh <JohnWC_Yeh@compal.com>1 parent aa2906e commit 1936bf7
2 files changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| 130 | + | |
130 | 131 | | |
131 | 132 | | |
132 | 133 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
278 | 278 | | |
279 | 279 | | |
280 | 280 | | |
281 | | - | |
282 | | - | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
283 | 284 | | |
284 | 285 | | |
285 | 286 | | |
| |||
513 | 514 | | |
514 | 515 | | |
515 | 516 | | |
| 517 | + | |
| 518 | + | |
516 | 519 | | |
517 | 520 | | |
518 | 521 | | |
| |||
0 commit comments