[RFC PATCH v3 2/5] Documentation: synopsys-dw-mshc: add bindings for idmac and edmac
Jaehoon Chung
jh80.chung at samsung.com
Wed Aug 5 19:20:03 PDT 2015
On 08/06/2015 11:16 AM, Doug Anderson wrote:
> 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
If read it and get the exactly information. I think we can use that information.
Best Regards,
Jaehoon Chung
>
More information about the Linux-rockchip
mailing list