[PATCH v4] mtd: fsl-quadspi: Distinguish the mtd device names
festevam at gmail.com
Thu Jan 11 08:58:39 PST 2018
On Thu, Jan 11, 2018 at 2:40 PM, Boris Brezillon
<boris.brezillon at free-electrons.com> wrote:
> Nope, I wasn't sure whether reg was mandatory or not since it was not
> used by the driver before your patch. This being said, that'd be good to
> update the example you have in the bindings do to fully describe a
> flash device.
Ok, I can update fsl-quadspi.txt to include an example for describing
the flash devices.
> Anyway, if all existing DTs have a reg defined, even those where only
As far as I can see all DTs that use fsl-quadspi have a reg property
in the SPI flash sub-nodes:
> one flash device is described, then your patch might break mtdparts
> users. And if this is not the case, and the reg property is really
> mandatory, then that means those dts are not compliant with the DT
> bindings and have to be patched :-). So, the solution of testing the
> presence of a reg property to choose the naming scheme is probably not
Any ideas on how we can properly solve this?
More information about the linux-mtd