Skip to content

Commit a01fe7e

Browse files
committed
Merge tag 'devicetree-fixes-for-5.19-1' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux
Pull devicetree fixes from Rob Herring: - Fixes for unevaluatedProperties warnings. These were missed to due to a bug in dtschema which is now fixed. The changes involve either adding missing properties or removing spurious properties from examples. - Update several Qualcomm binding maintainer email addresses - Fix typo in imx8mp-media-blk-ctrl example - Fix fixed string pattern in qcom,smd - Correct the order of 'reg' entries in Xilinx PCI binding * tag 'devicetree-fixes-for-5.19-1' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux: dt-bindings: mtd: spi-nand: Add spi-peripheral-props.yaml reference dt-bindings: memory-controllers: ingenic: Split out child node properties dt-bindings: net/dsa: Add spi-peripheral-props.yaml references dt-bindings: PCI: apple: Add missing 'power-domains' property dt-bindings: Update Sibi Sankar's email address dt-bindings: clock: Update my email address dt-bindings: PCI: xilinx-cpm: Fix reg property order dt-bindings: net: Fix unevaluatedProperties warnings in examples dt-bindings: PCI: socionext,uniphier-pcie: Add missing child interrupt controller dt-bindings: usb: snps,dwc3: Add missing 'dma-coherent' property dt-bindings: soc: imx8mp-media-blk-ctrl: Fix DT example dt-bindings: soc: qcom,smd: do not use pattern for simple rpm-requests string
2 parents 9af1308 + 987cf30 commit a01fe7e

22 files changed

+162
-99
lines changed

Documentation/devicetree/bindings/clock/qcom,mmcc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
77
title: Qualcomm Multimedia Clock & Reset Controller Binding
88

99
maintainers:
10-
- Jeffrey Hugo <[email protected]>
10+
- Jeffrey Hugo <[email protected]>
1111
- Taniya Das <[email protected]>
1212

1313
description: |

Documentation/devicetree/bindings/interconnect/qcom,osm-l3.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
77
title: Qualcomm Operating State Manager (OSM) L3 Interconnect Provider
88

99
maintainers:
10-
- Sibi Sankar <[email protected]>
10+
- Sibi Sankar <[email protected]>
1111

1212
description:
1313
L3 cache bandwidth requirements on Qualcomm SoCs is serviced by the OSM.
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/memory-controllers/ingenic,nemc-peripherals.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Ingenic SoCs NAND / External Memory Controller (NEMC) devicetree bindings
8+
9+
maintainers:
10+
- Paul Cercueil <[email protected]>
11+
12+
properties:
13+
reg:
14+
minItems: 1
15+
maxItems: 255
16+
17+
ingenic,nemc-bus-width:
18+
$ref: /schemas/types.yaml#/definitions/uint32
19+
enum: [8, 16]
20+
description: Specifies the bus width in bits.
21+
22+
ingenic,nemc-tAS:
23+
$ref: /schemas/types.yaml#/definitions/uint32
24+
description: Address setup time in nanoseconds.
25+
26+
ingenic,nemc-tAH:
27+
$ref: /schemas/types.yaml#/definitions/uint32
28+
description: Address hold time in nanoseconds.
29+
30+
ingenic,nemc-tBP:
31+
$ref: /schemas/types.yaml#/definitions/uint32
32+
description: Burst pitch time in nanoseconds.
33+
34+
ingenic,nemc-tAW:
35+
$ref: /schemas/types.yaml#/definitions/uint32
36+
description: Address wait time in nanoseconds.
37+
38+
ingenic,nemc-tSTRV:
39+
$ref: /schemas/types.yaml#/definitions/uint32
40+
description: Static memory recovery time in nanoseconds.
41+
42+
required:
43+
- reg
44+
45+
additionalProperties: true
46+
...

Documentation/devicetree/bindings/memory-controllers/ingenic,nemc.yaml

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -39,38 +39,6 @@ properties:
3939
patternProperties:
4040
".*@[0-9]+$":
4141
type: object
42-
properties:
43-
reg:
44-
minItems: 1
45-
maxItems: 255
46-
47-
ingenic,nemc-bus-width:
48-
$ref: /schemas/types.yaml#/definitions/uint32
49-
enum: [8, 16]
50-
description: Specifies the bus width in bits.
51-
52-
ingenic,nemc-tAS:
53-
$ref: /schemas/types.yaml#/definitions/uint32
54-
description: Address setup time in nanoseconds.
55-
56-
ingenic,nemc-tAH:
57-
$ref: /schemas/types.yaml#/definitions/uint32
58-
description: Address hold time in nanoseconds.
59-
60-
ingenic,nemc-tBP:
61-
$ref: /schemas/types.yaml#/definitions/uint32
62-
description: Burst pitch time in nanoseconds.
63-
64-
ingenic,nemc-tAW:
65-
$ref: /schemas/types.yaml#/definitions/uint32
66-
description: Address wait time in nanoseconds.
67-
68-
ingenic,nemc-tSTRV:
69-
$ref: /schemas/types.yaml#/definitions/uint32
70-
description: Static memory recovery time in nanoseconds.
71-
72-
required:
73-
- reg
7442

7543
required:
7644
- compatible

Documentation/devicetree/bindings/mtd/ingenic,nand.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ maintainers:
1111

