Skip to content

Commit

Permalink
Merge branch 'dt/linus' into dt/next
Browse files Browse the repository at this point in the history
Pick up new meta-schema fixes.
  • Loading branch information
robherring committed May 9, 2022
2 parents 0f69835 + 5dc4630 commit 52bf4b7
Show file tree
Hide file tree
Showing 17 changed files with 18 additions and 75 deletions.
4 changes: 0 additions & 4 deletions Documentation/devicetree/bindings/clock/imx8m-clock.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@ allOf:
then:
properties:
clocks:
minItems: 7
maxItems: 7
items:
- description: 32k osc
- description: 25m osc
Expand All @@ -66,8 +64,6 @@ allOf:
- description: ext3 clock input
- description: ext4 clock input
clock-names:
minItems: 7
maxItems: 7
items:
- const: ckil
- const: osc_25m
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ then:
properties:
clocks:
minItems: 1
maxItems: 4
items:
- description: Functional clock
- description: EXTAL input clock
Expand All @@ -104,7 +103,6 @@ then:

clock-names:
minItems: 1
maxItems: 4
items:
- const: fck
# The LVDS encoder can use the EXTAL or DU_DOTCLKINx clocks.
Expand All @@ -128,12 +126,10 @@ then:
else:
properties:
clocks:
maxItems: 1
items:
- description: Functional clock

clock-names:
maxItems: 1
items:
- const: fck

Expand Down
23 changes: 0 additions & 23 deletions Documentation/devicetree/bindings/display/renesas,du.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,15 +109,13 @@ allOf:
properties:
clocks:
minItems: 1
maxItems: 3
items:
- description: Functional clock
- description: DU_DOTCLKIN0 input clock
- description: DU_DOTCLKIN1 input clock

clock-names:
minItems: 1
maxItems: 3
items:
- const: du.0
- pattern: '^dclkin\.[01]$'
Expand Down Expand Up @@ -159,7 +157,6 @@ allOf:
properties:
clocks:
minItems: 2
maxItems: 4
items:
- description: Functional clock for DU0
- description: Functional clock for DU1
Expand All @@ -168,7 +165,6 @@ allOf:

clock-names:
minItems: 2
maxItems: 4
items:
- const: du.0
- const: du.1
Expand Down Expand Up @@ -216,7 +212,6 @@ allOf:
properties:
clocks:
minItems: 2
maxItems: 4
items:
- description: Functional clock for DU0
- description: Functional clock for DU1
Expand All @@ -225,7 +220,6 @@ allOf:

clock-names:
minItems: 2
maxItems: 4
items:
- const: du.0
- const: du.1
Expand Down Expand Up @@ -271,7 +265,6 @@ allOf:
properties:
clocks:
minItems: 2
maxItems: 4
items:
- description: Functional clock for DU0
- description: Functional clock for DU1
Expand All @@ -280,7 +273,6 @@ allOf:

clock-names:
minItems: 2
maxItems: 4
items:
- const: du.0
- const: du.1
Expand Down Expand Up @@ -327,7 +319,6 @@ allOf:
properties:
clocks:
minItems: 2
maxItems: 4
items:
- description: Functional clock for DU0
- description: Functional clock for DU1
Expand All @@ -336,7 +327,6 @@ allOf:

clock-names:
minItems: 2
maxItems: 4
items:
- const: du.0
- const: du.1
Expand Down Expand Up @@ -386,7 +376,6 @@ allOf:
properties:
clocks:
minItems: 3
maxItems: 6
items:
- description: Functional clock for DU0
- description: Functional clock for DU1
Expand All @@ -397,7 +386,6 @@ allOf:

clock-names:
minItems: 3
maxItems: 6
items:
- const: du.0
- const: du.1
Expand Down Expand Up @@ -448,7 +436,6 @@ allOf:
properties:
clocks:
minItems: 4
maxItems: 8
items:
- description: Functional clock for DU0
- description: Functional clock for DU1
Expand All @@ -461,7 +448,6 @@ allOf:

clock-names:
minItems: 4
maxItems: 8
items:
- const: du.0
- const: du.1
Expand Down Expand Up @@ -525,7 +511,6 @@ allOf:
properties:
clocks:
minItems: 3
maxItems: 6
items:
- description: Functional clock for DU0
- description: Functional clock for DU1
Expand All @@ -536,7 +521,6 @@ allOf:

clock-names:
minItems: 3
maxItems: 6
items:
- const: du.0
- const: du.1
Expand Down Expand Up @@ -596,7 +580,6 @@ allOf:
properties:
clocks:
minItems: 3
maxItems: 6
items:
- description: Functional clock for DU0
- description: Functional clock for DU1
Expand All @@ -607,7 +590,6 @@ allOf:

