[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAD=FV=VF8u=7f7ak5vmvFCSGtjQ3A7V52MfAu+qMsbGrFYz_LA@mail.gmail.com>
Date: Wed, 15 Jun 2022 14:10:27 -0700
From: Doug Anderson <dianders@...omium.org>
To: Matthias Kaehlcke <mka@...omium.org>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Alan Stern <stern@...land.harvard.edu>,
Rob Herring <robh+dt@...nel.org>,
Frank Rowand <frowand.list@...il.com>,
Mathias Nyman <mathias.nyman@...el.com>,
Felipe Balbi <balbi@...nel.org>,
Michal Simek <michal.simek@...inx.com>,
LKML <linux-kernel@...r.kernel.org>,
Krzysztof Kozlowski <krzk@...nel.org>,
Stephen Boyd <swboyd@...omium.org>,
"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
<devicetree@...r.kernel.org>, Bastien Nocera <hadess@...ess.net>,
Peter Chen <peter.chen@...nel.org>,
Ravi Chandra Sadineni <ravisadineni@...omium.org>,
Roger Quadros <rogerq@...nel.org>,
Linux USB List <linux-usb@...r.kernel.org>,
Andrew Lunn <andrew@...n.ch>,
Bhuvanesh Surachari <Bhuvanesh_Surachari@...tor.com>,
Kai-Heng Feng <kai.heng.feng@...onical.com>,
Mathias Nyman <mathias.nyman@...ux.intel.com>,
Vincent Mailhol <mailhol.vincent@...adoo.fr>
Subject: Re: [PATCH v22 3/3] usb: core: hub: Create platform devices for
onboard hubs in hub_probe()
Hi,
On Thu, Jun 9, 2022 at 12:20 PM Matthias Kaehlcke <mka@...omium.org> wrote:
>
> Call onboard_hub_create/destroy_pdevs() from hub_probe/disconnect()
> to create/destroy platform devices for onboard USB hubs that may be
> connected to the hub. The onboard hubs must have nodes in the
> device tree.
>
> onboard_hub_create/destroy_pdevs() are NOPs unless
> CONFIG_USB_ONBOARD_HUB=y/m.
>
> Also add a field to struct usb_hub to keep track of the onboard hub
> platform devices that are owned by the hub.
>
> Signed-off-by: Matthias Kaehlcke <mka@...omium.org>
> ---
>
> Changes in v22:
> - patch added to the series (moved creation/deletion from HCD)
>
> drivers/usb/core/hub.c | 9 ++++++++-
> drivers/usb/core/hub.h | 1 +
> 2 files changed, 9 insertions(+), 1 deletion(-)
Reviewed-by: Douglas Anderson <dianders@...omium.org>
Powered by blists - more mailing lists