]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
dt-bindings: usb: snps,dwc3: document extcon property
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sat, 4 Mar 2023 13:03:02 +0000 (14:03 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Mar 2023 14:30:48 +0000 (15:30 +0100)
The DWC3 USB Linux driver and several DTS use extcon property, so
document it, even though it is deprecated, to fix warnings like:

  sm6125-sony-xperia-seine-pdx201.dtb: usb@4ef8800: usb@4e00000: Unevaluated properties are not allowed ('extcon' was unexpected)

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230304130302.51497-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/usb/snps,dwc3.yaml

index be36956af53b0c8a2def1b476f8be2d5155aa2b5..cad2efd5f8c9bfb9fb1927d868c1697bc87186aa 100644 (file)
@@ -70,6 +70,10 @@ properties:
 
   dma-coherent: true
 
+  extcon:
+    maxItems: 1
+    deprecated: true
+
   iommus:
     maxItems: 1