On Wed, Sep 18, 2019 at 01:59:06PM +0800, Ramuthevar, Vadivel MuruganX wrote:Agreed!, I am trying to adapt the driver/mtd/spi-nor/cadence-quadspi.c and newly sent patches
On 17/9/2019 11:36 PM, Mark Brown wrote:If it's different versions of the same IP then everything should be in
On Tue, Sep 17, 2019 at 10:11:28AM +0800, Ramuthevar, Vadivel MuruganX wrote:These are same IPs , but different features Enabled/Disabled depends upon
* spi-cadence.c* in *drivers/spi/*, which supports very old legacyAre these completely separate IPs or are they just different versions of
cadence-spi based devices(normal)
* cadence-quadspi.c(drivers/mtd/spi-nor/)* : specific support to SPI-NOR
flash with new spi-nor layer.
all the API's in this driver purely on spi-nor specific, so couldn't
proceed to adapt.
the same IP?
the SoC vendors.
for e.g: Intel LGM SoC uses the same IP, but without DMA and Direct access
controller.
also dedicated support to flash devices.
one driver with the optional features enabled depending on what's in a
given system.