Re: [RFC 1/4] dwc3: dts: Binding information for an optional property lpm_capable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Apr 11, 2014 at 03:50:03PM +0530, Pratyush Anand wrote:
> If a dwc3 host implementation is lpm capable then enable lpm_capable in
> device tree.
> 
> Signed-off-by: Pratyush Anand <pratyush.anand@xxxxxx>
> ---
>  Documentation/devicetree/bindings/usb/dwc3.txt | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/usb/dwc3.txt b/Documentation/devicetree/bindings/usb/dwc3.txt
> index 7a95c65..a7a48f1 100644
> --- a/Documentation/devicetree/bindings/usb/dwc3.txt
> +++ b/Documentation/devicetree/bindings/usb/dwc3.txt
> @@ -10,6 +10,7 @@ Required properties:
>  
>  Optional properties:
>   - tx-fifo-resize: determines if the FIFO *has* to be reallocated.
> + - lpm-capable: determines if xhci host is lpm capable
>  
>  This is usually a subnode to DWC3 glue to which it is connected.
>  
> @@ -19,4 +20,5 @@ dwc3@4a030000 {
>  	interrupts = <0 92 4>
>  	usb-phy = <&usb2_phy>, <&usb3,phy>;
>  	tx-fifo-resize;
> +	lpm-capable;

I think there's a way to detect this in runtime but I can't seem to find
it on databook. Perhaps check with your IP designer/integrator which
HWPARAMS register we can poke to verify core was configured with LPM ?

Another is to ask Paul :-)

Hey Paul, do you know if there's a way to detect in runtime if $this
dwc3 implementation was configured with LPM enabled ?

-- 
balbi

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux