Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1210351

Re: [PATCH] [PATCH v5] mtd:spi-nor: Add Altera Quad SPI Driver

From Marek Vasut <marex@denx.de>
Newsgroups linux.kernel
Subject Re: [PATCH] [PATCH v5] mtd:spi-nor: Add Altera Quad SPI Driver
Date 2015-08-20 11:50 +0200
Message-ID <pZuDV-15a-27@gated-at.bofh.it> (permalink)
References <pZt58-7r8-27@gated-at.bofh.it> <pZu1d-l9-45@gated-at.bofh.it> <pZuaT-wx-45@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thursday, August 20, 2015 at 11:18:14 AM, Viet Nga Dao wrote:

Hi,

[...]

> >> That is why we decided to upstream the
> >> driver. If the hardware fix, there might not need to have any changes
> >> in driver to support or if yes, it will be just minor.
> > 
> > If the hardware can do proper READID opcode, this entire nonsense table
> > will go away and a proper integration into the SPI NOR framework will
> > take place.
> > 
> > You might consider submitting this driver for staging, but I definitely
> > am not a big fan of that.
> 
> You might misunderstand the hardware problem i mention here. This soft
> IP controller is able to provide the ID for our Altera EPCS/EPCQ flash
> chips, which are non JEDEC chips. As from EPCQ device data sheet
> (https://www.altera.com/content/dam/altera-www/global/en_US/pdfs/literature
> /hb/cfg/cfg_cf52012.pdf), the device ID is 8 bit data.

So what exactly is the output of READID instruction followed by 6 Byte read
on an EPCQ chip?

> The remaining
> problem here is that this controller is able to support Micron chips but
> it currently has
> limitation in providing only 8 bit ID, which is not full JEDEC ID for
> Micron chips.

OK

> Hence, we are asking hardware engineer to find out the
> solution so that the driver does not need to do any dirty hacking. And
> so, this table should still be here even hardware fix will take place
> or not.

[...]

Best regards,
Marek Vasut
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH] [PATCH v5] mtd:spi-nor: Add Altera Quad SPI Driver Marek Vasut <marex@denx.de> - 2015-08-20 10:10 +0200
  Re: [PATCH] [PATCH v5] mtd:spi-nor: Add Altera Quad SPI Driver Viet Nga Dao <vndao@altera.com> - 2015-08-20 10:20 +0200
    Re: [PATCH] [PATCH v5] mtd:spi-nor: Add Altera Quad SPI Driver Marek Vasut <marex@denx.de> - 2015-08-20 11:10 +0200
  Re: [PATCH] [PATCH v5] mtd:spi-nor: Add Altera Quad SPI Driver Nga Chi <ngachi86@gmail.com> - 2015-08-20 10:20 +0200
    Re: [PATCH] [PATCH v5] mtd:spi-nor: Add Altera Quad SPI Driver Marek Vasut <marex@denx.de> - 2015-08-20 11:10 +0200
      Re: [PATCH] [PATCH v5] mtd:spi-nor: Add Altera Quad SPI Driver Viet Nga Dao <vndao@altera.com> - 2015-08-20 11:20 +0200
        Re: [PATCH] [PATCH v5] mtd:spi-nor: Add Altera Quad SPI Driver Marek Vasut <marex@denx.de> - 2015-08-20 11:50 +0200
          Re: [PATCH] [PATCH v5] mtd:spi-nor: Add Altera Quad SPI Driver Brian Norris <computersforpeace@gmail.com> - 2015-08-20 22:40 +0200
        Re: [PATCH] [PATCH v5] mtd:spi-nor: Add Altera Quad SPI Driver Brian Norris <computersforpeace@gmail.com> - 2015-08-20 22:40 +0200
          Re: [PATCH] [PATCH v5] mtd:spi-nor: Add Altera Quad SPI Driver Viet Nga Dao <vndao@altera.com> - 2015-08-21 03:40 +0200
  Re: [PATCH] [PATCH v5] mtd:spi-nor: Add Altera Quad SPI Driver Alexander Stein <alexander.stein@systec-electronic.com> - 2015-08-20 12:10 +0200
    Re: [PATCH] [PATCH v5] mtd:spi-nor: Add Altera Quad SPI Driver Brian Norris <computersforpeace@gmail.com> - 2015-08-20 22:20 +0200
      Re: [PATCH] [PATCH v5] mtd:spi-nor: Add Altera Quad SPI Driver Marek Vasut <marex@denx.de> - 2015-08-21 00:10 +0200

csiph-web