Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp3480755pxu; Sun, 11 Oct 2020 11:12:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxNzsetAhkfPmNQNxzsPN5r1386g9UeJo1KKu/+GAhEP5SerxTVXqX9ShpNG4dcv+QPI8E9 X-Received: by 2002:aa7:c3ca:: with SMTP id l10mr10475128edr.72.1602439977777; Sun, 11 Oct 2020 11:12:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602439977; cv=none; d=google.com; s=arc-20160816; b=tXKu+z3LblzFhy++s2uiOJ0dCHdShDjtL+amJUAWQaPJ9siE5HAkp+HPDbRrsu5cQo VsVdLeurGzEP614uRctk4pD429JYjV/DuARizvb5Zo6UIMAg07fFK0c7L8+wb1sAZWOd CUtwy4fDwWuh/E2gz4u5l0KNip1T37ZU5+qT0VOgj4ravFDQ3xa9OlhYfVfZ5Cvmpx4s wr/qqPyFJos7Lfr4BEMFUfcreL6wpHvVX1VTNV/ddDb0NzW7bTbX7ZRQVCl/7QSMreFk eiu6dVOyXoRisv57pXlFJwCX7Xl04v22yuImf4AqDx0avNcJLZlCg2kzpBWtXhcsLlz5 JXYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=A4iHOZyQCSBJJQO6x6I3z947LQJdjlFUtCN39urOElA=; b=1GLDRZiK0cHC8yPenyI3fLHWuwCCdayEl+l7E1eYjpfPAk4V5G+6yNNMI1OlIz6Gba EoC32cU2lOvixMoamgodO7MyURP63o20kWkxk/YmsZlbtVJuQqgDOS8RvyJtNrbStf6f AGmVQ+auHJkclDtHW1w5Ge0ktMd8g+ezeDrfIyBRBQ+a9AOi75NYY2MF6pFylI95e3YI d+6xkeseLj3cog+0qcjTFLWjd6zh2VVn/jHxEj8/6Vzny83ohC5nxs7KAqyVOssU0zys dij7oDOesTj2p/6QVW9ssGDBZfH2GLDjK/62GJunn9caY2ty7LSZQloFMg9Cs/2B1pLj VwGQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c14si10710126edj.174.2020.10.11.11.12.34; Sun, 11 Oct 2020 11:12:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388325AbgJKRxp (ORCPT + 99 others); Sun, 11 Oct 2020 13:53:45 -0400 Received: from mail.baikalelectronics.com ([87.245.175.226]:58984 "EHLO mail.baikalelectronics.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726319AbgJKRxp (ORCPT ); Sun, 11 Oct 2020 13:53:45 -0400 Received: from localhost (unknown [127.0.0.1]) by mail.baikalelectronics.ru (Postfix) with ESMTP id C28F18030865; Sun, 11 Oct 2020 17:53:41 +0000 (UTC) X-Virus-Scanned: amavisd-new at baikalelectronics.ru Received: from mail.baikalelectronics.ru ([127.0.0.1]) by localhost (mail.baikalelectronics.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gTghl0HaVN0J; Sun, 11 Oct 2020 20:53:41 +0300 (MSK) Date: Sun, 11 Oct 2020 20:53:33 +0300 From: Serge Semin To: Greg Kroah-Hartman CC: Mathias Nyman , Felipe Balbi , Rob Herring , Alexey Malahov , Pavel Parkhomenko , Andy Gross , Bjorn Andersson , Manu Gautam , Roger Quadros , Lad Prabhakar , Yoshihiro Shimoda , Neil Armstrong , Kevin Hilman , , , Subject: Re: [PATCH 02/18] dt-bindings: usb: usb-hcd: Add "wireless" maximum-speed property value Message-ID: <20201011175333.2v46x6kiugqnvlpk@mobilestation> References: <20201010224121.12672-1-Sergey.Semin@baikalelectronics.ru> <20201010224121.12672-3-Sergey.Semin@baikalelectronics.ru> <20201011144236.GA271079@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20201011144236.GA271079@kroah.com> X-ClientProxiedBy: MAIL.baikal.int (192.168.51.25) To mail (192.168.51.25) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Oct 11, 2020 at 04:42:36PM +0200, Greg Kroah-Hartman wrote: > On Sun, Oct 11, 2020 at 01:41:05AM +0300, Serge Semin wrote: > > It appears that the "maximum-speed" property can also accept the > > "wireless" value. Add it to the enumeration of the possible property > > values then. > > > > Signed-off-by: Serge Semin > > --- > > Documentation/devicetree/bindings/usb/usb-hcd.yaml | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/Documentation/devicetree/bindings/usb/usb-hcd.yaml b/Documentation/devicetree/bindings/usb/usb-hcd.yaml > > index 815de24127db..e1a82a2b3295 100644 > > --- a/Documentation/devicetree/bindings/usb/usb-hcd.yaml > > +++ b/Documentation/devicetree/bindings/usb/usb-hcd.yaml > > @@ -28,7 +28,7 @@ properties: > > isn't passed via DT, USB controllers should default to their maximum HW > > capability. > > $ref: /schemas/types.yaml#/definitions/string > > - enum: ["low-speed", "full-speed", "high-speed", "super-speed", > > + enum: ["low-speed", "full-speed", "high-speed", "wireless", "super-speed", > > "super-speed-plus"] > > Are you sure? wireless usb has been removed from the kernel, where do > you see a user of this? If it's still in there, we need to just drop > it. My decision on suggesting this patch has been based purely on the speed types the USB core API supports and what usb_get_maximum_speed() can return. USB_SPEED_WIRELESS type is one of the possible return values. As I can see aside the rest of the USB speeds the wireless speed is also defined in the kernel USB subsystem. Moreover it is used in some kernel drivers. (See the USB_SPEED_WIRELESS enumeration constant usage.) Are you sure that the wireless speed support has been really removed? -Sergey > > thanks, > > greg k-h