Commit 760951d
committed
spi: spi-nxp-fspi: few fix for flexspi
Merge series from Haibo Chen <haibo.chen@nxp.com>:
PATCH 1: different operations maybe require different max frequency, so
add flexspi to handle such case, re-config the clock rate when
new coming operation require new clock frequency.
Patch 2: add workaround for erratum ERR050272. Since only add 4us dealy
in nxp_fspi_dll_calibration(), so do not distinguish different
platforms.
Patch 3: add max frequency limitation for different sample clock source
selection. Datasheet give max 66MHz for mode 0 and 166MHz for
mode 3. And IC suggest to add this limitation on all SoCs for
safety and stability.1 file changed
Lines changed: 27 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
404 | 404 | | |
405 | 405 | | |
406 | 406 | | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
407 | 411 | | |
408 | 412 | | |
409 | 413 | | |
| |||
685 | 689 | | |
686 | 690 | | |
687 | 691 | | |
688 | | - | |
| 692 | + | |
689 | 693 | | |
690 | | - | |
| 694 | + | |
| 695 | + | |
691 | 696 | | |
| 697 | + | |
| 698 | + | |
692 | 699 | | |
693 | 700 | | |
694 | 701 | | |
| |||
719 | 726 | | |
720 | 727 | | |
721 | 728 | | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
722 | 735 | | |
723 | 736 | | |
724 | 737 | | |
| |||
780 | 793 | | |
781 | 794 | | |
782 | 795 | | |
783 | | - | |
784 | | - | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
785 | 803 | | |
786 | 804 | | |
787 | | - | |
| 805 | + | |
| 806 | + | |
788 | 807 | | |
789 | 808 | | |
790 | 809 | | |
| |||
802 | 821 | | |
803 | 822 | | |
804 | 823 | | |
| 824 | + | |
805 | 825 | | |
806 | 826 | | |
807 | 827 | | |
| |||
832 | 852 | | |
833 | 853 | | |
834 | 854 | | |
| 855 | + | |
| 856 | + | |
835 | 857 | | |
836 | 858 | | |
837 | 859 | | |
| |||
0 commit comments