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: Fix array property constraints

Schemas for array properties should only have 1 level of array
constraints (e.g. items, maxItems, minItems). Sometimes the old
encoding of all properties into a matrix leaked into the schema, and
didn't matter for validation. Now the inner constraints are just
silently ignored as json-schema array keywords are ignored on scalar
values.

Generally, keep the inner constraints and drop the outer "items". With
gicv3 "mbi-alias" property, it is more appropriately a uint32 or uint64
as it is an address and size depends on "#address-cells".

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20240925232409.2208515-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>

+16 -24
+2 -3
Documentation/devicetree/bindings/cache/l2c2x0.yaml
··· 100 100 filter. Addresses in the filter window are directed to the M1 port. Other 101 101 addresses will go to the M0 port. 102 102 $ref: /schemas/types.yaml#/definitions/uint32-array 103 - items: 104 - minItems: 2 105 - maxItems: 2 103 + minItems: 2 104 + maxItems: 2 106 105 107 106 arm,io-coherent: 108 107 description: indicates that the system is operating in an hardware
+3 -4
Documentation/devicetree/bindings/dma/dma-common.yaml
··· 32 32 The first item in the array is for channels 0-31, the second is for 33 33 channels 32-63, etc. 34 34 $ref: /schemas/types.yaml#/definitions/uint32-array 35 - items: 36 - minItems: 1 37 - # Should be enough 38 - maxItems: 255 35 + minItems: 1 36 + # Should be enough 37 + maxItems: 255 39 38 40 39 dma-channels: 41 40 $ref: /schemas/types.yaml#/definitions/uint32
+5 -7
Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.yaml
··· 132 132 Address property. Base address of an alias of the GICD region containing 133 133 only the {SET,CLR}SPI registers to be used if isolation is required, 134 134 and if supported by the HW. 135 - $ref: /schemas/types.yaml#/definitions/uint32-array 136 - items: 137 - minItems: 1 138 - maxItems: 2 135 + oneOf: 136 + - $ref: /schemas/types.yaml#/definitions/uint32 137 + - $ref: /schemas/types.yaml#/definitions/uint64 139 138 140 139 ppi-partitions: 141 140 type: object ··· 222 223 (u32, u32) tuple describing the untranslated 223 224 address and size of the pre-ITS window. 224 225 $ref: /schemas/types.yaml#/definitions/uint32-array 225 - items: 226 - minItems: 2 227 - maxItems: 2 226 + minItems: 2 227 + maxItems: 2 228 228 229 229 required: 230 230 - compatible
+1 -2
Documentation/devicetree/bindings/media/i2c/thine,thp7312.yaml
··· 135 135 136 136 data-lanes: 137 137 $ref: /schemas/media/video-interfaces.yaml#/properties/data-lanes 138 - items: 139 - maxItems: 4 138 + maxItems: 4 140 139 description: 141 140 This property is for lane reordering between the THP7312 and the imaging 142 141 sensor that it is connected to.
+2 -3
Documentation/devicetree/bindings/memory-controllers/exynos-srom.yaml
··· 66 66 67 67 samsung,srom-timing: 68 68 $ref: /schemas/types.yaml#/definitions/uint32-array 69 - items: 70 - minItems: 6 71 - maxItems: 6 69 + minItems: 6 70 + maxItems: 6 72 71 description: | 73 72 Array of 6 integers, specifying bank timings in the following order: 74 73 Tacp, Tcah, Tcoh, Tacc, Tcos, Tacs.
+2 -3
Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml
··· 92 92 may have two component regions -- base and extended -- so 93 93 this information cannot be deduced from the dma-ranges. 94 94 $ref: /schemas/types.yaml#/definitions/uint64-array 95 - items: 96 - minItems: 1 97 - maxItems: 3 95 + minItems: 1 96 + maxItems: 3 98 97 99 98 resets: 100 99 minItems: 1
+1 -2
Documentation/devicetree/bindings/soc/qcom/qcom,smp2p.yaml
··· 55 55 56 56 qcom,smem: 57 57 $ref: /schemas/types.yaml#/definitions/uint32-array 58 - items: 59 - maxItems: 2 58 + maxItems: 2 60 59 description: 61 60 Two identifiers of the inbound and outbound smem items used for this edge. 62 61