<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm63xx/u-boot/include/usb.h, branch master</title>
<subtitle>Broadcom-s U-Boot</subtitle>
<id>https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/'/>
<updated>2018-11-26T20:19:03Z</updated>
<entry>
<title>usb: s/CONFIG_DM_USB/CONFIG_IS_ENABLED(DM_USB)/</title>
<updated>2018-11-26T20:19:03Z</updated>
<author>
<name>Sven Schwermer</name>
</author>
<published>2018-11-21T07:43:56Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=fd09c205fc57b90a782cac33449ef172575d0a8c'/>
<id>urn:sha1:fd09c205fc57b90a782cac33449ef172575d0a8c</id>
<content type='text'>
This allows to disable the USB driver model in SPL because it checks
the CONFIG_SPL_DM_USB variable for SPL builds. Nothing changes for
regular non-SPL builds.

Signed-off-by: Sven Schwermer &lt;sven@svenschwermer.de&gt;
</content>
</entry>
<entry>
<title>SPDX: Convert all of our single license tags to Linux Kernel style</title>
<updated>2018-05-07T13:34:12Z</updated>
<author>
<name>Tom Rini</name>
</author>
<published>2018-05-06T21:58:06Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=83d290c56fab2d38cd1ab4c4cc7099559c1d5046'/>
<id>urn:sha1:83d290c56fab2d38cd1ab4c4cc7099559c1d5046</id>
<content type='text'>
When U-Boot started using SPDX tags we were among the early adopters and
there weren't a lot of other examples to borrow from.  So we picked the
area of the file that usually had a full license text and replaced it
with an appropriate SPDX-License-Identifier: entry.  Since then, the
Linux Kernel has adopted SPDX tags and they place it as the very first
line in a file (except where shebangs are used, then it's second line)
and with slightly different comment styles than us.

In part due to community overlap, in part due to better tag visibility
and in part for other minor reasons, switch over to that style.

This commit changes all instances where we have a single declared
license in the tag as both the before and after are identical in tag
contents.  There's also a few places where I found we did not have a tag
and have introduced one.

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>dm: usb: emul: Drop usb_emul_reset()</title>
<updated>2017-10-01T14:32:51Z</updated>
<author>
<name>Bin Meng</name>
</author>
<published>2017-10-01T13:19:44Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=ad56e4b684a97565cdce15c28df1ccff9032d594'/>
<id>urn:sha1:ad56e4b684a97565cdce15c28df1ccff9032d594</id>
<content type='text'>
With the root hub unbinding in usb_stop(), there is no need to do
a Sandbox-specific reset operation. usb_emul_reset() is no longer
used anywhere, drop it.

Signed-off-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
</content>
</entry>
<entry>
<title>usb: emul: Expose find_descriptor() as a public API</title>
<updated>2017-10-01T14:32:51Z</updated>
<author>
<name>Bin Meng</name>
</author>
<published>2017-10-01T13:19:40Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=848436a48d21447fc78bef67a4cbf11392536de2'/>
<id>urn:sha1:848436a48d21447fc78bef67a4cbf11392536de2</id>
<content type='text'>
This can be useful outside of the sandbox usb emulation uclass
driver. Expose it as a public API with a proper prefix (usb_emul_).

Signed-off-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
</content>
</entry>
<entry>
<title>usb: sandbox: Fix emulator device select logic in usb_emul_find_devnum()</title>
<updated>2017-10-01T14:32:50Z</updated>
<author>
<name>Bin Meng</name>
</author>
<published>2017-10-01T13:19:39Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=84aa8536f0197e439832f56cc7b554af488fc3c8'/>
<id>urn:sha1:84aa8536f0197e439832f56cc7b554af488fc3c8</id>
<content type='text'>
Current emulator select logic in usb_emul_find_devnum() is to test
the USB address. The USB address of the device being enumerated is
initialized to zero at the beginning of the enumeration process in
usb_setup_device(). At this point, the saved USB address in the
platform data has not been assigned to any valid USB address either.
This means: the logic will select an emulator device according to
its sequence of declaring order in the device tree. Take test.dts
for example, flash-stick@0 will be selected before flash-stick@1.
But unfortunately such logic is wrong.

In fact USB devices show up in a random order during the enumeration
which means usb_emul_find_devnum() may be called on port 3 for keyb@3
before on port 0 for flash-stick@0.

To fix this, we introduce a new emulator uclass specific platdata
to store the USB device's port number on its parent hub, and update
the logic to test the port number instead.

Signed-off-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
</content>
</entry>
<entry>
<title>usb: Fix comments of usb_emul_find_for_dev()</title>
<updated>2017-10-01T14:32:50Z</updated>
<author>
<name>Bin Meng</name>
</author>
<published>2017-10-01T13:19:37Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=8d36c6874173918612495b8e5925a7000ed8058e'/>
<id>urn:sha1:8d36c6874173918612495b8e5925a7000ed8058e</id>
<content type='text'>
There is no such a parameter called 'bus'.

Signed-off-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
</content>
</entry>
<entry>
<title>usb: emul: Remove maxpacketsize in usb_emul_setup_device()</title>
<updated>2017-10-01T14:32:50Z</updated>
<author>
<name>Bin Meng</name>
</author>
<published>2017-10-01T13:19:36Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=98b639fc503e16cffa902d3ab89b29b9b5dcbf57'/>
<id>urn:sha1:98b639fc503e16cffa902d3ab89b29b9b5dcbf57</id>
<content type='text'>
This parameter is never used.

Signed-off-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
</content>
</entry>
<entry>
<title>dm: usb: Add a new USB controller operation 'get_max_xfer_size'</title>
<updated>2017-09-27T10:12:21Z</updated>
<author>
<name>Bin Meng</name>
</author>
<published>2017-09-07T13:13:17Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=3e59f59015e39ceb870fa8a7a12e0464e775512b'/>
<id>urn:sha1:3e59f59015e39ceb870fa8a7a12e0464e775512b</id>
<content type='text'>
The HCD may have limitation on the maximum bytes to be transferred
in a USB transfer. USB class driver needs to be aware of this.

Signed-off-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
</content>
</entry>
<entry>
<title>dm: usb: Add a new USB controller operation 'update_hub_device'</title>
<updated>2017-07-28T21:34:35Z</updated>
<author>
<name>Bin Meng</name>
</author>
<published>2017-07-19T13:51:17Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=9ca1b4bab10d8b3a5dbbbd98df46ce75159222b8'/>
<id>urn:sha1:9ca1b4bab10d8b3a5dbbbd98df46ce75159222b8</id>
<content type='text'>
For USB host controllers like xHC, its internal representation of
hub needs to be updated after the hub descriptor is fetched. This
adds a new op that does this.

Signed-off-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>usb: hub: Parse and save TT details from device descriptor</title>
<updated>2017-07-28T21:34:34Z</updated>
<author>
<name>Bin Meng</name>
</author>
<published>2017-07-19T13:51:16Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=5624dfd5aa91c244519ec60b40b4a42b4d9a43ca'/>
<id>urn:sha1:5624dfd5aa91c244519ec60b40b4a42b4d9a43ca</id>
<content type='text'>
A high speed hub has a special responsibility to handle full speed/
low speed devices connected on downstream ports. In this case, the
hub must isolate the high speed signaling environment from the full
speed/low speed signaling environment with the help of Transaction
Translator (TT). TT details are provided by hub descriptors and we
parse and save it to hub uclass_priv for later use.

Signed-off-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
</feed>
