<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/usb, branch v2016.07-rc1</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/drivers/usb?h=v2016.07-rc1</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/usb?h=v2016.07-rc1'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2016-06-03T22:43:53Z</updated>
<entry>
<title>usb: move CONFIG_USB_XHCI_DWC3 to Kconfig</title>
<updated>2016-06-03T22:43:53Z</updated>
<author>
<name>Masahiro Yamada</name>
<email>yamada.masahiro@socionext.com</email>
</author>
<published>2016-06-03T22:35:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=10db7500369ea000af4c4c5b039b7946c2865ae9'/>
<id>urn:sha1:10db7500369ea000af4c4c5b039b7946c2865ae9</id>
<content type='text'>
Create an entry for "config USB_XHCI_DWC3" in Kconfig and
switch over to it for all boards.

Signed-off-by: Masahiro Yamada &lt;yamada.masahiro@socionext.com&gt;
</content>
</entry>
<entry>
<title>usb: move CONFIG_USB_XHCI to Kconfig with renaming</title>
<updated>2016-06-03T22:43:53Z</updated>
<author>
<name>Masahiro Yamada</name>
<email>yamada.masahiro@socionext.com</email>
</author>
<published>2016-06-03T22:35:03Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0a8cc1a3a4206d556da784a0e98598190dfe5408'/>
<id>urn:sha1:0a8cc1a3a4206d556da784a0e98598190dfe5408</id>
<content type='text'>
Move CONFIG_USB_XHCI to defconfig files for all boards, renaming it
into CONFIG_USB_XHCI_HCD.

As commented in the help of "config USB_XHCI" entry, this has been
a TODO for a long time; now CONFIG_USB_XHCI_HCD and CONFIG_USB_XHCI
have been unified in favor of the former.

Note:
Some boards define CONFIG_USB_XHCI in their headers without
CONFIG_USB, which does not meet the "depends on" in Kconfig.
I added CONFIG_USB=y for those boards when converting.
Otherwise, they would fail to build.

Signed-off-by: Masahiro Yamada &lt;yamada.masahiro@socionext.com&gt;
</content>
</entry>
<entry>
<title>usb: phy: omap_usb_phy: Fix USB3_PHY DPLL configuration</title>
<updated>2016-06-03T01:42:16Z</updated>
<author>
<name>Roger Quadros</name>
<email>rogerq@ti.com</email>
</author>
<published>2016-05-23T14:37:50Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=68a775a7665f8cec3c0f6f38179ef5b7eeb2fee0'/>
<id>urn:sha1:68a775a7665f8cec3c0f6f38179ef5b7eeb2fee0</id>
<content type='text'>
The index returned by get_sys_clk_index() is not exactly what we expect.
Let's not rely on that and use get_sys_clk_freq() instead.

This fixes missing USB3 devices in the Linux kernel when USB is started
in u-boot. It still doesn't fix missing USB3 devices in u-boot though.

Signed-off-by: Roger Quadros &lt;rogerq@ti.com&gt;
</content>
</entry>
<entry>
<title>usb: dwc3: Makefile: Don't build gadget code if USB_GADGET is disabled</title>
<updated>2016-05-27T19:39:49Z</updated>
<author>
<name>Roger Quadros</name>
<email>rogerq@ti.com</email>
</author>
<published>2016-05-13T12:17:52Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=3ac8d1ee12dcc59942c22f76ccce5537fc3a198a'/>
<id>urn:sha1:3ac8d1ee12dcc59942c22f76ccce5537fc3a198a</id>
<content type='text'>
It is pointless to build gadget driver if USB_GADGET is disabled.

Signed-off-by: Roger Quadros &lt;rogerq@ti.com&gt;
Acked-by: Marek Vasut &lt;marex@denx.de&gt;
</content>
</entry>
<entry>
<title>drivers: usb: common: add common code for usb drivers to use</title>
<updated>2016-05-17T15:54:43Z</updated>
<author>
<name>Mugunthan V N</name>
<email>mugunthanvnm@ti.com</email>
</author>
<published>2016-04-12T10:31:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c0c62d923344d5a68f43259282e68a827318db01'/>
<id>urn:sha1:c0c62d923344d5a68f43259282e68a827318db01</id>
<content type='text'>
Add common usb code which usb drivers makes use of it.

Signed-off-by: Mugunthan V N &lt;mugunthanvnm@ti.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>usb: gadget: dfu: discard dead code</title>
<updated>2016-05-06T18:06:56Z</updated>
<author>
<name>Peng Fan</name>
<email>van.freenix@gmail.com</email>
</author>
<published>2016-05-03T02:25:22Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=12ff19dbfd93abdb62b7b326fee3f5bfa659a75e'/>
<id>urn:sha1:12ff19dbfd93abdb62b7b326fee3f5bfa659a75e</id>
<content type='text'>
Reported by Coverity:
Logically dead code (DEADCODE)
dead_error_line: Execution cannot reach this statement:
(f_dfu-&gt;strings + --i).s = ....

