From nobody Mon Feb 9 10:12:38 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 787BD2E8B9F; Thu, 8 Jan 2026 17:53:41 +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=1767894821; cv=none; b=ZCcHavwBfWZW6z6MTvv4lk2SW+v0QesY/k5i5vxraG7u2E72Fp9teQMb5Z4IADQxONrH8q4ROBX1JSQuiUxGDTcwGfHWPXkjXA2FWudzCW98Tq9t6YVrLZlisYi0uX0NvxKhzWDx+pMvppbt4JibaIurIPatlUWyturGWv7Fzxs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767894821; c=relaxed/simple; bh=7wM7gQcNfjkcg4zQKx49cijiPbPUBHfJqKOeqY2x18c=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=HX9oODh8eGFAcyb6d3+y1mYfZQGOHoJYIBhqeyXnCfax5Q6SKChHs9IIYGGHg4WJW5gYYNLcHzaJyfX5wz9b7pOH7SQ4piV5geTPCeExFw7PAi+1ZqAKEmhzyzNNd5CjTVsIFXrhP8GoUexAQLwEjgLsmD4k6t4B6ZupUQqlAJE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=cpPynkNd; 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="cpPynkNd" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 07825C116D0; Thu, 8 Jan 2026 17:53:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1767894821; bh=7wM7gQcNfjkcg4zQKx49cijiPbPUBHfJqKOeqY2x18c=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=cpPynkNdNk9kmyZBTLJRY0+fMNizKS18LJcui3iEe/XzVFHSL8vkGv1QiGbvIZvOo IY9Na9oND6GtKTHaTIfvD4banc3R6rYrxUimBOSn7VeN0ky93N07Z9Ekpy5cE4wOsi JI+mNxdUilA37dnlJN5C8tPNjVJBOe+NXEXjfx6VPh2IVdtHLAIjB0OPMaruzEoAXB eyMNjJv6IJNImtpZo2IOlv1haM/H87rreGBZr3m4z6Z6hul7vyR0ujZKFUKckcZiR8 aIqSmi42+u0d/NVpJTvvEVxdAKuSpjVeEZtVzgoshNVWqITYhSNF0HP6ademptTLxg UoNnQNwApCayA== From: "Rob Herring (Arm)" Date: Thu, 08 Jan 2026 11:53:12 -0600 Subject: [PATCH 03/10] dt-bindings: mtd: partitions: Move "sercomm,scpart-id" to partition.yaml 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: <20260108-dt-mtd-partitions-v1-3-124a53ce6279@kernel.org> References: <20260108-dt-mtd-partitions-v1-0-124a53ce6279@kernel.org> In-Reply-To: <20260108-dt-mtd-partitions-v1-0-124a53ce6279@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 X-Mailer: b4 0.15-dev Defining child node properties specific to the parent schema doesn't work unless all the child node properties are known. They aren't known because any partition can define its own properties. The solution to this is typically something like spi-peripheral-props.yaml, but that's overkill for this single property. Just move it to partition.yaml instead. Signed-off-by: Rob Herring (Arm) Reviewed-by: Krzysztof Kozlowski --- .../devicetree/bindings/mtd/partitions/fixed-partitions.yaml | 10 ------= ---- .../devicetree/bindings/mtd/partitions/partition.yaml | 9 ++++++= +++ 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/mtd/partitions/fixed-partiti= ons.yaml b/Documentation/devicetree/bindings/mtd/partitions/fixed-partition= s.yaml index 73d74c0f5cb7..b504d4376d0b 100644 --- a/Documentation/devicetree/bindings/mtd/partitions/fixed-partitions.yaml +++ b/Documentation/devicetree/bindings/mtd/partitions/fixed-partitions.yaml @@ -33,16 +33,6 @@ patternProperties: "@[0-9a-f]+$": $ref: partition.yaml# =20 - properties: - sercomm,scpart-id: - description: Partition id in Sercomm partition map. Mtd parser - uses this id to find a record in the partition map containing - offset and size of the current partition. The values from - partition map overrides partition offset and size defined in - reg property of the dts. Frequently these values are the same, - but may differ if device has bad eraseblocks on a flash. - $ref: /schemas/types.yaml#/definitions/uint32 - required: - "#address-cells" - "#size-cells" diff --git a/Documentation/devicetree/bindings/mtd/partitions/partition.yam= l b/Documentation/devicetree/bindings/mtd/partitions/partition.yaml index 0b989037a005..568fac50f921 100644 --- a/Documentation/devicetree/bindings/mtd/partitions/partition.yaml +++ b/Documentation/devicetree/bindings/mtd/partitions/partition.yaml @@ -126,6 +126,15 @@ properties: - xz - zstd =20 + sercomm,scpart-id: + description: Partition id in Sercomm partition map. Mtd parser + uses this id to find a record in the partition map containing + offset and size of the current partition. The values from + partition map overrides partition offset and size defined in + reg property of the dts. Frequently these values are the same, + but may differ if device has bad eraseblocks on a flash. + $ref: /schemas/types.yaml#/definitions/uint32 + if: not: required: [ reg ] --=20 2.51.0