Commit 14571d5f authored by Linus Torvalds's avatar Linus Torvalds

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

Pull devicetree fixes from Rob Herring:

 - Correct the JSON pointer syntax in binding schemas

 - Drop unnecessary *-supply schema constraints

 - Drop redundant maxItems/items on array schemas

 - Fix various yamllint warnings

 - Fix various missing 'additionalProperties' properties

* tag 'devicetree-fixes-for-5.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux:
  dt-bindings: Drop redundant maxItems/items
  dt-bindings: net: qcom,ipa: Drop unnecessary type ref on 'memory-region'
  dt-bindings: Drop unnecessary *-supply schemas properties
  dt-bindings/display: abt,y030xx067a: Fix binding
  dt-bindings: clock: imx8qxp-lpcg: eliminate yamllint warnings
  dt-bindings: display: eliminate yamllint warnings
  dt-bindings: media: nokia,smia: eliminate yamllint warnings
  dt-bindings: devapc: add the required property 'additionalProperties'
  dt-bindings: soc: add the required property 'additionalProperties'
  dt-bindings: serial: add the required property 'additionalProperties'
  dt-bindings: xlnx,vcu-settings: fix dt_binding_check warnings
  media: dt-bindings: coda: Add missing 'additionalProperties'
  dt-bindings: Fix JSON pointers
