On Fri, Apr 11, 2014 at 11:24 PM, Felipe Balbi <ba...@ti.com> wrote:
> 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.an...@st.com>
>> ---
>>  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 ?

I too tried to look into databook first, But could not find. Lets see, what Paul
says.


Pratyush

>
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to