History

Merge tag 'devicetree-fixes-for-5.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux

Pull Devicetree fixes from Rob Herring: - Another round of whack-a-mole removing 'allOf', redundant cases of 'maxItems' and incorrect 'reg' sizes - Fix support for yaml.h in non-standard paths * tag 'devicetree-fixes-for-5.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux: dt-bindings: Remove redundant 'maxItems' dt-bindings: Fix more incorrect 'reg' property sizes in examples dt-bindings: phy: qcom: Fix missing 'ranges' and example addresses dt-bindings: Remove more cases of 'allOf' containing a '$ref' scripts/dtc: use pkg-config to include <yaml.h> in non-standard path

Linus Torvalds committed 6 years ago

Commit 4071b852 parents 7de26c4 8440d4a51 files · +273 −363Browse files

Unified · Split

51 files
  1. Documentation/devicetree/bindings/arm/tegra/nvidia,tegra20-pmc.yaml +2 −3
  2. Documentation/devicetree/bindings/ata/sata_highbank.yaml +9 −12
  3. Documentation/devicetree/bindings/bus/baikal,bt1-apb.yaml +2 −2
  4. Documentation/devicetree/bindings/bus/baikal,bt1-axi.yaml +2 −2
  5. Documentation/devicetree/bindings/clock/imx6q-clock.yaml +0 −1
  6. Documentation/devicetree/bindings/clock/imx6sl-clock.yaml +0 −1
  7. Documentation/devicetree/bindings/clock/imx6sll-clock.yaml +0 −1
  8. Documentation/devicetree/bindings/clock/imx6sx-clock.yaml +0 −1
  9. Documentation/devicetree/bindings/clock/imx6ul-clock.yaml +0 −1
  10. Documentation/devicetree/bindings/display/rockchip/rockchip-vop.yaml +2 −2
  11. Documentation/devicetree/bindings/gpio/snps,dw-apb-gpio.yaml +3 −4
  12. Documentation/devicetree/bindings/iio/imu/adi,adis16475.yaml +1 −2
  13. Documentation/devicetree/bindings/iio/light/amstaos,tsl2563.yaml +2 −3
  14. Documentation/devicetree/bindings/input/iqs269a.yaml +98 −124
  15. Documentation/devicetree/bindings/interrupt-controller/loongson,pch-msi.yaml +6 −8
  16. Documentation/devicetree/bindings/interrupt-controller/loongson,pch-pic.yaml +3 −4
  17. Documentation/devicetree/bindings/ipmi/ipmi-smic.yaml +4 −6
  18. Documentation/devicetree/bindings/leds/backlight/qcom-wled.yaml +17 −26
  19. Documentation/devicetree/bindings/leds/leds-aw2013.yaml +1 −2
  20. Documentation/devicetree/bindings/leds/leds-sgm3140.yaml +1 −2
  21. Documentation/devicetree/bindings/mailbox/sprd-mailbox.yaml +1 −1
  22. Documentation/devicetree/bindings/media/i2c/ov8856.yaml +1 −2
  23. Documentation/devicetree/bindings/media/rockchip,vdec.yaml +1 −1
  24. Documentation/devicetree/bindings/media/rockchip-vpu.yaml +1 −1
  25. Documentation/devicetree/bindings/memory-controllers/ingenic,nemc.yaml +2 −3
  26. Documentation/devicetree/bindings/mtd/arasan,nand-controller.yaml +1 −1
  27. Documentation/devicetree/bindings/net/ti,k3-am654-cpsw-nuss.yaml +1 −2
  28. Documentation/devicetree/bindings/net/ti,k3-am654-cpts.yaml +3 −5
  29. Documentation/devicetree/bindings/pci/cdns-pcie-ep.yaml +1 −2
  30. Documentation/devicetree/bindings/pci/cdns-pcie-host.yaml +1 −2
  31. Documentation/devicetree/bindings/phy/calxeda-combophy.yaml +2 −3
  32. Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml +12 −8
  33. Documentation/devicetree/bindings/phy/qcom,qmp-usb3-dp-phy.yaml +21 −17
  34. Documentation/devicetree/bindings/phy/qcom,usb-snps-femto-v2.yaml +1 −1
  35. Documentation/devicetree/bindings/phy/renesas,usb3-phy.yaml +2 −3
  36. Documentation/devicetree/bindings/power/supply/cw2015_battery.yaml +6 −9
  37. Documentation/devicetree/bindings/power/supply/sbs,sbs-battery.yaml +2 −4
  38. Documentation/devicetree/bindings/pwm/imx-pwm.yaml +0 −2
  39. Documentation/devicetree/bindings/regulator/maxim,max77826.yaml +3 −6
  40. Documentation/devicetree/bindings/regulator/rohm,bd71847-regulator.yaml +11 −16
  41. Documentation/devicetree/bindings/rng/arm-cctrng.yaml +2 −4
  42. Documentation/devicetree/bindings/serial/samsung_uart.yaml +2 −3
  43. Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml +3 −6
  44. Documentation/devicetree/bindings/sound/fsl,easrc.yaml +9 −12
  45. Documentation/devicetree/bindings/sound/simple-card.yaml +4 −6
  46. Documentation/devicetree/bindings/sound/tlv320adcx140.yaml +12 −14
  47. Documentation/devicetree/bindings/thermal/socionext,uniphier-thermal.yaml +2 −3
  48. Documentation/devicetree/bindings/usb/aspeed,usb-vhub.yaml +9 −15
  49. Documentation/devicetree/bindings/usb/nvidia,tegra-xudc.yaml +0 −2
  50. Documentation/devicetree/bindings/watchdog/arm-smc-wdt.yaml +1 −2
  51. scripts/dtc/Makefile +3 −0
