Skip to content

Commit d980cc0

Browse files
committed
Merge tag 'devicetree-fixes-for-5.14-1' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux
Pull devicetree fixes from Rob Herring: - Drop 'resets' as required on renesas,du - Moving of fixed string patterns for 'properties' instead of 'patternProperties' - Drop more redundant minItems/maxItems that we merged in the merge window - Indentation warning fix for sja1105 * tag 'devicetree-fixes-for-5.14-1' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux: dt-bindings: display: renesas,du: Make resets optional on R-Car H1 dt-bindings: Move fixed string 'patternProperties' to 'properties' dt-bindings: More dropping redundant minItems/maxItems dt-bindings: net: dsa: sja1105: Fix indentation warnings
2 parents 5f06a79 + 50d8d7e commit d980cc0

File tree

13 files changed

+62
-77
lines changed

13 files changed

+62
-77
lines changed

Documentation/devicetree/bindings/clock/brcm,iproc-clocks.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ properties:
5050

5151
reg:
5252
minItems: 1
53-
maxItems: 3
5453
items:
5554
- description: base register
5655
- description: power register

Documentation/devicetree/bindings/display/renesas,du.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ required:
9292
- reg
9393
- clocks
9494
- interrupts
95-
- resets
9695
- ports
9796

9897
allOf:

Documentation/devicetree/bindings/hwmon/adt7475.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,7 @@ properties:
3939
reg:
4040
maxItems: 1
4141

42-
patternProperties:
43-
"^adi,bypass-attenuator-in[0-4]$":
44-
description: |
45-
Configures bypassing the individual voltage input attenuator. If
46-
set to 1 the attenuator is bypassed if set to 0 the attenuator is
47-
not bypassed. If the property is absent then the attenuator
48-
retains it's configuration from the bios/bootloader.
49-
$ref: /schemas/types.yaml#/definitions/uint32
50-
enum: [0, 1]
51-
52-
"^adi,pwm-active-state$":
42+
adi,pwm-active-state:
5343
description: |
5444
Integer array, represents the active state of the pwm outputs If set to 0
5545
the pwm uses a logic low output for 100% duty cycle. If set to 1 the pwm
@@ -61,6 +51,16 @@ patternProperties:
6151
enum: [0, 1]
6252
default: 1
6353

54+
patternProperties:
55+
"^adi,bypass-attenuator-in[0-4]$":
56+
description: |
57+
Configures bypassing the individual voltage input attenuator. If
58+
set to 1 the attenuator is bypassed if set to 0 the attenuator is
59+
not bypassed. If the property is absent then the attenuator
60+
retains it's configuration from the bios/bootloader.
61+
$ref: /schemas/types.yaml#/definitions/uint32
62+
enum: [0, 1]
63+
6464
required:
6565
- compatible
6666
- reg

Documentation/devicetree/bindings/iommu/rockchip,iommu.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,12 @@ properties:
2828
- description: configuration registers for MMU instance 0
2929
- description: configuration registers for MMU instance 1
3030
minItems: 1
31-
maxItems: 2
3231

3332
interrupts:
3433
items:
3534
- description: interruption for MMU instance 0
3635
- description: interruption for MMU instance 1
3736
minItems: 1
38-
maxItems: 2
3937

4038
clocks:
4139
items:

Documentation/devicetree/bindings/memory-controllers/arm,pl353-smc.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ properties:
5757

5858
ranges:
5959
minItems: 1
60-
maxItems: 3
6160
description: |
6261
Memory bus areas for interacting with the devices. Reflects
6362
the memory layout with four integer values following:

Documentation/devicetree/bindings/mtd/brcm,brcmnand.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -84,15 +84,13 @@ properties:
8484

8585
interrupts:
8686
minItems: 1
87-
maxItems: 3
8887
items:
8988
- description: NAND CTLRDY interrupt
9089
- description: FLASH_DMA_DONE if flash DMA is available
9190
- description: FLASH_EDU_DONE if EDU is available
9291

