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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/06/2015 11:16 AM, Doug Anderson wrote:
> Shawn,
> 
> On Wed, Aug 5, 2015 at 1:17 AM, Shawn Lin <shawn.lin@xxxxxxxxxxxxxx> 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

> 





[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux