<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/usb/dwc3/core.c, branch linux-4.3.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.3.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.3.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2015-12-09T19:34:37Z</updated>
<entry>
<title>usb: dwc3: Add dis_enblslpm_quirk</title>
<updated>2015-12-09T19:34:37Z</updated>
<author>
<name>John Youn</name>
</author>
<published>2015-10-03T03:30:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=78e46d1ff1d6932628e5ca6bd1648596f9901588'/>
<id>urn:sha1:78e46d1ff1d6932628e5ca6bd1648596f9901588</id>
<content type='text'>
commit ec791d149bca4511e7d3a6a92bb3b030c5a443f9 upstream.

Add a quirk to clear the GUSB2PHYCFG.ENBLSLPM bit, which controls
whether the PHY receives the suspend signal from the controller.

Signed-off-by: John Youn &lt;johnyoun@synopsys.com&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>usb: dwc3: Support Synopsys USB 3.1 IP</title>
<updated>2015-12-09T19:34:36Z</updated>
<author>
<name>John Youn</name>
</author>
<published>2015-09-05T02:15:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ab6fc45ff2c2e9183d81901d20224b4d37820570'/>
<id>urn:sha1:ab6fc45ff2c2e9183d81901d20224b4d37820570</id>
<content type='text'>
commit 690fb3718a70c66004342f6f5e2e8a5f95b977db upstream.

This patch allows the dwc3 driver to run on the new Synopsys USB 3.1
IP core, albeit in USB 3.0 mode only.

The Synopsys USB 3.1 IP (DWC_usb31) retains mostly the same register
interface and programming model as the existing USB 3.0 controller IP
(DWC_usb3). However the GSNPSID and version numbers are different.

Add checking for the new ID to pass driver probe.

Also, since the DWC_usb31 version number is lower in value than the
full GSNPSID of the DWC_usb3 IP, we set the high bit to identify
DWC_usb31 and to ensure the values are higher.

Finally, add a documentation note about the revision numbering scheme.
Any future revision checks (for STARS, workarounds, and new features)
should take into consideration how it applies to both the 3.1/3.0 IP.

Signed-off-by: John Youn &lt;johnyoun@synopsys.com&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>usb: dwc3: core: remove unnecessary dev_warn()</title>
<updated>2015-07-29T14:59:19Z</updated>
<author>
<name>Felipe Balbi</name>
</author>
<published>2015-07-07T18:45:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d9972f470bcb40947dd91af90f17f9cb01db1f41'/>
<id>urn:sha1:d9972f470bcb40947dd91af90f17f9cb01db1f41</id>
<content type='text'>
When a SoC supports both PHY interfaces but
doesn't define HSPHY in DT/pdata, we will get
an unnecessary dev_warn() which can mislead users
into thinking that they're missing something.

Instead, let's just silently rely on a correct
default. If the HW default is wrong, then HSPHY
is required and USB won't work, this will be
motivation enough for engineers to patch their
way into a working setup.

