mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 21:33:00 +00:00
e488ca9f8d
As noted here [1], there are potentially future conflicts if we try to use MTD's "partitions" subnode to describe anything besides just the fixed-in-the-device-tree partitions currently described in this document. Particularly, there was a proposal to use this node for the AFS parser too. It can pose a (small) problem to try to differentiate the following nodes: // using binding as currently specified partitions { #address-cells = <x>; #size-cells = <y>; partition@0 { ...; }; }; and // proposed future binding partitions { compatible = "arm,arm-flash-structure"; }; It's especially difficult if other uses of this node start having subnodes. So, since the "partitions" node is new in v4.4, let's fixup the binding before release so that it requires a compatible property, so it's much clearer to distinguish. e.g.: // proposed partitions { compatible = "fixed-partitions"; #address-cells = <x>; #size-cells = <y>; partition@0 { ...; }; }; [1] Subject: "mtd: create a partition type device tree binding" http://lkml.kernel.org/g/20151113220039.GA74382@google.com http://lists.infradead.org/pipermail/linux-mtd/2015-November/063355.html http://lists.infradead.org/pipermail/linux-mtd/2015-November/063364.html Cc: Michal Suchanek <hramrach@gmail.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com> Acked-by: Rob Herring <robh@kernel.org> |
||
---|---|---|
.. | ||
arm-versatile.txt | ||
atmel-dataflash.txt | ||
atmel-nand.txt | ||
brcm,brcmnand.txt | ||
davinci-nand.txt | ||
denali-nand.txt | ||
diskonchip.txt | ||
elm.txt | ||
flctl-nand.txt | ||
fsl-quadspi.txt | ||
fsl-upm-nand.txt | ||
fsmc-nand.txt | ||
gpio-control-nand.txt | ||
gpmc-nand.txt | ||
gpmc-nor.txt | ||
gpmc-onenand.txt | ||
gpmi-nand.txt | ||
hisi504-nand.txt | ||
jedec,spi-nor.txt | ||
lpc32xx-mlc.txt | ||
lpc32xx-slc.txt | ||
mtd-physmap.txt | ||
mxc-nand.txt | ||
nand.txt | ||
nxp-spifi.txt | ||
orion-nand.txt | ||
partition.txt | ||
pxa3xx-nand.txt | ||
spear_smi.txt | ||
st-fsm.txt | ||
sunxi-nand.txt | ||
vf610-nfc.txt |