Re: [PATCH] docs: mtd: Update spi nor reference driver

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

 



On 19/08/2019 05:39, Vignesh Raghavendra wrote:
Hi,

On 16/08/19 3:50 PM, John Garry wrote:
On 06/08/2019 17:40, Schrempf Frieder wrote:
[...]

Hi,

Could someone kindly advise on the following:


Hi Vignesh,

I am looking at ACPI support only for an mtd spi nor driver we're
targeting for mainline support.


If its a new driver, please add it under drivers/spi implementing SPI
MEM framework.
There are few drivers under drivers/spi that can be used as example.
(Search for "spi_mem_ops"

Ok, fine. I note that in doing this I would still be using the spi nor framework indirectly through the m25p80 driver.

So for the host, I could use a proprietary HID in the DSDT for matching
in the kernel driver.

About the child spi flash devices, is the recommendation to just use
PRP0001 HID and "jedec,spi-nor" compatible?


I am not quite familiar with ACPI systems, but child flash device should
use "jedec,spi-nor" as compatible.

Right, so to use SPI MEM framework, it looks like I will have to use PRP0001 and "jedec,spi-nor" as compatible.

My reluctance in using PRP0001 and compatible "jedec,spi-nor" is how other OS can understand this.

All the best,
John


Regards
Vignesh

thanks,
John






[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux