LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Sneeker Yeh <sneeker.yeh@gmail.com>
To: Felipe Balbi <balbi@ti.com>
Cc: Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>,
Mark Rutland <mark.rutland@arm.com>,
Ian Campbell <ijc+devicetree@hellion.org.uk>,
Kumar Gala <galak@codeaurora.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Mathias Nyman <mathias.nyman@intel.com>,
Grant Likely <grant.likely@linaro.org>,
Huang Rui <ray.huang@amd.com>,
Kishon Vijay Abraham I <kishon@ti.com>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-usb@vger.kernel.org, linux-omap@vger.kernel.org,
Andy Green <andy.green@linaro.org>,
Jassi Brar <jaswinder.singh@linaro.org>,
Sneeker Yeh <Sneeker.Yeh@tw.fujitsu.com>
Subject: Re: [PATCH v2 4/5] xhci: Platform: Set Synopsis device disconnection quirk based on platform data
Date: Wed, 21 Jan 2015 16:55:47 +0800 [thread overview]
Message-ID: <CAJ1gpc33-BH1e=VpJ0ocjNRJk6CGswCuQ8UYrO=Pkanqhv+xLg@mail.gmail.com> (raw)
In-Reply-To: <20150119145147.GG20386@saruman>
hi,
2015-01-19 22:51 GMT+08:00 Felipe Balbi <balbi@ti.com>:
>
> On Mon, Jan 19, 2015 at 03:56:48PM +0800, Sneeker Yeh wrote:
> > If an xhci platform has Synopsis device disconnection errata then enable
> > XHCI_DISCONNECT_QUIRK quirk flag.
> >
> > Signed-off-by: Sneeker Yeh <Sneeker.Yeh@tw.fujitsu.com>
> > ---
> > drivers/usb/host/xhci-plat.c | 3 +++
> > include/linux/usb/xhci_pdriver.h | 4 ++++
> > 2 files changed, 7 insertions(+)
> >
> > diff --git a/drivers/usb/host/xhci-plat.c b/drivers/usb/host/xhci-plat.c
> > index 08d402b..40beb95 100644
> > --- a/drivers/usb/host/xhci-plat.c
> > +++ b/drivers/usb/host/xhci-plat.c
> > @@ -147,6 +147,9 @@ static int xhci_plat_probe(struct platform_device *pdev)
> > if ((node && of_property_read_bool(node, "usb3-lpm-capable")) ||
> > (pdata && pdata->usb3_lpm_capable))
> > xhci->quirks |= XHCI_LPM_SUPPORT;
> > +
> > + if (pdata && pdata->delay_portcsc_clear)
> > + xhci->quirks |= XHCI_DISCONNECT_QUIRK;
> > /*
> > * Set the xHCI pointer before xhci_plat_setup() (aka hcd_driver.reset)
> > * is called by usb_add_hcd().
> > diff --git a/include/linux/usb/xhci_pdriver.h b/include/linux/usb/xhci_pdriver.h
> > index 376654b..a37a3a5 100644
> > --- a/include/linux/usb/xhci_pdriver.h
> > +++ b/include/linux/usb/xhci_pdriver.h
> > @@ -18,10 +18,14 @@
> > *
> > * @usb3_lpm_capable: determines if this xhci platform supports USB3
> > * LPM capability
> > + * @delay_portcsc_clear: determines if Synopsis USB3 core has errata in
> > + * "DWC_USB3_SUSPEND_ON_DISCONNECT_EN=1" hardware
> > + * configuration.
> > *
> > */
> > struct usb_xhci_pdata {
> > unsigned usb3_lpm_capable:1;
> > + unsigned delay_portcsc_clear:1;
>
> previous patch won't build before this is applied. That's a problem.
> Please shuffle things around so that each and every patch builds and
> works on its own.
>
> We cannot break bisectability ;-)
Ah...sorry I seem to make a mess here,
i'll re-arrange all patches next round.
Much appreciate,
Sneeker
>
> --
> balbi
next prev parent reply other threads:[~2015-01-21 8:55 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-19 7:56 [PATCH v2 0/5] Add support for Fujitsu USB host controller Sneeker Yeh
2015-01-19 7:56 ` [PATCH v2 1/5] usb: dwc3: add Fujitsu Specific Glue layer Sneeker Yeh
2015-01-19 14:48 ` Felipe Balbi
2015-01-19 7:56 ` [PATCH v2 2/5] usb: dwc3: add revision number DWC3_REVISION_300A Sneeker Yeh
2015-01-19 14:46 ` Felipe Balbi
2015-01-19 19:45 ` John Youn
2015-01-19 20:00 ` Felipe Balbi
2015-01-21 8:57 ` Sneeker Yeh
2015-01-19 7:56 ` [PATCH v2 3/5] usb: dwc3: Add quirk for Synopsis device disconnection errata Sneeker Yeh
2015-01-19 14:50 ` Felipe Balbi
2015-01-21 9:02 ` Sneeker Yeh
2015-01-23 16:20 ` Felipe Balbi
2015-01-19 7:56 ` [PATCH v2 4/5] xhci: Platform: Set Synopsis device disconnection quirk based on platform data Sneeker Yeh
2015-01-19 14:51 ` Felipe Balbi
2015-01-21 8:55 ` Sneeker Yeh [this message]
2015-01-19 7:56 ` [PATCH v2 5/5] xhci: add a quirk for device disconnection errata for Synopsis Designware USB3 core Sneeker Yeh
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='CAJ1gpc33-BH1e=VpJ0ocjNRJk6CGswCuQ8UYrO=Pkanqhv+xLg@mail.gmail.com' \
--to=sneeker.yeh@gmail.com \
--cc=Sneeker.Yeh@tw.fujitsu.com \
--cc=andy.green@linaro.org \
--cc=balbi@ti.com \
--cc=devicetree@vger.kernel.org \
--cc=galak@codeaurora.org \
--cc=grant.likely@linaro.org \
--cc=gregkh@linuxfoundation.org \
--cc=ijc+devicetree@hellion.org.uk \
--cc=jaswinder.singh@linaro.org \
--cc=kishon@ti.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=mathias.nyman@intel.com \
--cc=pawel.moll@arm.com \
--cc=ray.huang@amd.com \
--cc=robh+dt@kernel.org \
--subject='Re: [PATCH v2 4/5] xhci: Platform: Set Synopsis device disconnection quirk based on platform data' \
/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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).