Commit 13e87b5
sb: rb: Fix bugs, add power capping and add RNS vr test mode functions (#2658)
Summary:
- remove some pins that are not strap
- fix clear clock status behavior
- add 4v2 and 0v75 vr fault error event type
- add tray location info in test info shell cmd
- add i2c target 0x94 reg
- ioexp: add U200053 IO expander init and refactor U200070 init
- add shell cmd get_mb_pwr_en
- add adc init vr vol buf
- modify ASIC temp_threshold default value
- add ASIC reset-to-IO-expander sync mechanism
- init U200053/U200070 IO expanders in IRIS power-on ISR
- fix GPIO pin MEDHA1_SW_EN
- enable sensor polling when 1-step
- fix GPIO name LV1 PWR CAP
- add CHIPMODE T17CISB-862
- add temp event tmp
- add asic bspi mux sell cmd
- modify ASIC temp_threshold default value to zero
- modify tmp432 open status and event
- modify the data of asic thermtrip log
- fix set value to table with IO
- extend platform info shell output
- fix shell_plat_reboot command to avoid error when reboot
- Fix U200051 IO default output value
- modify event log format
- add shell command "asic_mfio_debug"
- add thermtrip event when init
- restrict asic_mfio_debug shell to EVB only
- fix blackbox clear issue
- fix vr power fault duplicate entries in blackbox
- add get asic boot0, boot1 version and show temp array data in cli command
- add i2c_switch_control cli command
- fix CHIPMODE test strap pin
- remove blank in shell_plat_asic_mfio_debug cli command
- add adc_test get_good_status
- disable polling before update reset
- disable unused function
- add vr test mode function(RNS)
- update RNS vr test mode fenction and settings
a.update VR settings
b.remove P3v3 voltage range and Vout setting
c.modifiedvoltage range and Vout setting can only used in test mode
- add power capping function(level 2, level 3 are OK, level 1 face some issue need to debug)
- add support for FRU board info registers 0x60~0x6C.
- add support for FRU product info registers 0x70~0x76.
- add mfio 12 13 14 in shell command "asic_mfio_debug"
- add update boot0 version reading from asic
- update platform extension info mapping in plat_class.c so VR_MODULE_RNS reports
"VR_RNS_RAA229140_RAA228249" (was "VR_MPS_RAA229140_RAA228249").
Pull Request resolved: #2658
Test Plan: - Build code: Pass
Reviewed By: amithash
Differential Revision: D90950439
fbshipit-source-id: 8dd9018194aa0b4c6d61248906995cfdf7854f351 parent a77668e commit 13e87b5
File tree
69 files changed
+3530
-591
lines changed- common
- dev
- include
- service
- pldm
- sensor
- shell/commands
- meta-facebook/sb-rb
- boards
- src
- platform
- shell
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
69 files changed
+3530
-591
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
319 | 320 | | |
320 | 321 | | |
321 | 322 | | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
322 | 391 | | |
323 | 392 | | |
324 | 393 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
519 | 519 | | |
520 | 520 | | |
521 | 521 | | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
522 | 556 | | |
523 | 557 | | |
524 | 558 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
406 | 406 | | |
407 | 407 | | |
408 | 408 | | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
409 | 431 | | |
410 | 432 | | |
411 | 433 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
| 92 | + | |
92 | 93 | | |
93 | 94 | | |
94 | 95 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| 200 | + | |
| 201 | + | |
200 | 202 | | |
201 | 203 | | |
202 | 204 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
306 | | - | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
307 | 310 | | |
308 | 311 | | |
309 | 312 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
| 259 | + | |
259 | 260 | | |
260 | 261 | | |
261 | 262 | | |
| |||
0 commit comments