1212
allOf:
1313
- $ref: nand-controller.yaml#
14+
- $ref: /schemas/memory-controllers/ingenic,nemc-peripherals.yaml#
1415

1516
properties:
1617
compatible:

Documentation/devicetree/bindings/mtd/spi-nand.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ maintainers:
1111

1212
allOf:
1313
- $ref: "nand-chip.yaml#"
14+
- $ref: /schemas/spi/spi-peripheral-props.yaml#
1415

1516
properties:
1617
compatible:

Documentation/devicetree/bindings/net/cdns,macb.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,6 @@ examples:
191191
clock-names = "pclk", "hclk", "tx_clk", "rx_clk", "tsu_clk";
192192
#address-cells = <1>;
193193
#size-cells = <0>;
194-
#stream-id-cells = <1>;
195194
iommus = <&smmu 0x875>;
196195
power-domains = <&zynqmp_firmware PD_ETH_1>;
197196
resets = <&zynqmp_reset ZYNQMP_RESET_GEM1>;

Documentation/devicetree/bindings/net/dsa/brcm,b53.yaml

Lines changed: 65 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
66

77
title: Broadcom BCM53xx Ethernet switches
88

9-
allOf:
10-
- $ref: dsa.yaml#
11-
129
maintainers:
1310
- Florian Fainelli <[email protected]>
1411

@@ -68,53 +65,71 @@ required:
6865
- compatible
6966
- reg
7067

71-
# BCM585xx/586xx/88312 SoCs
72-
if:
73-
properties:
74-
compatible:
75-
contains:
76-
enum:
77-
- brcm,bcm58522-srab
78-
- brcm,bcm58523-srab
79-
- brcm,bcm58525-srab
80-
- brcm,bcm58622-srab
81-
- brcm,bcm58623-srab
82-
- brcm,bcm58625-srab
83-
- brcm,bcm88312-srab
84-
then:
85-
properties:
86-
reg:
87-
minItems: 3
88-
maxItems: 3
89-
reg-names:
90-
items:
91-
- const: srab
92-
- const: mux_config
93-
- const: sgmii_config
94-
interrupts:
95-
minItems: 13
96-
maxItems: 13
97-
interrupt-names:
98-
items:
99-
- const: link_state_p0
100-
- const: link_state_p1
101-
- const: link_state_p2
102-
- const: link_state_p3
103-
- const: link_state_p4
104-
- const: link_state_p5
105-
- const: link_state_p7
106-
- const: link_state_p8
107-
- const: phy
108-
- const: ts
109-
- const: imp_sleep_timer_p5
110-
- const: imp_sleep_timer_p7
111-
- const: imp_sleep_timer_p8
112-
required:
113-
- interrupts
114-
else:
115-
properties:
116-
reg:
117-
maxItems: 1
68+
allOf:
69+
- $ref: dsa.yaml#
70+
- if:
71+
properties:
72+
compatible:
73+
contains:
74+
enum:
75+
- brcm,bcm5325
76+
- brcm,bcm53115
77+
- brcm,bcm53125
78+
- brcm,bcm53128
79+
- brcm,bcm5365
80+
- brcm,bcm5395
81+
- brcm,bcm5397
82+
- brcm,bcm5398
83+
then:
84+
$ref: /schemas/spi/spi-peripheral-props.yaml
85+
86+
# BCM585xx/586xx/88312 SoCs
87+
- if:
88+
properties:
89+
compatible:
90+
contains:
91+
enum:
92+
- brcm,bcm58522-srab
93+
- brcm,bcm58523-srab
94+
- brcm,bcm58525-srab
95+
- brcm,bcm58622-srab
96+
- brcm,bcm58623-srab
97+
- brcm,bcm58625-srab
98+
- brcm,bcm88312-srab
99+
then:
100+
properties:
101+
reg:
102+
minItems: 3
103+
maxItems: 3
104+
reg-names:
105+
items:
106+
- const: srab
107+
- const: mux_config
108+
- const: sgmii_config
109+
interrupts:
110+
minItems: 13
111+
maxItems: 13
112+
interrupt-names:
113+
items:
114+
- const: link_state_p0
115+
- const: link_state_p1
116+
- const: link_state_p2
117+
- const: link_state_p3
118+
- const: link_state_p4
119+
- const: link_state_p5
120+
- const: link_state_p7
121+
- const: link_state_p8
122+
- const: phy
123+
- const: ts
124+
- const: imp_sleep_timer_p5
125+
- const: imp_sleep_timer_p7
126+
- const: imp_sleep_timer_p8
127+
required:
128+
- interrupts
129+
else:
130+
properties:
131+
reg:
132+
maxItems: 1
118133

119134
unevaluatedProperties: false
120135

Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ maintainers:
1212

1313
allOf:
1414
- $ref: dsa.yaml#
15+
- $ref: /schemas/spi/spi-peripheral-props.yaml#
1516

1617
properties:
1718
# See Documentation/devicetree/bindings/net/dsa/dsa.yaml for a list of additional

Documentation/devicetree/bindings/net/dsa/nxp,sja1105.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ description:
1414

1515
allOf:
1616
- $ref: "dsa.yaml#"
17+
- $ref: /schemas/spi/spi-peripheral-props.yaml#
1718

1819
maintainers:
1920
- Vladimir Oltean <[email protected]>

0 commit comments

Comments
 (0)