Commit d628617
committed
misc: amd-apml: Integrate SBTSI with common device registration framework
Add device registration/unregistration calls to SBTSI drivers. This
enables Alert_L driver to discover and safely access registered TSI
devices for processing temperature alerts.
Remove device tree matching functions from SBTSI drivers that are no
longer needed after migrating Alert_L driver to use the global device
registry from apml_common framework.
The legacy Alert_L module used *_match_i2c/*_match_i3c functions to
retrieve device node information from device tree nodes. With the new
design, Alert_L module devices are now registered during each module's
probe function, making the old matching functions obsolete.
Reviewed-by: Naveen Krishna Chatradhi <naveenkrishna.chatradhi@amd.com>
Signed-off-by: sathya priya kumar <SathyaPriya.K@amd.com>
Signed-off-by: Akshay Gupta <akshay.gupta@amd.com>1 parent e7d2266 commit d628617
3 files changed
Lines changed: 32 additions & 29 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | 26 | | |
28 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
475 | 476 | | |
476 | 477 | | |
477 | 478 | | |
| 479 | + | |
478 | 480 | | |
479 | 481 | | |
480 | 482 | | |
| |||
524 | 526 | | |
525 | 527 | | |
526 | 528 | | |
527 | | - | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
528 | 539 | | |
529 | 540 | | |
530 | 541 | | |
| |||
542 | 553 | | |
543 | 554 | | |
544 | 555 | | |
| 556 | + | |
545 | 557 | | |
546 | 558 | | |
547 | 559 | | |
| |||
568 | 580 | | |
569 | 581 | | |
570 | 582 | | |
571 | | - | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
572 | 593 | | |
573 | 594 | | |
574 | 595 | | |
| |||
579 | 600 | | |
580 | 601 | | |
581 | 602 | | |
582 | | - | |
| 603 | + | |
| 604 | + | |
583 | 605 | | |
| 606 | + | |
584 | 607 | | |
585 | 608 | | |
586 | 609 | | |
| |||
596 | 619 | | |
597 | 620 | | |
598 | 621 | | |
599 | | - | |
| 622 | + | |
| 623 | + | |
600 | 624 | | |
| 625 | + | |
601 | 626 | | |
602 | 627 | | |
603 | 628 | | |
| |||
657 | 682 | | |
658 | 683 | | |
659 | 684 | | |
660 | | - | |
661 | | - | |
662 | | - | |
663 | | - | |
664 | | - | |
665 | | - | |
666 | | - | |
667 | | - | |
668 | | - | |
669 | | - | |
670 | | - | |
671 | | - | |
672 | | - | |
673 | | - | |
674 | | - | |
675 | | - | |
676 | | - | |
677 | | - | |
678 | | - | |
679 | | - | |
680 | 685 | | |
681 | 686 | | |
682 | 687 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | 24 | | |
0 commit comments