Commit b13e2bd3 authored by Rob Herring's avatar Rob Herring

dt-bindings: usb: Add missing properties used in examples

With 'unevaluatedProperties' support implemented, the following warnings
are generated in the usb examples:

Documentation/devicetree/bindings/usb/intel,keembay-dwc3.example.dt.yaml: usb: usb@34000000: Unevaluated properties are not allowed ('reg' was unexpected)
Documentation/devicetree/bindings/usb/snps,dwc3.example.dt.yaml: usb@4a030000: Unevaluated properties are not allowed ('reg' was unexpected)

Add the missing property definitions.

Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Ahmad Zainie <wan.ahmad.zainie.wan.mohamad@intel.com>
Cc: Felipe Balbi <balbi@kernel.org>
Cc: linux-usb@vger.kernel.org
Signed-off-by: default avatarRob Herring <robh@kernel.org>
Acked-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: default avatarThierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/20211206174113.2295616-1-robh@kernel.org
parent 9696fe26
...@@ -13,6 +13,9 @@ properties: ...@@ -13,6 +13,9 @@ properties:
compatible: compatible:
const: intel,keembay-dwc3 const: intel,keembay-dwc3
reg:
maxItems: 1
clocks: clocks:
maxItems: 4 maxItems: 4
......
...@@ -36,6 +36,9 @@ properties: ...@@ -36,6 +36,9 @@ properties:
- const: synopsys,dwc3 - const: synopsys,dwc3
deprecated: true deprecated: true
reg:
maxItems: 1
interrupts: interrupts:
description: description:
It's either a single common DWC3 interrupt (dwc_usb3) or individual It's either a single common DWC3 interrupt (dwc_usb3) or individual
...@@ -65,6 +68,9 @@ properties: ...@@ -65,6 +68,9 @@ properties:
- enum: [bus_early, ref, suspend] - enum: [bus_early, ref, suspend]
- true - true
iommus:
maxItems: 1
usb-phy: usb-phy:
minItems: 1 minItems: 1
items: items:
......
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