Reported-by: Murali Karicheri &lt;m-karicheri2@ti.com&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>usb: dwc3: core: avoid NULL pointer dereference</title>
<updated>2015-07-06T17:34:08Z</updated>
<author>
<name>Felipe Balbi</name>
</author>
<published>2015-07-02T03:03:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=43cacb03aabe62158d8e5da876054c7d48fc9963'/>
<id>urn:sha1:43cacb03aabe62158d8e5da876054c7d48fc9963</id>
<content type='text'>
commit 3e10a2ce98d1 ("usb: dwc3: add hsphy_interface
property") introduced a possible NULL pointer
dereference because dwc-&gt;hsphy_interface can be
NULL.

In order to fix it, all we have to do is guard
strncmp() against a NULL argument.

Fixes: 3e10a2ce98d1 ("usb: dwc3: add hsphy_interface property")
Tested-by: Murali Karicheri &lt;m-karicheri2@ti.com&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>usb: dwc3: add ULPI interface support</title>
<updated>2015-05-13T17:06:52Z</updated>
<author>
<name>Heikki Krogerus</name>
</author>
<published>2015-05-13T12:26:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=88bc9d194ff69875a4d3c958d969ed2a053c8308'/>
<id>urn:sha1:88bc9d194ff69875a4d3c958d969ed2a053c8308</id>
<content type='text'>
Registers DWC3's ULPI interface with the ULPI bus when it's
available.

Signed-off-by: Heikki Krogerus &lt;heikki.krogerus@linux.intel.com&gt;
Acked-by: David Cohen &lt;david.a.cohen@linux.intel.com&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>usb: dwc3: add hsphy_interface property</title>
<updated>2015-05-13T17:06:42Z</updated>
<author>
<name>Heikki Krogerus</name>
</author>
<published>2015-05-13T12:26:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3e10a2ce98d1a57992a44ed40325af60ab7b0f5d'/>
<id>urn:sha1:3e10a2ce98d1a57992a44ed40325af60ab7b0f5d</id>
<content type='text'>
Platforms that have configured DWC_USB3_HSPHY_INTERFACE with
value 3, i.e. UTMI+ and ULPI, need to inform the driver of
the actual HSPHY interface type with the property. "utmi" if
the interface is UTMI+ or "ulpi" if the interface is ULPI.

Signed-off-by: Heikki Krogerus &lt;heikki.krogerus@linux.intel.com&gt;
Acked-by: David Cohen &lt;david.a.cohen@linux.intel.com&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>usb: dwc3: setup phys earlier</title>
<updated>2015-05-13T17:06:09Z</updated>
<author>
<name>Heikki Krogerus</name>
</author>
<published>2015-05-13T12:26:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=45bb7de213d86d491840e9c3ae139475ab3fa493'/>
<id>urn:sha1:45bb7de213d86d491840e9c3ae139475ab3fa493</id>
<content type='text'>
This allows dwc3_phy_setup() to be more useful later. There
is nothing preventing the PHY configuration registers from
being programmed early. They do not loose their context in
soft reset.

There are however other PHY related operations that should
be executed before the driver request handles to the PHYs,
such as registering DWC3's ULPI interface, which can now be
done in dwc3_phy_setup().

Also, if there ever was need for the two 100ms delays in
dwc3_phy_setup() there isn't anymore. The PHYs are now reset
after the PHY interfaces are setup.

Signed-off-by: Heikki Krogerus &lt;heikki.krogerus@linux.intel.com&gt;
Acked-by: David Cohen &lt;david.a.cohen@linux.intel.com&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>usb: dwc3: soft reset to it's own function</title>
<updated>2015-05-13T17:06:05Z</updated>
<author>
<name>Heikki Krogerus</name>
</author>
<published>2015-05-13T12:26:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c5cc74e8c12be67ef7f09f77c2b9df6faf7904f0'/>
<id>urn:sha1:c5cc74e8c12be67ef7f09f77c2b9df6faf7904f0</id>
<content type='text'>
So it can be called from other places later.

Signed-off-by: Heikki Krogerus &lt;heikki.krogerus@linux.intel.com&gt;
Acked-by: David Cohen &lt;david.a.cohen@linux.intel.com&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>usb: dwc3: cache hwparams earlier</title>
<updated>2015-05-13T17:06:00Z</updated>
<author>
<name>Heikki Krogerus</name>
</author>
<published>2015-05-13T12:26:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2917e7181589f859ac1e00ba1b3decbbfc2549bb'/>
<id>urn:sha1:2917e7181589f859ac1e00ba1b3decbbfc2549bb</id>
<content type='text'>
So they are available when ULPI interface support is added.

Signed-off-by: Heikki Krogerus &lt;heikki.krogerus@linux.intel.com&gt;
Acked-by: David Cohen &lt;david.a.cohen@linux.intel.com&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>usb: dwc3: store driver data earlier</title>
<updated>2015-05-13T17:05:56Z</updated>
<author>
<name>Heikki Krogerus</name>
</author>
<published>2015-05-13T12:26:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6c89cce0476f309689549c74717445e624e0de04'/>
<id>urn:sha1:6c89cce0476f309689549c74717445e624e0de04</id>
<content type='text'>
We need to store it before phys are handled, so we can later
use it in ULPI interface support code.

Signed-off-by: Heikki Krogerus &lt;heikki.krogerus@linux.intel.com&gt;
Acked-by: David Cohen &lt;david.a.cohen@linux.intel.com&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
</feed>