9392
interrupt-names:
9493
minItems: 1
95-
maxItems: 3
9694
items:
9795
- const: nand_ctlrdy
9896
- const: flash_dma_done
@@ -148,8 +146,6 @@ allOf:
148146
then:
149147
properties:
150148
reg-names:
151-
minItems: 2
152-
maxItems: 2
153149
items:
154150
- const: nand
155151
- const: nand-int-base
@@ -161,8 +157,6 @@ allOf:
161157
then:
162158
properties:
163159
reg-names:
164-
minItems: 3
165-
maxItems: 3
166160
items:
167161
- const: nand
168162
- const: nand-int-base
@@ -175,8 +169,6 @@ allOf:
175169
then:
176170
properties:
177171
reg-names:
178-
minItems: 3
179-
maxItems: 3
180172
items:
181173
- const: nand
182174
- const: iproc-idm

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ properties:
6767
reg:
6868
oneOf:
6969
- enum:
70-
- 0
71-
- 1
70+
- 0
71+
- 1
7272

7373
required:
7474
- compatible

Documentation/devicetree/bindings/phy/ti,phy-j721e-wiz.yaml

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,34 @@ properties:
7777
Type-C spec states minimum CC pin debounce of 100 ms and maximum
7878
of 200 ms. However, some solutions might need more than 200 ms.
7979

80+
refclk-dig:
81+
type: object
82+
description: |
83+
WIZ node should have subnode for refclk_dig to select the reference
84+
clock source for the reference clock used in the PHY and PMA digital
85+
logic.
86+
properties:
87+
clocks:
88+
minItems: 2
89+
maxItems: 4
90+
description: Phandle to two (Torrent) or four (Sierra) clock nodes representing
91+
the inputs to refclk_dig
92+
93+
"#clock-cells":
94+
const: 0
95+
96+
assigned-clocks:
97+
maxItems: 1
98+
99+
assigned-clock-parents:
100+
maxItems: 1
101+
102+
required:
103+
- clocks
104+
- "#clock-cells"
105+
- assigned-clocks
106+
- assigned-clock-parents
107+
80108
patternProperties:
81109
"^pll[0|1]-refclk$":
82110
type: object
@@ -121,34 +149,6 @@ patternProperties:
121149
- clocks
122150
- "#clock-cells"
123151

124-
"^refclk-dig$":
125-
type: object
126-
description: |
127-
WIZ node should have subnode for refclk_dig to select the reference
128-
clock source for the reference clock used in the PHY and PMA digital
129-
logic.
130-
properties:
131-
clocks:
132-
minItems: 2
133-
maxItems: 4
134-
description: Phandle to two (Torrent) or four (Sierra) clock nodes representing
135-
the inputs to refclk_dig
136-
137-
"#clock-cells":
138-
const: 0
139-
140-
assigned-clocks:
141-
maxItems: 1
142-
143-
assigned-clock-parents:
144-
maxItems: 1
145-
146-
required:
147-
- clocks
148-
- "#clock-cells"
149-
- assigned-clocks
150-
- assigned-clock-parents
151-
152152
"^serdes@[0-9a-f]+$":
153153
type: object
154154
description: |

Documentation/devicetree/bindings/regulator/mps,mpq7920.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ properties:
3636
switching frequency must be one of following corresponding value
3737
1.1MHz, 1.65MHz, 2.2MHz, 2.75MHz
3838
39-
patternProperties:
40-
"^ldo[1-4]$":
39+
ldortc:
4140
type: object
4241
$ref: regulator.yaml#
4342

44-
"^ldortc$":
43+
patternProperties:
44+
"^ldo[1-4]$":
4545
type: object
4646
$ref: regulator.yaml#
4747

Documentation/devicetree/bindings/regulator/nxp,pf8x00-regulator.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ properties:
8383

8484
unevaluatedProperties: false
8585

86-
"^vsnvs$":
86+
properties:
87+
vsnvs:
8788
type: object
8889
$ref: regulator.yaml#
8990
description:

0 commit comments

Comments
 (0)