Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: Remove more cases of 'allOf' containing a '$ref'

Another round of 'allOf' removals that came in this cycle.

json-schema versions draft7 and earlier have a weird behavior in that
any keywords combined with a '$ref' are ignored (silently). The correct
form was to put a '$ref' under an 'allOf'. This behavior is now changed
in the 2019-09 json-schema spec and '$ref' can be mixed with other
keywords. The json-schema library doesn't yet support this, but the
tooling now does a fixup for this and either way works.

This has been a constant source of review comments, so let's change this
treewide so everyone copies the simpler syntax.

Signed-off-by: Rob Herring <robh@kernel.org>

+224 -316
+2 -3
Documentation/devicetree/bindings/arm/tegra/nvidia,tegra20-pmc.yaml
··· 85 85 CPU power good signal from external PMIC to PMC is enabled. 86 86 87 87 nvidia,suspend-mode: 88 - allOf: 89 - - $ref: /schemas/types.yaml#/definitions/uint32 90 - - enum: [0, 1, 2] 88 + $ref: /schemas/types.yaml#/definitions/uint32 89 + enum: [0, 1, 2] 91 90 description: 92 91 The suspend mode that the platform should use. 93 92 Mode 0 is for LP0, CPU + Core voltage off and DRAM in self-refresh
+9 -12
Documentation/devicetree/bindings/ata/sata_highbank.yaml
··· 40 40 41 41 calxeda,led-order: 42 42 description: Maps port numbers to offsets within the SGPIO bitstream. 43 - allOf: 44 - - $ref: /schemas/types.yaml#/definitions/uint32-array 45 - - minItems: 1 46 - maxItems: 8 43 + $ref: /schemas/types.yaml#/definitions/uint32-array 44 + minItems: 1 45 + maxItems: 8 47 46 48 47 calxeda,port-phys: 49 48 description: | 50 49 phandle-combophy and lane assignment, which maps each SATA port to a 51 50 combophy and a lane within that combophy 52 - allOf: 53 - - $ref: /schemas/types.yaml#/definitions/phandle-array 54 - - minItems: 1 55 - maxItems: 8 51 + $ref: /schemas/types.yaml#/definitions/phandle-array 52 + minItems: 1 53 + maxItems: 8 56 54 57 55 calxeda,tx-atten: 58 56 description: | 59 57 Contains TX attenuation override codes, one per port. 60 58 The upper 24 bits of each entry are always 0 and thus ignored. 61 - allOf: 62 - - $ref: /schemas/types.yaml#/definitions/uint32-array 63 - - minItems: 1 64 - maxItems: 8 59 + $ref: /schemas/types.yaml#/definitions/uint32-array 60 + minItems: 1 61 + maxItems: 8 65 62 66 63 calxeda,sgpio-gpio: 67 64 description: |
+3 -4
Documentation/devicetree/bindings/gpio/snps,dw-apb-gpio.yaml
··· 63 63 64 64 snps,nr-gpios: 65 65 description: The number of GPIO pins exported by the port. 66 + $ref: /schemas/types.yaml#/definitions/uint32 66 67 default: 32 67 - allOf: 68 - - $ref: /schemas/types.yaml#/definitions/uint32 69 - - minimum: 1 70 - maximum: 32 68 + minimum: 1 69 + maximum: 32 71 70 72 71 interrupts: 73 72 description: |
+1 -2
Documentation/devicetree/bindings/iio/imu/adi,adis16475.yaml
··· 67 67 1 - direct_sync 68 68 2 - scaled_sync 69 69 3 - pulse_sync 70 - allOf: 71 - - $ref: /schemas/types.yaml#/definitions/uint32 70 + $ref: /schemas/types.yaml#/definitions/uint32 72 71 minimum: 0 73 72 maximum: 3 74 73
+2 -3
Documentation/devicetree/bindings/iio/light/amstaos,tsl2563.yaml
··· 25 25 26 26 amstaos,cover-comp-gain: 27 27 description: Multiplier for gain compensation 28 - allOf: 29 - - $ref: /schemas/types.yaml#/definitions/uint32 30 - - enum: [1, 16] 28 + $ref: /schemas/types.yaml#/definitions/uint32 29 + enum: [1, 16] 31 30 32 31 required: 33 32 - compatible
+98 -124
Documentation/devicetree/bindings/input/iqs269a.yaml
··· 40 40 posed on channels 6 and 7 by Hall-effect sensing. 41 41 42 42 azoteq,suspend-mode: 43 - allOf: 44 - - $ref: /schemas/types.yaml#/definitions/uint32 45 - - enum: [0, 1, 2, 3] 46 - default: 0 43 + $ref: /schemas/types.yaml#/definitions/uint32 44 + enum: [0, 1, 2, 3] 45 + default: 0 47 46 description: | 48 47 Specifies the power mode during suspend as follows: 49 48 0: Automatic (same as normal runtime, i.e. suspend/resume disabled) ··· 55 56 description: Divides the device's core clock by a factor of 4. 56 57 57 58 azoteq,ulp-update: 58 - allOf: 59 - - $ref: /schemas/types.yaml#/definitions/uint32 60 - - minimum: 0 61 - maximum: 7 62 - default: 3 59 + $ref: /schemas/types.yaml#/definitions/uint32 60 + minimum: 0 61 + maximum: 7 62 + default: 3 63 63 description: Specifies the ultra-low-power mode update rate. 64 64 65 65 azoteq,reseed-offset: ··· 68 70 reseed events. 69 71 70 72 azoteq,filt-str-lp-lta: 71 - allOf: 72 - - $ref: /schemas/types.yaml#/definitions/uint32 73 - - enum: [0, 1, 2, 3] 74 - default: 0 73 + $ref: /schemas/types.yaml#/definitions/uint32 74 + enum: [0, 1, 2, 3] 75 + default: 0 75 76 description: 76 77 Specifies the long-term average filter strength during low-power mode. 77 78 78 79 azoteq,filt-str-lp-cnt: 79 - allOf: 80 - - $ref: /schemas/types.yaml#/definitions/uint32 81 - - enum: [0, 1, 2, 3] 82 - default: 0 80 + $ref: /schemas/types.yaml#/definitions/uint32 81 + enum: [0, 1, 2, 3] 82 + default: 0 83 83 description: 84 84 Specifies the raw count filter strength during low-power mode. 85 85 86 86 azoteq,filt-str-np-lta: 87 - allOf: 88 - - $ref: /schemas/types.yaml#/definitions/uint32 89 - - enum: [0, 1, 2, 3] 90 - default: 0 87 + $ref: /schemas/types.yaml#/definitions/uint32 88 + enum: [0, 1, 2, 3] 89 + default: 0 91 90 description: 92 91 Specifies the long-term average filter strength during normal-power mode. 93 92 94 93 azoteq,filt-str-np-cnt: 95 - allOf: 96 - - $ref: /schemas/types.yaml#/definitions/uint32 97 - - enum: [0, 1, 2, 3] 98 - default: 0 94 + $ref: /schemas/types.yaml#/definitions/uint32 95 + enum: [0, 1, 2, 3] 96 + default: 0 99 97 description: 100 98 Specifies the raw count filter strength during normal-power mode. 101 99 ··· 150 156 description: Disables all raw count filtering. 151 157 152 158 azoteq,gpio3-select: 153 - allOf: 154 - - $ref: /schemas/types.yaml#/definitions/uint32 155 - - minimum: 0 156 - maximum: 7 157 - default: 0 159 + $ref: /schemas/types.yaml#/definitions/uint32 160 + minimum: 0 161 + maximum: 7 162 + default: 0 158 163 description: 159 164 Selects the channel for which the GPIO3 pin represents touch state. 160 165 ··· 165 172 in either direction. 166 173 167 174 azoteq,tx-freq: 168 - allOf: 169 - - $ref: /schemas/types.yaml#/definitions/uint32 170 - - enum: [0, 1, 2, 3] 171 - default: 0 175 + $ref: /schemas/types.yaml#/definitions/uint32 176 + enum: [0, 1, 2, 3] 177 + default: 0 172 178 description: | 173 179 Specifies the inductive sensing excitation frequency as follows (paren- 174 180 thesized numbers represent the frequency if 'azoteq,clk-div' is present): ··· 181 189 description: Increases the global capacitance adder from 0.5 pF to 1.5 pF. 182 190 183 191 azoteq,reseed-select: 184 - allOf: 185 - - $ref: /schemas/types.yaml#/definitions/uint32 186 - - enum: [0, 1, 2, 3] 187 - default: 0 192 + $ref: /schemas/types.yaml#/definitions/uint32 193 + enum: [0, 1, 2, 3] 194 + default: 0 188 195 description: | 189 196 Specifies the event(s) that prompt the device to reseed (i.e. reset the 190 197 long-term average) of an associated channel as follows: ··· 199 208 channels. 200 209 201 210 azoteq,filt-str-slider: 202 - allOf: 203 - - $ref: /schemas/types.yaml#/definitions/uint32 204 - - enum: [0, 1, 2, 3] 205 - default: 1 211 + $ref: /schemas/types.yaml#/definitions/uint32 212 + enum: [0, 1, 2, 3] 213 + default: 1 206 214 description: Specifies the slider coordinate filter strength. 207 215 208 216 patternProperties: ··· 236 246 description: Specifies that the channel participates in slider 1. 237 247 238 248 azoteq,rx-enable: 239 - allOf: 240 - - $ref: /schemas/types.yaml#/definitions/uint32-array 241 - - minItems: 1 242 - maxItems: 8 243 - items: 244 - minimum: 0 245 - maximum: 7 249 + $ref: /schemas/types.yaml#/definitions/uint32-array 250 + minItems: 1 251 + maxItems: 8 252 + items: 253 + minimum: 0 254 + maximum: 7 246 255 description: 247 256 Specifies the CRX pin(s) associated with the channel. By default, only 248 257 the CRX pin corresponding to the channel's index is enabled (e.g. CRX0 249 258 for channel 0). 250 259 251 260 azoteq,tx-enable: 252 - allOf: 253 - - $ref: /schemas/types.yaml#/definitions/uint32-array 254 - - minItems: 1 255 - maxItems: 8 256 - items: 257 - minimum: 0 258 - maximum: 7 259 - default: [0, 1, 2, 3, 4, 5, 6, 7] 261 + $ref: /schemas/types.yaml#/definitions/uint32-array 262 + minItems: 1 263 + maxItems: 8 264 + items: 265 + minimum: 0 266 + maximum: 7 267 + default: [0, 1, 2, 3, 4, 5, 6, 7] 260 268 description: Specifies the TX pin(s) associated with the channel. 261 269 262 270 azoteq,meas-cap-decrease: ··· 267 279 description: Floats any inactive CRX pins instead of grounding them. 268 280 269 281 azoteq,local-cap-size: 270 - allOf: 271 - - $ref: /schemas/types.yaml#/definitions/uint32 272 - - enum: [0, 1, 2] 273 - default: 0 282 + $ref: /schemas/types.yaml#/definitions/uint32 283 + enum: [0, 1, 2] 284 + default: 0 274 285 description: | 275 286 Specifies the capacitance to be added to the channel as follows: 276 287 0: None ··· 283 296 deep-touch events relative to their respective thresholds. 284 297 285 298 azoteq,proj-bias: 286 - allOf: 287 - - $ref: /schemas/types.yaml#/definitions/uint32 288 - - enum: [0, 1, 2, 3] 289 - default: 2 299 + $ref: /schemas/types.yaml#/definitions/uint32 300 + enum: [0, 1, 2, 3] 301 + default: 2 290 302 description: | 291 303 Specifies the bias current applied during projected-capacitance 292 304 sensing as follows: ··· 295 309 3: 20 uA 296 310 297 311 azoteq,sense-mode: 298 - allOf: 299 - - $ref: /schemas/types.yaml#/definitions/uint32 300 - - enum: [0, 1, 9, 14, 15] 301 - default: 0 312 + $ref: /schemas/types.yaml#/definitions/uint32 313 + enum: [0, 1, 9, 14, 15] 314 + default: 0 302 315 description: | 303 316 Specifies the channel's sensing mode as follows: 304 317 0: Self capacitance ··· 307 322 15: Temperature 308 323 309 324 azoteq,sense-freq: 310 - allOf: 311 - - $ref: /schemas/types.yaml#/definitions/uint32 312 - - enum: [0, 1, 2, 3] 313 - default: 1 325 + $ref: /schemas/types.yaml#/definitions/uint32 326 + enum: [0, 1, 2, 3] 327 + default: 1 314 328 description: | 315 329 Specifies the channel's sensing frequency as follows (parenthesized 316 330 numbers represent the frequency if 'azoteq,clk-div' is present): ··· 323 339 description: Enables the static front-end for the channel. 324 340 325 341 azoteq,ati-mode: 326 - allOf: 327 - - $ref: /schemas/types.yaml#/definitions/uint32 328 - - enum: [0, 1, 2, 3] 329 - default: 3 342 + $ref: /schemas/types.yaml#/definitions/uint32 343 + enum: [0, 1, 2, 3] 344 + default: 3 330 345 description: | 331 346 Specifies the channel's ATI mode as follows: 332 347 0: Disabled ··· 334 351 3: Full 335 352 336 353 azoteq,ati-base: 337 - allOf: 338 - - $ref: /schemas/types.yaml#/definitions/uint32 339 - - enum: [75, 100, 150, 200] 340 - default: 100 354 + $ref: /schemas/types.yaml#/definitions/uint32 355 + enum: [75, 100, 150, 200] 356 + default: 100 341 357 description: Specifies the channel's ATI base. 342 358 343 359 azoteq,ati-target: 344 - allOf: 345 - - $ref: /schemas/types.yaml#/definitions/uint32 346 - - multipleOf: 32 347 - minimum: 0 348 - maximum: 2016 349 - default: 512 360 + $ref: /schemas/types.yaml#/definitions/uint32 361 + multipleOf: 32 362 + minimum: 0 363 + maximum: 2016 364 + default: 512 350 365 description: Specifies the channel's ATI target. 351 366 352 367 azoteq,assoc-select: 353 - allOf: 354 - - $ref: /schemas/types.yaml#/definitions/uint32-array 355 - - minItems: 1 356 - maxItems: 8 357 - items: 358 - minimum: 0 359 - maximum: 7 368 + $ref: /schemas/types.yaml#/definitions/uint32-array 369 + minItems: 1 370 + maxItems: 8 371 + items: 372 + minimum: 0 373 + maximum: 7 360 374 description: 361 375 Specifies the associated channels for which the channel serves as a 362 376 reference channel. By default, no channels are selected. 363 377 364 378 azoteq,assoc-weight: 365 - allOf: 366 - - $ref: /schemas/types.yaml#/definitions/uint32 367 - - minimum: 0 368 - maximum: 255 369 - default: 0 379 + $ref: /schemas/types.yaml#/definitions/uint32 380 + minimum: 0 381 + maximum: 255 382 + default: 0 370 383 description: 371 384 Specifies the channel's impact weight if it acts as an associated 372 385 channel (0 = 0% impact, 255 = 200% impact). ··· 390 411 391 412 properties: 392 413 azoteq,thresh: 393 - allOf: 394 - - $ref: /schemas/types.yaml#/definitions/uint32 395 - - minimum: 0 396 - maximum: 255 397 - default: 10 414 + $ref: /schemas/types.yaml#/definitions/uint32 415 + minimum: 0 416 + maximum: 255 417 + default: 10 398 418 description: Specifies the threshold for the event. 399 419 400 420 linux,code: ··· 408 430 409 431 properties: 410 432 azoteq,thresh: 411 - allOf: 412 - - $ref: /schemas/types.yaml#/definitions/uint32 413 - - minimum: 0 414 - maximum: 255 415 - default: 8 433 + $ref: /schemas/types.yaml#/definitions/uint32 434 + minimum: 0 435 + maximum: 255 436 + default: 8 416 437 description: Specifies the threshold for the event. 417 438 418 439 azoteq,hyst: 419 - allOf: 420 - - $ref: /schemas/types.yaml#/definitions/uint32 421 - - minimum: 0 422 - maximum: 15 423 - default: 4 440 + $ref: /schemas/types.yaml#/definitions/uint32 441 + minimum: 0 442 + maximum: 15 443 + default: 4 424 444 description: Specifies the hysteresis for the event. 425 445 426 446 linux,code: ··· 433 457 434 458 properties: 435 459 azoteq,thresh: 436 - allOf: 437 - - $ref: /schemas/types.yaml#/definitions/uint32 438 - - minimum: 0 439 - maximum: 255 440 - default: 26 460 + $ref: /schemas/types.yaml#/definitions/uint32 461 + minimum: 0 462 + maximum: 255 463 + default: 26 441 464 description: Specifies the threshold for the event. 442 465 443 466 azoteq,hyst: 444 - allOf: 445 - - $ref: /schemas/types.yaml#/definitions/uint32 446 - - minimum: 0 447 - maximum: 15 448 - default: 0 467 + $ref: /schemas/types.yaml#/definitions/uint32 468 + minimum: 0 469 + maximum: 15 470 + default: 0 449 471 description: Specifies the hysteresis for the event. 450 472 451 473 linux,code:
+6 -8
Documentation/devicetree/bindings/interrupt-controller/loongson,pch-msi.yaml
··· 25 25 description: 26 26 u32 value of the base of parent HyperTransport vector allocated 27 27 to PCH MSI. 28 - allOf: 29 - - $ref: "/schemas/types.yaml#/definitions/uint32" 30 - - minimum: 0 31 - maximum: 255 28 + $ref: "/schemas/types.yaml#/definitions/uint32" 29 + minimum: 0 30 + maximum: 255 32 31 33 32 loongson,msi-num-vecs: 34 33 description: 35 34 u32 value of the number of parent HyperTransport vectors allocated 36 35 to PCH MSI. 37 - allOf: 38 - - $ref: "/schemas/types.yaml#/definitions/uint32" 39 - - minimum: 1 40 - maximum: 256 36 + $ref: "/schemas/types.yaml#/definitions/uint32" 37 + minimum: 1 38 + maximum: 256 41 39 42 40 msi-controller: true 43 41
+3 -4
Documentation/devicetree/bindings/interrupt-controller/loongson,pch-pic.yaml
··· 25 25 description: 26 26 u32 value of the base of parent HyperTransport vector allocated 27 27 to PCH PIC. 28 - allOf: 29 - - $ref: "/schemas/types.yaml#/definitions/uint32" 30 - - minimum: 0 31 - maximum: 192 28 + $ref: "/schemas/types.yaml#/definitions/uint32" 29 + minimum: 0 30 + maximum: 192 32 31 33 32 interrupt-controller: true 34 33
+4 -6
Documentation/devicetree/bindings/ipmi/ipmi-smic.yaml
··· 31 31 32 32 reg-size: 33 33 description: The access width of the register in bytes. Defaults to 1. 34 - allOf: 35 - - $ref: /schemas/types.yaml#/definitions/uint32 36 - - enum: [1, 2, 4, 8] 34 + $ref: /schemas/types.yaml#/definitions/uint32 35 + enum: [1, 2, 4, 8] 37 36 38 37 reg-spacing: 39 38 $ref: /schemas/types.yaml#/definitions/uint32 ··· 42 43 description: | 43 44 The amount of bits to shift the register content to the right to get 44 45 the data into bit zero. 45 - allOf: 46 - - $ref: /schemas/types.yaml#/definitions/uint32 47 - - maximum: 56 46 + $ref: /schemas/types.yaml#/definitions/uint32 47 + maximum: 56 48 48 49 49 required: 50 50 - compatible
+17 -26
Documentation/devicetree/bindings/leds/backlight/qcom-wled.yaml
··· 57 57 description: | 58 58 mA; per-string current limit. 59 59 This property is supported only for WLED3. 60 - allOf: 61 - - $ref: /schemas/types.yaml#/definitions/uint32 60 + $ref: /schemas/types.yaml#/definitions/uint32 62 61 default: 20 63 62 minimum: 0 64 63 maximum: 25 ··· 73 74 qcom,current-boost-limit: 74 75 description: | 75 76 mA; boost current limit. 76 - allOf: 77 - - $ref: /schemas/types.yaml#/definitions/uint32 77 + $ref: /schemas/types.yaml#/definitions/uint32 78 78 79 79 qcom,switching-freq: 80 80 description: | 81 81 kHz; switching frequency. 82 - allOf: 83 - - $ref: /schemas/types.yaml#/definitions/uint32 84 - - enum: [ 600, 640, 685, 738, 800, 872, 960, 1066, 1200, 1371, 1600, 1920, 2400, 3200, 4800, 9600 ] 82 + $ref: /schemas/types.yaml#/definitions/uint32 83 + enum: [ 600, 640, 685, 738, 800, 872, 960, 1066, 1200, 1371, 1600, 1920, 2400, 3200, 4800, 9600 ] 85 84 86 85 qcom,ovp: 87 86 description: | 88 87 V; Over-voltage protection limit. 89 88 This property is supported only for WLED3. 90 - allOf: 91 - - $ref: /schemas/types.yaml#/definitions/uint32 92 - - enum: [ 27, 29, 32, 35 ] 93 - - default: 29 89 + $ref: /schemas/types.yaml#/definitions/uint32 90 + enum: [ 27, 29, 32, 35 ] 91 + default: 29 94 92 95 93 qcom,ovp-millivolt: 96 94 description: | 97 95 Over-voltage protection limit. This property is for WLED4 only. 98 - allOf: 99 - - $ref: /schemas/types.yaml#/definitions/uint32 100 - - enum: [ 18100, 19600, 29600, 31100 ] 101 - - default: 29600 96 + $ref: /schemas/types.yaml#/definitions/uint32 97 + enum: [ 18100, 19600, 29600, 31100 ] 98 + default: 29600 102 99 103 100 qcom,num-strings: 104 101 description: | 105 102 number of led strings attached. 106 - allOf: 107 - - $ref: /schemas/types.yaml#/definitions/uint32 103 + $ref: /schemas/types.yaml#/definitions/uint32 108 104 109 105 qcom,enabled-strings: 110 106 description: | ··· 107 113 string of leds are operated individually. Specify the 108 114 list of strings used by the device. Any combination of 109 115 led strings can be used. 110 - allOf: 111 - - $ref: /schemas/types.yaml#/definitions/uint32-array 116 + $ref: /schemas/types.yaml#/definitions/uint32-array 112 117 minItems: 1 113 118 maxItems: 4 114 119 ··· 143 150 0 - Modulator A 144 151 1 - Modulator B 145 152 This property is applicable only to WLED5 peripheral. 146 - allOf: 147 - - $ref: /schemas/types.yaml#/definitions/uint32 148 - - enum: [ 0, 1 ] 149 - - default: 0 153 + $ref: /schemas/types.yaml#/definitions/uint32 154 + enum: [ 0, 1 ] 155 + default: 0 150 156 151 157 qcom,cabc-sel: 152 158 description: | ··· 156 164 2 - CABC 2 157 165 3 - External signal (e.g. LPG) is used for dimming 158 166 This property is applicable only to WLED5 peripheral. 159 - allOf: 160 - - $ref: /schemas/types.yaml#/definitions/uint32 161 - - enum: [ 0, 1, 2, 3 ] 167 + $ref: /schemas/types.yaml#/definitions/uint32 168 + enum: [ 0, 1, 2, 3 ] 162 169 163 170 allOf: 164 171 - if:
+1 -2
Documentation/devicetree/bindings/leds/leds-aw2013.yaml
··· 32 32 patternProperties: 33 33 "^led@[0-2]$": 34 34 type: object 35 - allOf: 36 - - $ref: common.yaml# 35 + $ref: common.yaml# 37 36 38 37 properties: 39 38 reg:
+1 -2
Documentation/devicetree/bindings/leds/leds-sgm3140.yaml
··· 33 33 34 34 led: 35 35 type: object 36 - allOf: 37 - - $ref: common.yaml# 36 + $ref: common.yaml# 38 37 39 38 required: 40 39 - compatible
+1 -2
Documentation/devicetree/bindings/media/i2c/ov8856.yaml
··· 79 79 - const: 4 80 80 81 81 link-frequencies: 82 - allOf: 83 - - $ref: /schemas/types.yaml#/definitions/uint64-array 82 + $ref: /schemas/types.yaml#/definitions/uint64-array 84 83 description: 85 84 Allowed data bus frequencies. 360000000, 180000000 Hz or both 86 85 are supported by the driver.
+2 -3
Documentation/devicetree/bindings/memory-controllers/ingenic,nemc.yaml
··· 45 45 maxItems: 255 46 46 47 47 ingenic,nemc-bus-width: 48 - allOf: 49 - - $ref: /schemas/types.yaml#/definitions/uint32 50 - - enum: [8, 16] 48 + $ref: /schemas/types.yaml#/definitions/uint32 49 + enum: [8, 16] 51 50 description: Specifies the bus width in bits. 52 51 53 52 ingenic,nemc-tAS:
+1 -2
Documentation/devicetree/bindings/net/ti,k3-am654-cpsw-nuss.yaml
··· 145 145 146 146 "^cpts@[0-9a-f]+": 147 147 type: object 148 - allOf: 149 - - $ref: "ti,k3-am654-cpts.yaml#" 148 + $ref: "ti,k3-am654-cpts.yaml#" 150 149 description: 151 150 CPSW Common Platform Time Sync (CPTS) module. 152 151
+2 -4
Documentation/devicetree/bindings/net/ti,k3-am654-cpts.yaml
··· 74 74 - const: cpts 75 75 76 76 ti,cpts-ext-ts-inputs: 77 - allOf: 78 - - $ref: /schemas/types.yaml#/definitions/uint32 77 + $ref: /schemas/types.yaml#/definitions/uint32 79 78 maximum: 8 80 79 description: 81 80 Number of hardware timestamp push inputs (HWx_TS_PUSH) 82 81 83 82 ti,cpts-periodic-outputs: 84 - allOf: 85 - - $ref: /schemas/types.yaml#/definitions/uint32 83 + $ref: /schemas/types.yaml#/definitions/uint32 86 84 maximum: 8 87 85 description: 88 86 Number of timestamp Generator function outputs (TS_GENFx)
+1 -2
Documentation/devicetree/bindings/pci/cdns-pcie-ep.yaml
··· 15 15 properties: 16 16 cdns,max-outbound-regions: 17 17 description: maximum number of outbound regions 18 - allOf: 19 - - $ref: /schemas/types.yaml#/definitions/uint32 18 + $ref: /schemas/types.yaml#/definitions/uint32 20 19 minimum: 1 21 20 maximum: 32 22 21 default: 32
+1 -2
Documentation/devicetree/bindings/pci/cdns-pcie-host.yaml
··· 16 16 properties: 17 17 cdns,max-outbound-regions: 18 18 description: maximum number of outbound regions 19 - allOf: 20 - - $ref: /schemas/types.yaml#/definitions/uint32 19 + $ref: /schemas/types.yaml#/definitions/uint32 21 20 minimum: 1 22 21 maximum: 32 23 22 default: 32
+2 -3
Documentation/devicetree/bindings/phy/calxeda-combophy.yaml
··· 29 29 30 30 phydev: 31 31 description: device ID for programming the ComboPHY. 32 - allOf: 33 - - $ref: /schemas/types.yaml#/definitions/uint32 34 - - maximum: 31 32 + $ref: /schemas/types.yaml#/definitions/uint32 33 + maximum: 31 35 34 36 35 required: 37 36 - compatible
+2 -3
Documentation/devicetree/bindings/phy/renesas,usb3-phy.yaml
··· 52 52 description: | 53 53 Enable/disable spread spectrum clock (ssc). 0 or the property doesn't 54 54 exist means disabling the ssc. The actual value will be -<value> ppm. 55 - allOf: 56 - - $ref: /schemas/types.yaml#/definitions/uint32 57 - - enum: [ 0, 4003, 4492, 4980 ] 55 + $ref: /schemas/types.yaml#/definitions/uint32 56 + enum: [ 0, 4003, 4492, 4980 ] 58 57 59 58 required: 60 59 - compatible
+6 -9
Documentation/devicetree/bindings/power/supply/cw2015_battery.yaml
··· 27 27 of this binary blob is kept secret by CellWise. The only way to obtain 28 28 it is to mail two batteries to a test facility of CellWise and receive 29 29 back a test report with the binary blob. 30 - allOf: 31 - - $ref: /schemas/types.yaml#definitions/uint8-array 32 - items: 33 - - minItems: 64 34 - maxItems: 64 30 + $ref: /schemas/types.yaml#definitions/uint8-array 31 + minItems: 64 32 + maxItems: 64 35 33 36 34 cellwise,monitor-interval-ms: 37 35 description: ··· 39 41 power-supplies: 40 42 description: 41 43 Specifies supplies used for charging the battery connected to this gauge 42 - allOf: 43 - - $ref: /schemas/types.yaml#/definitions/phandle-array 44 - - minItems: 1 45 - maxItems: 8 # Should be enough 44 + $ref: /schemas/types.yaml#/definitions/phandle-array 45 + minItems: 1 46 + maxItems: 8 # Should be enough 46 47 47 48 monitored-battery: 48 49 description:
+2 -4
Documentation/devicetree/bindings/power/supply/sbs,sbs-battery.yaml
··· 32 32 description: 33 33 The number of times to retry I2C transactions on I2C IO failure. 34 34 default: 0 35 - allOf: 36 - - $ref: /schemas/types.yaml#/definitions/uint32 35 + $ref: /schemas/types.yaml#/definitions/uint32 37 36 38 37 sbs,poll-retry-count: 39 38 description: 40 39 The number of times to try looking for new status after an external 41 40 change notification. 42 41 default: 0 43 - allOf: 44 - - $ref: /schemas/types.yaml#/definitions/uint32 42 + $ref: /schemas/types.yaml#/definitions/uint32 45 43 46 44 sbs,battery-detect-gpios: 47 45 description:
+3 -6
Documentation/devicetree/bindings/regulator/maxim,max77826.yaml
··· 21 21 22 22 regulators: 23 23 type: object 24 - allOf: 25 - - $ref: regulator.yaml# 24 + $ref: regulator.yaml# 26 25 description: | 27 26 list of regulators provided by this controller, must be named 28 27 after their hardware counterparts LDO[1-15], BUCK and BUCKBOOST ··· 29 30 patternProperties: 30 31 "^LDO([1-9]|1[0-5])$": 31 32 type: object 32 - allOf: 33 - - $ref: regulator.yaml# 33 + $ref: regulator.yaml# 34 34 35 35 "^BUCK|BUCKBOOST$": 36 36 type: object 37 - allOf: 38 - - $ref: regulator.yaml# 37 + $ref: regulator.yaml# 39 38 40 39 additionalProperties: false 41 40
+11 -16
Documentation/devicetree/bindings/regulator/rohm,bd71847-regulator.yaml
··· 29 29 patternProperties: 30 30 "^LDO[1-6]$": 31 31 type: object 32 - allOf: 33 - - $ref: regulator.yaml# 32 + $ref: regulator.yaml# 34 33 description: 35 34 Properties for single LDO regulator. 36 35 ··· 43 44 44 45 "^BUCK[1-6]$": 45 46 type: object 46 - allOf: 47 - - $ref: regulator.yaml# 47 + $ref: regulator.yaml# 48 48 description: 49 49 Properties for single BUCK regulator. 50 50 ··· 54 56 should be "buck1", ..., "buck6" 55 57 56 58 rohm,dvs-run-voltage: 57 - allOf: 58 - - $ref: "/schemas/types.yaml#/definitions/uint32" 59 - - minimum: 0 60 - maximum: 1300000 59 + $ref: "/schemas/types.yaml#/definitions/uint32" 60 + minimum: 0 61 + maximum: 1300000 61 62 description: 62 63 PMIC default "RUN" state voltage in uV. See below table for 63 64 bucks which support this. 0 means disabled. 64 65 65 66 rohm,dvs-idle-voltage: 66 - allOf: 67 - - $ref: "/schemas/types.yaml#/definitions/uint32" 68 - - minimum: 0 69 - maximum: 1300000 67 + $ref: "/schemas/types.yaml#/definitions/uint32" 68 + minimum: 0 69 + maximum: 1300000 70 70 description: 71 71 PMIC default "IDLE" state voltage in uV. See below table for 72 72 bucks which support this. 0 means disabled. 73 73 74 74 rohm,dvs-suspend-voltage: 75 - allOf: 76 - - $ref: "/schemas/types.yaml#/definitions/uint32" 77 - - minimum: 0 78 - maximum: 1300000 75 + $ref: "/schemas/types.yaml#/definitions/uint32" 76 + minimum: 0 77 + maximum: 1300000 79 78 description: 80 79 PMIC default "SUSPEND" state voltage in uV. See below table for 81 80 bucks which support this. 0 means disabled.
+2 -4
Documentation/devicetree/bindings/rng/arm-cctrng.yaml
··· 28 28 description: 29 29 Arm TrustZone CryptoCell TRNG engine has 4 ring oscillators. 30 30 Sampling ratio values for these 4 ring oscillators. (from calibration) 31 - allOf: 32 - - $ref: /schemas/types.yaml#/definitions/uint32-array 33 - - items: 34 - maxItems: 4 31 + $ref: /schemas/types.yaml#/definitions/uint32-array 32 + maxItems: 4 35 33 36 34 clocks: 37 35 maxItems: 1
+2 -3
Documentation/devicetree/bindings/serial/samsung_uart.yaml
··· 33 33 description: | 34 34 The size (in bytes) of the IO accesses that should be performed 35 35 on the device. 36 - allOf: 37 - - $ref: /schemas/types.yaml#/definitions/uint32 38 - - enum: [ 1, 4 ] 36 + $ref: /schemas/types.yaml#/definitions/uint32 37 + enum: [ 1, 4 ] 39 38 40 39 clocks: 41 40 minItems: 2
+3 -6
Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml
··· 100 100 supports up to 50MHz, up to four chip selects, programmable 101 101 data path from 4 bits to 32 bits and numerous protocol 102 102 variants. 103 - allOf: 104 - - $ref: /spi/spi-controller.yaml# 103 + $ref: /spi/spi-controller.yaml# 105 104 106 105 properties: 107 106 compatible: ··· 125 126 "i2c@[0-9a-f]+$": 126 127 type: object 127 128 description: GENI serial engine based I2C controller. 128 - allOf: 129 - - $ref: /schemas/i2c/i2c-controller.yaml# 129 + $ref: /schemas/i2c/i2c-controller.yaml# 130 130 131 131 properties: 132 132 compatible: ··· 154 156 "serial@[0-9a-f]+$": 155 157 type: object 156 158 description: GENI Serial Engine based UART Controller. 157 - allOf: 158 - - $ref: /schemas/serial.yaml# 159 + $ref: /schemas/serial.yaml# 159 160 160 161 properties: 161 162 compatible:
+8 -11
Documentation/devicetree/bindings/sound/fsl,easrc.yaml
··· 45 45 - const: ctx3_tx 46 46 47 47 firmware-name: 48 - allOf: 49 - - $ref: /schemas/types.yaml#/definitions/string 50 - - const: imx/easrc/easrc-imx8mn.bin 48 + $ref: /schemas/types.yaml#/definitions/string 49 + const: imx/easrc/easrc-imx8mn.bin 51 50 description: The coefficient table for the filters 52 51 53 52 fsl,asrc-rate: 54 - allOf: 55 - - $ref: /schemas/types.yaml#/definitions/uint32 56 - - minimum: 8000 57 - - maximum: 192000 53 + $ref: /schemas/types.yaml#/definitions/uint32 54 + minimum: 8000 55 + maximum: 192000 58 56 description: Defines a mutual sample rate used by DPCM Back Ends 59 57 60 58 fsl,asrc-format: 61 - allOf: 62 - - $ref: /schemas/types.yaml#/definitions/uint32 63 - - enum: [2, 6, 10, 32, 36] 64 - default: 2 59 + $ref: /schemas/types.yaml#/definitions/uint32 60 + enum: [2, 6, 10, 32, 36] 61 + default: 2 65 62 description: 66 63 Defines a mutual sample format used by DPCM Back Ends 67 64
+4 -6
Documentation/devicetree/bindings/sound/simple-card.yaml
··· 13 13 14 14 frame-master: 15 15 description: Indicates dai-link frame master. 16 - allOf: 17 - - $ref: /schemas/types.yaml#/definitions/phandle-array 18 - - maxItems: 1 16 + $ref: /schemas/types.yaml#/definitions/phandle-array 17 + maxItems: 1 19 18 20 19 bitclock-master: 21 20 description: Indicates dai-link bit clock master 22 - allOf: 23 - - $ref: /schemas/types.yaml#/definitions/phandle-array 24 - - maxItems: 1 21 + $ref: /schemas/types.yaml#/definitions/phandle-array 22 + maxItems: 1 25 23 26 24 frame-inversion: 27 25 description: dai-link uses frame clock inversion
+12 -14
Documentation/devicetree/bindings/sound/tlv320adcx140.yaml
··· 76 76 PDMIN3 - PDMCLK latching edge used for channel 5 and 6 data 77 77 PDMIN4 - PDMCLK latching edge used for channel 7 and 8 data 78 78 79 - allOf: 80 - - $ref: /schemas/types.yaml#/definitions/uint32-array 81 - - minItems: 1 82 - maxItems: 4 83 - items: 84 - maximum: 1 85 - default: [0, 0, 0, 0] 79 + $ref: /schemas/types.yaml#/definitions/uint32-array 80 + minItems: 1 81 + maxItems: 4 82 + items: 83 + maximum: 1 84 + default: [0, 0, 0, 0] 86 85 87 86 ti,gpi-config: 88 87 description: | ··· 101 102 7 - GPIX is configured as a PDM data input for channel 7 and channel 102 103 (PDMDIN4) 103 104 104 - allOf: 105 - - $ref: /schemas/types.yaml#/definitions/uint32-array 106 - - minItems: 1 107 - maxItems: 4 108 - items: 109 - maximum: 7 110 - default: [0, 0, 0, 0] 105 + $ref: /schemas/types.yaml#/definitions/uint32-array 106 + minItems: 1 107 + maxItems: 4 108 + items: 109 + maximum: 7 110 + default: [0, 0, 0, 0] 111 111 112 112 required: 113 113 - compatible
+2 -3
Documentation/devicetree/bindings/thermal/socionext,uniphier-thermal.yaml
··· 28 28 const: 0 29 29 30 30 socionext,tmod-calibration: 31 - allOf: 32 - - $ref: /schemas/types.yaml#/definitions/uint32-array 33 - - maxItems: 2 31 + $ref: /schemas/types.yaml#/definitions/uint32-array 32 + maxItems: 2 34 33 description: 35 34 A pair of calibrated values referred from PVT, in case that the values 36 35 aren't set on SoC, like a reference board.
+9 -15
Documentation/devicetree/bindings/usb/aspeed,usb-vhub.yaml
··· 52 52 53 53 vhub-vendor-id: 54 54 description: vhub Vendor ID 55 - allOf: 56 - - $ref: /schemas/types.yaml#/definitions/uint32 57 - - maximum: 65535 55 + $ref: /schemas/types.yaml#/definitions/uint32 56 + maximum: 65535 58 57 59 58 vhub-product-id: 60 59 description: vhub Product ID 61 - allOf: 62 - - $ref: /schemas/types.yaml#/definitions/uint32 63 - - maximum: 65535 60 + $ref: /schemas/types.yaml#/definitions/uint32 61 + maximum: 65535 64 62 65 63 vhub-device-revision: 66 64 description: vhub Device Revision in binary-coded decimal 67 - allOf: 68 - - $ref: /schemas/types.yaml#/definitions/uint32 69 - - maximum: 65535 65 + $ref: /schemas/types.yaml#/definitions/uint32 66 + maximum: 65535 70 67 71 68 vhub-strings: 72 69 type: object ··· 87 90 88 91 manufacturer: 89 92 description: vhub manufacturer 90 - allOf: 91 - - $ref: /schemas/types.yaml#/definitions/string 93 + $ref: /schemas/types.yaml#/definitions/string 92 94 93 95 product: 94 96 description: vhub product name 95 - allOf: 96 - - $ref: /schemas/types.yaml#/definitions/string 97 + $ref: /schemas/types.yaml#/definitions/string 97 98 98 99 serial-number: 99 100 description: vhub device serial number 100 - allOf: 101 - - $ref: /schemas/types.yaml#/definitions/string 101 + $ref: /schemas/types.yaml#/definitions/string 102 102 103 103 required: 104 104 - compatible
+1 -2
Documentation/devicetree/bindings/watchdog/arm-smc-wdt.yaml
··· 17 17 enum: 18 18 - arm,smc-wdt 19 19 arm,smc-id: 20 - allOf: 21 - - $ref: /schemas/types.yaml#/definitions/uint32 20 + $ref: /schemas/types.yaml#/definitions/uint32 22 21 description: | 23 22 The ATF smc function id used by the firmware. 24 23 Defaults to 0x82003D06 if unset.