Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Rob Herring <robh@kernel.org>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/20211206174113.2295616-1-robh@kernel.org

+9
+3
Documentation/devicetree/bindings/usb/intel,keembay-dwc3.yaml
··· 13 13 compatible: 14 14 const: intel,keembay-dwc3 15 15 16 + reg: 17 + maxItems: 1 18 + 16 19 clocks: 17 20 maxItems: 4 18 21
+6
Documentation/devicetree/bindings/usb/snps,dwc3.yaml
··· 36 36 - const: synopsys,dwc3 37 37 deprecated: true 38 38 39 + reg: 40 + maxItems: 1 41 + 39 42 interrupts: 40 43 description: 41 44 It's either a single common DWC3 interrupt (dwc_usb3) or individual ··· 67 64 anyOf: 68 65 - enum: [bus_early, ref, suspend] 69 66 - true 67 + 68 + iommus: 69 + maxItems: 1 70 70 71 71 usb-phy: 72 72 minItems: 1