Message ID | 20230602215629.2568-1-zajec5@gmail.com |
---|---|
State | New |
Headers | show |
Series | [V2] dt-bindings: mtd: partitions: Include TP-Link SafeLoader in allowed list | expand |
On Fri, Jun 02, 2023 at 11:56:29PM +0200, Rafał Miłecki wrote: > From: Rafał Miłecki <rafal@milecki.pl> > > It's supposed to be there and it's needed for proper validation of DTS > files. > > This fixes following errors for Northstar based TP-Link routers: > bcm47081-tplink-archer-c5-v2.dtb: flash@0: partitions:compatible: 'oneOf' conditional failed, one must be fixed: > ['tplink,safeloader-partitions'] is too short > 'fixed-partitions' was expected > 'sercomm,sc-partitions' was expected > 'arm,arm-firmware-suite' was expected > 'brcm,bcm4908-partitions' was expected > 'brcm,bcm947xx-cfe-partitions' was expected > 'linksys,ns-partitions' was expected > 'qcom,smem-part' was expected > 'redboot-fis' was expected Something like this would have been sufficient, dumping the whole error into the commit message bloats it for no real gain, but I was asking for you to say what the issue was, not asking for a resubmission (yet anyway). Acked-by: Conor Dooley <conor.dooley@microchip.com> Thanks, Conor.
diff --git a/Documentation/devicetree/bindings/mtd/partitions/partitions.yaml b/Documentation/devicetree/bindings/mtd/partitions/partitions.yaml index 2edc65e0e361..1dda2c80747b 100644 --- a/Documentation/devicetree/bindings/mtd/partitions/partitions.yaml +++ b/Documentation/devicetree/bindings/mtd/partitions/partitions.yaml @@ -21,6 +21,7 @@ oneOf: - $ref: linksys,ns-partitions.yaml - $ref: qcom,smem-part.yaml - $ref: redboot-fis.yaml + - $ref: tplink,safeloader-partitions.yaml properties: compatible: true