Documentation/devicetree/bindings/arm/tegra/nvidia,tegra20-pmc.yaml+2−3
@@ -85,9 +85,8 @@ properties: · 84 unmodified lines
8585 CPU power good signal from external PMIC to PMC is enabled.
8686
8787 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]
9190 description:
9291 The suspend mode that the platform should use.
9392 Mode 0 is for LP0, CPU + Core voltage off and DRAM in self-refresh
Documentation/devicetree/bindings/ata/sata_highbank.yaml+9−12
@@ -40,28 +40,25 @@ properties: · 39 unmodified lines
4040
4141 calxeda,led-order:
4242 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
4746
4847 calxeda,port-phys:
4948 description: |
5049 phandle-combophy and lane assignment, which maps each SATA port to a
5150 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
5654
5755 calxeda,tx-atten:
5856 description: |
5957 Contains TX attenuation override codes, one per port.
6058 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
6562
6663 calxeda,sgpio-gpio:
6764 description: |
Documentation/devicetree/bindings/bus/baikal,bt1-apb.yaml+2−2
@@ -71,8 +71,8 @@ examples: · 70 unmodified lines
7171
7272 bus@1f059000 {
7373 compatible = "baikal,bt1-apb", "simple-bus";
74− reg = <0 0x1f059000 0 0x1000>,
75− <0 0x1d000000 0 0x2040000>;
74+ reg = <0x1f059000 0x1000>,
75+ <0x1d000000 0x2040000>;
7676 reg-names = "ehb", "nodev";
7777 #address-cells = <1>;
7878 #size-cells = <1>;
Documentation/devicetree/bindings/bus/baikal,bt1-axi.yaml+2−2
@@ -85,8 +85,8 @@ examples: · 84 unmodified lines
8585
8686 bus@1f05a000 {
8787 compatible = "baikal,bt1-axi", "simple-bus";
88− reg = <0 0x1f05a000 0 0x1000>,
89− <0 0x1f04d110 0 0x8>;
88+ reg = <0x1f05a000 0x1000>,
89+ <0x1f04d110 0x8>;
9090 reg-names = "qos", "ehb";
9191 #address-cells = <1>;
9292 #size-cells = <1>;
Documentation/devicetree/bindings/clock/imx6q-clock.yaml+0−1
@@ -23,7 +23,6 @@ properties: · 22 unmodified lines
2323 items:
2424 - description: CCM interrupt request 1
2525 - description: CCM interrupt request 2
26− maxItems: 2
2726
2827 '#clock-cells':
2928 const: 1
Documentation/devicetree/bindings/clock/imx6sl-clock.yaml+0−1
@@ -23,7 +23,6 @@ properties: · 22 unmodified lines
2323 items:
2424 - description: CCM interrupt request 1
2525 - description: CCM interrupt request 2
26− maxItems: 2
2726
2827 '#clock-cells':
2928 const: 1
Documentation/devicetree/bindings/clock/imx6sll-clock.yaml+0−1
@@ -23,7 +23,6 @@ properties: · 22 unmodified lines
2323 items:
2424 - description: CCM interrupt request 1
2525 - description: CCM interrupt request 2
26− maxItems: 2
2726
2827 '#clock-cells':
2928 const: 1
Documentation/devicetree/bindings/clock/imx6sx-clock.yaml+0−1
@@ -23,7 +23,6 @@ properties: · 22 unmodified lines
2323 items:
2424 - description: CCM interrupt request 1
2525 - description: CCM interrupt request 2
26− maxItems: 2
2726
2827 '#clock-cells':
2928 const: 1
Documentation/devicetree/bindings/clock/imx6ul-clock.yaml+0−1
@@ -23,7 +23,6 @@ properties: · 22 unmodified lines
2323 items:
2424 - description: CCM interrupt request 1
2525 - description: CCM interrupt request 2
26− maxItems: 2
2726
2827 '#clock-cells':
2928 const: 1
Documentation/devicetree/bindings/display/rockchip/rockchip-vop.yaml+2−2
@@ -106,8 +106,8 @@ examples: · 105 unmodified lines
106106 #include <dt-bindings/power/rk3288-power.h>
107107 vopb: vopb@ff930000 {
108108 compatible = "rockchip,rk3288-vop";
109− reg = <0x0 0xff930000 0x0 0x19c>,
110− <0x0 0xff931000 0x0 0x1000>;
109+ reg = <0xff930000 0x19c>,
110+ <0xff931000 0x1000>;
111111 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
112112 clocks = <&cru ACLK_VOP0>,
113113 <&cru DCLK_VOP0>,
Documentation/devicetree/bindings/gpio/snps,dw-apb-gpio.yaml+3−4
@@ -63,11 +63,10 @@ patternProperties: · 62 unmodified lines
6363
6464 snps,nr-gpios:
6565 description: The number of GPIO pins exported by the port.
66+ $ref: /schemas/types.yaml#/definitions/uint32
6667 default: 32
67− allOf:
68− - $ref: /schemas/types.yaml#/definitions/uint32
69− - minimum: 1
70− maximum: 32
68+ minimum: 1
69+ maximum: 32
7170
7271 interrupts:
7372 description: |
Documentation/devicetree/bindings/iio/imu/adi,adis16475.yaml+1−2
@@ -67,8 +67,7 @@ properties: · 66 unmodified lines
6767 1 - direct_sync
6868 2 - scaled_sync
6969 3 - pulse_sync
70− allOf:
71− - $ref: /schemas/types.yaml#/definitions/uint32
70+ $ref: /schemas/types.yaml#/definitions/uint32
7271 minimum: 0
7372 maximum: 3
7473
Documentation/devicetree/bindings/iio/light/amstaos,tsl2563.yaml+2−3
@@ -25,9 +25,8 @@ properties: · 24 unmodified lines
2525
2626 amstaos,cover-comp-gain:
2727 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]
3130
3231 required:
3332 - compatible
Documentation/devicetree/bindings/input/iqs269a.yaml+98−124
@@ -40,10 +40,9 @@ properties: · 39 unmodified lines
4040 posed on channels 6 and 7 by Hall-effect sensing.
4141
4242 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
4746 description: |
4847 Specifies the power mode during suspend as follows:
4948 0: Automatic (same as normal runtime, i.e. suspend/resume disabled)
@@ -56,11 +55,10 @@ properties: · 6 unmodified lines
5655 description: Divides the device's core clock by a factor of 4.
5756
5857 azoteq,ulp-update:
59− allOf:
60− - $ref: /schemas/types.yaml#/definitions/uint32
61− - minimum: 0
62− maximum: 7
63− default: 3
58+ $ref: /schemas/types.yaml#/definitions/uint32
59+ minimum: 0
60+ maximum: 7
61+ default: 3
6462 description: Specifies the ultra-low-power mode update rate.
6563
6664 azoteq,reseed-offset:
@@ -70,34 +68,30 @@ properties: · 3 unmodified lines
7068 reseed events.
7169
7270 azoteq,filt-str-lp-lta:
73− allOf:
74− - $ref: /schemas/types.yaml#/definitions/uint32
75− - enum: [0, 1, 2, 3]
76− default: 0
71+ $ref: /schemas/types.yaml#/definitions/uint32
72+ enum: [0, 1, 2, 3]
73+ default: 0
7774 description:
7875 Specifies the long-term average filter strength during low-power mode.
7976
8077 azoteq,filt-str-lp-cnt:
81− allOf:
82− - $ref: /schemas/types.yaml#/definitions/uint32
83− - enum: [0, 1, 2, 3]
84− default: 0
78+ $ref: /schemas/types.yaml#/definitions/uint32
79+ enum: [0, 1, 2, 3]
80+ default: 0
8581 description:
8682 Specifies the raw count filter strength during low-power mode.
8783
8884 azoteq,filt-str-np-lta:
89− allOf:
90− - $ref: /schemas/types.yaml#/definitions/uint32
91− - enum: [0, 1, 2, 3]
92− default: 0
85+ $ref: /schemas/types.yaml#/definitions/uint32
86+ enum: [0, 1, 2, 3]
87+ default: 0
9388 description:
9489 Specifies the long-term average filter strength during normal-power mode.
9590
9691 azoteq,filt-str-np-cnt:
97− allOf:
98− - $ref: /schemas/types.yaml#/definitions/uint32
99− - enum: [0, 1, 2, 3]
100− default: 0
92+ $ref: /schemas/types.yaml#/definitions/uint32
93+ enum: [0, 1, 2, 3]
94+ default: 0
10195 description:
10296 Specifies the raw count filter strength during normal-power mode.
10397
@@ -156,11 +150,10 @@ properties: · 52 unmodified lines
156150 description: Disables all raw count filtering.
157151
158152 azoteq,gpio3-select:
159− allOf:
160− - $ref: /schemas/types.yaml#/definitions/uint32
161− - minimum: 0
162− maximum: 7
163− default: 0
153+ $ref: /schemas/types.yaml#/definitions/uint32
154+ minimum: 0
155+ maximum: 7
156+ default: 0
164157 description:
165158 Selects the channel for which the GPIO3 pin represents touch state.
166159
@@ -172,10 +165,9 @@ properties: · 5 unmodified lines
172165 in either direction.
173166
174167 azoteq,tx-freq:
175− allOf:
176− - $ref: /schemas/types.yaml#/definitions/uint32
177− - enum: [0, 1, 2, 3]
178− default: 0
168+ $ref: /schemas/types.yaml#/definitions/uint32
169+ enum: [0, 1, 2, 3]
170+ default: 0
179171 description: |
180172 Specifies the inductive sensing excitation frequency as follows (paren-
181173 thesized numbers represent the frequency if 'azoteq,clk-div' is present):
@@ -189,10 +181,9 @@ properties: · 7 unmodified lines
189181 description: Increases the global capacitance adder from 0.5 pF to 1.5 pF.
190182
191183 azoteq,reseed-select:
192− allOf:
193− - $ref: /schemas/types.yaml#/definitions/uint32
194− - enum: [0, 1, 2, 3]
195− default: 0
184+ $ref: /schemas/types.yaml#/definitions/uint32
185+ enum: [0, 1, 2, 3]
186+ default: 0
196187 description: |
197188 Specifies the event(s) that prompt the device to reseed (i.e. reset the
198189 long-term average) of an associated channel as follows:
@@ -208,10 +199,9 @@ properties: · 9 unmodified lines
208199 channels.
209200
210201 azoteq,filt-str-slider:
211− allOf:
212− - $ref: /schemas/types.yaml#/definitions/uint32
213− - enum: [0, 1, 2, 3]
214− default: 1
202+ $ref: /schemas/types.yaml#/definitions/uint32
203+ enum: [0, 1, 2, 3]
204+ default: 1
215205 description: Specifies the slider coordinate filter strength.
216206
217207 patternProperties:
@@ -246,27 +236,25 @@ patternProperties: · 28 unmodified lines
246236 description: Specifies that the channel participates in slider 1.
247237
248238 azoteq,rx-enable:
249− allOf:
250− - $ref: /schemas/types.yaml#/definitions/uint32-array
251− - minItems: 1
252− maxItems: 8
253− items:
254− minimum: 0
255− maximum: 7
239+ $ref: /schemas/types.yaml#/definitions/uint32-array
240+ minItems: 1
241+ maxItems: 8
242+ items:
243+ minimum: 0
244+ maximum: 7
256245 description:
257246 Specifies the CRX pin(s) associated with the channel. By default, only
258247 the CRX pin corresponding to the channel's index is enabled (e.g. CRX0
259248 for channel 0).
260249
261250 azoteq,tx-enable:
262− allOf:
263− - $ref: /schemas/types.yaml#/definitions/uint32-array
264− - minItems: 1
265− maxItems: 8
266− items:
267− minimum: 0
268− maximum: 7
269− default: [0, 1, 2, 3, 4, 5, 6, 7]
251+ $ref: /schemas/types.yaml#/definitions/uint32-array
252+ minItems: 1
253+ maxItems: 8
254+ items:
255+ minimum: 0
256+ maximum: 7
257+ default: [0, 1, 2, 3, 4, 5, 6, 7]
270258 description: Specifies the TX pin(s) associated with the channel.
271259
272260 azoteq,meas-cap-decrease:
@@ -279,10 +267,9 @@ patternProperties: · 6 unmodified lines
279267 description: Floats any inactive CRX pins instead of grounding them.
280268
281269 azoteq,local-cap-size:
282− allOf:
283− - $ref: /schemas/types.yaml#/definitions/uint32
284− - enum: [0, 1, 2]
285− default: 0
270+ $ref: /schemas/types.yaml#/definitions/uint32
271+ enum: [0, 1, 2]
272+ default: 0
286273 description: |
287274 Specifies the capacitance to be added to the channel as follows:
288275 0: None
@@ -296,10 +283,9 @@ patternProperties: · 7 unmodified lines
296283 deep-touch events relative to their respective thresholds.
297284
298285 azoteq,proj-bias:
299− allOf:
300− - $ref: /schemas/types.yaml#/definitions/uint32
301− - enum: [0, 1, 2, 3]
302− default: 2
286+ $ref: /schemas/types.yaml#/definitions/uint32
287+ enum: [0, 1, 2, 3]
288+ default: 2
303289 description: |
304290 Specifies the bias current applied during projected-capacitance
305291 sensing as follows:
@@ -309,10 +295,9 @@ patternProperties: · 3 unmodified lines
309295 3: 20 uA
310296
311297 azoteq,sense-mode:
312− allOf:
313− - $ref: /schemas/types.yaml#/definitions/uint32
314− - enum: [0, 1, 9, 14, 15]
315− default: 0
298+ $ref: /schemas/types.yaml#/definitions/uint32
299+ enum: [0, 1, 9, 14, 15]
300+ default: 0
316301 description: |
317302 Specifies the channel's sensing mode as follows:
318303 0: Self capacitance
@@ -322,10 +307,9 @@ patternProperties: · 3 unmodified lines
322307 15: Temperature
323308
324309 azoteq,sense-freq:
325− allOf:
326− - $ref: /schemas/types.yaml#/definitions/uint32
327− - enum: [0, 1, 2, 3]
328− default: 1
310+ $ref: /schemas/types.yaml#/definitions/uint32
311+ enum: [0, 1, 2, 3]
312+ default: 1
329313 description: |
330314 Specifies the channel's sensing frequency as follows (parenthesized
331315 numbers represent the frequency if 'azoteq,clk-div' is present):
@@ -339,10 +323,9 @@ patternProperties: · 7 unmodified lines
339323 description: Enables the static front-end for the channel.
340324
341325 azoteq,ati-mode:
342− allOf:
343− - $ref: /schemas/types.yaml#/definitions/uint32
344− - enum: [0, 1, 2, 3]
345− default: 3
326+ $ref: /schemas/types.yaml#/definitions/uint32
327+ enum: [0, 1, 2, 3]
328+ default: 3
346329 description: |
347330 Specifies the channel's ATI mode as follows:
348331 0: Disabled
@@ -351,39 +334,35 @@ patternProperties: · 2 unmodified lines
351334 3: Full
352335
353336 azoteq,ati-base:
354− allOf:
355− - $ref: /schemas/types.yaml#/definitions/uint32
356− - enum: [75, 100, 150, 200]
357− default: 100
337+ $ref: /schemas/types.yaml#/definitions/uint32
338+ enum: [75, 100, 150, 200]
339+ default: 100
358340 description: Specifies the channel's ATI base.
359341
360342 azoteq,ati-target:
361− allOf:
362− - $ref: /schemas/types.yaml#/definitions/uint32
363− - multipleOf: 32
364− minimum: 0
365− maximum: 2016
366− default: 512
343+ $ref: /schemas/types.yaml#/definitions/uint32
344+ multipleOf: 32
345+ minimum: 0
346+ maximum: 2016
347+ default: 512
367348 description: Specifies the channel's ATI target.
368349
369350 azoteq,assoc-select:
370− allOf:
371− - $ref: /schemas/types.yaml#/definitions/uint32-array
372− - minItems: 1
373− maxItems: 8
374− items:
375− minimum: 0
376− maximum: 7
351+ $ref: /schemas/types.yaml#/definitions/uint32-array
352+ minItems: 1
353+ maxItems: 8
354+ items:
355+ minimum: 0
356+ maximum: 7
377357 description:
378358 Specifies the associated channels for which the channel serves as a
379359 reference channel. By default, no channels are selected.
380360
381361 azoteq,assoc-weight:
382− allOf:
383− - $ref: /schemas/types.yaml#/definitions/uint32
384− - minimum: 0
385− maximum: 255
386− default: 0
362+ $ref: /schemas/types.yaml#/definitions/uint32
363+ minimum: 0
364+ maximum: 255
365+ default: 0
387366 description:
388367 Specifies the channel's impact weight if it acts as an associated
389368 channel (0 = 0% impact, 255 = 200% impact).
@@ -411,11 +390,10 @@ patternProperties: · 21 unmodified lines
411390
412391 properties:
413392 azoteq,thresh:
414− allOf:
415− - $ref: /schemas/types.yaml#/definitions/uint32
416− - minimum: 0
417− maximum: 255
418− default: 10
393+ $ref: /schemas/types.yaml#/definitions/uint32
394+ minimum: 0
395+ maximum: 255
396+ default: 10
419397 description: Specifies the threshold for the event.
420398
421399 linux,code:
@@ -430,19 +408,17 @@ patternProperties: · 8 unmodified lines
430408
431409 properties:
432410 azoteq,thresh:
433− allOf:
434− - $ref: /schemas/types.yaml#/definitions/uint32
435− - minimum: 0
436− maximum: 255
437− default: 8
411+ $ref: /schemas/types.yaml#/definitions/uint32
412+ minimum: 0
413+ maximum: 255
414+ default: 8
438415 description: Specifies the threshold for the event.
439416
440417 azoteq,hyst:
441− allOf:
442− - $ref: /schemas/types.yaml#/definitions/uint32
443− - minimum: 0
444− maximum: 15
445− default: 4
418+ $ref: /schemas/types.yaml#/definitions/uint32
419+ minimum: 0
420+ maximum: 15
421+ default: 4
446422 description: Specifies the hysteresis for the event.
447423
448424 linux,code:
@@ -457,19 +433,17 @@ patternProperties: · 8 unmodified lines
457433
458434 properties:
459435 azoteq,thresh:
460− allOf:
461− - $ref: /schemas/types.yaml#/definitions/uint32
462− - minimum: 0
463− maximum: 255
464− default: 26
436+ $ref: /schemas/types.yaml#/definitions/uint32
437+ minimum: 0
438+ maximum: 255
439+ default: 26
465440 description: Specifies the threshold for the event.
466441
467442 azoteq,hyst:
468− allOf:
469− - $ref: /schemas/types.yaml#/definitions/uint32
470− - minimum: 0
471− maximum: 15
472− default: 0
443+ $ref: /schemas/types.yaml#/definitions/uint32
444+ minimum: 0
445+ maximum: 15
446+ default: 0
473447 description: Specifies the hysteresis for the event.
474448
475449 linux,code:
Documentation/devicetree/bindings/interrupt-controller/loongson,pch-msi.yaml+6−8
@@ -25,19 +25,17 @@ properties: · 24 unmodified lines
2525 description:
2626 u32 value of the base of parent HyperTransport vector allocated
2727 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
3231
3332 loongson,msi-num-vecs:
3433 description:
3534 u32 value of the number of parent HyperTransport vectors allocated
3635 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
4139
4240 msi-controller: true
4341
Documentation/devicetree/bindings/interrupt-controller/loongson,pch-pic.yaml+3−4
@@ -25,10 +25,9 @@ properties: · 24 unmodified lines
2525 description:
2626 u32 value of the base of parent HyperTransport vector allocated
2727 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
3231
3332 interrupt-controller: true
3433
Documentation/devicetree/bindings/ipmi/ipmi-smic.yaml+4−6
@@ -31,9 +31,8 @@ properties: · 30 unmodified lines
3131
3232 reg-size:
3333 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]
3736
3837 reg-spacing:
3938 $ref: /schemas/types.yaml#/definitions/uint32
@@ -43,9 +42,8 @@ properties: · 3 unmodified lines
4342 description: |
4443 The amount of bits to shift the register content to the right to get
4544 the data into bit zero.
46− allOf:
47− - $ref: /schemas/types.yaml#/definitions/uint32
48− - maximum: 56
45+ $ref: /schemas/types.yaml#/definitions/uint32
46+ maximum: 56
4947
5048 required:
5149 - compatible
Documentation/devicetree/bindings/leds/backlight/qcom-wled.yaml+17−26
@@ -57,8 +57,7 @@ properties: · 56 unmodified lines
5757 description: |
5858 mA; per-string current limit.
5959 This property is supported only for WLED3.
60− allOf:
61− - $ref: /schemas/types.yaml#/definitions/uint32
60+ $ref: /schemas/types.yaml#/definitions/uint32
6261 default: 20
6362 minimum: 0
6463 maximum: 25
@@ -74,38 +73,33 @@ properties: · 9 unmodified lines
7473 qcom,current-boost-limit:
7574 description: |
7675 mA; boost current limit.
77− allOf:
78− - $ref: /schemas/types.yaml#/definitions/uint32
76+ $ref: /schemas/types.yaml#/definitions/uint32
7977
8078 qcom,switching-freq:
8179 description: |
8280 kHz; switching frequency.
83− allOf:
84− - $ref: /schemas/types.yaml#/definitions/uint32
85− - enum: [ 600, 640, 685, 738, 800, 872, 960, 1066, 1200, 1371, 1600, 1920, 2400, 3200, 4800, 9600 ]
81+ $ref: /schemas/types.yaml#/definitions/uint32
82+ enum: [ 600, 640, 685, 738, 800, 872, 960, 1066, 1200, 1371, 1600, 1920, 2400, 3200, 4800, 9600 ]
8683
8784 qcom,ovp:
8885 description: |
8986 V; Over-voltage protection limit.
9087 This property is supported only for WLED3.
91− allOf:
92− - $ref: /schemas/types.yaml#/definitions/uint32
93− - enum: [ 27, 29, 32, 35 ]
94− - default: 29
88+ $ref: /schemas/types.yaml#/definitions/uint32
89+ enum: [ 27, 29, 32, 35 ]
90+ default: 29
9591
9692 qcom,ovp-millivolt:
9793 description: |
9894 Over-voltage protection limit. This property is for WLED4 only.
99− allOf:
100− - $ref: /schemas/types.yaml#/definitions/uint32
101− - enum: [ 18100, 19600, 29600, 31100 ]
102− - default: 29600
95+ $ref: /schemas/types.yaml#/definitions/uint32
96+ enum: [ 18100, 19600, 29600, 31100 ]
97+ default: 29600
10398
10499 qcom,num-strings:
105100 description: |
106101 number of led strings attached.
107− allOf:
108− - $ref: /schemas/types.yaml#/definitions/uint32
102+ $ref: /schemas/types.yaml#/definitions/uint32
109103
110104 qcom,enabled-strings:
111105 description: |
@@ -113,8 +107,7 @@ properties: · 1 unmodified line
113107 string of leds are operated individually. Specify the
114108 list of strings used by the device. Any combination of
115109 led strings can be used.
116− allOf:
117− - $ref: /schemas/types.yaml#/definitions/uint32-array
110+ $ref: /schemas/types.yaml#/definitions/uint32-array
118111 minItems: 1
119112 maxItems: 4
120113
@@ -150,10 +143,9 @@ properties: · 29 unmodified lines
150143 0 - Modulator A
151144 1 - Modulator B
152145 This property is applicable only to WLED5 peripheral.
153− allOf:
154− - $ref: /schemas/types.yaml#/definitions/uint32
155− - enum: [ 0, 1 ]
156− - default: 0
146+ $ref: /schemas/types.yaml#/definitions/uint32
147+ enum: [ 0, 1 ]
148+ default: 0
157149
158150 qcom,cabc-sel:
159151 description: |
@@ -164,9 +156,8 @@ properties: · 4 unmodified lines
164156 2 - CABC 2
165157 3 - External signal (e.g. LPG) is used for dimming
166158 This property is applicable only to WLED5 peripheral.
167− allOf:
168− - $ref: /schemas/types.yaml#/definitions/uint32
169− - enum: [ 0, 1, 2, 3 ]
159+ $ref: /schemas/types.yaml#/definitions/uint32
160+ enum: [ 0, 1, 2, 3 ]
170161
171162 allOf:
172163 - if:
Documentation/devicetree/bindings/leds/leds-aw2013.yaml+1−2
@@ -32,8 +32,7 @@ properties: · 31 unmodified lines
3232 patternProperties:
3333 "^led@[0-2]$":
3434 type: object
35− allOf:
36− - $ref: common.yaml#
35+ $ref: common.yaml#
3736
3837 properties:
3938 reg:
Documentation/devicetree/bindings/leds/leds-sgm3140.yaml+1−2
@@ -33,8 +33,7 @@ properties: · 32 unmodified lines
3333
3434 led:
3535 type: object
36− allOf:
37− - $ref: common.yaml#
36+ $ref: common.yaml#
3837
3938 required:
4039 - compatible
Documentation/devicetree/bindings/mailbox/sprd-mailbox.yaml+1−1
@@ -51,7 +51,7 @@ examples: · 50 unmodified lines
5151 #include <dt-bindings/interrupt-controller/arm-gic.h>
5252 mailbox: mailbox@400a0000 {
5353 compatible = "sprd,sc9860-mailbox";
54− reg = <0 0x400a0000 0 0x8000>, <0 0x400a8000 0 0x8000>;
54+ reg = <0x400a0000 0x8000>, <0x400a8000 0x8000>;
5555 #mbox-cells = <1>;
5656 clock-names = "enable";
5757 clocks = <&aon_gate 53>;
Documentation/devicetree/bindings/media/i2c/ov8856.yaml+1−2
@@ -79,8 +79,7 @@ properties: · 78 unmodified lines
7979 - const: 4
8080
8181 link-frequencies:
82− allOf:
83− - $ref: /schemas/types.yaml#/definitions/uint64-array
82+ $ref: /schemas/types.yaml#/definitions/uint64-array
8483 description:
8584 Allowed data bus frequencies. 360000000, 180000000 Hz or both
8685 are supported by the driver.
Documentation/devicetree/bindings/media/rockchip,vdec.yaml+1−1
@@ -61,7 +61,7 @@ examples: · 60 unmodified lines
6161
6262 vdec: video-codec@ff660000 {
6363 compatible = "rockchip,rk3399-vdec";
64− reg = <0x0 0xff660000 0x0 0x400>;
64+ reg = <0xff660000 0x400>;
6565 interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH 0>;
6666 clocks = <&cru ACLK_VDU>, <&cru HCLK_VDU>,
6767 <&cru SCLK_VDU_CA>, <&cru SCLK_VDU_CORE>;
Documentation/devicetree/bindings/media/rockchip-vpu.yaml+1−1
@@ -66,7 +66,7 @@ examples: · 65 unmodified lines
6666
6767 vpu: video-codec@ff9a0000 {
6868 compatible = "rockchip,rk3288-vpu";
69− reg = <0x0 0xff9a0000 0x0 0x800>;
69+ reg = <0xff9a0000 0x800>;
7070 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
7171 <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
7272 interrupt-names = "vepu", "vdpu";
Documentation/devicetree/bindings/memory-controllers/ingenic,nemc.yaml+2−3
@@ -45,9 +45,8 @@ patternProperties: · 44 unmodified lines
4545 maxItems: 255
4646
4747 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]
5150 description: Specifies the bus width in bits.
5251
5352 ingenic,nemc-tAS:
Documentation/devicetree/bindings/mtd/arasan,nand-controller.yaml+1−1
@@ -53,7 +53,7 @@ examples: · 52 unmodified lines
5353 - |
5454 nfc: nand-controller@ff100000 {
5555 compatible = "xlnx,zynqmp-nand-controller", "arasan,nfc-v3p10";
56− reg = <0x0 0xff100000 0x0 0x1000>;
56+ reg = <0xff100000 0x1000>;
5757 clock-names = "controller", "bus";
5858 clocks = <&clk200>, <&clk100>;
5959 interrupt-parent = <&gic>;
Documentation/devicetree/bindings/net/ti,k3-am654-cpsw-nuss.yaml+1−2
@@ -145,8 +145,7 @@ patternProperties: · 144 unmodified lines
145145
146146 "^cpts@[0-9a-f]+":
147147 type: object
148− allOf:
149− - $ref: "ti,k3-am654-cpts.yaml#"
148+ $ref: "ti,k3-am654-cpts.yaml#"
150149 description:
151150 CPSW Common Platform Time Sync (CPTS) module.
152151
Documentation/devicetree/bindings/net/ti,k3-am654-cpts.yaml+3−5
@@ -74,15 +74,13 @@ properties: · 73 unmodified lines
7474 - const: cpts
7575
7676 ti,cpts-ext-ts-inputs:
77− allOf:
78− - $ref: /schemas/types.yaml#/definitions/uint32
77+ $ref: /schemas/types.yaml#/definitions/uint32
7978 maximum: 8
8079 description:
8180 Number of hardware timestamp push inputs (HWx_TS_PUSH)
8281
8382 ti,cpts-periodic-outputs:
84− allOf:
85− - $ref: /schemas/types.yaml#/definitions/uint32
83+ $ref: /schemas/types.yaml#/definitions/uint32
8684 maximum: 8
8785 description:
8886 Number of timestamp Generator function outputs (TS_GENFx)
@@ -123,7 +121,7 @@ examples: · 34 unmodified lines
123121
124122 cpts@310d0000 {
125123 compatible = "ti,am65-cpts";
126− reg = <0x0 0x310d0000 0x0 0x400>;
124+ reg = <0x310d0000 0x400>;
127125 reg-names = "cpts";
128126 clocks = <&main_cpts_mux>;
129127 clock-names = "cpts";
Documentation/devicetree/bindings/pci/cdns-pcie-ep.yaml+1−2
@@ -15,8 +15,7 @@ allOf: · 14 unmodified lines
1515 properties:
1616 cdns,max-outbound-regions:
1717 description: maximum number of outbound regions
18− allOf:
19− - $ref: /schemas/types.yaml#/definitions/uint32
18+ $ref: /schemas/types.yaml#/definitions/uint32
2019 minimum: 1
2120 maximum: 32
2221 default: 32
Documentation/devicetree/bindings/pci/cdns-pcie-host.yaml+1−2
@@ -16,8 +16,7 @@ allOf: · 15 unmodified lines
1616 properties:
1717 cdns,max-outbound-regions:
1818 description: maximum number of outbound regions
19− allOf:
20− - $ref: /schemas/types.yaml#/definitions/uint32
19+ $ref: /schemas/types.yaml#/definitions/uint32
2120 minimum: 1
2221 maximum: 32
2322 default: 32
Documentation/devicetree/bindings/phy/calxeda-combophy.yaml+2−3
@@ -29,9 +29,8 @@ properties: · 28 unmodified lines
2929
3030 phydev:
3131 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
3534
3635 required:
3736 - compatible
Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml+12−8
@@ -44,6 +44,8 @@ properties: · 43 unmodified lines
4444 "#size-cells":
4545 enum: [ 1, 2 ]
4646
47+ ranges: true
48+
4749 clocks:
4850 minItems: 1
4951 maxItems: 4
@@ -87,6 +89,7 @@ required: · 37 unmodified lines
8789 - "#clock-cells"
8890 - "#address-cells"
8991 - "#size-cells"
92+ - ranges
9093 - clocks
9194 - clock-names
9295 - resets
@@ -281,10 +284,11 @@ examples: · 188 unmodified lines
281284 #include <dt-bindings/clock/qcom,gcc-sdm845.h>
282285 usb_2_qmpphy: phy-wrapper@88eb000 {
283286 compatible = "qcom,sdm845-qmp-usb3-uni-phy";
284− reg = <0 0x088eb000 0 0x18c>;
287+ reg = <0x088eb000 0x18c>;
285288 #clock-cells = <1>;
286− #address-cells = <2>;
287− #size-cells = <2>;
289+ #address-cells = <1>;
290+ #size-cells = <1>;
291+ ranges = <0x0 0x088eb000 0x2000>;
288292
289293 clocks = <&gcc GCC_USB3_SEC_PHY_AUX_CLK >,
290294 <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
@@ -299,11 +303,11 @@ examples: · 8 unmodified lines
299303 vdda-phy-supply = <&vdda_usb2_ss_1p2>;
300304 vdda-pll-supply = <&vdda_usb2_ss_core>;
301305
302− usb_2_ssphy: phy@88eb200 {
303− reg = <0 0x088eb200 0 0x128>,
304− <0 0x088eb400 0 0x1fc>,
305− <0 0x088eb800 0 0x218>,
306− <0 0x088eb600 0 0x70>;
306+ usb_2_ssphy: phy@200 {
307+ reg = <0x200 0x128>,
308+ <0x400 0x1fc>,
309+ <0x800 0x218>,
310+ <0x600 0x70>;
307311 #clock-cells = <0>;
308312 #phy-cells = <0>;
309313 clocks = <&gcc GCC_USB3_SEC_PHY_PIPE_CLK>;
Documentation/devicetree/bindings/phy/qcom,qmp-usb3-dp-phy.yaml+21−17
@@ -34,6 +34,8 @@ properties: · 33 unmodified lines
3434 "#size-cells":
3535 enum: [ 1, 2 ]
3636
37+ ranges: true
38+
3739 clocks:
3840 items:
3941 - description: Phy aux clock.
@@ -86,6 +88,7 @@ required: · 46 unmodified lines
8688 - "#clock-cells"
8789 - "#address-cells"
8890 - "#size-cells"
91+ - ranges
8992 - clocks
9093 - clock-names
9194 - resets
@@ -100,12 +103,13 @@ examples: · 8 unmodified lines
100103 #include <dt-bindings/clock/qcom,gcc-sdm845.h>
101104 usb_1_qmpphy: phy-wrapper@88e9000 {
102105 compatible = "qcom,sdm845-qmp-usb3-phy";
103− reg = <0 0x088e9000 0 0x18c>,
104− <0 0x088e8000 0 0x10>;
106+ reg = <0x088e9000 0x18c>,
107+ <0x088e8000 0x10>;
105108 reg-names = "reg-base", "dp_com";
106109 #clock-cells = <1>;
107− #address-cells = <2>;
108− #size-cells = <2>;
110+ #address-cells = <1>;
111+ #size-cells = <1>;
112+ ranges = <0x0 0x088e9000 0x1000>;
109113
110114 clocks = <&gcc GCC_USB3_PRIM_PHY_AUX_CLK>,
111115 <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
@@ -120,17 +124,17 @@ examples: · 8 unmodified lines
120124 vdda-phy-supply = <&vdda_usb2_ss_1p2>;
121125 vdda-pll-supply = <&vdda_usb2_ss_core>;
122126
123− usb_1_ssphy: phy@88e9200 {
124− reg = <0 0x088e9200 0 0x128>,
125− <0 0x088e9400 0 0x200>,
126− <0 0x088e9c00 0 0x218>,
127− <0 0x088e9600 0 0x128>,
128− <0 0x088e9800 0 0x200>,
129− <0 0x088e9a00 0 0x100>;
130− #clock-cells = <0>;
131− #phy-cells = <0>;
132− clocks = <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>;
133− clock-names = "pipe0";
134− clock-output-names = "usb3_phy_pipe_clk_src";
135− };
127+ phy@200 {
128+ reg = <0x200 0x128>,
129+ <0x400 0x200>,
130+ <0xc00 0x218>,
131+ <0x600 0x128>,
132+ <0x800 0x200>,
133+ <0xa00 0x100>;
134+ #clock-cells = <0>;
135+ #phy-cells = <0>;
136+ clocks = <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>;
137+ clock-names = "pipe0";
138+ clock-output-names = "usb3_phy_pipe_clk_src";
136139 };
140+ };
Documentation/devicetree/bindings/phy/qcom,usb-snps-femto-v2.yaml+1−1
@@ -65,7 +65,7 @@ examples: · 64 unmodified lines
6565 #include <dt-bindings/clock/qcom,gcc-sm8150.h>
6666 phy@88e2000 {
6767 compatible = "qcom,sm8150-usb-hs-phy";
68− reg = <0 0x088e2000 0 0x400>;
68+ reg = <0x088e2000 0x400>;
6969 #phy-cells = <0>;
7070
7171 clocks = <&rpmhcc RPMH_CXO_CLK>;
Documentation/devicetree/bindings/phy/renesas,usb3-phy.yaml+2−3
@@ -52,9 +52,8 @@ properties: · 51 unmodified lines
5252 description: |
5353 Enable/disable spread spectrum clock (ssc). 0 or the property doesn't
5454 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 ]
5857
5958 required:
6059 - compatible
Documentation/devicetree/bindings/power/supply/cw2015_battery.yaml+6−9
@@ -27,11 +27,9 @@ properties: · 26 unmodified lines
2727 of this binary blob is kept secret by CellWise. The only way to obtain
2828 it is to mail two batteries to a test facility of CellWise and receive
2929 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
3533
3634 cellwise,monitor-interval-ms:
3735 description:
@@ -41,10 +39,9 @@ properties: · 3 unmodified lines
4139 power-supplies:
4240 description:
4341 Specifies supplies used for charging the battery connected to this gauge
44− allOf:
45− - $ref: /schemas/types.yaml#/definitions/phandle-array
46− - minItems: 1
47− maxItems: 8 # Should be enough
42+ $ref: /schemas/types.yaml#/definitions/phandle-array
43+ minItems: 1
44+ maxItems: 8 # Should be enough
4845
4946 monitored-battery:
5047 description:
Documentation/devicetree/bindings/power/supply/sbs,sbs-battery.yaml+2−4
@@ -32,16 +32,14 @@ properties: · 31 unmodified lines
3232 description:
3333 The number of times to retry I2C transactions on I2C IO failure.
3434 default: 0
35− allOf:
36− - $ref: /schemas/types.yaml#/definitions/uint32
35+ $ref: /schemas/types.yaml#/definitions/uint32
3736
3837 sbs,poll-retry-count:
3938 description:
4039 The number of times to try looking for new status after an external
4140 change notification.
4241 default: 0
43− allOf:
44− - $ref: /schemas/types.yaml#/definitions/uint32
42+ $ref: /schemas/types.yaml#/definitions/uint32
4543
4644 sbs,battery-detect-gpios:
4745 description:
Documentation/devicetree/bindings/pwm/imx-pwm.yaml+0−2
@@ -30,13 +30,11 @@ properties: · 29 unmodified lines
3030 items:
3131 - description: SoC PWM ipg clock
3232 - description: SoC PWM per clock
33− maxItems: 2
3433
3534 clock-names:
3635 items:
3736 - const: ipg
3837 - const: per
39− maxItems: 2
4038
4139 interrupts:
4240 maxItems: 1
Documentation/devicetree/bindings/regulator/maxim,max77826.yaml+3−6
@@ -21,8 +21,7 @@ properties: · 20 unmodified lines
2121
2222 regulators:
2323 type: object
24− allOf:
25− - $ref: regulator.yaml#
24+ $ref: regulator.yaml#
2625 description: |
2726 list of regulators provided by this controller, must be named
2827 after their hardware counterparts LDO[1-15], BUCK and BUCKBOOST
@@ -30,13 +29,11 @@ properties: · 1 unmodified line
3029 patternProperties:
3130 "^LDO([1-9]|1[0-5])$":
3231 type: object
33− allOf:
34− - $ref: regulator.yaml#
32+ $ref: regulator.yaml#
3533
3634 "^BUCK|BUCKBOOST$":
3735 type: object
38− allOf:
39− - $ref: regulator.yaml#
36+ $ref: regulator.yaml#
4037
4138 additionalProperties: false
4239
Documentation/devicetree/bindings/regulator/rohm,bd71847-regulator.yaml+11−16
@@ -29,8 +29,7 @@ description: | · 28 unmodified lines
2929 patternProperties:
3030 "^LDO[1-6]$":
3131 type: object
32− allOf:
33− - $ref: regulator.yaml#
32+ $ref: regulator.yaml#
3433 description:
3534 Properties for single LDO regulator.
3635
@@ -44,8 +43,7 @@ patternProperties: · 7 unmodified lines
4443
4544 "^BUCK[1-6]$":
4645 type: object
47− allOf:
48− - $ref: regulator.yaml#
46+ $ref: regulator.yaml#
4947 description:
5048 Properties for single BUCK regulator.
5149
@@ -56,28 +54,25 @@ patternProperties: · 4 unmodified lines
5654 should be "buck1", ..., "buck6"
5755
5856 rohm,dvs-run-voltage:
59− allOf:
60− - $ref: "/schemas/types.yaml#/definitions/uint32"
61− - minimum: 0
62− maximum: 1300000
57+ $ref: "/schemas/types.yaml#/definitions/uint32"
58+ minimum: 0
59+ maximum: 1300000
6360 description:
6461 PMIC default "RUN" state voltage in uV. See below table for
6562 bucks which support this. 0 means disabled.
6663
6764 rohm,dvs-idle-voltage:
68− allOf:
69− - $ref: "/schemas/types.yaml#/definitions/uint32"
70− - minimum: 0
71− maximum: 1300000
65+ $ref: "/schemas/types.yaml#/definitions/uint32"
66+ minimum: 0
67+ maximum: 1300000
7268 description:
7369 PMIC default "IDLE" state voltage in uV. See below table for
7470 bucks which support this. 0 means disabled.
7571
7672 rohm,dvs-suspend-voltage:
77− allOf:
78− - $ref: "/schemas/types.yaml#/definitions/uint32"
79− - minimum: 0
80− maximum: 1300000
73+ $ref: "/schemas/types.yaml#/definitions/uint32"
74+ minimum: 0
75+ maximum: 1300000
8176 description:
8277 PMIC default "SUSPEND" state voltage in uV. See below table for
8378 bucks which support this. 0 means disabled.
Documentation/devicetree/bindings/rng/arm-cctrng.yaml+2−4
@@ -28,10 +28,8 @@ properties: · 27 unmodified lines
2828 description:
2929 Arm TrustZone CryptoCell TRNG engine has 4 ring oscillators.
3030 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
3533
3634 clocks:
3735 maxItems: 1
Documentation/devicetree/bindings/serial/samsung_uart.yaml+2−3
@@ -33,9 +33,8 @@ properties: · 32 unmodified lines
3333 description: |
3434 The size (in bytes) of the IO accesses that should be performed
3535 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 ]
3938
4039 clocks:
4140 minItems: 2
Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml+3−6
@@ -100,8 +100,7 @@ patternProperties: · 99 unmodified lines
100100 supports up to 50MHz, up to four chip selects, programmable
101101 data path from 4 bits to 32 bits and numerous protocol
102102 variants.
103− allOf:
104− - $ref: /spi/spi-controller.yaml#
103+ $ref: /spi/spi-controller.yaml#
105104
106105 properties:
107106 compatible:
@@ -126,8 +125,7 @@ patternProperties: · 18 unmodified lines
126125 "i2c@[0-9a-f]+$":
127126 type: object
128127 description: GENI serial engine based I2C controller.
129− allOf:
130− - $ref: /schemas/i2c/i2c-controller.yaml#
128+ $ref: /schemas/i2c/i2c-controller.yaml#
131129
132130 properties:
133131 compatible:
@@ -156,8 +154,7 @@ patternProperties: · 22 unmodified lines
156154 "serial@[0-9a-f]+$":
157155 type: object
158156 description: GENI Serial Engine based UART Controller.
159− allOf:
160− - $ref: /schemas/serial.yaml#
157+ $ref: /schemas/serial.yaml#
161158
162159 properties:
163160 compatible:
Documentation/devicetree/bindings/sound/fsl,easrc.yaml+9−12
@@ -45,23 +45,20 @@ properties: · 44 unmodified lines
4545 - const: ctx3_tx
4646
4747 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
5150 description: The coefficient table for the filters
5251
5352 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
5856 description: Defines a mutual sample rate used by DPCM Back Ends
5957
6058 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
6562 description:
6663 Defines a mutual sample format used by DPCM Back Ends
6764
@@ -83,7 +80,7 @@ examples: · 15 unmodified lines
8380
8481 easrc: easrc@300c0000 {
8582 compatible = "fsl,imx8mn-easrc";
86− reg = <0x0 0x300c0000 0x0 0x10000>;
83+ reg = <0x300c0000 0x10000>;
8784 interrupts = <0x0 122 0x4>;
8885 clocks = <&clk IMX8MN_CLK_ASRC_ROOT>;
8986 clock-names = "mem";
Documentation/devicetree/bindings/sound/simple-card.yaml+4−6
@@ -13,15 +13,13 @@ definitions: · 12 unmodified lines
1313
1414 frame-master:
1515 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
1918
2019 bitclock-master:
2120 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
2523
2624 frame-inversion:
2725 description: dai-link uses frame clock inversion
Documentation/devicetree/bindings/sound/tlv320adcx140.yaml+12−14
@@ -76,13 +76,12 @@ properties: · 75 unmodified lines
7676 PDMIN3 - PDMCLK latching edge used for channel 5 and 6 data
7777 PDMIN4 - PDMCLK latching edge used for channel 7 and 8 data
7878
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]
8685
8786 ti,gpi-config:
8887 description: |
@@ -102,13 +101,12 @@ properties: · 13 unmodified lines
102101 7 - GPIX is configured as a PDM data input for channel 7 and channel
103102 (PDMDIN4)
104103
105− allOf:
106− - $ref: /schemas/types.yaml#/definitions/uint32-array
107− - minItems: 1
108− maxItems: 4
109− items:
110− maximum: 7
111− default: [0, 0, 0, 0]
104+ $ref: /schemas/types.yaml#/definitions/uint32-array
105+ minItems: 1
106+ maxItems: 4
107+ items:
108+ maximum: 7
109+ default: [0, 0, 0, 0]
112110
113111 required:
114112 - compatible
Documentation/devicetree/bindings/thermal/socionext,uniphier-thermal.yaml+2−3
@@ -28,9 +28,8 @@ properties: · 27 unmodified lines
2828 const: 0
2929
3030 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
3433 description:
3534 A pair of calibrated values referred from PVT, in case that the values
3635 aren't set on SoC, like a reference board.
Documentation/devicetree/bindings/usb/aspeed,usb-vhub.yaml+9−15
@@ -52,21 +52,18 @@ properties: · 51 unmodified lines
5252
5353 vhub-vendor-id:
5454 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
5857
5958 vhub-product-id:
6059 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
6462
6563 vhub-device-revision:
6664 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
7067
7168 vhub-strings:
7269 type: object
@@ -90,18 +87,15 @@ properties: · 17 unmodified lines
9087
9188 manufacturer:
9289 description: vhub manufacturer
93− allOf:
94− - $ref: /schemas/types.yaml#/definitions/string
90+ $ref: /schemas/types.yaml#/definitions/string
9591
9692 product:
9793 description: vhub product name
98− allOf:
99− - $ref: /schemas/types.yaml#/definitions/string
94+ $ref: /schemas/types.yaml#/definitions/string
10095
10196 serial-number:
10297 description: vhub device serial number
103− allOf:
104− - $ref: /schemas/types.yaml#/definitions/string
98+ $ref: /schemas/types.yaml#/definitions/string
10599
106100 required:
107101 - compatible
Documentation/devicetree/bindings/usb/nvidia,tegra-xudc.yaml+0−2
@@ -64,13 +64,11 @@ properties: · 63 unmodified lines
6464 - const: hs_src
6565
6666 power-domains:
67− maxItems: 2
6867 items:
6968 - description: XUSBB(device) power-domain
7069 - description: XUSBA(superspeed) power-domain
7170
7271 power-domain-names:
73− maxItems: 2
7472 items:
7573 - const: dev
7674 - const: ss
Documentation/devicetree/bindings/watchdog/arm-smc-wdt.yaml+1−2
@@ -17,8 +17,7 @@ properties: · 16 unmodified lines
1717 enum:
1818 - arm,smc-wdt
1919 arm,smc-id:
20− allOf:
21− - $ref: /schemas/types.yaml#/definitions/uint32
20+ $ref: /schemas/types.yaml#/definitions/uint32
2221 description: |
2322 The ATF smc function id used by the firmware.
2423 Defaults to 0x82003D06 if unset.
scripts/dtc/Makefile+3−0
@@ -20,6 +20,9 @@ endif · 19 unmodified lines
2020 HOST_EXTRACFLAGS += -DNO_YAML
2121 else
2222 dtc-objs += yamltree.o
23+# To include <yaml.h> installed in a non-default path
24+HOSTCFLAGS_yamltree.o := $(shell pkg-config --cflags yaml-0.1)
25+# To link libyaml installed in a non-default path
2326 HOSTLDLIBS_dtc := $(shell pkg-config yaml-0.1 --libs)
2427 endif
2528