Skip to content

Commit

Permalink
i2c: aspeed: add DMA mode transfer support
Browse files Browse the repository at this point in the history
This commit adds DMA mode transfer support.

Only AST2500 and later versions supports DMA mode.

AST2500 has these restrictions:
  - If one of these controllers is enabled
      * UHCI host controller
      * MCTP controller
    I2C has to use buffer mode or byte mode instead
    since these controllers run only in DMA mode and
    I2C is sharing the same DMA H/W with them.
  - If one of these controllers uses DMA mode, I2C
    can't use DMA mode
      * SD/eMMC
      * Port80 snoop

Signed-off-by: Jae Hyun Yoo <jae.hyun.yoo@linux.intel.com>
  • Loading branch information
jaehyoo authored and intel-lab-lkp committed Jan 12, 2021
1 parent 426d503 commit ab93778
Showing 1 changed file with 215 additions and 43 deletions.

0 comments on commit ab93778

Please sign in to comment.