From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jaehoon Chung Subject: Re: [RFC PATCH v3 2/5] Documentation: synopsys-dw-mshc: add bindings for idmac and edmac Date: Thu, 06 Aug 2015 11:20:03 +0900 Message-ID: <55C2C453.3000005@samsung.com> References: <1438762614-22154-1-git-send-email-shawn.lin@rock-chips.com> <1438762672-22243-1-git-send-email-shawn.lin@rock-chips.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: In-reply-to: Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-subscribe: List-owner: List-post: List-archive: To: Doug Anderson , Shawn Lin Cc: Ulf Hansson , Seungwon Jeon , linux-mips@linux-mips.org, Arnd Bergmann , Alexandre Belloni , Alexey Brodkin , Stefan Agner , Zhou Wang , Kumar Gala , Alim Akhtar , Ian Campbell , Wang Long , Rob Herring , Chaotian Jing , Lukasz Majewski , Jun Nie , Catalin Marinas , Kevin Hao , Olof Johansson , Ray Jui , Govindr List-Id: devicetree@vger.kernel.org On 08/06/2015 11:16 AM, Doug Anderson wrote: > Shawn, > > On Wed, Aug 5, 2015 at 1:17 AM, Shawn Lin 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 >