lkml.org 
[lkml]   [2019]   [Feb]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Applied "spi: Add Renesas R-Car Gen3 RPC-IF SPI controller driver" to the spi tree
From
Date
On 2/13/19 1:16 PM, Mark Brown wrote:
> On Wed, Feb 13, 2019 at 04:25:32PM +0800, masonccyang@mxic.com.tw wrote:
>
>> From current mainline branch, MFD seems support the device which is on
>> the same hardware bus(i.e, I2C, SPI, MMIO and SPMI)for multi-function
>> by Read/Write the common same registers.
>
> That's most MFDs but there are some that do some level of enumeration
> (even if it's just looking at the device ID that got registered) to
> decide what subdevices get registered, that's what people are suggesting
> here I think.

Right. Although I think some of the code could be shared between the SPI
and HF modes.

>> I am checking and not sure if MMIO of MFD could support RPC-IF for
>> different hardware bus on SPI and CFI.
>> I also doubt if this method is a correct solution for RPC-IF works
>> either in SPI mode or CFI mode.
>
> For MMIO devices MFD just passes through the parent resources.
>


--
Best regards,
Marek Vasut

\
 
 \ /
  Last update: 2019-02-13 13:39    [W:0.072 / U:0.348 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site