[RFC PATCH v3 2/5] Documentation: synopsys-dw-mshc: add bindings for idmac and edmac

Doug Anderson dianders at chromium.org
Wed Aug 5 19:16:07 PDT 2015


Shawn,

On Wed, Aug 5, 2015 at 1:17 AM, Shawn Lin <shawn.lin at rock-chips.com> wrote:
> synopsys-dw-mshc supports three types of transfer mode. We add bindings
> and description for how to use them at runtime. Without idmac and edmac
> property, pio is the default transfer mode. Make sure that Idmac and emdac
> should not be used simultaneously.

Can't you just read the HCON register?

[17:16]: DMA_INTERFACE
 00: none
 01: DW_DMA
 10: GENERIC_DMA
 11: NON-DW-DMA



More information about the Linux-rockchip mailing list