]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
dt-bindings: usb: da8xx-usb: deprecate '#dma-channels'
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 3 May 2022 06:51:57 +0000 (08:51 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 May 2022 19:59:43 +0000 (21:59 +0200)
The generic property, used in most of the drivers and defined in generic
dma-common DT bindings, is 'dma-channels'.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220503065201.51818-3-krzysztof.kozlowski@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/usb/da8xx-usb.txt

index 9ce22551b2b3ea2aa7dff3d0819093114dc421a3..fb2027a7d80dd8aae7ea0177fa0fde8205a761fe 100644 (file)
@@ -36,7 +36,8 @@ DMA
 - #dma-cells: should be set to 2. The first number represents the
   channel number (0 … 3 for endpoints 1 … 4).
   The second number is 0 for RX and 1 for TX transfers.
-- #dma-channels: should be set to 4 representing the 4 endpoints.
+- dma-channels: should be set to 4 representing the 4 endpoints.
+- #dma-channels: deprecated
 
 Example:
        usb_phy: usb-phy {
@@ -74,7 +75,7 @@ Example:
                        reg-names = "controller", "scheduler", "queuemgr";
                        interrupts = <58>;
                        #dma-cells = <2>;
-                       #dma-channels = <4>;
+                       dma-channels = <4>;
                };
 
        };