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

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: 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>

authored by

Krzysztof Kozlowski and committed by
Greg Kroah-Hartman
29f84af6 3a538f8f

+3 -2
+3 -2
Documentation/devicetree/bindings/usb/da8xx-usb.txt
··· 36 36 - #dma-cells: should be set to 2. The first number represents the 37 37 channel number (0 … 3 for endpoints 1 … 4). 38 38 The second number is 0 for RX and 1 for TX transfers. 39 - - #dma-channels: should be set to 4 representing the 4 endpoints. 39 + - dma-channels: should be set to 4 representing the 4 endpoints. 40 + - #dma-channels: deprecated 40 41 41 42 Example: 42 43 usb_phy: usb-phy { ··· 75 74 reg-names = "controller", "scheduler", "queuemgr"; 76 75 interrupts = <58>; 77 76 #dma-cells = <2>; 78 - #dma-channels = <4>; 77 + dma-channels = <4>; 79 78 }; 80 79 81 80 };