clock-names:
minItems: 3
maxItems: 6
items:
- const: du.0
- const: du.1
Expand Down Expand Up @@ -666,14 +648,12 @@ allOf:
properties:
clocks:
minItems: 1
maxItems: 2
items:
- description: Functional clock for DU0
- description: DU_DOTCLKIN0 input clock

clock-names:
minItems: 1
maxItems: 2
items:
- const: du.0
- const: dclkin.0
Expand Down Expand Up @@ -723,7 +703,6 @@ allOf:
properties:
clocks:
minItems: 2
maxItems: 4
items:
- description: Functional clock for DU0
- description: Functional clock for DU1
Expand All @@ -732,7 +711,6 @@ allOf:

clock-names:
minItems: 2
maxItems: 4
items:
- const: du.0
- const: du.1
Expand Down Expand Up @@ -791,7 +769,6 @@ allOf:
- description: Functional clock

clock-names:
maxItems: 1
items:
- const: du.0

Expand Down
2 changes: 0 additions & 2 deletions Documentation/devicetree/bindings/iio/adc/st,stm32-adc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ allOf:
- const: bus
- const: adc
minItems: 1
maxItems: 2

interrupts:
items:
Expand Down Expand Up @@ -170,7 +169,6 @@ allOf:
- const: bus
- const: adc
minItems: 1
maxItems: 2

interrupts:
items:
Expand Down
2 changes: 0 additions & 2 deletions Documentation/devicetree/bindings/leds/leds-mt6360.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ patternProperties:
- 4 # LED output FLASH1
- 5 # LED output FLASH2

unevaluatedProperties: false

required:
- compatible
- "#address-cells"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,22 +202,17 @@ allOf:
clocks:
items:
- description: module clock
minItems: 1
maxItems: 1
else:
properties:
clocks:
items:
- description: module clock
- description: timeout clock
minItems: 2
maxItems: 2

clock-names:
items:
- const: sdhci
- const: tmclk
minItems: 2
maxItems: 2
required:
- clock-names

Expand Down
2 changes: 0 additions & 2 deletions Documentation/devicetree/bindings/mtd/gpmi-nand.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,6 @@ allOf:
- description: SoC gpmi io clock
- description: SoC gpmi bch apb clock
clock-names:
minItems: 2
maxItems: 2
items:
- const: gpmi_io
- const: gpmi_bch_apb
Expand Down
3 changes: 0 additions & 3 deletions Documentation/devicetree/bindings/net/can/bosch,c_can.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,6 @@ if:
then:
properties:
interrupts:
minItems: 4
maxItems: 4
items:
- description: Error and status IRQ
- description: Message object IRQ
Expand All @@ -91,7 +89,6 @@ then:
else:
properties:
interrupts:
maxItems: 1
items:
- description: Error and status IRQ

Expand Down
3 changes: 0 additions & 3 deletions Documentation/devicetree/bindings/pci/apple,pcie.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ examples:
device_type = "pci";
reg = <0x0 0x0 0x0 0x0 0x0>;
reset-gpios = <&pinctrl_ap 152 0>;
max-link-speed = <2>;
#address-cells = <3>;
#size-cells = <2>;
Expand All @@ -153,7 +152,6 @@ examples:
device_type = "pci";
reg = <0x800 0x0 0x0 0x0 0x0>;
reset-gpios = <&pinctrl_ap 153 0>;
max-link-speed = <2>;
#address-cells = <3>;
#size-cells = <2>;
Expand All @@ -164,7 +162,6 @@ examples:
device_type = "pci";
reg = <0x1000 0x0 0x0 0x0 0x0>;
reset-gpios = <&pinctrl_ap 33 0>;
max-link-speed = <1>;
#address-cells = <3>;
#size-cells = <2>;
Expand Down
10 changes: 4 additions & 6 deletions Documentation/devicetree/bindings/phy/brcm,sata-phy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,19 +102,17 @@ if:
then:
properties:
reg:
maxItems: 2
minItems: 2

reg-names:
items:
- const: "phy"
- const: "phy-ctrl"
minItems: 2
else:
properties:
reg:
maxItems: 1

reg-names:
maxItems: 1
items:
- const: "phy"

required:
- compatible
Expand Down
12 changes: 10 additions & 2 deletions Documentation/devicetree/bindings/pinctrl/pincfg-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,19 @@ properties:
hardware supporting it the pull strength in Ohm.

drive-push-pull:
type: boolean
oneOf:
- type: boolean
- $ref: /schemas/types.yaml#/definitions/uint32
enum: [ 0, 1 ]
deprecated: true
description: drive actively high and low

drive-open-drain:
type: boolean
oneOf:
- type: boolean
- $ref: /schemas/types.yaml#/definitions/uint32
const: 1 # No known cases of 0
deprecated: true
description: drive with open drain

drive-open-source:
Expand Down
Loading

0 comments on commit 52bf4b7

Please sign in to comment.