[PATCH v2 01/13] dt-bindings: usb: mtk-xhci: support property usb2-lpm-disable

Rob Herring robh at kernel.org
Sat Mar 27 17:24:38 GMT 2021


On Tue, Mar 23, 2021 at 03:02:43PM +0800, Chunfeng Yun wrote:
> Add support common property usb2-lpm-disable
> 
> Signed-off-by: Chunfeng Yun <chunfeng.yun at mediatek.com>
> ---
> v2: no changes
> ---
>  Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml b/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml
> index 14f40efb3b22..2246d29a5e4e 100644
> --- a/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml
> +++ b/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml
> @@ -103,6 +103,10 @@ properties:
>      description: supports USB3.0 LPM
>      type: boolean
>  
> +  usb2-lpm-disable:
> +    description: disable USB2 HW LPM
> +    type: boolean

Already has a type. Don't redefine here. Just 'usb2-lpm-disable: true' 
and make sure usb-xhci.yaml is referenced.

> +
>    imod-interval-ns:
>      description:
>        Interrupt moderation interval value, it is 8 times as much as that
> -- 
> 2.18.0
> 



More information about the Linux-mediatek mailing list