If calloc failed, i is still 0 and no need to call free,
so discard the dead code.

Signed-off-by: Peng Fan &lt;van.freenix@gmail.com&gt;
Cc: "Łukasz Majewski" &lt;l.majewski@samsung.com&gt;
Cc: Marek Vasut &lt;marex@denx.de&gt;
</content>
</entry>
<entry>
<title>usb: dwc2: Add delay to fix the USB detection problem on SoCFPGA</title>
<updated>2016-05-06T18:06:56Z</updated>
<author>
<name>Stefan Roese</name>
<email>sr@denx.de</email>
</author>
<published>2016-05-06T11:53:37Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2bf352f0c1b7f58d4610bc0777e8febbd2dfd5ff'/>
<id>urn:sha1:2bf352f0c1b7f58d4610bc0777e8febbd2dfd5ff</id>
<content type='text'>
With patch c998da0d (usb: Change power-on / scanning timeout handling),
the USB scanning is started earlier and with a smaller timeout. This
resulted on SoCFPGA (using the DWC2 driver) in some USB sticks not
getting detected any more. This patch now adds a 1 second delay (in
the host mode only) to the DWC2 driver before the scanning is started.
With this delay, now all problematic USB keys are detected successfully
again. And there is no need any more to change the delay / timeout
in the common USB code (usb_hub.c).

Signed-off-by: Stefan Roese &lt;sr@denx.de&gt;
Cc: Chin Liang See &lt;clsee@altera.com&gt;
Cc: Dinh Nguyen &lt;dinguyen@opensource.altera.com&gt;
Cc: Hans de Goede &lt;hdegoede@redhat.com&gt;
Cc: Stephen Warren &lt;swarren@nvidia.com&gt;
Cc: Marek Vasut &lt;marex@denx.de&gt;
</content>
</entry>
<entry>
<title>usb: ehci-mx6: allow board_ehci_hcd_init to fail</title>
<updated>2016-05-06T16:33:26Z</updated>
<author>
<name>Stefan Agner</name>
<email>stefan@agner.ch</email>
</author>
<published>2016-05-05T23:59:12Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=79d867c2e683f7080a8724a54a4a12ac0ce1f837'/>
<id>urn:sha1:79d867c2e683f7080a8724a54a4a12ac0ce1f837</id>
<content type='text'>
There could be runtime determined board specific reason why a EHCI
initialization fails (e.g. ENODEV if a Port is not available). In
this case, properly return the error code.
While at it, that function (board_ehci_hcd_init) has actually two
documentation blocks... Use the correct function name for the
documentation block of board_usb_phy_mode.

Signed-off-by: Stefan Agner &lt;stefan@agner.ch&gt;
</content>
</entry>
<entry>
<title>usb: dwc2: Init desc_before_addr</title>
<updated>2016-05-03T17:21:18Z</updated>
<author>
<name>Marek Vasut</name>
<email>marex@denx.de</email>
</author>
<published>2016-04-26T01:02:35Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e96e064f51139c4af39f14499564ef76e40bbc29'/>
<id>urn:sha1:e96e064f51139c4af39f14499564ef76e40bbc29</id>
<content type='text'>
Initialize desc_before_addr, otherwise the USB core won't send the
first 64B Get Device Descriptor request in common/usb.c function
usb_setup_descriptor() . There are some USB devices which expect
this sequence and otherwise can misbehave.

Signed-off-by: Marek Vasut &lt;marex@denx.de&gt;
Cc: Dinh Nguyen &lt;dinguyen@opensource.altera.com&gt;
Cc: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>usb: dwc2: Make OC protection configurable</title>
<updated>2016-05-03T17:21:18Z</updated>
<author>
<name>Marek Vasut</name>
<email>marex@denx.de</email>
</author>
<published>2016-04-27T12:58:49Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b4fbd089e4b7ead53d4a27148f6df9c18572b1ce'/>
<id>urn:sha1:b4fbd089e4b7ead53d4a27148f6df9c18572b1ce</id>
<content type='text'>
Introduce a new flag in the controller private data, which allows selectively
disabling the OC protection. Use the standard 'disable-over-current' OF prop
to set this flag. This OC protection must be disabled on EBV SoCrates rev 1.

Signed-off-by: Marek Vasut &lt;marex@denx.de&gt;
Cc: Stefan Roese &lt;sr@denx.de&gt;
Cc: Dinh Nguyen &lt;dinguyen@kernel.org&gt;
</content>
</entry>
</feed>