parents 64145482 2b8f061a
...@@ -313,7 +313,7 @@ patternProperties: ...@@ -313,7 +313,7 @@ patternProperties:
wakeup-latency-us by this duration. wakeup-latency-us by this duration.
idle-state-name: idle-state-name:
$ref: /schemas/types.yaml#definitions/string $ref: /schemas/types.yaml#/definitions/string
description: description:
A string used as a descriptive name for the idle state. A string used as a descriptive name for the idle state.
......
...@@ -34,7 +34,7 @@ properties: ...@@ -34,7 +34,7 @@ properties:
description: description:
The SRAM that needs to be claimed to access the display engine The SRAM that needs to be claimed to access the display engine
bus. bus.
$ref: /schemas/types.yaml#definitions/phandle-array $ref: /schemas/types.yaml#/definitions/phandle-array
maxItems: 1 maxItems: 1
ranges: true ranges: true
......
...@@ -46,7 +46,7 @@ properties: ...@@ -46,7 +46,7 @@ properties:
const: 1 const: 1
syscon: syscon:
$ref: /schemas/types.yaml#definitions/phandle $ref: /schemas/types.yaml#/definitions/phandle
description: Phandle to the Baikal-T1 System Controller DT node description: Phandle to the Baikal-T1 System Controller DT node
interrupts: interrupts:
......
...@@ -29,18 +29,18 @@ properties: ...@@ -29,18 +29,18 @@ properties:
- const: fsl,imx8qxp-lpcg - const: fsl,imx8qxp-lpcg
- items: - items:
- enum: - enum:
- fsl,imx8qm-lpcg - fsl,imx8qm-lpcg
- const: fsl,imx8qxp-lpcg - const: fsl,imx8qxp-lpcg
- enum: - enum:
- fsl,imx8qxp-lpcg-adma - fsl,imx8qxp-lpcg-adma
- fsl,imx8qxp-lpcg-conn - fsl,imx8qxp-lpcg-conn
- fsl,imx8qxp-lpcg-dc - fsl,imx8qxp-lpcg-dc
- fsl,imx8qxp-lpcg-dsp - fsl,imx8qxp-lpcg-dsp
- fsl,imx8qxp-lpcg-gpu - fsl,imx8qxp-lpcg-gpu
- fsl,imx8qxp-lpcg-hsio - fsl,imx8qxp-lpcg-hsio
- fsl,imx8qxp-lpcg-img - fsl,imx8qxp-lpcg-img
- fsl,imx8qxp-lpcg-lsio - fsl,imx8qxp-lpcg-lsio
- fsl,imx8qxp-lpcg-vpu - fsl,imx8qxp-lpcg-vpu
deprecated: true deprecated: true
reg: reg:
maxItems: 1 maxItems: 1
......
...@@ -37,7 +37,7 @@ properties: ...@@ -37,7 +37,7 @@ properties:
description: Size of the connector, should be specified in case of description: Size of the connector, should be specified in case of
non-fullsize 'usb-a-connector' or 'usb-b-connector' compatible non-fullsize 'usb-a-connector' or 'usb-b-connector' compatible
connectors. connectors.
$ref: /schemas/types.yaml#definitions/string $ref: /schemas/types.yaml#/definitions/string
enum: enum:
- mini - mini
...@@ -67,7 +67,7 @@ properties: ...@@ -67,7 +67,7 @@ properties:
power-role: power-role:
description: Determines the power role that the Type C connector will description: Determines the power role that the Type C connector will
support. "dual" refers to Dual Role Port (DRP). support. "dual" refers to Dual Role Port (DRP).
$ref: /schemas/types.yaml#definitions/string $ref: /schemas/types.yaml#/definitions/string
enum: enum:
- source - source
...@@ -76,7 +76,7 @@ properties: ...@@ -76,7 +76,7 @@ properties:
try-power-role: try-power-role:
description: Preferred power role. description: Preferred power role.
$ref: /schemas/types.yaml#definitions/string $ref: /schemas/types.yaml#/definitions/string
enum: enum:
- source - source
...@@ -86,7 +86,7 @@ properties: ...@@ -86,7 +86,7 @@ properties:
data-role: data-role:
description: Data role if Type C connector supports USB data. "dual" refers description: Data role if Type C connector supports USB data. "dual" refers
Dual Role Device (DRD). Dual Role Device (DRD).
$ref: /schemas/types.yaml#definitions/string $ref: /schemas/types.yaml#/definitions/string
enum: enum:
- host - host
...@@ -105,7 +105,7 @@ properties: ...@@ -105,7 +105,7 @@ properties:
Type-C Cable and Connector specification, when Power Delivery is not Type-C Cable and Connector specification, when Power Delivery is not
supported. supported.
allOf: allOf:
- $ref: /schemas/types.yaml#definitions/string - $ref: /schemas/types.yaml#/definitions/string
enum: enum:
- default - default
- 1.5A - 1.5A
......
...@@ -49,8 +49,8 @@ properties: ...@@ -49,8 +49,8 @@ properties:
Video port for panel or connector. Video port for panel or connector.
required: required:
- port@0 - port@0
- port@1 - port@1
required: required:
- compatible - compatible
......
...@@ -26,11 +26,9 @@ properties: ...@@ -26,11 +26,9 @@ properties:
description: GPIO connected to active low reset description: GPIO connected to active low reset
dvdd12-supply: dvdd12-supply:
maxItems: 1
description: Regulator for 1.2V digital core power. description: Regulator for 1.2V digital core power.
dvdd25-supply: dvdd25-supply:
maxItems: 1
description: Regulator for 2.5V digital core power. description: Regulator for 2.5V digital core power.
ports: ports:
......
...@@ -39,10 +39,10 @@ properties: ...@@ -39,10 +39,10 @@ properties:
properties: properties:
'#address-cells': '#address-cells':
const: 1 const: 1
'#size-cells': '#size-cells':
const: 0 const: 0
port@0: port@0:
type: object type: object
......
...@@ -35,11 +35,9 @@ properties: ...@@ -35,11 +35,9 @@ properties:
maxItems: 1 maxItems: 1
ovdd-supply: ovdd-supply:
maxItems: 1
description: I/O voltage description: I/O voltage
pwr18-supply: pwr18-supply:
maxItems: 1
description: core voltage description: core voltage
interrupts: interrupts:
......
...@@ -79,8 +79,7 @@ properties: ...@@ -79,8 +79,7 @@ properties:
The GPIO used to control the power down line of this device. The GPIO used to control the power down line of this device.
maxItems: 1 maxItems: 1
power-supply: power-supply: true
maxItems: 1
required: required:
- compatible - compatible
......
...@@ -35,11 +35,9 @@ properties: ...@@ -35,11 +35,9 @@ properties:
description: GPIO connected to active low reset. description: GPIO connected to active low reset.
vdd12-supply: vdd12-supply:
maxItems: 1
description: Regulator for 1.2V digital core power. description: Regulator for 1.2V digital core power.
vdd33-supply: vdd33-supply:
maxItems: 1
description: Regulator for 3.3V digital core power. description: Regulator for 3.3V digital core power.
ports: ports:
......
...@@ -60,7 +60,6 @@ properties: ...@@ -60,7 +60,6 @@ properties:
description: GPIO controlling bridge enable description: GPIO controlling bridge enable
vdd-supply: vdd-supply:
maxItems: 1
description: Power supply for the bridge description: Power supply for the bridge
required: required:
......
...@@ -74,7 +74,6 @@ properties: ...@@ -74,7 +74,6 @@ properties:
description: Power down GPIO signal, pin name "/PDWN", active low. description: Power down GPIO signal, pin name "/PDWN", active low.
vcc-supply: vcc-supply:
maxItems: 1
description: description:
Power supply for the TTL output, TTL CLOCKOUT signal, LVDS input, PLL and Power supply for the TTL output, TTL CLOCKOUT signal, LVDS input, PLL and
digital circuitry. digital circuitry.
......
...@@ -28,11 +28,9 @@ properties: ...@@ -28,11 +28,9 @@ properties:
description: i2c address of the bridge, 0x0f description: i2c address of the bridge, 0x0f
vdd-supply: vdd-supply:
maxItems: 1
description: 1.2V LVDS Power Supply description: 1.2V LVDS Power Supply
vddio-supply: vddio-supply:
maxItems: 1
description: 1.8V IO Power Supply description: 1.8V IO Power Supply
stby-gpios: stby-gpios:
......
...@@ -18,8 +18,8 @@ description: | ...@@ -18,8 +18,8 @@ description: |
properties: properties:
compatible: compatible:
items: items:
- const: intel,keembay-msscam - const: intel,keembay-msscam
- const: syscon - const: syscon
reg: reg:
maxItems: 1 maxItems: 1
......
...@@ -32,7 +32,7 @@ required: ...@@ -32,7 +32,7 @@ required:
- power-supply - power-supply
- reset-gpios - reset-gpios
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -22,7 +22,7 @@ properties: ...@@ -22,7 +22,7 @@ properties:
compatible: compatible:
items: items:
- enum: - enum:
- tianma,fhd-video - tianma,fhd-video
- const: novatek,nt36672a - const: novatek,nt36672a
description: This indicates the panel manufacturer of the panel that is description: This indicates the panel manufacturer of the panel that is
in turn using the NT36672A panel driver. This compatible string in turn using the NT36672A panel driver. This compatible string
......
...@@ -98,7 +98,6 @@ properties: ...@@ -98,7 +98,6 @@ properties:
maxItems: 1 maxItems: 1
dmas: dmas:
maxItems: 4
items: items:
- description: Video layer, plane 0 (RGB or luma) - description: Video layer, plane 0 (RGB or luma)
- description: Video layer, plane 1 (U/V or U) - description: Video layer, plane 1 (U/V or U)
......
...@@ -38,12 +38,12 @@ properties: ...@@ -38,12 +38,12 @@ properties:
maxItems: 255 maxItems: 255
dma-channels: dma-channels:
$ref: /schemas/types.yaml#definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
description: description:
Number of DMA channels supported by the controller. Number of DMA channels supported by the controller.
dma-requests: dma-requests:
$ref: /schemas/types.yaml#definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
description: description:
Number of DMA request signals supported by the controller. Number of DMA request signals supported by the controller.
......
...@@ -23,7 +23,7 @@ properties: ...@@ -23,7 +23,7 @@ properties:
pattern: "^dma-router(@.*)?$" pattern: "^dma-router(@.*)?$"
dma-masters: dma-masters:
$ref: /schemas/types.yaml#definitions/phandle-array $ref: /schemas/types.yaml#/definitions/phandle-array
description: description:
Array of phandles to the DMA controllers the router can direct Array of phandles to the DMA controllers the router can direct
the signal to. the signal to.
......
...@@ -48,7 +48,7 @@ properties: ...@@ -48,7 +48,7 @@ properties:
ingenic,reserved-channels property. ingenic,reserved-channels property.
ingenic,reserved-channels: ingenic,reserved-channels:
$ref: /schemas/types.yaml#definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
description: > description: >
Bitmask of channels to reserve for devices that need a specific Bitmask of channels to reserve for devices that need a specific
channel. These channels will only be assigned when explicitely channel. These channels will only be assigned when explicitely
......
...@@ -73,7 +73,6 @@ properties: ...@@ -73,7 +73,6 @@ properties:
maxItems: 1 maxItems: 1
clock-names: clock-names:
maxItems: 1
items: items:
- const: fck - const: fck
......
...@@ -54,7 +54,7 @@ properties: ...@@ -54,7 +54,7 @@ properties:
maximum: 16 maximum: 16
dma-masters: dma-masters:
$ref: /schemas/types.yaml#definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
description: | description: |
Number of DMA masters supported by the controller. In case if Number of DMA masters supported by the controller. In case if
not specified the driver will try to auto-detect this and not specified the driver will try to auto-detect this and
...@@ -63,7 +63,7 @@ properties: ...@@ -63,7 +63,7 @@ properties:
maximum: 4 maximum: 4
chan_allocation_order: chan_allocation_order:
$ref: /schemas/types.yaml#definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
description: | description: |
DMA channels allocation order specifier. Zero means ascending order DMA channels allocation order specifier. Zero means ascending order
(first free allocated), while one - descending (last free allocated). (first free allocated), while one - descending (last free allocated).
...@@ -71,7 +71,7 @@ properties: ...@@ -71,7 +71,7 @@ properties:
enum: [0, 1] enum: [0, 1]
chan_priority: chan_priority:
$ref: /schemas/types.yaml#definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
description: | description: |
DMA channels priority order. Zero means ascending channels priority DMA channels priority order. Zero means ascending channels priority
so the very first channel has the highest priority. While 1 means so the very first channel has the highest priority. While 1 means
...@@ -80,7 +80,7 @@ properties: ...@@ -80,7 +80,7 @@ properties:
enum: [0, 1] enum: [0, 1]
block_size: block_size:
$ref: /schemas/types.yaml#definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
description: Maximum block size supported by the DMA controller. description: Maximum block size supported by the DMA controller.
enum: [3, 7, 15, 31, 63, 127, 255, 511, 1023, 2047, 4095] enum: [3, 7, 15, 31, 63, 127, 255, 511, 1023, 2047, 4095]
...@@ -139,7 +139,7 @@ properties: ...@@ -139,7 +139,7 @@ properties:
default: 256 default: 256
snps,dma-protection-control: snps,dma-protection-control:
$ref: /schemas/types.yaml#definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
description: | description: |
Bits one-to-one passed to the AHB HPROT[3:1] bus. Each bit setting Bits one-to-one passed to the AHB HPROT[3:1] bus. Each bit setting
indicates the following features: bit 0 - privileged mode, indicates the following features: bit 0 - privileged mode,
......
...@@ -131,7 +131,7 @@ properties: ...@@ -131,7 +131,7 @@ properties:
default: 1 default: 1
read-only: read-only:
$ref: /schemas/types.yaml#definitions/flag $ref: /schemas/types.yaml#/definitions/flag
description: description:
Disables writes to the eeprom. Disables writes to the eeprom.
...@@ -141,7 +141,7 @@ properties: ...@@ -141,7 +141,7 @@ properties:
Total eeprom size in bytes. Total eeprom size in bytes.
no-read-rollover: no-read-rollover:
$ref: /schemas/types.yaml#definitions/flag $ref: /schemas/types.yaml#/definitions/flag
description: description:
Indicates that the multi-address eeprom does not automatically roll Indicates that the multi-address eeprom does not automatically roll
over reads to the next slave address. Please consult the manual of over reads to the next slave address. Please consult the manual of
......
...@@ -45,13 +45,13 @@ properties: ...@@ -45,13 +45,13 @@ properties:
spi-max-frequency: true spi-max-frequency: true
pagesize: pagesize:
$ref: /schemas/types.yaml#definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
enum: [1, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072] enum: [1, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072]
description: description:
Size of the eeprom page. Size of the eeprom page.
size: size:
$ref: /schemas/types.yaml#definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
description: description:
Total eeprom size in bytes. Total eeprom size in bytes.
......
...@@ -32,7 +32,7 @@ properties: ...@@ -32,7 +32,7 @@ properties:
PVT controller has 5 VM (voltage monitor) sensors. PVT controller has 5 VM (voltage monitor) sensors.
vm-map defines CPU core to VM instance mapping. A vm-map defines CPU core to VM instance mapping. A
value of 0xff means that VM sensor is unused. value of 0xff means that VM sensor is unused.
$ref: /schemas/types.yaml#definitions/uint8-array $ref: /schemas/types.yaml#/definitions/uint8-array
maxItems: 5 maxItems: 5
clocks: clocks:
......
...@@ -29,12 +29,12 @@ properties: ...@@ -29,12 +29,12 @@ properties:
const: 0x70 const: 0x70
sensirion,blocking-io: sensirion,blocking-io:
$ref: /schemas/types.yaml#definitions/flag $ref: /schemas/types.yaml#/definitions/flag
description: description:
If set, the driver hold the i2c bus until measurement is finished. If set, the driver hold the i2c bus until measurement is finished.
sensirion,low-precision: sensirion,low-precision:
$ref: /schemas/types.yaml#definitions/flag $ref: /schemas/types.yaml#/definitions/flag
description: description:
If set, the sensor aquire data with low precision (not recommended). If set, the sensor aquire data with low precision (not recommended).
The driver aquire data with high precision by default. The driver aquire data with high precision by default.
......
...@@ -61,7 +61,7 @@ properties: ...@@ -61,7 +61,7 @@ properties:
Array of three(TMP513) or two(TMP512) n-Factor value for each remote Array of three(TMP513) or two(TMP512) n-Factor value for each remote
temperature channel. temperature channel.
See datasheet Table 11 for n-Factor range list and value interpretation. See datasheet Table 11 for n-Factor range list and value interpretation.
$ref: /schemas/types.yaml#definitions/uint32-array $ref: /schemas/types.yaml#/definitions/uint32-array
minItems: 2 minItems: 2
maxItems: 3 maxItems: 3
items: items:
......
...@@ -17,8 +17,7 @@ properties: ...@@ -17,8 +17,7 @@ properties:
- lltc,ltc2496 - lltc,ltc2496
vref-supply: vref-supply:
description: phandle to an external regulator providing the reference voltage description: Power supply for the reference voltage
$ref: /schemas/types.yaml#/definitions/phandle
reg: reg:
description: spi chipselect number according to the usual spi bindings description: spi chipselect number according to the usual spi bindings
......
...@@ -22,8 +22,7 @@ properties: ...@@ -22,8 +22,7 @@ properties:
- ti,hdc2010 - ti,hdc2010
- ti,hdc2080 - ti,hdc2080
vdd-supply: vdd-supply: true
maxItems: 1
reg: reg:
maxItems: 1 maxItems: 1
......
...@@ -45,7 +45,7 @@ properties: ...@@ -45,7 +45,7 @@ properties:
default: 0x16 default: 0x16
upisemi,continuous: upisemi,continuous:
$ref: /schemas/types.yaml#definitions/flag $ref: /schemas/types.yaml#/definitions/flag
description: | description: |
This chip has two power modes: one-shot (chip takes one measurement and This chip has two power modes: one-shot (chip takes one measurement and
then shuts itself down) and continuous (chip takes continuous then shuts itself down) and continuous (chip takes continuous
......
...@@ -72,7 +72,7 @@ properties: ...@@ -72,7 +72,7 @@ properties:
- finest - finest
semtech,startup-sensor: semtech,startup-sensor:
$ref: /schemas/types.yaml#definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
enum: [0, 1, 2, 3] enum: [0, 1, 2, 3]
default: 0 default: 0
description: description:
...@@ -81,7 +81,7 @@ properties: ...@@ -81,7 +81,7 @@ properties:
compensation. compensation.
semtech,proxraw-strength: semtech,proxraw-strength:
$ref: /schemas/types.yaml#definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
enum: [0, 2, 4, 8] enum: [0, 2, 4, 8]
default: 2 default: 2
description: description:
...@@ -89,7 +89,7 @@ properties: ...@@ -89,7 +89,7 @@ properties:
represent 1-1/N. represent 1-1/N.
semtech,avg-pos-strength: semtech,avg-pos-strength:
$ref: /schemas/types.yaml#definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
enum: [0, 16, 64, 128, 256, 512, 1024, 4294967295] enum: [0, 16, 64, 128, 256, 512, 1024, 4294967295]
default: 16 default: 16
description: description:
......
...@@ -31,8 +31,7 @@ properties: ...@@ -31,8 +31,7 @@ properties:
interrupts: interrupts:
maxItems: 1 maxItems: 1
vdd-supply: vdd-supply: true
maxItems: 1
linux,keycodes: linux,keycodes:
minItems: 1 minItems: 1
......
...@@ -34,13 +34,13 @@ patternProperties: ...@@ -34,13 +34,13 @@ patternProperties:
linux,code: linux,code:
description: Key / Axis code to emit. description: Key / Axis code to emit.
$ref: /schemas/types.yaml#definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
linux,input-type: linux,input-type:
description: description:
Specify event type this button/key generates. If not specified defaults to Specify event type this button/key generates. If not specified defaults to
<1> == EV_KEY. <1> == EV_KEY.
$ref: /schemas/types.yaml#definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
default: 1 default: 1
...@@ -56,12 +56,12 @@ patternProperties: ...@@ -56,12 +56,12 @@ patternProperties:
linux,input-value = <0xffffffff>; /* -1 */ linux,input-value = <0xffffffff>; /* -1 */
$ref: /schemas/types.yaml#definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
debounce-interval: debounce-interval:
description: description:
Debouncing interval time in milliseconds. If not specified defaults to 5. Debouncing interval time in milliseconds. If not specified defaults to 5.
$ref: /schemas/types.yaml#definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
default: 5 default: 5
...@@ -79,7 +79,7 @@ patternProperties: ...@@ -79,7 +79,7 @@ patternProperties:
EV_ACT_ANY - both asserted and deasserted EV_ACT_ANY - both asserted and deasserted
EV_ACT_ASSERTED - asserted EV_ACT_ASSERTED - asserted
EV_ACT_DEASSERTED - deasserted EV_ACT_DEASSERTED - deasserted
$ref: /schemas/types.yaml#definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
enum: [0, 1, 2] enum: [0, 1, 2]
linux,can-disable: linux,can-disable:
...@@ -118,7 +118,7 @@ then: ...@@ -118,7 +118,7 @@ then:
poll-interval: poll-interval:
description: description:
Poll interval time in milliseconds Poll interval time in milliseconds
$ref: /schemas/types.yaml#definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
required: required:
- poll-interval - poll-interval
......
...@@ -55,8 +55,7 @@ properties: ...@@ -55,8 +55,7 @@ properties:
wakeup-source: true wakeup-source: true
vcc-supply: vcc-supply: true
maxItems: 1
gain: gain:
description: Allows setting the sensitivity in the range from 0 to 31. description: Allows setting the sensitivity in the range from 0 to 31.
......
...@@ -42,7 +42,7 @@ properties: ...@@ -42,7 +42,7 @@ 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.
$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
...@@ -56,7 +56,7 @@ properties: ...@@ -56,7 +56,7 @@ 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).
$ref: /schemas/types.yaml#definitions/uint32-array $ref: /schemas/types.yaml#/definitions/uint32-array
items: items:
- minimum: 0 - minimum: 0
maximum: 254 maximum: 254
......
...@@ -80,7 +80,7 @@ properties: ...@@ -80,7 +80,7 @@ properties:
mapping is provided. mapping is provided.
ti,irqs-reserved: ti,irqs-reserved:
$ref: /schemas/types.yaml#definitions/uint8 $ref: /schemas/types.yaml#/definitions/uint8
description: | description: |
Bitmask of host interrupts between 0 and 7 (corresponding to PRUSS INTC Bitmask of host interrupts between 0 and 7 (corresponding to PRUSS INTC
output interrupts 2 through 9) that are not connected to the Arm interrupt output interrupts 2 through 9) that are not connected to the Arm interrupt
......
...@@ -76,7 +76,7 @@ properties: ...@@ -76,7 +76,7 @@ properties:
"limit" specifies the limit for translation "limit" specifies the limit for translation
ti,unmapped-event-sources: ti,unmapped-event-sources:
$ref: /schemas/types.yaml#definitions/phandle-array $ref: /schemas/types.yaml#/definitions/phandle-array
description: description:
Array of phandles to DMA controllers where the unmapped events originate. Array of phandles to DMA controllers where the unmapped events originate.
......
...@@ -22,7 +22,7 @@ properties: ...@@ -22,7 +22,7 @@ properties:
The default brightness that should be applied to the LED by the operating The default brightness that should be applied to the LED by the operating
system on start-up. The brightness should not exceed the brightness the system on start-up. The brightness should not exceed the brightness the
LED can provide. LED can provide.
$ref: /schemas/types.yaml#definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
max-brightness: max-brightness:
description: description:
...@@ -31,6 +31,6 @@ properties: ...@@ -31,6 +31,6 @@ properties:
on the brightness apart from what the driver says, as it could happen on the brightness apart from what the driver says, as it could happen
that a LED can be made so bright that it gets damaged or causes damage that a LED can be made so bright that it gets damaged or causes damage
due to restrictions in a specific system, such as mounting conditions. due to restrictions in a specific system, such as mounting conditions.
$ref: /schemas/types.yaml#definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
additionalProperties: true additionalProperties: true
...@@ -27,21 +27,21 @@ properties: ...@@ -27,21 +27,21 @@ properties:
List of device current outputs the LED is connected to. The outputs are List of device current outputs the LED is connected to. The outputs are
identified by the numbers that must be defined in the LED device binding identified by the numbers that must be defined in the LED device binding
documentation. documentation.
$ref: /schemas/types.yaml#definitions/uint32-array $ref: /schemas/types.yaml#/definitions/uint32-array
function: function:
description: description:
LED function. Use one of the LED_FUNCTION_* prefixed definitions LED function. Use one of the LED_FUNCTION_* prefixed definitions
from the header include/dt-bindings/leds/common.h. If there is no from the header include/dt-bindings/leds/common.h. If there is no
matching LED_FUNCTION available, add a new one. matching LED_FUNCTION available, add a new one.
$ref: /schemas/types.yaml#definitions/string $ref: /schemas/types.yaml#/definitions/string
color: color:
description: description:
Color of the LED. Use one of the LED_COLOR_ID_* prefixed definitions from Color of the LED. Use one of the LED_COLOR_ID_* prefixed definitions from
the header include/dt-bindings/leds/common.h. If there is no matching the header include/dt-bindings/leds/common.h. If there is no matching
LED_COLOR_ID available, add a new one. LED_COLOR_ID available, add a new one.
$ref: /schemas/types.yaml#definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
minimum: 0 minimum: 0
maximum: 9 maximum: 9
...@@ -49,7 +49,7 @@ properties: ...@@ -49,7 +49,7 @@ properties:
description: description:
Integer to be used when more than one instance of the same function is Integer to be used when more than one instance of the same function is
needed, differing only with an ordinal number. needed, differing only with an ordinal number.
$ref: /schemas/types.yaml#definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
label: label:
description: description:
...@@ -66,7 +66,7 @@ properties: ...@@ -66,7 +66,7 @@ properties:
produced where the LED momentarily turns off (or on). The "keep" setting produced where the LED momentarily turns off (or on). The "keep" setting
will keep the LED at whatever its current state is, without producing a will keep the LED at whatever its current state is, without producing a
glitch. glitch.
$ref: /schemas/types.yaml#definitions/string $ref: /schemas/types.yaml#/definitions/string
enum: enum:
- on - on
- off - off
...@@ -77,7 +77,7 @@ properties: ...@@ -77,7 +77,7 @@ properties:
description: description:
This parameter, if present, is a string defining the trigger assigned to This parameter, if present, is a string defining the trigger assigned to
the LED. the LED.
$ref: /schemas/types.yaml#definitions/string $ref: /schemas/types.yaml#/definitions/string
enum: enum:
# LED will act as a back-light, controlled by the framebuffer system # LED will act as a back-light, controlled by the framebuffer system
...@@ -109,7 +109,7 @@ properties: ...@@ -109,7 +109,7 @@ properties:
brightness and duration (in ms). The exact format is brightness and duration (in ms). The exact format is
described in: described in:
Documentation/devicetree/bindings/leds/leds-trigger-pattern.txt Documentation/devicetree/bindings/leds/leds-trigger-pattern.txt
$ref: /schemas/types.yaml#definitions/uint32-matrix $ref: /schemas/types.yaml#/definitions/uint32-matrix
items: items:
minItems: 2 minItems: 2
maxItems: 2 maxItems: 2
...@@ -143,7 +143,7 @@ properties: ...@@ -143,7 +143,7 @@ properties:
the device tree and be referenced by a phandle and a set of phandle the device tree and be referenced by a phandle and a set of phandle
arguments. A length of arguments should be specified by the arguments. A length of arguments should be specified by the
#trigger-source-cells property in the source node. #trigger-source-cells property in the source node.
$ref: /schemas/types.yaml#definitions/phandle-array $ref: /schemas/types.yaml#/definitions/phandle-array
# Required properties for flash LED child nodes: # Required properties for flash LED child nodes:
flash-max-microamp: flash-max-microamp:
......
...@@ -35,7 +35,7 @@ properties: ...@@ -35,7 +35,7 @@ properties:
description: I2C slave address description: I2C slave address
clock-mode: clock-mode:
$ref: /schemas/types.yaml#definitions/uint8 $ref: /schemas/types.yaml#/definitions/uint8
description: | description: |
Input clock mode Input clock mode
enum: enum:
...@@ -49,7 +49,7 @@ properties: ...@@ -49,7 +49,7 @@ properties:
GPIO attached to the chip's enable pin GPIO attached to the chip's enable pin
pwr-sel: pwr-sel:
$ref: /schemas/types.yaml#definitions/uint8 $ref: /schemas/types.yaml#/definitions/uint8
description: | description: |
LP8501 specific property. Power selection for output channels. LP8501 specific property. Power selection for output channels.
enum: enum:
...@@ -70,14 +70,14 @@ patternProperties: ...@@ -70,14 +70,14 @@ patternProperties:
$ref: common.yaml# $ref: common.yaml#
properties: properties:
led-cur: led-cur:
$ref: /schemas/types.yaml#definitions/uint8 $ref: /schemas/types.yaml#/definitions/uint8
description: | description: |
Current setting at each LED channel (mA x10, 0 if LED is not connected) Current setting at each LED channel (mA x10, 0 if LED is not connected)
minimum: 0 minimum: 0
maximum: 255 maximum: 255
max-cur: max-cur:
$ref: /schemas/types.yaml#definitions/uint8 $ref: /schemas/types.yaml#/definitions/uint8
description: Maximun current at each LED channel. description: Maximun current at each LED channel.
reg: reg:
...@@ -97,7 +97,7 @@ patternProperties: ...@@ -97,7 +97,7 @@ patternProperties:
- 8 # LED output D9 - 8 # LED output D9
chan-name: chan-name:
$ref: /schemas/types.yaml#definitions/string $ref: /schemas/types.yaml#/definitions/string
description: name of channel description: name of channel
required: required:
......
...@@ -61,7 +61,6 @@ properties: ...@@ -61,7 +61,6 @@ properties:
- description: low-priority non-secure - description: low-priority non-secure
- description: high-priority non-secure - description: high-priority non-secure
- description: Secure - description: Secure
maxItems: 3
clocks: clocks:
maxItems: 1 maxItems: 1
......
...@@ -44,6 +44,21 @@ properties: ...@@ -44,6 +44,21 @@ properties:
- const: per - const: per
- const: ahb - const: ahb
interrupts:
minItems: 1
items:
- description: BIT processor interrupt
- description: JPEG unit interrupt
interrupt-names:
minItems: 1
items:
- const: bit
- const: jpeg
power-domains:
maxItems: 1
resets: resets:
maxItems: 1 maxItems: 1
...@@ -59,6 +74,8 @@ required: ...@@ -59,6 +74,8 @@ required:
- clocks - clocks
- clock-names - clock-names
additionalProperties: false
allOf: allOf:
- if: - if:
properties: properties:
...@@ -68,34 +85,17 @@ allOf: ...@@ -68,34 +85,17 @@ allOf:
then: then:
properties: properties:
interrupts: interrupts:
items: minItems: 2
- description: BIT processor interrupt
- description: JPEG unit interrupt
interrupt-names: interrupt-names:
items: minItems: 2
- const: bit
- const: jpeg
else: else:
properties: properties:
interrupts: interrupts:
items:
- description: BIT processor interrupt
- if:
properties:
compatible:
contains:
enum:
- fsl,imx6dl-vpu
- fsl,imx6q-vpu
then:
properties:
power-domains:
$ref: /schemas/types.yaml#/definitions/phandle
description: phandle pointing to the PU power domain
maxItems: 1 maxItems: 1
power-domains: false
examples: examples:
- | - |
vpu: video-codec@63ff4000 { vpu: video-codec@63ff4000 {
......
...@@ -40,7 +40,6 @@ properties: ...@@ -40,7 +40,6 @@ properties:
poc-supply: poc-supply:
description: Regulator providing Power over Coax to the cameras description: Regulator providing Power over Coax to the cameras
maxItems: 1
enable-gpios: enable-gpios:
description: GPIO connected to the \#PWDN pin with inverted polarity description: GPIO connected to the \#PWDN pin with inverted polarity
......
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
# Copyright (C) 2014--2020 Intel Corporation # Copyright (C) 2014--2020 Intel Corporation
%YAML 1.2
---
$id: http://devicetree.org/schemas/media/i2c/mipi-ccs.yaml# $id: http://devicetree.org/schemas/media/i2c/mipi-ccs.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml#
...@@ -26,11 +27,11 @@ properties: ...@@ -26,11 +27,11 @@ properties:
compatible: compatible:
oneOf: oneOf:
- items: - items:
- const: mipi-ccs-1.1 - const: mipi-ccs-1.1
- const: mipi-ccs - const: mipi-ccs
- items: - items:
- const: mipi-ccs-1.0 - const: mipi-ccs-1.0
- const: mipi-ccs - const: mipi-ccs
- const: nokia,smia - const: nokia,smia
reg: reg:
...@@ -38,15 +39,12 @@ properties: ...@@ -38,15 +39,12 @@ properties:
vana-supply: vana-supply:
description: Analogue voltage supply (VANA), sensor dependent. description: Analogue voltage supply (VANA), sensor dependent.
maxItems: 1
vcore-supply: vcore-supply:
description: Core voltage supply (VCore), sensor dependent. description: Core voltage supply (VCore), sensor dependent.
maxItems: 1
vio-supply: vio-supply:
description: I/O voltage supply (VIO), sensor dependent. description: I/O voltage supply (VIO), sensor dependent.
maxItems: 1
clocks: clocks:
description: External clock to the sensor. description: External clock to the sensor.
......
...@@ -37,15 +37,12 @@ properties: ...@@ -37,15 +37,12 @@ properties:
vdddo-supply: vdddo-supply:
description: Chip digital IO regulator (1.8V). description: Chip digital IO regulator (1.8V).
maxItems: 1
vdda-supply: vdda-supply:
description: Chip analog regulator (2.7V). description: Chip analog regulator (2.7V).
maxItems: 1
vddd-supply: vddd-supply:
description: Chip digital core regulator (1.12V). description: Chip digital core regulator (1.12V).
maxItems: 1
flash-leds: flash-leds:
description: See ../video-interfaces.txt description: See ../video-interfaces.txt
......
...@@ -33,15 +33,12 @@ properties: ...@@ -33,15 +33,12 @@ properties:
vana-supply: vana-supply:
description: Sensor 2.8 V analog supply. description: Sensor 2.8 V analog supply.
maxItems: 1
vdig-supply: vdig-supply:
description: Sensor 1.8 V digital core supply. description: Sensor 1.8 V digital core supply.
maxItems: 1
vddl-supply: vddl-supply:
description: Sensor digital IO 1.2 V supply. description: Sensor digital IO 1.2 V supply.
maxItems: 1
port: port:
type: object type: object
......
...@@ -26,8 +26,7 @@ properties: ...@@ -26,8 +26,7 @@ properties:
drive-open-drain: true drive-open-drain: true
vdd-supply: vdd-supply: true
maxItems: 1
pinctrl: pinctrl:
type: object type: object
......
...@@ -38,7 +38,7 @@ properties: ...@@ -38,7 +38,7 @@ properties:
const: stmmaceth const: stmmaceth
syscon: syscon:
$ref: /schemas/types.yaml#definitions/phandle $ref: /schemas/types.yaml#/definitions/phandle
description: description:
Phandle to the device containing the EMAC or GMAC clock Phandle to the device containing the EMAC or GMAC clock
register register
...@@ -114,7 +114,7 @@ allOf: ...@@ -114,7 +114,7 @@ allOf:
then: then:
properties: properties:
allwinner,leds-active-low: allwinner,leds-active-low:
$ref: /schemas/types.yaml#definitions/flag $ref: /schemas/types.yaml#/definitions/flag
description: description:
EPHY LEDs are active low. EPHY LEDs are active low.
...@@ -126,7 +126,7 @@ allOf: ...@@ -126,7 +126,7 @@ allOf:
const: allwinner,sun8i-h3-mdio-mux const: allwinner,sun8i-h3-mdio-mux
mdio-parent-bus: mdio-parent-bus:
$ref: /schemas/types.yaml#definitions/phandle $ref: /schemas/types.yaml#/definitions/phandle
description: description:
Phandle to EMAC MDIO. Phandle to EMAC MDIO.
......
...@@ -60,7 +60,7 @@ allOf: ...@@ -60,7 +60,7 @@ allOf:
- const: timing-adjustment - const: timing-adjustment
amlogic,tx-delay-ns: amlogic,tx-delay-ns:
$ref: /schemas/types.yaml#definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
description: description:
The internal RGMII TX clock delay (provided by this driver) in The internal RGMII TX clock delay (provided by this driver) in
nanoseconds. Allowed values are 0ns, 2ns, 4ns, 6ns. nanoseconds. Allowed values are 0ns, 2ns, 4ns, 6ns.
......
...@@ -54,7 +54,7 @@ patternProperties: ...@@ -54,7 +54,7 @@ patternProperties:
description: description:
Describes the label associated with this port, which will become Describes the label associated with this port, which will become
the netdev name the netdev name
$ref: /schemas/types.yaml#definitions/string $ref: /schemas/types.yaml#/definitions/string
link: link:
description: description:
...@@ -62,13 +62,13 @@ patternProperties: ...@@ -62,13 +62,13 @@ patternProperties:
port is used as the outgoing port towards the phandle ports. The port is used as the outgoing port towards the phandle ports. The
full routing information must be given, not just the one hop full routing information must be given, not just the one hop
routes to neighbouring switches routes to neighbouring switches
$ref: /schemas/types.yaml#definitions/phandle-array $ref: /schemas/types.yaml#/definitions/phandle-array
ethernet: ethernet:
description: description:
Should be a phandle to a valid Ethernet device node. This host Should be a phandle to a valid Ethernet device node. This host
device is what the switch port is connected to device is what the switch port is connected to
$ref: /schemas/types.yaml#definitions/phandle $ref: /schemas/types.yaml#/definitions/phandle
phy-handle: true phy-handle: true
......
...@@ -16,7 +16,7 @@ properties: ...@@ -16,7 +16,7 @@ properties:
local-mac-address: local-mac-address:
description: description:
Specifies the MAC address that was assigned to the network device. Specifies the MAC address that was assigned to the network device.
$ref: /schemas/types.yaml#definitions/uint8-array $ref: /schemas/types.yaml#/definitions/uint8-array
items: items:
- minItems: 6 - minItems: 6
maxItems: 6 maxItems: 6
...@@ -27,20 +27,20 @@ properties: ...@@ -27,20 +27,20 @@ properties:
program; should be used in cases where the MAC address assigned program; should be used in cases where the MAC address assigned
to the device by the boot program is different from the to the device by the boot program is different from the
local-mac-address property. local-mac-address property.
$ref: /schemas/types.yaml#definitions/uint8-array $ref: /schemas/types.yaml#/definitions/uint8-array
items: items:
- minItems: 6 - minItems: 6
maxItems: 6 maxItems: 6
max-frame-size: max-frame-size:
$ref: /schemas/types.yaml#definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
description: description:
Maximum transfer unit (IEEE defined MTU), rather than the Maximum transfer unit (IEEE defined MTU), rather than the
maximum frame size (there\'s contradiction in the Devicetree maximum frame size (there\'s contradiction in the Devicetree
Specification). Specification).
max-speed: max-speed:
$ref: /schemas/types.yaml#definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
description: description:
Specifies maximum speed in Mbit/s supported by the device. Specifies maximum speed in Mbit/s supported by the device.
...@@ -101,7 +101,7 @@ properties: ...@@ -101,7 +101,7 @@ properties:
$ref: "#/properties/phy-connection-type" $ref: "#/properties/phy-connection-type"
phy-handle: phy-handle:
$ref: /schemas/types.yaml#definitions/phandle $ref: /schemas/types.yaml#/definitions/phandle
description: description:
Specifies a reference to a node representing a PHY device. Specifies a reference to a node representing a PHY device.
...@@ -114,7 +114,7 @@ properties: ...@@ -114,7 +114,7 @@ properties:
deprecated: true deprecated: true
rx-fifo-depth: rx-fifo-depth:
$ref: /schemas/types.yaml#definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
description: description:
The size of the controller\'s receive fifo in bytes. This is used The size of the controller\'s receive fifo in bytes. This is used
for components that can have configurable receive fifo sizes, for components that can have configurable receive fifo sizes,
...@@ -129,12 +129,12 @@ properties: ...@@ -129,12 +129,12 @@ properties:
If this property is present then the MAC applies the RX delay. If this property is present then the MAC applies the RX delay.
sfp: sfp:
$ref: /schemas/types.yaml#definitions/phandle $ref: /schemas/types.yaml#/definitions/phandle
description: description:
Specifies a reference to a node representing a SFP cage. Specifies a reference to a node representing a SFP cage.
tx-fifo-depth: tx-fifo-depth:
$ref: /schemas/types.yaml#definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
description: description:
The size of the controller\'s transmit fifo in bytes. This The size of the controller\'s transmit fifo in bytes. This
is used for components that can have configurable fifo sizes. is used for components that can have configurable fifo sizes.
...@@ -150,7 +150,7 @@ properties: ...@@ -150,7 +150,7 @@ properties:
description: description:
Specifies the PHY management type. If auto is set and fixed-link Specifies the PHY management type. If auto is set and fixed-link
is not specified, it uses MDIO for management. is not specified, it uses MDIO for management.
$ref: /schemas/types.yaml#definitions/string $ref: /schemas/types.yaml#/definitions/string
default: auto default: auto
enum: enum:
- auto - auto
...@@ -198,17 +198,17 @@ properties: ...@@ -198,17 +198,17 @@ properties:
speed: speed:
description: description:
Link speed. Link speed.
$ref: /schemas/types.yaml#definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
enum: [10, 100, 1000] enum: [10, 100, 1000]
full-duplex: full-duplex:
$ref: /schemas/types.yaml#definitions/flag $ref: /schemas/types.yaml#/definitions/flag
description: description:
Indicates that full-duplex is used. When absent, half Indicates that full-duplex is used. When absent, half
duplex is assumed. duplex is assumed.
asym-pause: asym-pause:
$ref: /schemas/types.yaml#definitions/flag $ref: /schemas/types.yaml#/definitions/flag
description: description:
Indicates that asym_pause should be enabled. Indicates that asym_pause should be enabled.
......
...@@ -78,57 +78,57 @@ properties: ...@@ -78,57 +78,57 @@ properties:
Maximum PHY supported speed in Mbits / seconds. Maximum PHY supported speed in Mbits / seconds.
broken-turn-around: broken-turn-around:
$ref: /schemas/types.yaml#definitions/flag $ref: /schemas/types.yaml#/definitions/flag
description: description:
If set, indicates the PHY device does not correctly release If set, indicates the PHY device does not correctly release
the turn around line low at end of the control phase of the the turn around line low at end of the control phase of the
MDIO transaction. MDIO transaction.
enet-phy-lane-swap: enet-phy-lane-swap:
$ref: /schemas/types.yaml#definitions/flag $ref: /schemas/types.yaml#/definitions/flag
description: description:
If set, indicates the PHY will swap the TX/RX lanes to If set, indicates the PHY will swap the TX/RX lanes to
compensate for the board being designed with the lanes compensate for the board being designed with the lanes
swapped. swapped.
eee-broken-100tx: eee-broken-100tx:
$ref: /schemas/types.yaml#definitions/flag $ref: /schemas/types.yaml#/definitions/flag
description: description:
Mark the corresponding energy efficient ethernet mode as Mark the corresponding energy efficient ethernet mode as
broken and request the ethernet to stop advertising it. broken and request the ethernet to stop advertising it.
eee-broken-1000t: eee-broken-1000t:
$ref: /schemas/types.yaml#definitions/flag $ref: /schemas/types.yaml#/definitions/flag
description: description:
Mark the corresponding energy efficient ethernet mode as Mark the corresponding energy efficient ethernet mode as
broken and request the ethernet to stop advertising it. broken and request the ethernet to stop advertising it.
eee-broken-10gt: eee-broken-10gt:
$ref: /schemas/types.yaml#definitions/flag $ref: /schemas/types.yaml#/definitions/flag
description: description:
Mark the corresponding energy efficient ethernet mode as Mark the corresponding energy efficient ethernet mode as
broken and request the ethernet to stop advertising it. broken and request the ethernet to stop advertising it.
eee-broken-1000kx: eee-broken-1000kx:
$ref: /schemas/types.yaml#definitions/flag $ref: /schemas/types.yaml#/definitions/flag
description: description:
Mark the corresponding energy efficient ethernet mode as Mark the corresponding energy efficient ethernet mode as
broken and request the ethernet to stop advertising it. broken and request the ethernet to stop advertising it.
eee-broken-10gkx4: eee-broken-10gkx4:
$ref: /schemas/types.yaml#definitions/flag $ref: /schemas/types.yaml#/definitions/flag
description: description:
Mark the corresponding energy efficient ethernet mode as Mark the corresponding energy efficient ethernet mode as
broken and request the ethernet to stop advertising it. broken and request the ethernet to stop advertising it.
eee-broken-10gkr: eee-broken-10gkr:
$ref: /schemas/types.yaml#definitions/flag $ref: /schemas/types.yaml#/definitions/flag
description: description:
Mark the corresponding energy efficient ethernet mode as Mark the corresponding energy efficient ethernet mode as
broken and request the ethernet to stop advertising it. broken and request the ethernet to stop advertising it.
phy-is-integrated: phy-is-integrated:
$ref: /schemas/types.yaml#definitions/flag $ref: /schemas/types.yaml#/definitions/flag
description: description:
If set, indicates that the PHY is integrated into the same If set, indicates that the PHY is integrated into the same
physical package as the Ethernet MAC. If needed, muxers physical package as the Ethernet MAC. If needed, muxers
...@@ -158,7 +158,7 @@ properties: ...@@ -158,7 +158,7 @@ properties:
this property is missing the delay will be skipped. this property is missing the delay will be skipped.
sfp: sfp:
$ref: /schemas/types.yaml#definitions/phandle $ref: /schemas/types.yaml#/definitions/phandle
description: description:
Specifies a reference to a node representing a SFP cage. Specifies a reference to a node representing a SFP cage.
......
...@@ -31,7 +31,7 @@ properties: ...@@ -31,7 +31,7 @@ properties:
phy-mode: true phy-mode: true
pcs-handle: pcs-handle:
$ref: /schemas/types.yaml#definitions/phandle $ref: /schemas/types.yaml#/definitions/phandle
description: description:
A reference to a node representing a PCS PHY device found on A reference to a node representing a PCS PHY device found on
the internal MDIO bus. the internal MDIO bus.
......
...@@ -70,7 +70,7 @@ patternProperties: ...@@ -70,7 +70,7 @@ patternProperties:
The ID number for the device. The ID number for the device.
broken-turn-around: broken-turn-around:
$ref: /schemas/types.yaml#definitions/flag $ref: /schemas/types.yaml#/definitions/flag
description: description:
If set, indicates the MDIO device does not correctly release If set, indicates the MDIO device does not correctly release
the turn around line low at end of the control phase of the the turn around line low at end of the control phase of the
......
...@@ -42,7 +42,7 @@ properties: ...@@ -42,7 +42,7 @@ properties:
- const: trans - const: trans
mediatek,pericfg: mediatek,pericfg:
$ref: /schemas/types.yaml#definitions/phandle $ref: /schemas/types.yaml#/definitions/phandle
description: description:
Phandle to the device containing the PERICFG register range. This is used Phandle to the device containing the PERICFG register range. This is used
to control the MII mode. to control the MII mode.
......
...@@ -114,14 +114,13 @@ properties: ...@@ -114,14 +114,13 @@ properties:
validating firwmare used by the GSI. validating firwmare used by the GSI.
modem-remoteproc: modem-remoteproc:
$ref: /schemas/types.yaml#definitions/phandle $ref: /schemas/types.yaml#/definitions/phandle
description: description:
This defines the phandle to the remoteproc node representing This defines the phandle to the remoteproc node representing
the modem subsystem. This is requied so the IPA driver can the modem subsystem. This is requied so the IPA driver can
receive and act on notifications of modem up/down events. receive and act on notifications of modem up/down events.
memory-region: memory-region:
$ref: /schemas/types.yaml#/definitions/phandle-array
maxItems: 1 maxItems: 1
description: description:
If present, a phandle for a reserved memory area that holds If present, a phandle for a reserved memory area that holds
......
...@@ -126,7 +126,7 @@ properties: ...@@ -126,7 +126,7 @@ properties:
in a different mode than the PHY in order to function. in a different mode than the PHY in order to function.
snps,axi-config: snps,axi-config:
$ref: /schemas/types.yaml#definitions/phandle $ref: /schemas/types.yaml#/definitions/phandle
description: description:
AXI BUS Mode parameters. Phandle to a node that can contain the AXI BUS Mode parameters. Phandle to a node that can contain the
following properties following properties
...@@ -141,7 +141,7 @@ properties: ...@@ -141,7 +141,7 @@ properties:
* snps,rb, rebuild INCRx Burst * snps,rb, rebuild INCRx Burst
snps,mtl-rx-config: snps,mtl-rx-config:
$ref: /schemas/types.yaml#definitions/phandle $ref: /schemas/types.yaml#/definitions/phandle
description: description:
Multiple RX Queues parameters. Phandle to a node that can Multiple RX Queues parameters. Phandle to a node that can
contain the following properties contain the following properties
...@@ -164,7 +164,7 @@ properties: ...@@ -164,7 +164,7 @@ properties:
* snps,priority, RX queue priority (Range 0x0 to 0xF) * snps,priority, RX queue priority (Range 0x0 to 0xF)
snps,mtl-tx-config: snps,mtl-tx-config:
$ref: /schemas/types.yaml#definitions/phandle $ref: /schemas/types.yaml#/definitions/phandle
description: description:
Multiple TX Queues parameters. Phandle to a node that can Multiple TX Queues parameters. Phandle to a node that can
contain the following properties contain the following properties
...@@ -198,7 +198,7 @@ properties: ...@@ -198,7 +198,7 @@ properties:
snps,reset-active-low: snps,reset-active-low:
deprecated: true deprecated: true
$ref: /schemas/types.yaml#definitions/flag $ref: /schemas/types.yaml#/definitions/flag
description: description:
Indicates that the PHY Reset is active low Indicates that the PHY Reset is active low
...@@ -208,55 +208,55 @@ properties: ...@@ -208,55 +208,55 @@ properties:
Triplet of delays. The 1st cell is reset pre-delay in micro Triplet of delays. The 1st cell is reset pre-delay in micro
seconds. The 2nd cell is reset pulse in micro seconds. The 3rd seconds. The 2nd cell is reset pulse in micro seconds. The 3rd
cell is reset post-delay in micro seconds. cell is reset post-delay in micro seconds.
$ref: /schemas/types.yaml#definitions/uint32-array $ref: /schemas/types.yaml#/definitions/uint32-array
minItems: 3 minItems: 3
maxItems: 3 maxItems: 3
snps,aal: snps,aal:
$ref: /schemas/types.yaml#definitions/flag $ref: /schemas/types.yaml#/definitions/flag
description: description:
Use Address-Aligned Beats Use Address-Aligned Beats
snps,fixed-burst: snps,fixed-burst:
$ref: /schemas/types.yaml#definitions/flag $ref: /schemas/types.yaml#/definitions/flag
description: description:
Program the DMA to use the fixed burst mode Program the DMA to use the fixed burst mode
snps,mixed-burst: snps,mixed-burst:
$ref: /schemas/types.yaml#definitions/flag $ref: /schemas/types.yaml#/definitions/flag
description: description:
Program the DMA to use the mixed burst mode Program the DMA to use the mixed burst mode
snps,force_thresh_dma_mode: snps,force_thresh_dma_mode:
$ref: /schemas/types.yaml#definitions/flag $ref: /schemas/types.yaml#/definitions/flag
description: description:
Force DMA to use the threshold mode for both tx and rx Force DMA to use the threshold mode for both tx and rx
snps,force_sf_dma_mode: snps,force_sf_dma_mode:
$ref: /schemas/types.yaml#definitions/flag $ref: /schemas/types.yaml#/definitions/flag
description: description:
Force DMA to use the Store and Forward mode for both tx and Force DMA to use the Store and Forward mode for both tx and
rx. This flag is ignored if force_thresh_dma_mode is set. rx. This flag is ignored if force_thresh_dma_mode is set.
snps,en-tx-lpi-clockgating: snps,en-tx-lpi-clockgating:
$ref: /schemas/types.yaml#definitions/flag $ref: /schemas/types.yaml#/definitions/flag
description: description:
Enable gating of the MAC TX clock during TX low-power mode Enable gating of the MAC TX clock during TX low-power mode
snps,multicast-filter-bins: snps,multicast-filter-bins:
$ref: /schemas/types.yaml#definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
description: description:
Number of multicast filter hash bins supported by this device Number of multicast filter hash bins supported by this device
instance instance
snps,perfect-filter-entries: snps,perfect-filter-entries:
$ref: /schemas/types.yaml#definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
description: description:
Number of perfect filter entries supported by this device Number of perfect filter entries supported by this device
instance instance
snps,ps-speed: snps,ps-speed:
$ref: /schemas/types.yaml#definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
description: description:
Port selection speed that can be passed to the core when PCS Port selection speed that can be passed to the core when PCS
is supported. For example, this is used in case of SGMII and is supported. For example, this is used in case of SGMII and
...@@ -307,25 +307,25 @@ allOf: ...@@ -307,25 +307,25 @@ allOf:
snps,pbl: snps,pbl:
description: description:
Programmable Burst Length (tx and rx) Programmable Burst Length (tx and rx)
$ref: /schemas/types.yaml#definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
enum: [2, 4, 8] enum: [2, 4, 8]
snps,txpbl: snps,txpbl:
description: description:
Tx Programmable Burst Length. If set, DMA tx will use this Tx Programmable Burst Length. If set, DMA tx will use this
value rather than snps,pbl. value rather than snps,pbl.
$ref: /schemas/types.yaml#definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
enum: [2, 4, 8] enum: [2, 4, 8]
snps,rxpbl: snps,rxpbl:
description: description:
Rx Programmable Burst Length. If set, DMA rx will use this Rx Programmable Burst Length. If set, DMA rx will use this
value rather than snps,pbl. value rather than snps,pbl.
$ref: /schemas/types.yaml#definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
enum: [2, 4, 8] enum: [2, 4, 8]
snps,no-pbl-x8: snps,no-pbl-x8:
$ref: /schemas/types.yaml#definitions/flag $ref: /schemas/types.yaml#/definitions/flag
description: description:
Don\'t multiply the pbl/txpbl/rxpbl values by 8. For core Don\'t multiply the pbl/txpbl/rxpbl values by 8. For core
rev < 3.50, don\'t multiply the values by 4. rev < 3.50, don\'t multiply the values by 4.
...@@ -351,7 +351,7 @@ allOf: ...@@ -351,7 +351,7 @@ allOf:
then: then:
properties: properties:
snps,tso: snps,tso:
$ref: /schemas/types.yaml#definitions/flag $ref: /schemas/types.yaml#/definitions/flag
description: description:
Enables the TSO feature otherwise it will be managed by Enables the TSO feature otherwise it will be managed by
MAC HW capability register. MAC HW capability register.
......
...@@ -64,7 +64,7 @@ properties: ...@@ -64,7 +64,7 @@ properties:
- const: ether # for others - const: ether # for others
socionext,syscon-phy-mode: socionext,syscon-phy-mode:
$ref: /schemas/types.yaml#definitions/phandle-array $ref: /schemas/types.yaml#/definitions/phandle-array
description: description:
A phandle to syscon with one argument that configures phy mode. A phandle to syscon with one argument that configures phy mode.
The argument is the ID of MAC instance. The argument is the ID of MAC instance.
......
...@@ -70,7 +70,7 @@ properties: ...@@ -70,7 +70,7 @@ properties:
pinctrl-names: true pinctrl-names: true
syscon: syscon:
$ref: /schemas/types.yaml#definitions/phandle $ref: /schemas/types.yaml#/definitions/phandle
description: description:
Phandle to the system control device node which provides access to Phandle to the system control device node which provides access to
efuse IO range with MAC addresses efuse IO range with MAC addresses
......
...@@ -47,31 +47,31 @@ properties: ...@@ -47,31 +47,31 @@ properties:
takes precedence. takes precedence.
tx-fifo-depth: tx-fifo-depth:
$ref: /schemas/types.yaml#definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
description: | description: |
Transmitt FIFO depth see dt-bindings/net/ti-dp83867.h for values Transmitt FIFO depth see dt-bindings/net/ti-dp83867.h for values
rx-fifo-depth: rx-fifo-depth:
$ref: /schemas/types.yaml#definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
description: | description: |
Receive FIFO depth see dt-bindings/net/ti-dp83867.h for values Receive FIFO depth see dt-bindings/net/ti-dp83867.h for values
ti,clk-output-sel: ti,clk-output-sel:
$ref: /schemas/types.yaml#definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
description: | description: |
Muxing option for CLK_OUT pin. See dt-bindings/net/ti-dp83867.h Muxing option for CLK_OUT pin. See dt-bindings/net/ti-dp83867.h
for applicable values. The CLK_OUT pin can also be disabled by this for applicable values. The CLK_OUT pin can also be disabled by this
property. When omitted, the PHY's default will be left as is. property. When omitted, the PHY's default will be left as is.
ti,rx-internal-delay: ti,rx-internal-delay:
$ref: /schemas/types.yaml#definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
description: | description: |
RGMII Receive Clock Delay - see dt-bindings/net/ti-dp83867.h RGMII Receive Clock Delay - see dt-bindings/net/ti-dp83867.h
for applicable values. Required only if interface type is for applicable values. Required only if interface type is
PHY_INTERFACE_MODE_RGMII_ID or PHY_INTERFACE_MODE_RGMII_RXID. PHY_INTERFACE_MODE_RGMII_ID or PHY_INTERFACE_MODE_RGMII_RXID.
ti,tx-internal-delay: ti,tx-internal-delay:
$ref: /schemas/types.yaml#definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
description: | description: |
RGMII Transmit Clock Delay - see dt-bindings/net/ti-dp83867.h RGMII Transmit Clock Delay - see dt-bindings/net/ti-dp83867.h
for applicable values. Required only if interface type is for applicable values. Required only if interface type is
...@@ -101,7 +101,7 @@ properties: ...@@ -101,7 +101,7 @@ properties:
ti,fifo-depth: ti,fifo-depth:
deprecated: true deprecated: true
$ref: /schemas/types.yaml#definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
description: | description: |
Transmitt FIFO depth- see dt-bindings/net/ti-dp83867.h for applicable Transmitt FIFO depth- see dt-bindings/net/ti-dp83867.h for applicable
values. values.
......
...@@ -44,22 +44,22 @@ properties: ...@@ -44,22 +44,22 @@ properties:
to a maximum value (70 ohms). to a maximum value (70 ohms).
tx-fifo-depth: tx-fifo-depth:
$ref: /schemas/types.yaml#definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
description: | description: |
Transmitt FIFO depth see dt-bindings/net/ti-dp83869.h for values Transmitt FIFO depth see dt-bindings/net/ti-dp83869.h for values
rx-fifo-depth: rx-fifo-depth:
$ref: /schemas/types.yaml#definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
description: | description: |
Receive FIFO depth see dt-bindings/net/ti-dp83869.h for values Receive FIFO depth see dt-bindings/net/ti-dp83869.h for values
ti,clk-output-sel: ti,clk-output-sel:
$ref: /schemas/types.yaml#definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
description: | description: |
Muxing option for CLK_OUT pin see dt-bindings/net/ti-dp83869.h for values. Muxing option for CLK_OUT pin see dt-bindings/net/ti-dp83869.h for values.
ti,op-mode: ti,op-mode:
$ref: /schemas/types.yaml#definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
description: | description: |
Operational mode for the PHY. If this is not set then the operational Operational mode for the PHY. If this is not set then the operational
mode is set by the straps. see dt-bindings/net/ti-dp83869.h for values mode is set by the straps. see dt-bindings/net/ti-dp83869.h for values
......
...@@ -119,12 +119,12 @@ properties: ...@@ -119,12 +119,12 @@ properties:
description: label associated with this port description: label associated with this port
ti,mac-only: ti,mac-only:
$ref: /schemas/types.yaml#definitions/flag $ref: /schemas/types.yaml#/definitions/flag
description: description:
Specifies the port works in mac-only mode. Specifies the port works in mac-only mode.
ti,syscon-efuse: ti,syscon-efuse:
$ref: /schemas/types.yaml#definitions/phandle-array $ref: /schemas/types.yaml#/definitions/phandle-array
description: description:
Phandle to the system control device node which provides access Phandle to the system control device node which provides access
to efuse IO range with MAC addresses to efuse IO range with MAC addresses
......
...@@ -136,7 +136,7 @@ properties: ...@@ -136,7 +136,7 @@ properties:
- const: tcl2host-status-ring - const: tcl2host-status-ring
qcom,rproc: qcom,rproc:
$ref: /schemas/types.yaml#definitions/phandle $ref: /schemas/types.yaml#/definitions/phandle
description: description:
DT entry of q6v5-wcss remoteproc driver. DT entry of q6v5-wcss remoteproc driver.
Phandle to a node that can contain the following properties Phandle to a node that can contain the following properties
......
...@@ -44,13 +44,13 @@ properties: ...@@ -44,13 +44,13 @@ properties:
- const: refclk - const: refclk
syscon-phy-power: syscon-phy-power:
$ref: /schemas/types.yaml#definitions/phandle-array $ref: /schemas/types.yaml#/definitions/phandle-array
description: description:
phandle/offset pair. Phandle to the system control module and phandle/offset pair. Phandle to the system control module and
register offset to power on/off the PHY. register offset to power on/off the PHY.
ctrl-module: ctrl-module:
$ref: /schemas/types.yaml#definitions/phandle $ref: /schemas/types.yaml#/definitions/phandle
description: description:
(deprecated) phandle of the control module used by PHY driver (deprecated) phandle of the control module used by PHY driver
to power on the PHY. Use syscon-phy-power instead. to power on the PHY. Use syscon-phy-power instead.
......
...@@ -83,11 +83,11 @@ patternProperties: ...@@ -83,11 +83,11 @@ patternProperties:
SUSBSYS clocks. SUSBSYS clocks.
mediatek,infracfg: mediatek,infracfg:
$ref: /schemas/types.yaml#definitions/phandle $ref: /schemas/types.yaml#/definitions/phandle
description: phandle to the device containing the INFRACFG register range. description: phandle to the device containing the INFRACFG register range.
mediatek,smi: mediatek,smi:
$ref: /schemas/types.yaml#definitions/phandle $ref: /schemas/types.yaml#/definitions/phandle
description: phandle to the device containing the SMI register range. description: phandle to the device containing the SMI register range.
patternProperties: patternProperties:
...@@ -131,11 +131,11 @@ patternProperties: ...@@ -131,11 +131,11 @@ patternProperties:
SUSBSYS clocks. SUSBSYS clocks.
mediatek,infracfg: mediatek,infracfg:
$ref: /schemas/types.yaml#definitions/phandle $ref: /schemas/types.yaml#/definitions/phandle
description: phandle to the device containing the INFRACFG register range. description: phandle to the device containing the INFRACFG register range.
mediatek,smi: mediatek,smi:
$ref: /schemas/types.yaml#definitions/phandle $ref: /schemas/types.yaml#/definitions/phandle
description: phandle to the device containing the SMI register range. description: phandle to the device containing the SMI register range.
patternProperties: patternProperties:
...@@ -179,11 +179,11 @@ patternProperties: ...@@ -179,11 +179,11 @@ patternProperties:
SUSBSYS clocks. SUSBSYS clocks.
mediatek,infracfg: mediatek,infracfg:
$ref: /schemas/types.yaml#definitions/phandle $ref: /schemas/types.yaml#/definitions/phandle
description: phandle to the device containing the INFRACFG register range. description: phandle to the device containing the INFRACFG register range.
mediatek,smi: mediatek,smi:
$ref: /schemas/types.yaml#definitions/phandle $ref: /schemas/types.yaml#/definitions/phandle
description: phandle to the device containing the SMI register range. description: phandle to the device containing the SMI register range.
required: required:
......
...@@ -27,7 +27,7 @@ properties: ...@@ -27,7 +27,7 @@ properties:
of this binary blob is kept secret by CellWise. The only way to obtain of this binary blob is kept secret by CellWise. The only way to obtain
it is to mail two batteries to a test facility of CellWise and receive it is to mail two batteries to a test facility of CellWise and receive
back a test report with the binary blob. back a test report with the binary blob.
$ref: /schemas/types.yaml#definitions/uint8-array $ref: /schemas/types.yaml#/definitions/uint8-array
minItems: 64 minItems: 64
maxItems: 64 maxItems: 64
......
...@@ -42,6 +42,6 @@ select: true ...@@ -42,6 +42,6 @@ select: true
properties: properties:
sleep: sleep:
$ref: /schemas/types.yaml#definitions/phandle-array $ref: /schemas/types.yaml#/definitions/phandle-array
additionalProperties: true additionalProperties: true
...@@ -59,7 +59,6 @@ properties: ...@@ -59,7 +59,6 @@ properties:
description: u32 value representing regulator enable bit offset. description: u32 value representing regulator enable bit offset.
vin-supply: vin-supply:
$ref: '/schemas/types.yaml#/definitions/phandle'
description: input supply phandle. description: input supply phandle.
required: required:
......
...@@ -126,7 +126,7 @@ properties: ...@@ -126,7 +126,7 @@ properties:
maxItems: 1 maxItems: 1
current-speed: current-speed:
$ref: /schemas/types.yaml#definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
description: The current active speed of the UART. description: The current active speed of the UART.
reg-offset: reg-offset:
...@@ -154,7 +154,7 @@ properties: ...@@ -154,7 +154,7 @@ properties:
Set to indicate that the port does not implement loopback test mode. Set to indicate that the port does not implement loopback test mode.
fifo-size: fifo-size:
$ref: /schemas/types.yaml#definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
description: The fifo size of the UART. description: The fifo size of the UART.
auto-flow-control: auto-flow-control:
...@@ -165,7 +165,7 @@ properties: ...@@ -165,7 +165,7 @@ properties:
property. property.
tx-threshold: tx-threshold:
$ref: /schemas/types.yaml#definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
description: | description: |
Specify the TX FIFO low water indication for parts with programmable Specify the TX FIFO low water indication for parts with programmable
TX FIFO thresholds. TX FIFO thresholds.
......
...@@ -29,6 +29,8 @@ required: ...@@ -29,6 +29,8 @@ required:
- compatible - compatible
- reg - reg
additionalProperties: false
examples: examples:
- | - |
uart0: serial@e0001800 { uart0: serial@e0001800 {
......
...@@ -28,6 +28,8 @@ required: ...@@ -28,6 +28,8 @@ required:
- compatible - compatible
- reg - reg
additionalProperties: false
examples: examples:
- | - |
soc_ctrl0: soc-controller@f0000000 { soc_ctrl0: soc-controller@f0000000 {
......
...@@ -44,6 +44,8 @@ required: ...@@ -44,6 +44,8 @@ required:
- clocks - clocks
- clock-names - clock-names
additionalProperties: false
examples: examples:
- | - |
#include <dt-bindings/interrupt-controller/arm-gic.h> #include <dt-bindings/interrupt-controller/arm-gic.h>
......
...@@ -55,7 +55,7 @@ properties: ...@@ -55,7 +55,7 @@ properties:
description: TI-SCI RM subtype for GP ring range description: TI-SCI RM subtype for GP ring range
ti,sci: ti,sci:
$ref: /schemas/types.yaml#definitions/phandle-array $ref: /schemas/types.yaml#/definitions/phandle-array
description: phandle on TI-SCI compatible System controller node description: phandle on TI-SCI compatible System controller node
ti,sci-dev-id: ti,sci-dev-id:
......
...@@ -26,9 +26,18 @@ required: ...@@ -26,9 +26,18 @@ required:
- compatible - compatible
- reg - reg
additionalProperties: false
examples: examples:
- | - |
xlnx_vcu: vcu@a0041000 { fpga {
compatible = "xlnx,vcu-settings", "syscon"; #address-cells = <2>;
reg = <0x0 0xa0041000 0x0 0x1000>; #size-cells = <2>;
xlnx_vcu: vcu@a0041000 {
compatible = "xlnx,vcu-settings", "syscon";
reg = <0x0 0xa0041000 0x0 0x1000>;
};
}; };
...
...@@ -57,7 +57,7 @@ properties: ...@@ -57,7 +57,7 @@ properties:
A list of the connections between audio components. Each entry A list of the connections between audio components. Each entry
is a pair of strings, the first being the connection's sink, the is a pair of strings, the first being the connection's sink, the
second being the connection's source. second being the connection's source.
$ref: /schemas/types.yaml#definitions/non-unique-string-array $ref: /schemas/types.yaml#/definitions/non-unique-string-array
minItems: 2 minItems: 2
maxItems: 18 maxItems: 18
items: items:
......
...@@ -44,7 +44,6 @@ properties: ...@@ -44,7 +44,6 @@ properties:
maxItems: 3 maxItems: 3
clock-names: clock-names:
maxItems: 3
items: items:
- const: hda - const: hda
- const: hda2hdmi - const: hda2hdmi
...@@ -54,7 +53,6 @@ properties: ...@@ -54,7 +53,6 @@ properties:
maxItems: 3 maxItems: 3
reset-names: reset-names:
maxItems: 3
items: items:
- const: hda - const: hda
- const: hda2hdmi - const: hda2hdmi
......
...@@ -106,7 +106,7 @@ patternProperties: ...@@ -106,7 +106,7 @@ patternProperties:
Must contain the phandle and index of the SAI sub-block providing Must contain the phandle and index of the SAI sub-block providing
the synchronization. the synchronization.
allOf: allOf:
- $ref: /schemas/types.yaml#definitions/phandle-array - $ref: /schemas/types.yaml#/definitions/phandle-array
- maxItems: 1 - maxItems: 1
st,iec60958: st,iec60958:
...@@ -117,7 +117,7 @@ patternProperties: ...@@ -117,7 +117,7 @@ patternProperties:
configured according to protocol defined in related DAI link node, configured according to protocol defined in related DAI link node,
such as i2s, left justified, right justified, dsp and pdm protocols. such as i2s, left justified, right justified, dsp and pdm protocols.
allOf: allOf:
- $ref: /schemas/types.yaml#definitions/flag - $ref: /schemas/types.yaml#/definitions/flag
"#clock-cells": "#clock-cells":
description: Configure the SAI device as master clock provider. description: Configure the SAI device as master clock provider.
......
...@@ -51,7 +51,6 @@ properties: ...@@ -51,7 +51,6 @@ properties:
maxItems: 1 maxItems: 1
phy-names: phy-names:
maxItems: 1
items: items:
- const: usb - const: usb
......
...@@ -74,11 +74,8 @@ properties: ...@@ -74,11 +74,8 @@ properties:
phys: phys:
maxItems: 1 maxItems: 1
items:
- description: phandle + phy specifier pair.
phy-names: phy-names:
maxItems: 1
items: items:
- const: usb - const: usb
......
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