Commit b07175dc authored by Linus Torvalds's avatar Linus Torvalds

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

Pull devicetree fixes from Rob Herring:
 "Another round of 'allOf' removals and whitespace clean-ups of schemas"

* tag 'devicetree-fixes-for-5.9' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux:
  dt-bindings: Remove more cases of 'allOf' containing a '$ref'
  dt-bindings: Whitespace clean-ups in schema files
parents 341323fa 5f0b06da
...@@ -273,8 +273,8 @@ properties: ...@@ -273,8 +273,8 @@ properties:
- fsl,imx6ull-14x14-evk # i.MX6 UltraLiteLite 14x14 EVK Board - fsl,imx6ull-14x14-evk # i.MX6 UltraLiteLite 14x14 EVK Board
- kontron,imx6ull-n6411-som # Kontron N6411 SOM - kontron,imx6ull-n6411-som # Kontron N6411 SOM
- myir,imx6ull-mys-6ulx-eval # MYiR Tech iMX6ULL Evaluation Board - myir,imx6ull-mys-6ulx-eval # MYiR Tech iMX6ULL Evaluation Board
- toradex,colibri-imx6ull-eval # Colibri iMX6ULL Module on Colibri Evaluation Board - toradex,colibri-imx6ull-eval # Colibri iMX6ULL Module on Colibri Eval Board
- toradex,colibri-imx6ull-wifi-eval # Colibri iMX6ULL Wi-Fi / Bluetooth Module on Colibri Evaluation Board - toradex,colibri-imx6ull-wifi-eval # Colibri iMX6ULL Wi-Fi / BT Module on Colibri Eval Board
- const: fsl,imx6ull - const: fsl,imx6ull
- description: Kontron N6411 S Board - description: Kontron N6411 S Board
...@@ -312,9 +312,12 @@ properties: ...@@ -312,9 +312,12 @@ properties:
- toradex,colibri-imx7d # Colibri iMX7 Dual Module - toradex,colibri-imx7d # Colibri iMX7 Dual Module
- toradex,colibri-imx7d-aster # Colibri iMX7 Dual Module on Aster Carrier Board - toradex,colibri-imx7d-aster # Colibri iMX7 Dual Module on Aster Carrier Board
- toradex,colibri-imx7d-emmc # Colibri iMX7 Dual 1GB (eMMC) Module - toradex,colibri-imx7d-emmc # Colibri iMX7 Dual 1GB (eMMC) Module
- toradex,colibri-imx7d-emmc-aster # Colibri iMX7 Dual 1GB (eMMC) Module on Aster Carrier Board - toradex,colibri-imx7d-emmc-aster # Colibri iMX7 Dual 1GB (eMMC) Module on
- toradex,colibri-imx7d-emmc-eval-v3 # Colibri iMX7 Dual 1GB (eMMC) Module on Colibri Evaluation Board V3 # Aster Carrier Board
- toradex,colibri-imx7d-eval-v3 # Colibri iMX7 Dual Module on Colibri Evaluation Board V3 - toradex,colibri-imx7d-emmc-eval-v3 # Colibri iMX7 Dual 1GB (eMMC) Module on
# Colibri Evaluation Board V3
- toradex,colibri-imx7d-eval-v3 # Colibri iMX7 Dual Module on
# Colibri Evaluation Board V3
- tq,imx7d-mba7 # i.MX7D TQ MBa7 with TQMa7D SoM - tq,imx7d-mba7 # i.MX7D TQ MBa7 with TQMa7D SoM
- zii,imx7d-rmu2 # ZII RMU2 Board - zii,imx7d-rmu2 # ZII RMU2 Board
- zii,imx7d-rpu2 # ZII RPU2 Board - zii,imx7d-rpu2 # ZII RPU2 Board
......
...@@ -16,7 +16,7 @@ properties: ...@@ -16,7 +16,7 @@ properties:
"#clock-cells": "#clock-cells":
const: 1 const: 1
compatible : compatible:
enum: enum:
- sprd,sc9863a-ap-clk - sprd,sc9863a-ap-clk
- sprd,sc9863a-aon-clk - sprd,sc9863a-aon-clk
......
...@@ -32,8 +32,7 @@ properties: ...@@ -32,8 +32,7 @@ properties:
- const: hdmi - const: hdmi
ddc: ddc:
allOf: $ref: /schemas/types.yaml#/definitions/phandle
- $ref: /schemas/types.yaml#/definitions/phandle
description: > description: >
Phandle of the I2C controller used for DDC EDID probing Phandle of the I2C controller used for DDC EDID probing
......
...@@ -163,7 +163,6 @@ additionalProperties: false ...@@ -163,7 +163,6 @@ additionalProperties: false
examples: examples:
- | - |
#include <dt-bindings/clock/imx8mq-clock.h> #include <dt-bindings/clock/imx8mq-clock.h>
#include <dt-bindings/gpio/gpio.h> #include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/arm-gic.h> #include <dt-bindings/interrupt-controller/arm-gic.h>
......
...@@ -26,7 +26,6 @@ properties: ...@@ -26,7 +26,6 @@ properties:
items: items:
- enum: - enum:
- dlink,dir-685-panel - dlink,dir-685-panel
- const: ilitek,ili9322 - const: ilitek,ili9322
reset-gpios: true reset-gpios: true
......
...@@ -14,7 +14,6 @@ properties: ...@@ -14,7 +14,6 @@ properties:
items: items:
- enum: - enum:
- bananapi,lhr050h41 - bananapi,lhr050h41
- const: ilitek,ili9881c - const: ilitek,ili9881c
backlight: true backlight: true
......
...@@ -147,4 +147,3 @@ examples: ...@@ -147,4 +147,3 @@ examples:
... ...
...@@ -177,10 +177,10 @@ properties: ...@@ -177,10 +177,10 @@ properties:
dependencies: dependencies:
# 'vendor,bool-property' is only allowed when 'vendor,string-array-property' # 'vendor,bool-property' is only allowed when 'vendor,string-array-property'
# is present # is present
vendor,bool-property: [ vendor,string-array-property ] vendor,bool-property: [ 'vendor,string-array-property' ]
# Expressing 2 properties in both orders means all of the set of properties # Expressing 2 properties in both orders means all of the set of properties
# must be present or none of them. # must be present or none of them.
vendor,string-array-property: [ vendor,bool-property ] vendor,string-array-property: [ 'vendor,bool-property' ]
required: required:
- compatible - compatible
......
...@@ -19,10 +19,8 @@ properties: ...@@ -19,10 +19,8 @@ properties:
reg: reg:
items: items:
- description: the I/O address containing the GPIO controller - description: the I/O address containing the GPIO controller registers.
registers. - description: the I/O address containing the Chip Common A interrupt registers.
- description: the I/O address containing the Chip Common A interrupt
registers.
gpio-controller: true gpio-controller: true
......
...@@ -26,7 +26,8 @@ properties: ...@@ -26,7 +26,8 @@ properties:
- description: AXI/master interface clock - description: AXI/master interface clock
- description: GPU core clock - description: GPU core clock
- description: Shader clock (only required if GPU has feature PIPE_3D) - description: Shader clock (only required if GPU has feature PIPE_3D)
- description: AHB/slave interface clock (only required if GPU can gate slave interface independently) - description: AHB/slave interface clock (only required if GPU can gate
slave interface independently)
minItems: 1 minItems: 1
maxItems: 4 maxItems: 4
......
...@@ -97,13 +97,11 @@ patternProperties: ...@@ -97,13 +97,11 @@ patternProperties:
input signal is multiplied. For example, <1 3> indicates the signal is scaled input signal is multiplied. For example, <1 3> indicates the signal is scaled
down to 1/3 of its value before ADC measurement. down to 1/3 of its value before ADC measurement.
If property is not found default value depending on chip will be used. If property is not found default value depending on chip will be used.
allOf: $ref: /schemas/types.yaml#/definitions/uint32-array
- $ref: /schemas/types.yaml#/definitions/uint32-array
oneOf: oneOf:
- items: - items:
- const: 1 - const: 1
- enum: [ 1, 3, 4, 6, 20, 8, 10 ] - enum: [ 1, 3, 4, 6, 20, 8, 10 ]
- items: - items:
- const: 10 - const: 10
- const: 81 - const: 81
......
...@@ -7,8 +7,8 @@ $schema: http://devicetree.org/meta-schemas/core.yaml# ...@@ -7,8 +7,8 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
title: HMC425A 6-bit Digital Step Attenuator title: HMC425A 6-bit Digital Step Attenuator
maintainers: maintainers:
- Michael Hennerich <michael.hennerich@analog.com> - Michael Hennerich <michael.hennerich@analog.com>
- Beniamin Bia <beniamin.bia@analog.com> - Beniamin Bia <beniamin.bia@analog.com>
description: | description: |
Digital Step Attenuator IIO device with gpio interface. Digital Step Attenuator IIO device with gpio interface.
......
...@@ -87,7 +87,7 @@ properties: ...@@ -87,7 +87,7 @@ properties:
description: Output range of the channel. description: Output range of the channel.
items: items:
- const: 0 - const: 0
- enum: [ 140000, 250000 ] - enum: [140000, 250000]
channel@2: channel@2:
description: Represents an external channel which are description: Represents an external channel which are
...@@ -103,7 +103,7 @@ properties: ...@@ -103,7 +103,7 @@ properties:
description: Output range of the channel. description: Output range of the channel.
items: items:
- const: 0 - const: 0
- enum: [ 55000, 150000 ] - enum: [55000, 150000]
patternProperties: patternProperties:
"^channel@([3-5])$": "^channel@([3-5])$":
...@@ -119,16 +119,16 @@ patternProperties: ...@@ -119,16 +119,16 @@ patternProperties:
description: Output range of the channel. description: Output range of the channel.
items: items:
- const: 0 - const: 0
- enum: [ 45000, 100000 ] - enum: [45000, 100000]
required: required:
- reg - reg
- channel@0 - channel@0
- channel@1 - channel@1
- channel@2 - channel@2
- channel@3 - channel@3
- channel@4 - channel@4
- channel@5 - channel@5
examples: examples:
- | - |
......
...@@ -36,7 +36,7 @@ required: ...@@ -36,7 +36,7 @@ required:
additionalProperties: false additionalProperties: false
examples: examples:
- | - |
i2c { i2c {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
......
...@@ -51,7 +51,7 @@ required: ...@@ -51,7 +51,7 @@ required:
- touchscreen-max-pressure - touchscreen-max-pressure
examples: examples:
- | - |
#include <dt-bindings/interrupt-controller/irq.h> #include <dt-bindings/interrupt-controller/irq.h>
i2c { i2c {
#address-cells = <1>; #address-cells = <1>;
......
...@@ -35,9 +35,8 @@ properties: ...@@ -35,9 +35,8 @@ properties:
maxItems: 1 maxItems: 1
irq-gpios: irq-gpios:
description: GPIO pin used for IRQ. description: GPIO pin used for IRQ. The driver uses the interrupt gpio pin
The driver uses the interrupt gpio pin as as output to reset the device.
output to reset the device.
maxItems: 1 maxItems: 1
reset-gpios: reset-gpios:
......
...@@ -33,8 +33,8 @@ properties: ...@@ -33,8 +33,8 @@ properties:
$ref: /schemas/types.yaml#/definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
touchscreen-min-pressure: touchscreen-min-pressure:
description: minimum pressure on the touchscreen to be achieved in order for the description: minimum pressure on the touchscreen to be achieved in order
touchscreen driver to report a touch event. for the touchscreen driver to report a touch event.
$ref: /schemas/types.yaml#/definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
touchscreen-fuzz-x: touchscreen-fuzz-x:
...@@ -46,13 +46,13 @@ properties: ...@@ -46,13 +46,13 @@ properties:
$ref: /schemas/types.yaml#/definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
touchscreen-fuzz-pressure: touchscreen-fuzz-pressure:
description: pressure noise value of the absolute input device (arbitrary range description: pressure noise value of the absolute input device (arbitrary
dependent on the controller) range dependent on the controller)
$ref: /schemas/types.yaml#/definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
touchscreen-average-samples: touchscreen-average-samples:
description: Number of data samples which are averaged for each read (valid values description: Number of data samples which are averaged for each read (valid
dependent on the controller) values dependent on the controller)
$ref: /schemas/types.yaml#/definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
touchscreen-inverted-x: touchscreen-inverted-x:
......
...@@ -42,9 +42,8 @@ properties: ...@@ -42,9 +42,8 @@ properties:
Specifies the list of CPU interrupt vectors to which the GIC may not Specifies the list of CPU interrupt vectors to which the GIC may not
route interrupts. This property is ignored if the CPU is started in EIC route interrupts. This property is ignored if the CPU is started in EIC
mode. mode.
allOf: $ref: /schemas/types.yaml#definitions/uint32-array
- $ref: /schemas/types.yaml#definitions/uint32-array minItems: 1
- minItems: 1
maxItems: 6 maxItems: 6
uniqueItems: true uniqueItems: true
items: items:
...@@ -57,9 +56,8 @@ properties: ...@@ -57,9 +56,8 @@ properties:
It accepts two values: the 1st is the starting interrupt and the 2nd is It accepts two values: the 1st is the starting interrupt and the 2nd is
the size of the reserved range. If not specified, the driver will the size of the reserved range. If not specified, the driver will
allocate the last (2 * number of VPEs in the system). allocate the last (2 * number of VPEs in the system).
allOf: $ref: /schemas/types.yaml#definitions/uint32-array
- $ref: /schemas/types.yaml#definitions/uint32-array items:
- items:
- minimum: 0 - minimum: 0
maximum: 254 maximum: 254
- minimum: 2 - minimum: 2
......
...@@ -79,7 +79,8 @@ properties: ...@@ -79,7 +79,8 @@ properties:
description: | description: |
kHz; switching frequency. kHz; switching frequency.
$ref: /schemas/types.yaml#/definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
enum: [ 600, 640, 685, 738, 800, 872, 960, 1066, 1200, 1371, 1600, 1920, 2400, 3200, 4800, 9600 ] enum: [ 600, 640, 685, 738, 800, 872, 960, 1066, 1200, 1371, 1600, 1920,
2400, 3200, 4800, 9600 ]
qcom,ovp: qcom,ovp:
description: | description: |
......
...@@ -58,8 +58,7 @@ allOf: ...@@ -58,8 +58,7 @@ allOf:
- if: - if:
properties: properties:
compatible: compatible:
items: enum:
- enum:
- adi,adv7180 - adi,adv7180
- adi,adv7182 - adi,adv7182
- adi,adv7280 - adi,adv7280
......
...@@ -38,9 +38,8 @@ properties: ...@@ -38,9 +38,8 @@ properties:
dongwoon,aac-mode: dongwoon,aac-mode:
description: description:
Indication of AAC mode select. Indication of AAC mode select.
allOf: $ref: "/schemas/types.yaml#/definitions/uint32"
- $ref: "/schemas/types.yaml#/definitions/uint32" enum:
- enum:
- 1 # AAC2 mode(operation time# 0.48 x Tvib) - 1 # AAC2 mode(operation time# 0.48 x Tvib)
- 2 # AAC3 mode(operation time# 0.70 x Tvib) - 2 # AAC3 mode(operation time# 0.70 x Tvib)
- 3 # AAC4 mode(operation time# 0.75 x Tvib) - 3 # AAC4 mode(operation time# 0.75 x Tvib)
...@@ -51,9 +50,8 @@ properties: ...@@ -51,9 +50,8 @@ properties:
description: description:
Number of AAC Timing count that controlled by one 6-bit period of Number of AAC Timing count that controlled by one 6-bit period of
vibration register AACT[5:0], the unit of which is 100 us. vibration register AACT[5:0], the unit of which is 100 us.
allOf: $ref: "/schemas/types.yaml#/definitions/uint32"
- $ref: "/schemas/types.yaml#/definitions/uint32" default: 0x20
- default: 0x20
minimum: 0x00 minimum: 0x00
maximum: 0x3f maximum: 0x3f
...@@ -61,9 +59,8 @@ properties: ...@@ -61,9 +59,8 @@ properties:
description: description:
Indication of VCM internal clock dividing rate select, as one multiple Indication of VCM internal clock dividing rate select, as one multiple
factor to calculate VCM ring periodic time Tvib. factor to calculate VCM ring periodic time Tvib.
allOf: $ref: "/schemas/types.yaml#/definitions/uint32"
- $ref: "/schemas/types.yaml#/definitions/uint32" enum:
- enum:
- 0 # Dividing Rate - 2 - 0 # Dividing Rate - 2
- 1 # Dividing Rate - 1 - 1 # Dividing Rate - 1
- 2 # Dividing Rate - 1/2 - 2 # Dividing Rate - 1/2
......
...@@ -139,3 +139,4 @@ examples: ...@@ -139,3 +139,4 @@ examples:
}; };
}; };
... ...
...@@ -65,13 +65,12 @@ properties: ...@@ -65,13 +65,12 @@ properties:
0x2d - RAW14 0x2d - RAW14
0x2e - RAW16 0x2e - RAW16
0x2f - RAW20 0x2f - RAW20
allOf: $ref: /schemas/types.yaml#/definitions/uint32
- $ref: /schemas/types.yaml#/definitions/uint32 oneOf:
- anyOf:
- minimum: 0x1e - minimum: 0x1e
- maximum: 0x24 maximum: 0x24
- minimum: 0x28 - minimum: 0x28
- maximum: 0x2f maximum: 0x2f
xlnx,vfb: xlnx,vfb:
type: boolean type: boolean
......
...@@ -113,8 +113,8 @@ properties: ...@@ -113,8 +113,8 @@ properties:
maxItems: 1 maxItems: 1
st,mask-reset: st,mask-reset:
description: mask reset for this regulator, description: mask reset for this regulator, the regulator configuration
the regulator configuration is maintained during pmic reset. is maintained during pmic reset.
$ref: /schemas/types.yaml#/definitions/flag $ref: /schemas/types.yaml#/definitions/flag
regulator-name: true regulator-name: true
...@@ -135,8 +135,8 @@ properties: ...@@ -135,8 +135,8 @@ properties:
maxItems: 1 maxItems: 1
st,mask-reset: st,mask-reset:
description: mask reset for this regulator, description: mask reset for this regulator, the regulator configuration
the regulator configuration is maintained during pmic reset. is maintained during pmic reset.
$ref: /schemas/types.yaml#/definitions/flag $ref: /schemas/types.yaml#/definitions/flag
regulator-name: true regulator-name: true
...@@ -154,8 +154,8 @@ properties: ...@@ -154,8 +154,8 @@ properties:
maxItems: 1 maxItems: 1
st,mask-reset: st,mask-reset:
description: mask reset for this regulator, description: mask reset for this regulator, the regulator configuration
the regulator configuration is maintained during pmic reset. is maintained during pmic reset.
$ref: /schemas/types.yaml#/definitions/flag $ref: /schemas/types.yaml#/definitions/flag
regulator-name: true regulator-name: true
...@@ -172,8 +172,8 @@ properties: ...@@ -172,8 +172,8 @@ properties:
maxItems: 1 maxItems: 1
st,mask-reset: st,mask-reset:
description: mask reset for this regulator, description: mask reset for this regulator, the regulator configuration
the regulator configuration is maintained during pmic reset. is maintained during pmic reset.
$ref: /schemas/types.yaml#/definitions/flag $ref: /schemas/types.yaml#/definitions/flag
regulator-name: true regulator-name: true
...@@ -198,8 +198,8 @@ properties: ...@@ -198,8 +198,8 @@ properties:
maxItems: 1 maxItems: 1
st,mask-reset: st,mask-reset:
description: mask reset for this regulator, description: mask reset for this regulator, the regulator configuration
the regulator configuration is maintained during pmic reset. is maintained during pmic reset.
$ref: /schemas/types.yaml#/definitions/flag $ref: /schemas/types.yaml#/definitions/flag
regulator-name: true regulator-name: true
...@@ -220,8 +220,8 @@ properties: ...@@ -220,8 +220,8 @@ properties:
maxItems: 1 maxItems: 1
st,mask-reset: st,mask-reset:
description: mask reset for this regulator, description: mask reset for this regulator, the regulator configuration
the regulator configuration is maintained during pmic reset. is maintained during pmic reset.
$ref: /schemas/types.yaml#/definitions/flag $ref: /schemas/types.yaml#/definitions/flag
regulator-name: true regulator-name: true
......
...@@ -24,8 +24,7 @@ maintainers: ...@@ -24,8 +24,7 @@ maintainers:
properties: properties:
compatible: compatible:
anyOf: items:
- items:
- enum: - enum:
- ti,j721e-system-controller - ti,j721e-system-controller
- const: syscon - const: syscon
......
...@@ -14,12 +14,10 @@ maintainers: ...@@ -14,12 +14,10 @@ maintainers:
properties: properties:
compatible: compatible:
oneOf: items:
- items:
- enum: - enum:
- xlnx,zynqmp-nand-controller - xlnx,zynqmp-nand-controller
- enum: - const: arasan,nfc-v3p10
- arasan,nfc-v3p10
reg: reg:
maxItems: 1 maxItems: 1
......
...@@ -42,7 +42,7 @@ patternProperties: ...@@ -42,7 +42,7 @@ patternProperties:
const: 512 const: 512
nand-ecc-strength: nand-ecc-strength:
enum: [1, 4 ,8 ] enum: [1, 4, 8]
allOf: allOf:
- $ref: "nand-controller.yaml#" - $ref: "nand-controller.yaml#"
......
...@@ -31,8 +31,7 @@ properties: ...@@ -31,8 +31,7 @@ properties:
ti,syscon-pcie-ctrl: ti,syscon-pcie-ctrl:
description: Phandle to the SYSCON entry required for configuring PCIe mode description: Phandle to the SYSCON entry required for configuring PCIe mode
and link speed. and link speed.
allOf: $ref: /schemas/types.yaml#/definitions/phandle
- $ref: /schemas/types.yaml#/definitions/phandle
power-domains: power-domains:
maxItems: 1 maxItems: 1
......
...@@ -31,8 +31,7 @@ properties: ...@@ -31,8 +31,7 @@ properties:
ti,syscon-pcie-ctrl: ti,syscon-pcie-ctrl:
description: Phandle to the SYSCON entry required for configuring PCIe mode description: Phandle to the SYSCON entry required for configuring PCIe mode
and link speed. and link speed.
allOf: $ref: /schemas/types.yaml#/definitions/phandle
- $ref: /schemas/types.yaml#/definitions/phandle
power-domains: power-domains:
maxItems: 1 maxItems: 1
......
...@@ -73,8 +73,7 @@ properties: ...@@ -73,8 +73,7 @@ properties:
vddp-ref-clk-supply: vddp-ref-clk-supply:
description: description:
Phandle to a regulator supply to any specific refclk Phandle to a regulator supply to any specific refclk pll block.
pll block.
#Required nodes: #Required nodes:
patternProperties: patternProperties:
......
...@@ -70,8 +70,7 @@ properties: ...@@ -70,8 +70,7 @@ properties:
vddp-ref-clk-supply: vddp-ref-clk-supply:
description: description:
Phandle to a regulator supply to any specific refclk Phandle to a regulator supply to any specific refclk pll block.
pll block.
#Required nodes: #Required nodes:
patternProperties: patternProperties:
......
...@@ -203,7 +203,8 @@ examples: ...@@ -203,7 +203,8 @@ examples:
}; };
refclk-dig { refclk-dig {
clocks = <&k3_clks 292 11>, <&k3_clks 292 0>, <&dummy_cmn_refclk>, <&dummy_cmn_refclk1>; clocks = <&k3_clks 292 11>, <&k3_clks 292 0>,
<&dummy_cmn_refclk>, <&dummy_cmn_refclk1>;
#clock-cells = <0>; #clock-cells = <0>;
assigned-clocks = <&wiz0_refclk_dig>; assigned-clocks = <&wiz0_refclk_dig>;
assigned-clock-parents = <&k3_clks 292 11>; assigned-clock-parents = <&k3_clks 292 11>;
......
...@@ -34,7 +34,7 @@ patternProperties: ...@@ -34,7 +34,7 @@ patternProperties:
patternProperties: patternProperties:
"^function|groups$": "^function|groups$":
$ref: "/schemas/types.yaml#/definitions/string" $ref: "/schemas/types.yaml#/definitions/string"
enum: [ACPI, ADC0, ADC1, ADC10, ADC11, ADC12, ADC13, ADC14, ADC15, enum: [ ACPI, ADC0, ADC1, ADC10, ADC11, ADC12, ADC13, ADC14, ADC15,
ADC2, ADC3, ADC4, ADC5, ADC6, ADC7, ADC8, ADC9, BMCINT, DDCCLK, DDCDAT, ADC2, ADC3, ADC4, ADC5, ADC6, ADC7, ADC8, ADC9, BMCINT, DDCCLK, DDCDAT,
EXTRST, FLACK, FLBUSY, FLWP, GPID, GPID0, GPID2, GPID4, GPID6, GPIE0, EXTRST, FLACK, FLBUSY, FLWP, GPID, GPID0, GPID2, GPID4, GPID6, GPIE0,
GPIE2, GPIE4, GPIE6, I2C10, I2C11, I2C12, I2C13, I2C14, I2C3, I2C4, GPIE2, GPIE4, GPIE6, I2C10, I2C11, I2C12, I2C13, I2C14, I2C3, I2C4,
......
...@@ -43,7 +43,7 @@ patternProperties: ...@@ -43,7 +43,7 @@ patternProperties:
patternProperties: patternProperties:
"^function|groups$": "^function|groups$":
$ref: "/schemas/types.yaml#/definitions/string" $ref: "/schemas/types.yaml#/definitions/string"
enum: [ACPI, ADC0, ADC1, ADC10, ADC11, ADC12, ADC13, ADC14, ADC15, enum: [ ACPI, ADC0, ADC1, ADC10, ADC11, ADC12, ADC13, ADC14, ADC15,
ADC2, ADC3, ADC4, ADC5, ADC6, ADC7, ADC8, ADC9, BMCINT, DDCCLK, DDCDAT, ADC2, ADC3, ADC4, ADC5, ADC6, ADC7, ADC8, ADC9, BMCINT, DDCCLK, DDCDAT,
ESPI, FWSPICS1, FWSPICS2, GPID0, GPID2, GPID4, GPID6, GPIE0, GPIE2, ESPI, FWSPICS1, FWSPICS2, GPID0, GPID2, GPID4, GPID6, GPIE0, GPIE2,
GPIE4, GPIE6, I2C10, I2C11, I2C12, I2C13, I2C14, I2C3, I2C4, I2C5, GPIE4, GPIE6, I2C10, I2C11, I2C12, I2C13, I2C14, I2C3, I2C4, I2C5,
......
...@@ -31,7 +31,7 @@ patternProperties: ...@@ -31,7 +31,7 @@ patternProperties:
properties: properties:
function: function:
$ref: "/schemas/types.yaml#/definitions/string" $ref: "/schemas/types.yaml#/definitions/string"
enum: [ADC0, ADC1, ADC10, ADC11, ADC12, ADC13, ADC14, ADC15, ADC2, enum: [ ADC0, ADC1, ADC10, ADC11, ADC12, ADC13, ADC14, ADC15, ADC2,
ADC3, ADC4, ADC5, ADC6, ADC7, ADC8, ADC9, BMCINT, EMMC, ESPI, ESPIALT, ADC3, ADC4, ADC5, ADC6, ADC7, ADC8, ADC9, BMCINT, EMMC, ESPI, ESPIALT,
FSI1, FSI2, FWSPIABR, FWSPID, FWSPIWP, GPIT0, GPIT1, GPIT2, GPIT3, FSI1, FSI2, FWSPIABR, FWSPID, FWSPIWP, GPIT0, GPIT1, GPIT2, GPIT3,
GPIT4, GPIT5, GPIT6, GPIT7, GPIU0, GPIU1, GPIU2, GPIU3, GPIU4, GPIU5, GPIT4, GPIT5, GPIT6, GPIT7, GPIU0, GPIU1, GPIU2, GPIU3, GPIU4, GPIU5,
...@@ -52,11 +52,11 @@ patternProperties: ...@@ -52,11 +52,11 @@ patternProperties:
TACH15, TACH2, TACH3, TACH4, TACH5, TACH6, TACH7, TACH8, TACH9, THRU0, TACH15, TACH2, TACH3, TACH4, TACH5, TACH6, TACH7, TACH8, TACH9, THRU0,
THRU1, THRU2, THRU3, TXD1, TXD2, TXD3, TXD4, UART10, UART11, UART12, THRU1, THRU2, THRU3, TXD1, TXD2, TXD3, TXD4, UART10, UART11, UART12,
UART13, UART6, UART7, UART8, UART9, USBAD, USBADP, USB2AH, USB2AHP, UART13, UART6, UART7, UART8, UART9, USBAD, USBADP, USB2AH, USB2AHP,
USB2BD, USB2BH, VB, VGAHS, VGAVS, WDTRST1, WDTRST2, WDTRST3, WDTRST4] USB2BD, USB2BH, VB, VGAHS, VGAVS, WDTRST1, WDTRST2, WDTRST3, WDTRST4 ]
groups: groups:
$ref: "/schemas/types.yaml#/definitions/string" $ref: "/schemas/types.yaml#/definitions/string"
enum: [ADC0, ADC1, ADC10, ADC11, ADC12, ADC13, ADC14, ADC15, ADC2, enum: [ ADC0, ADC1, ADC10, ADC11, ADC12, ADC13, ADC14, ADC15, ADC2,
ADC3, ADC4, ADC5, ADC6, ADC7, ADC8, ADC9, BMCINT, EMMCG1, EMMCG4, ADC3, ADC4, ADC5, ADC6, ADC7, ADC8, ADC9, BMCINT, EMMCG1, EMMCG4,
EMMCG8, ESPI, ESPIALT, FSI1, FSI2, FWSPIABR, FWSPID, FWQSPID, FWSPIWP, EMMCG8, ESPI, ESPIALT, FSI1, FSI2, FWSPIABR, FWSPID, FWQSPID, FWSPIWP,
GPIT0, GPIT1, GPIT2, GPIT3, GPIT4, GPIT5, GPIT6, GPIT7, GPIU0, GPIU1, GPIT0, GPIT1, GPIT2, GPIT3, GPIT4, GPIT5, GPIT6, GPIT7, GPIU0, GPIU1,
......
...@@ -76,8 +76,7 @@ patternProperties: ...@@ -76,8 +76,7 @@ patternProperties:
"^((s|l|lvs|5vs)[0-9]*)|(boost-bypass)|(bob)$": "^((s|l|lvs|5vs)[0-9]*)|(boost-bypass)|(bob)$":
description: List of regulators and its properties description: List of regulators and its properties
allOf: $ref: regulator.yaml#
- $ref: regulator.yaml#
additionalProperties: false additionalProperties: false
......
...@@ -23,8 +23,7 @@ properties: ...@@ -23,8 +23,7 @@ properties:
- amlogic,aiu-gxl - amlogic,aiu-gxl
- amlogic,aiu-meson8 - amlogic,aiu-meson8
- amlogic,aiu-meson8b - amlogic,aiu-meson8b
- const: - const: amlogic,aiu
amlogic,aiu
clocks: clocks:
items: items:
......
...@@ -19,13 +19,11 @@ properties: ...@@ -19,13 +19,11 @@ properties:
compatible: compatible:
oneOf: oneOf:
- items: - items:
- const: - const: amlogic,g12a-toacodec
amlogic,g12a-toacodec
- items: - items:
- enum: - enum:
- amlogic,sm1-toacodec - amlogic,sm1-toacodec
- const: - const: amlogic,g12a-toacodec
amlogic,g12a-toacodec
reg: reg:
maxItems: 1 maxItems: 1
......
...@@ -18,16 +18,14 @@ properties: ...@@ -18,16 +18,14 @@ properties:
description: I2C address of the device. description: I2C address of the device.
maxim,temperature_calib: maxim,temperature_calib:
allOf:
- $ref: /schemas/types.yaml#/definitions/uint32
description: The calculated temperature data was measured while doing the calibration. description: The calculated temperature data was measured while doing the calibration.
$ref: /schemas/types.yaml#/definitions/uint32
minimum: 0 minimum: 0
maximum: 65535 maximum: 65535
maxim,r0_calib: maxim,r0_calib:
allOf:
- $ref: /schemas/types.yaml#/definitions/uint32
description: This is r0 calibration data which was measured in factory mode. description: This is r0 calibration data which was measured in factory mode.
$ref: /schemas/types.yaml#/definitions/uint32
minimum: 1 minimum: 1
maximum: 8388607 maximum: 8388607
......
...@@ -48,8 +48,7 @@ properties: ...@@ -48,8 +48,7 @@ properties:
sound-name-prefix: sound-name-prefix:
pattern: "^DSPK[1-9]$" pattern: "^DSPK[1-9]$"
allOf: $ref: /schemas/types.yaml#/definitions/string
- $ref: /schemas/types.yaml#/definitions/string
description: description:
Used as prefix for sink/source names of the component. Must be a Used as prefix for sink/source names of the component. Must be a
unique string among multiple instances of the same component. unique string among multiple instances of the same component.
......
...@@ -49,8 +49,7 @@ properties: ...@@ -49,8 +49,7 @@ properties:
sound-name-prefix: sound-name-prefix:
pattern: "^DMIC[1-9]$" pattern: "^DMIC[1-9]$"
allOf: $ref: /schemas/types.yaml#/definitions/string
- $ref: /schemas/types.yaml#/definitions/string
description: description:
used as prefix for sink/source names of the component. Must be a used as prefix for sink/source names of the component. Must be a
unique string among multiple instances of the same component. unique string among multiple instances of the same component.
......
...@@ -67,8 +67,7 @@ properties: ...@@ -67,8 +67,7 @@ properties:
sound-name-prefix: sound-name-prefix:
pattern: "^I2S[1-9]$" pattern: "^I2S[1-9]$"
allOf: $ref: /schemas/types.yaml#/definitions/string
- $ref: /schemas/types.yaml#/definitions/string
description: description:
Used as prefix for sink/source names of the component. Must be a Used as prefix for sink/source names of the component. Must be a
unique string among multiple instances of the same component. unique string among multiple instances of the same component.
......
...@@ -37,13 +37,11 @@ properties: ...@@ -37,13 +37,11 @@ properties:
ti,cpb-mcasp: ti,cpb-mcasp:
description: phandle to McASP used on CPB description: phandle to McASP used on CPB
allOf: $ref: /schemas/types.yaml#/definitions/phandle
- $ref: /schemas/types.yaml#/definitions/phandle
ti,cpb-codec: ti,cpb-codec:
description: phandle to the pcm3168a codec used on the CPB description: phandle to the pcm3168a codec used on the CPB
allOf: $ref: /schemas/types.yaml#/definitions/phandle
- $ref: /schemas/types.yaml#/definitions/phandle
clocks: clocks:
items: items:
......
...@@ -50,28 +50,23 @@ properties: ...@@ -50,28 +50,23 @@ properties:
ti,cpb-mcasp: ti,cpb-mcasp:
description: phandle to McASP used on CPB description: phandle to McASP used on CPB
allOf: $ref: /schemas/types.yaml#/definitions/phandle
- $ref: /schemas/types.yaml#/definitions/phandle
ti,cpb-codec: ti,cpb-codec:
description: phandle to the pcm3168a codec used on the CPB description: phandle to the pcm3168a codec used on the CPB
allOf: $ref: /schemas/types.yaml#/definitions/phandle
- $ref: /schemas/types.yaml#/definitions/phandle
ti,ivi-mcasp: ti,ivi-mcasp:
description: phandle to McASP used on IVI description: phandle to McASP used on IVI
allOf: $ref: /schemas/types.yaml#/definitions/phandle
- $ref: /schemas/types.yaml#/definitions/phandle
ti,ivi-codec-a: ti,ivi-codec-a:
description: phandle to the pcm3168a-A codec on the expansion board description: phandle to the pcm3168a-A codec on the expansion board
allOf: $ref: /schemas/types.yaml#/definitions/phandle
- $ref: /schemas/types.yaml#/definitions/phandle
ti,ivi-codec-b: ti,ivi-codec-b:
description: phandle to the pcm3168a-B codec on the expansion board description: phandle to the pcm3168a-B codec on the expansion board
allOf: $ref: /schemas/types.yaml#/definitions/phandle
- $ref: /schemas/types.yaml#/definitions/phandle
clocks: clocks:
items: items:
......
...@@ -37,10 +37,9 @@ properties: ...@@ -37,10 +37,9 @@ properties:
exit-latency-us: exit-latency-us:
description: | description: |
The exit latency constraint in microsecond for the injected The exit latency constraint in microsecond for the injected idle state
idle state for the device. It is the latency constraint to for the device. It is the latency constraint to apply when selecting an
apply when selecting an idle state from among all the present idle state from among all the present ones.
ones.
required: required:
- '#cooling-cells' - '#cooling-cells'
......
...@@ -298,7 +298,7 @@ properties: ...@@ -298,7 +298,7 @@ properties:
- national,lm80 - national,lm80
# Temperature sensor with integrated fan control # Temperature sensor with integrated fan control
- national,lm85 - national,lm85
# ±0.33°C Accurate, 12-Bit + Sign Temperature Sensor and Thermal Window Comparator with Two-Wire Interface # I2C ±0.33°C Accurate, 12-Bit + Sign Temperature Sensor and Thermal Window Comparator
- national,lm92 - national,lm92
# i2c trusted platform module (TPM) # i2c trusted platform module (TPM)
- nuvoton,npct501 - nuvoton,npct501
......
...@@ -116,12 +116,13 @@ properties: ...@@ -116,12 +116,13 @@ properties:
snps,need-phy-for-wake: snps,need-phy-for-wake:
$ref: /schemas/types.yaml#/definitions/flag $ref: /schemas/types.yaml#/definitions/flag
description: If present indicates that the phy needs to be left on for remote wakeup during suspend. description: If present indicates that the phy needs to be left on for
remote wakeup during suspend.
snps,reset-phy-on-wake: snps,reset-phy-on-wake:
$ref: /schemas/types.yaml#/definitions/flag $ref: /schemas/types.yaml#/definitions/flag
description: If present indicates that we need to reset the PHY when we detect a wakeup. description: If present indicates that we need to reset the PHY when we
This is due to a hardware errata. detect a wakeup. This is due to a hardware errata.
required: required:
- compatible - compatible
......
...@@ -993,7 +993,8 @@ patternProperties: ...@@ -993,7 +993,8 @@ patternProperties:
"^sst,.*": "^sst,.*":
description: Silicon Storage Technology, Inc. description: Silicon Storage Technology, Inc.
"^sstar,.*": "^sstar,.*":
description: Xiamen Xingchen(SigmaStar) Technology Co., Ltd. (formerly part of MStar Semiconductor, Inc.) description: Xiamen Xingchen(SigmaStar) Technology Co., Ltd.
(formerly part of MStar Semiconductor, Inc.)
"^st,.*": "^st,.*":
description: STMicroelectronics description: STMicroelectronics
"^starry,.*": "^starry,.*":
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment