Patchwork [PATCHv2,2/2] Documentation: dt: add an optional dma-desc-enable property for dwc2 usb

login
register
mail settings
Submitter dinguyen@altera.com
Date May 6, 2014, 11 p.m.
Message ID <1399417243-4614-2-git-send-email-dinguyen@altera.com>
Download mbox | patch
Permalink /patch/346354/
State New
Headers show

Comments

dinguyen@altera.com - May 6, 2014, 11 p.m.
From: Dinh Nguyen <dinguyen@altera.com>

The "dma-desc-enable" property can be used to enable descriptor DMA mode
for the DWC2 USB IP.

Signed-off-by: Dinh Nguyen <dinguyen@altera.com>
---
v2: Reword property description to enable instead of disable
---
 Documentation/devicetree/bindings/usb/dwc2.txt |    7 +++++++
 1 file changed, 7 insertions(+)
Sergei Shtylyov - May 7, 2014, 4:22 p.m.
Hello.

On 07-05-2014 3:00, dinguyen@altera.com wrote:

> From: Dinh Nguyen <dinguyen@altera.com>

> The "dma-desc-enable" property can be used to enable descriptor DMA mode
> for the DWC2 USB IP.

> Signed-off-by: Dinh Nguyen <dinguyen@altera.com>
> ---
> v2: Reword property description to enable instead of disable
> ---
>   Documentation/devicetree/bindings/usb/dwc2.txt |    7 +++++++
>   1 file changed, 7 insertions(+)

> diff --git a/Documentation/devicetree/bindings/usb/dwc2.txt b/Documentation/devicetree/bindings/usb/dwc2.txt
> index b8b6871..9b471b5 100644
> --- a/Documentation/devicetree/bindings/usb/dwc2.txt
> +++ b/Documentation/devicetree/bindings/usb/dwc2.txt
> @@ -14,6 +14,13 @@ Refer to clk/clock-bindings.txt for generic clock consumer properties
>   Optional properties:
>   - phys: phy provider specifier
>   - phy-names: shall be "device"
> +- dma-desc-enable: Should be <1> to enable descriptor dma mode. This
> +	property is used to enable descriptor DMA support. The reason why
> +	this property is needed is because the HW supports descriptor DMA
> +	mode, but descriptor dma mode will not support SPLIT transactions.
> +	So this property can be used to optionally enable descriptor DMA
> +	support.

    Why not make this property boolean?

WBR, Sergei

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/Documentation/devicetree/bindings/usb/dwc2.txt b/Documentation/devicetree/bindings/usb/dwc2.txt
index b8b6871..9b471b5 100644
--- a/Documentation/devicetree/bindings/usb/dwc2.txt
+++ b/Documentation/devicetree/bindings/usb/dwc2.txt
@@ -14,6 +14,13 @@  Refer to clk/clock-bindings.txt for generic clock consumer properties
 Optional properties:
 - phys: phy provider specifier
 - phy-names: shall be "device"
+- dma-desc-enable: Should be <1> to enable descriptor dma mode. This
+	property is used to enable descriptor DMA support. The reason why
+	this property is needed is because the HW supports descriptor DMA
+	mode, but descriptor dma mode will not support SPLIT transactions.
+	So this property can be used to optionally enable descriptor DMA
+	support.
+
 Refer to phy/phy-bindings.txt for generic phy consumer properties
 
 Example: