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

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.org


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3a538f8f
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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>;
		};

	};