Message ID | 20221028235933.934850-3-miquel.raynal@bootlin.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
Series | Improve MTD bindings | expand |
On Sat, Oct 29, 2022 at 01:59:23AM +0200, Miquel Raynal wrote: > there to avoid the need to do it in each and every file. > > Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> > --- > Documentation/devicetree/bindings/mtd/mtd.yaml | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/Documentation/devicetree/bindings/mtd/mtd.yaml b/Documentation/devicetree/bindings/mtd/mtd.yaml > index 9fcaa61b046c..10684b233ae3 100644 > --- a/Documentation/devicetree/bindings/mtd/mtd.yaml > +++ b/Documentation/devicetree/bindings/mtd/mtd.yaml > @@ -21,6 +21,9 @@ properties: > based name) in order to ease flash device identification and/or > describe what they are used for. > > + '#address-cells': true > + '#size-cells': true > + These are only for 'partition' nodes, right? If so, they should be marked deprecated too. > partitions: > type: object > properties: > -- > 2.34.1 > >
diff --git a/Documentation/devicetree/bindings/mtd/mtd.yaml b/Documentation/devicetree/bindings/mtd/mtd.yaml index 9fcaa61b046c..10684b233ae3 100644 --- a/Documentation/devicetree/bindings/mtd/mtd.yaml +++ b/Documentation/devicetree/bindings/mtd/mtd.yaml @@ -21,6 +21,9 @@ properties: based name) in order to ease flash device identification and/or describe what they are used for. + '#address-cells': true + '#size-cells': true + partitions: type: object properties:
there to avoid the need to do it in each and every file. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> --- Documentation/devicetree/bindings/mtd/mtd.yaml | 3 +++ 1 file changed, 3 insertions(+)