From: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linuxarm@huawei.com, mauro.chehab@huawei.com,
Yu Chen <chenyu56@huawei.com>,
John Stultz <john.stultz@linaro.org>,
Manivannan Sadhasivam <mani@kernel.org>,
Derek Kiernan <derek.kiernan@xilinx.com>,
Dragan Cvetic <dragan.cvetic@xilinx.com>,
Arnd Bergmann <arnd@arndb.de>,
"David S. Miller" <davem@davemloft.net>,
Rob Herring <robh@kernel.org>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 08/11] misc: hisi_hikey_usb: Driver to support onboard USB gpio hub on Hikey960
Date: Wed, 9 Sep 2020 10:44:42 +0200 [thread overview]
Message-ID: <20200909104442.20f63e9b@coco.lan> (raw)
In-Reply-To: <20200909083555.GA579996@kroah.com>
Em Wed, 9 Sep 2020 10:35:55 +0200
Greg Kroah-Hartman <gregkh@linuxfoundation.org> escreveu:
> On Mon, Sep 07, 2020 at 05:59:32PM +0200, Mauro Carvalho Chehab wrote:
> > From: Yu Chen <chenyu56@huawei.com>
> >
> > The HiKey960 has a fairly complex USB configuration due to it
> > needing to support a USB-C port for host/device mode and multiple
> > USB-A ports in host mode, all using a single USB controller.
> >
> > See schematics here:
> > https://github.com/96boards/documentation/raw/master/consumer/hikey/hikey960/hardware-docs/HiKey960_Schematics.pdf
> >
> > This driver acts as a usb-role-switch intermediary, intercepting
> > the role switch notifications from the tcpm code, and passing
> > them on to the dwc3 core.
> >
> > In doing so, it also controls the onboard hub and power gpios in
> > order to properly route the data lines between the USB-C port
> > and the onboard hub to the USB-A ports.
> >
> > Signed-off-by: Yu Chen <chenyu56@huawei.com>
> > [jstultz: Major rework to make the driver a usb-role-switch
> > intermediary]
> > Signed-off-by: John Stultz <john.stultz@linaro.org>
> > Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
> > ---
> > MAINTAINERS | 7 ++
> > drivers/misc/Kconfig | 9 ++
> > drivers/misc/Makefile | 1 +
> > drivers/misc/hisi_hikey_usb.c | 205 ++++++++++++++++++++++++++++++++++
> > 4 files changed, 222 insertions(+)
> > create mode 100644 drivers/misc/hisi_hikey_usb.c
>
> Can this, and the next patch, go into my char-misc tree independent of
> the other patches in this series?
Yes, they can go via char-misc tree. The drivers are independent.
> Or do they all need to go in together?
For USB functionality to actually work, both drivers are needed.
The DTS patch assumes both drivers to be merged.
While I don't see any big issue if this getting merged via
one of the trees (either together with PHY or with misc),
if you prefer, I can split it into two different patches
(at the cost of probably causing some trivial conflict
when both gets merged upstream).
Thanks,
Mauro
next prev parent reply other threads:[~2020-09-09 8:44 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-07 15:59 [PATCH v2 00/11] Add USB support for Hikey 970 Mauro Carvalho Chehab
2020-09-07 15:59 ` [PATCH v2 01/11] phy: hisilicon: add USB physical layer for Kirin 3670 Mauro Carvalho Chehab
2020-09-07 15:59 ` [PATCH v2 02/11] phy: hisilicon: phy-hi3670-usb3: fix some issues at the init code Mauro Carvalho Chehab
2020-09-07 15:59 ` [PATCH v2 03/11] phy: hisilicon: phy-hi3670-usb3: use a consistent namespace Mauro Carvalho Chehab
2020-09-07 15:59 ` [PATCH v2 04/11] phy: hisilicon: phy-hi3670-usb3: fix coding style Mauro Carvalho Chehab
2020-09-07 15:59 ` [PATCH v2 05/11] phy: hisilicon: phy-hi3670-usb3: change some DT properties Mauro Carvalho Chehab
2020-09-07 15:59 ` [PATCH v2 06/11] dt-bindings: phy: convert phy-kirin970-usb3.txt to yaml Mauro Carvalho Chehab
2020-09-07 15:59 ` [PATCH v2 07/11] MAINTAINERS: add myself as maintainer for Kirin 970 USB PHY Mauro Carvalho Chehab
2020-09-07 15:59 ` [PATCH v2 08/11] misc: hisi_hikey_usb: Driver to support onboard USB gpio hub on Hikey960 Mauro Carvalho Chehab
2020-09-09 8:35 ` Greg Kroah-Hartman
2020-09-09 8:44 ` Mauro Carvalho Chehab [this message]
2020-09-09 9:55 ` Mauro Carvalho Chehab
2020-09-09 18:15 ` Greg Kroah-Hartman
2020-09-07 15:59 ` [PATCH v2 09/11] misc: hisi_hikey_usb: add support for Hikey 970 Mauro Carvalho Chehab
2020-09-07 15:59 ` [PATCH v2 10/11] dwc3-of-simple: " Mauro Carvalho Chehab
2020-09-08 6:02 ` Felipe Balbi
2020-09-08 6:53 ` Mauro Carvalho Chehab
2020-09-08 7:45 ` Felipe Balbi
2020-09-07 15:59 ` [PATCH v2 11/11] dts: hisilicon: add support for USB3 on " Mauro Carvalho Chehab
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200909104442.20f63e9b@coco.lan \
--to=mchehab+huawei@kernel.org \
--cc=arnd@arndb.de \
--cc=chenyu56@huawei.com \
--cc=davem@davemloft.net \
--cc=derek.kiernan@xilinx.com \
--cc=dragan.cvetic@xilinx.com \
--cc=gregkh@linuxfoundation.org \
--cc=john.stultz@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxarm@huawei.com \
--cc=mani@kernel.org \
--cc=mauro.chehab@huawei.com \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome