Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: mtd: fixed-partitions: Move "compression" to partition node

The "compression" property is defined in the wrong place as it applies
to individual partitions nodes, not all nodes.

Fixes: 8baba8d52ff5 ("dt-bindings: mtd: fixed-partitions: Add compression property")
Reviewed-by: Simon Glass <simon.glass@canonical.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>

authored by

Rob Herring (Arm) and committed by
Miquel Raynal
30f138c0 4db35366

+18 -18
-18
Documentation/devicetree/bindings/mtd/partitions/fixed-partitions.yaml
··· 29 29 30 30 "#size-cells": true 31 31 32 - compression: 33 - $ref: /schemas/types.yaml#/definitions/string 34 - description: | 35 - Compression algorithm used to store the data in this partition, chosen 36 - from a list of well-known algorithms. 37 - 38 - The contents are compressed using this algorithm. 39 - 40 - enum: 41 - - none 42 - - bzip2 43 - - gzip 44 - - lzop 45 - - lz4 46 - - lzma 47 - - xz 48 - - zstd 49 - 50 32 patternProperties: 51 33 "@[0-9a-f]+$": 52 34 $ref: partition.yaml#
+18
Documentation/devicetree/bindings/mtd/partitions/partition.yaml
··· 108 108 with the padding bytes, so may grow. If ‘align-end’ is not provided, 109 109 no alignment is performed. 110 110 111 + compression: 112 + $ref: /schemas/types.yaml#/definitions/string 113 + description: | 114 + Compression algorithm used to store the data in this partition, chosen 115 + from a list of well-known algorithms. 116 + 117 + The contents are compressed using this algorithm. 118 + 119 + enum: 120 + - none 121 + - bzip2 122 + - gzip 123 + - lzop 124 + - lz4 125 + - lzma 126 + - xz 127 + - zstd 128 + 111 129 if: 112 130 not: 113 131 required: [ reg ]