<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm63xx/u-boot/drivers/usb/gadget, branch master</title>
<subtitle>Broadcom-s U-Boot</subtitle>
<id>https://git.openwrt.org/project/bcm63xx/u-boot/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/project/bcm63xx/u-boot/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/'/>
<updated>2019-06-28T12:00:22Z</updated>
<entry>
<title>Merge tag 'u-boot-imx-20190628' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx</title>
<updated>2019-06-28T12:00:22Z</updated>
<author>
<name>Tom Rini</name>
</author>
<published>2019-06-28T12:00:22Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=0352e878d2b80b2575e02310e891e936251b3992'/>
<id>urn:sha1:0352e878d2b80b2575e02310e891e936251b3992</id>
<content type='text'>
Fixes for 2019.07

- menlo board
- allow SDB on Sabre
- HAB for mx6sl
- apalis board
</content>
</entry>
<entry>
<title>usb: gadget: f_sdp: Allow SPL to load and boot FIT via SDP</title>
<updated>2019-06-27T11:50:28Z</updated>
<author>
<name>Frieder Schrempf</name>
</author>
<published>2019-06-04T19:56:29Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=2c72ead7387404eba16c556d2f204c52c36c27f9'/>
<id>urn:sha1:2c72ead7387404eba16c556d2f204c52c36c27f9</id>
<content type='text'>
Add support for loading u-boot FIT images over the USB SDP protocol in
the SPL

Signed-off-by: Frieder Schrempf &lt;frieder.schrempf@kontron.de&gt;
[Various build fixes]
Signed-off-by: Sjoerd Simons &lt;sjoerd.simons@collabora.co.uk&gt;
Tested-by: Fabio Estevam &lt;festevam@gmail.com&gt;
Tested-by: Lukasz Majewski &lt;lukma@denx.de&gt;
</content>
</entry>
<entry>
<title>usb: dwc2: allow peripheral mode for OTG configuration</title>
<updated>2019-06-19T14:56:11Z</updated>
<author>
<name>Patrick Delaunay</name>
</author>
<published>2019-06-18T14:57:18Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=7c654683464dc4cd89f9a8198e26336263390b57'/>
<id>urn:sha1:7c654683464dc4cd89f9a8198e26336263390b57</id>
<content type='text'>
Allow device mode in DWC2 driver when device tree select the dr_mode
"peripheral" or "otg".

The device mode is not allowed when dr_mode = "host" in device tree.

Signed-off-by: Patrick Delaunay &lt;patrick.delaunay@st.com&gt;
Reviewed-by: Marek Vasut &lt;marex@denx.de&gt;
</content>
</entry>
<entry>
<title>usb: dwc2: correctly handle binding for g-tx-fifo-size</title>
<updated>2019-06-19T14:56:11Z</updated>
<author>
<name>Patrick Delaunay</name>
</author>
<published>2019-06-18T14:57:16Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=7350a75b517b6162c8f832a9ead09b9e26e8068f'/>
<id>urn:sha1:7350a75b517b6162c8f832a9ead09b9e26e8068f</id>
<content type='text'>
Manage g-tx-fifo-size as a array as specify in the binding.

Signed-off-by: Patrick Delaunay &lt;patrick.delaunay@st.com&gt;
Reviewed-by: Marek Vasut &lt;marex@denx.de&gt;
</content>
</entry>
<entry>
<title>rockchip: use 'arch-rockchip' as header file path</title>
<updated>2019-04-30T22:00:05Z</updated>
<author>
<name>Kever Yang</name>
</author>
<published>2019-03-28T03:01:23Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=15f09a1a834b125ed4a6102eac96186da0641541'/>
<id>urn:sha1:15f09a1a834b125ed4a6102eac96186da0641541</id>
<content type='text'>
Rockchip use 'arch-rockchip' instead of arch-$(SOC) as common
header file path, so that we can get the correct path directly.

Signed-off-by: Kever Yang &lt;kever.yang@rock-chips.com&gt;
Reviewed-by: Philipp Tomsich &lt;philipp.tomsich@theobroma-systems.com&gt;
</content>
</entry>
<entry>
<title>usb: dwc2: fix gadget disconnect</title>
<updated>2019-04-21T08:26:52Z</updated>
<author>
<name>Fabrice Gasnier</name>
</author>
<published>2019-04-17T14:46:13Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=7fd9f31c6bd13609da61b985cf8f5f65ebebd913'/>
<id>urn:sha1:7fd9f31c6bd13609da61b985cf8f5f65ebebd913</id>
<content type='text'>
This fixes a disconnect issue detected with fastboot command, when using
dwc2 driver.
- On u-boot side:
uboot&gt;$ fastboot 0
- On USB host PC side, few seconds after
PC&gt;$ fastboot reboot # Get stuck, uboot target never reboots

By enabling DEBUG_ISR logs, the bus suspend interrupt is seen before the
PC command has been issued. When the USB bus suspend occurs, there's a HACK
that disables the fastboot (composite driver). Here is the call stack
upon USB bus suspend:
- dwc2_handle_usb_suspend_intr()
  - dev-&gt;driver-&gt;disconnect()
    - composite_disconnect()
      - reset_config()
        - f-&gt;disable()
          - fastboot_disable()
            - usb_ep_disable(f_fb-&gt;out_ep);
            - usb_ep_disable(f_fb-&gt;in_ep);
            .. other disable calls.

