Commit 29f84af6 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Greg Kroah-Hartman

dt-bindings: usb: da8xx-usb: deprecate '#dma-channels'

The generic property, used in most of the drivers and defined in generic
dma-common DT bindings, is 'dma-channels'.
Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220503065201.51818-3-krzysztof.kozlowski@linaro.orgSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3a538f8f
...@@ -36,7 +36,8 @@ DMA ...@@ -36,7 +36,8 @@ DMA
- #dma-cells: should be set to 2. The first number represents the - #dma-cells: should be set to 2. The first number represents the
channel number (0 … 3 for endpoints 1 … 4). channel number (0 … 3 for endpoints 1 … 4).
The second number is 0 for RX and 1 for TX transfers. 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: Example:
usb_phy: usb-phy { usb_phy: usb-phy {
...@@ -74,7 +75,7 @@ Example: ...@@ -74,7 +75,7 @@ Example:
reg-names = "controller", "scheduler", "queuemgr"; reg-names = "controller", "scheduler", "queuemgr";
interrupts = <58>; interrupts = <58>;
#dma-cells = <2>; #dma-cells = <2>;
#dma-channels = <4>; dma-channels = <4>;
}; };
}; };
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