msm-4.14/Documentation
Brian Norris e488ca9f8d doc: dt: mtd: partitions: add compatible property to "partitions" node
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>
2015-12-08 17:10:20 -08:00
..
2015-11-13 20:35:54 -08:00
2015-11-10 14:56:23 -08:00
2015-11-04 14:47:13 -08:00
2015-09-24 15:39:42 -06:00
2015-11-04 14:47:13 -08:00
2015-11-10 15:00:03 -08:00
2015-08-28 22:59:36 -04:00
2015-10-27 18:55:31 -07:00
2015-11-04 22:15:15 -08:00
2015-06-08 16:43:09 -06:00
2015-10-26 16:00:09 +01:00
2015-06-08 23:15:45 +02:00
2015-09-02 12:22:54 -07:00
2015-07-14 12:35:42 -06:00
2015-11-06 17:50:42 -08:00
2015-06-23 06:49:44 -06:00