When the resume interrupt happens, everything has been disabled, then
nothing happens. fastboot command gets stuck on HOST side.

Remove original HACK, that disconnects the composite driver upon
USB bus suspend. Implement disconnect detection instead:
- check GINTSTS OTG interrupt
- read GOTGINT register
- check GOTGINT, SesEndDet bit (e.g. session end)
This is inspired by what is implemented currently in Linux dwc2 driver.

Signed-off-by: Fabrice Gasnier &lt;fabrice.gasnier@st.com&gt;
Reviewed-by: Marek Vasut &lt;marex@denx.de&gt;
</content>
</entry>
<entry>
<title>stm32mp1: add stusb1600 support for DK1 and DK2 board</title>
<updated>2019-04-21T08:26:52Z</updated>
<author>
<name>Patrick Delaunay</name>
</author>
<published>2019-03-29T14:42:24Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=6fe7dd3327d552bacf4266d7f1ed074bf98ffb92'/>
<id>urn:sha1:6fe7dd3327d552bacf4266d7f1ed074bf98ffb92</id>
<content type='text'>
The DK1 and DK2 boards use the USB Type-C controller STUSB1600.
This patch updates:
- the device tree to add the I2C node in the DT
- the board stm32mp1 to probe this I2C device and use this controller
  to check cable detection.
- the DWC2 driver to support a new dt property
  "u-boot,force-b-session-valid" which forces B session and
  device mode; it is a workaround because the VBUS sensing and
  ID detection isn't available with stusb1600.

Signed-off-by: Patrick Delaunay &lt;patrick.delaunay@st.com&gt;
Reviewed-by: Lukasz Majewski &lt;lukma@denx.de&gt;
</content>
</entry>
<entry>
<title>usb: dwc2: add support for STM32MP1</title>
<updated>2019-04-21T08:26:52Z</updated>
<author>
<name>Patrick Delaunay</name>
</author>
<published>2019-03-29T14:42:21Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=931e9d7aa7228867eec7e33fd45718e6018cc96d'/>
<id>urn:sha1:931e9d7aa7228867eec7e33fd45718e6018cc96d</id>
<content type='text'>
Add compatible "st,stm32mp1-hsotg" and associated driver data to manage
the usb33d-supply and the ST specific register for VBus sensing.

Signed-off-by: Patrick Delaunay &lt;patrick.delaunay@st.com&gt;
# Conflicts:
#	drivers/usb/gadget/dwc2_udc_otg.c
Reviewed-by: Lukasz Majewski &lt;lukma@denx.de&gt;
</content>
</entry>
<entry>
<title>usb: dwc2_udc_otg: Add tx_fifo_sz array support</title>
<updated>2019-04-21T08:26:52Z</updated>
<author>
<name>Patrice Chotard</name>
</author>
<published>2019-03-29T14:42:20Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=763bb106f66c147b7d0c3046dbba66a07d7a9dd2'/>
<id>urn:sha1:763bb106f66c147b7d0c3046dbba66a07d7a9dd2</id>
<content type='text'>
All TX fifo size can be different, add tx_fifo_sz_array[]
into dwc2_plat_otg_data to be able to set them.

tx_fifo_sz_array[] is 17 Bytes long and can contains max 16
tx fifo size (synopsys IP supports max 16 IN endpoints).
First entry of tx_fifo_sz_array[] is the number of valid
fifo size the array contains.

In case of tx_fifo_sz_array[] doesn't contains the same
number of element than max hardware endpoint, display
a warning message.

Compatibility with board which doesn't use tx_fifo_sz_array[]
(Rockchip rk322x/rk3128/rv1108/rk3288/rk3036) is kept.

Signed-off-by: Patrice Chotard &lt;patrice.chotard@st.com&gt;
Signed-off-by: Patrick Delaunay &lt;patrick.delaunay@st.com&gt;
Reviewed-by: Lukasz Majewski &lt;lukma@denx.de&gt;
</content>
</entry>
<entry>
<title>usb: dwc2_udc_otg: Read MAX_HW_ENDPOINT from HWCFG4 register</title>
<updated>2019-04-21T08:26:52Z</updated>
<author>
<name>Patrick Delaunay</name>
</author>
<published>2019-03-29T14:42:19Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=5bd97e80730bdda59656ca927d67d62fb2a4ecb6'/>
<id>urn:sha1:5bd97e80730bdda59656ca927d67d62fb2a4ecb6</id>
<content type='text'>
Some DWC2 ip variant doesn't use 16 hardware endpoint as hardcoded
in the driver. Bits INEps [29:26] of HWCFG4 register allows to get
this information.

Signed-off-by: Patrice Chotard &lt;patrice.chotard@st.com&gt;
Signed-off-by: Patrick Delaunay &lt;patrick.delaunay@st.com&gt;
Reviewed-by: Lukasz Majewski &lt;lukma@denx.de&gt;
</content>
</entry>
</feed>
