mirror of
https://github.com/torvalds/linux.git
synced 2026-04-25 01:52:32 -04:00
The 'partition' node name pattern is missing start and end anchors, so anything is allowed before or after the regex pattern. There's no in tree users needing that, so add anchors to the pattern. Signed-off-by: Rob Herring <robh@kernel.org> Reviewed-by: Pratyush Yadav <ptyadav@amazon.de> Reviewed-by: Dhruva Gole <d-gole@ti.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20230120020454.3225796-1-robh@kernel.org
42 lines
916 B
YAML
42 lines
916 B
YAML
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/mtd/partitions/partitions.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Partitions
|
|
|
|
description: |
|
|
This binding is generic and describes the content of the partitions container
|
|
node. All partition parsers must be referenced here.
|
|
|
|
maintainers:
|
|
- Miquel Raynal <miquel.raynal@bootlin.com>
|
|
|
|
oneOf:
|
|
- $ref: arm,arm-firmware-suite.yaml
|
|
- $ref: brcm,bcm4908-partitions.yaml
|
|
- $ref: brcm,bcm947xx-cfe-partitions.yaml
|
|
- $ref: fixed-partitions.yaml
|
|
- $ref: linksys,ns-partitions.yaml
|
|
- $ref: qcom,smem-part.yaml
|
|
- $ref: redboot-fis.yaml
|
|
|
|
properties:
|
|
compatible: true
|
|
|
|
'#address-cells':
|
|
enum: [1, 2]
|
|
|
|
'#size-cells':
|
|
enum: [1, 2]
|
|
|
|
patternProperties:
|
|
"^partition(-.+|@[0-9a-f]+)$":
|
|
$ref: partition.yaml
|
|
|
|
required:
|
|
- compatible
|
|
|
|
unevaluatedProperties: false
|