From nobody Mon Feb 9 02:12:10 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8AD633ED114; Wed, 21 Jan 2026 19:56:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769025418; cv=none; b=MoHwU8oo2fcmUGLLX0Plb53WGWzUjMIaFjC4/MRfKzyNOcBREsB482YXj/isH1ex5gGfTfOBamX/H9zAq+WBq1aOg9gVSNtKzqC8MtV2vsHaUgLRYdMlRpM+Rc03U1NS+Cc4K6YzGrAf2EDDEyJkrfKniUrQhxZKWcAruKi9oT0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769025418; c=relaxed/simple; bh=g/uMQusRPTzXLgyH55SF2Z0Ew27f2Lx3R56DScAIcKE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=s+2wr87li5ebYdXj5Qm7Lk8ggL3oh5hAqKs6K6rlhCuVCxtO/LiRPSFRq2H72Jr4A6GTAmBCxpRQDq6p0WpRK6nUsoKtJPEfliekeeCfSFMjqgDQk/5MafC2K1+muVShJhDNOqt1QF2rkh19/KYHg4IjQG6vTCISIWASnr1sB0U= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=IrGElcB8; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="IrGElcB8" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CBFEDC16AAE; Wed, 21 Jan 2026 19:56:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1769025417; bh=g/uMQusRPTzXLgyH55SF2Z0Ew27f2Lx3R56DScAIcKE=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=IrGElcB8dYuUTWb4K7XbmUuwf+I+WOorHUdkmLqYugNSORCl2+7CmZt1DqYk3+OaA p1mzlcT5HI6xN022HMhJcnghYULddj9InrfM4dUn03NMPmnCPElsXxAwDU8j3ZU7r5 UVSu483SHIdSVqI3jQotsY3JL61vVTxIbYk8u62ev8prOV5t5CTTWN12GL0uqcQVpg 3rzN35vlNhqoKnPzpM+e9K1ng+C7SBfnjWZPXjX/Wuy25arCc03EJbKuVDphT68lHc BseVvMg6vk3zC4zZqkbs6SfOmXSWXXxsUC6SZZgsJAL+U0erAlMR9gmwbQntolMyG1 ieFAo/xekdGGg== From: "Rob Herring (Arm)" Date: Wed, 21 Jan 2026 13:56:35 -0600 Subject: [PATCH v3 02/10] dt-bindings: mtd: fixed-partitions: Move "compression" to partition node Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260121-dt-mtd-partitions-v3-2-ec3af93c8f93@kernel.org> References: <20260121-dt-mtd-partitions-v3-0-ec3af93c8f93@kernel.org> In-Reply-To: <20260121-dt-mtd-partitions-v3-0-ec3af93c8f93@kernel.org> To: Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Krzysztof Kozlowski , Conor Dooley , Brian Norris , Kamal Dasu , William Zhang , Nick Terrell , David Sterba , =?utf-8?q?Rafa=C5=82_Mi=C5=82ecki?= , Simon Glass , Linus Walleij , Ulf Hansson , Marcus Folkesson , Tony Lindgren , Roger Quadros , Hauke Mehrtens Cc: linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, Simon Glass , Krzysztof Kozlowski X-Mailer: b4 0.15-dev 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 p= roperty") Reviewed-by: Simon Glass Reviewed-by: Krzysztof Kozlowski Signed-off-by: Rob Herring (Arm) --- .../bindings/mtd/partitions/fixed-partitions.yaml | 18 --------------= ---- .../devicetree/bindings/mtd/partitions/partition.yaml | 18 ++++++++++++++= ++++ 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/Documentation/devicetree/bindings/mtd/partitions/fixed-partiti= ons.yaml b/Documentation/devicetree/bindings/mtd/partitions/fixed-partition= s.yaml index 62086366837c..73d74c0f5cb7 100644 --- a/Documentation/devicetree/bindings/mtd/partitions/fixed-partitions.yaml +++ b/Documentation/devicetree/bindings/mtd/partitions/fixed-partitions.yaml @@ -29,24 +29,6 @@ properties: =20 "#size-cells": true =20 - compression: - $ref: /schemas/types.yaml#/definitions/string - description: | - Compression algorithm used to store the data in this partition, chos= en - from a list of well-known algorithms. - - The contents are compressed using this algorithm. - - enum: - - none - - bzip2 - - gzip - - lzop - - lz4 - - lzma - - xz - - zstd - patternProperties: "@[0-9a-f]+$": $ref: partition.yaml# diff --git a/Documentation/devicetree/bindings/mtd/partitions/partition.yam= l b/Documentation/devicetree/bindings/mtd/partitions/partition.yaml index 80d0452a2a33..0b989037a005 100644 --- a/Documentation/devicetree/bindings/mtd/partitions/partition.yaml +++ b/Documentation/devicetree/bindings/mtd/partitions/partition.yaml @@ -108,6 +108,24 @@ properties: with the padding bytes, so may grow. If =E2=80=98align-end=E2=80=99 = is not provided, no alignment is performed. =20 + compression: + $ref: /schemas/types.yaml#/definitions/string + description: | + Compression algorithm used to store the data in this partition, chos= en + from a list of well-known algorithms. + + The contents are compressed using this algorithm. + + enum: + - none + - bzip2 + - gzip + - lzop + - lz4 + - lzma + - xz + - zstd + if: not: required: [ reg ] --=20 2.51.0