[PATCH v5] mtd: lpddr: add driver for LPDDR2-NVM PCM memories

Brian Norris computersforpeace at gmail.com
Wed May 21 13:28:50 PDT 2014


On Wed, May 21, 2014 at 09:33:58AM +0200, Vincenzo Aliberti wrote:
> MTD: LPDDR: Add Driver for LPDDR2-NVM PCM memories
> 
> Signed-off-by: Vincenzo Aliberti <vincenzo.aliberti at gmail.com>
> 
> ---
> Changes in v5:
> 	- Add dependency from ARM architecture

I already pulled your driver into l2-mtd.git. Please base any
submissions on that branch.

> --- a/drivers/mtd/lpddr/Kconfig
> +++ b/drivers/mtd/lpddr/Kconfig
> @@ -17,4 +17,12 @@ config MTD_QINFO_PROBE
>  	    Window QINFO interface, permits software to be used for entire
>  	    families of devices. This serves similar purpose of CFI on legacy
>  	    Flash products
> +
> +config MTD_LPDDR2_NVM
> +	depends on MTD && ARM

I would note the dependency is only for writel_relaxed(), so we can fix
this up in the future, if we get support on other ARCH's.

I'll just send a patch.

> +	tristate "Support for LPDDR2-NVM flash chips"
> +	help
> +	  This option enables support of PCM memories with a LPDDR2-NVM
> +	  (Low power double data rate 2) interface.
> +
>  endmenu

Brian



More information about the linux-mtd mailing list