<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm63xx/u-boot/drivers/usb/musb-new/sunxi.c, 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-01-18T16:49:09Z</updated>
<entry>
<title>musb-new: sunxi: Use CLK and RESET support</title>
<updated>2019-01-18T16:49:09Z</updated>
<author>
<name>Jagan Teki</name>
</author>
<published>2018-12-31T11:35:40Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=b9aa0a9332af0e5d1633fd44650cb5f7c85b4d50'/>
<id>urn:sha1:b9aa0a9332af0e5d1633fd44650cb5f7c85b4d50</id>
<content type='text'>
Now clock and reset drivers are available for respective
SoC's so use clk and reset ops on musb driver.

Signed-off-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
Acked-by: Maxime Ripard &lt;maxime.ripard@bootlin.com&gt;
Reviewed-by: Marek Vasut &lt;marex@denx.de&gt;
</content>
</entry>
<entry>
<title>usb: musb-new: sunxi: Fix null pointer access</title>
<updated>2018-12-14T16:59:10Z</updated>
<author>
<name>Stefan Mavrodiev</name>
</author>
<published>2018-12-05T12:49:44Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=46a3f276549f3e5720b6e80278cda354c7fa859f'/>
<id>urn:sha1:46a3f276549f3e5720b6e80278cda354c7fa859f</id>
<content type='text'>
When the device is in peripheral mode there is no
struct usb_bus_priv allocated pointer, as the uclass driver
("usb_dev_generic") doesn't call per_device_auto_alloc_size.

This results in writing to the internal SDRAM at
	priv-&gt;desc_before_addr = true;

Signed-off-by: Stefan Mavrodiev &lt;stefan@olimex.com&gt;
</content>
</entry>
<entry>
<title>dm: usb: create a new UCLASS ID for USB gadget devices</title>
<updated>2018-12-07T15:31:45Z</updated>
<author>
<name>Jean-Jacques Hiblot</name>
</author>
<published>2018-11-29T09:52:46Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=0131162439508801b9f8a330fa731f04273c9337'/>
<id>urn:sha1:0131162439508801b9f8a330fa731f04273c9337</id>
<content type='text'>
UCLASS_USB_DEV_GENERIC was meant for USB devices connected to host
controllers, not gadget devices.
Adding a new UCLASS for gadget devices alone.

Also move the generic DM code for USB gadgets in a separate file for
clarity.

Signed-off-by: Jean-Jacques Hiblot &lt;jjhiblot@ti.com&gt;
</content>
</entry>
<entry>
<title>usb: musb-new: sunxi: Add proper musb exit support</title>
<updated>2018-08-23T12:01:24Z</updated>
<author>
<name>Jagan Teki</name>
</author>
<published>2018-07-20T07:14:00Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=14b6a07cf73c4f191bafefcece6132eab6cf740e'/>
<id>urn:sha1:14b6a07cf73c4f191bafefcece6132eab6cf740e</id>
<content type='text'>
musb have platform ops to do proper graceful exit,
so add the exit call and move musb platform exit code
instead of keeping it in driver remove.
This make proper shutdown of musb where .remove will
call disable, exit serially via musb_stop.

Tested-by: Chen-Yu Tsai &lt;wens@csie.org&gt; # A33-OlinuXino
Tested-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
Signed-off-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
</content>
</entry>
<entry>
<title>musb-new: sunxi: Access ahb_reset0_cfg via ccm offset</title>
<updated>2018-08-23T12:01:24Z</updated>
<author>
<name>Jagan Teki</name>
</author>
<published>2018-07-20T07:13:59Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=1034bcc26db6153aa86addfd69d68b275eb2223f'/>
<id>urn:sha1:1034bcc26db6153aa86addfd69d68b275eb2223f</id>
<content type='text'>
reset0 is not available for sun4i, 5i and 7i so access
the reset0 offset from ccm via driver data for relevant
Allwinner SoC. this will eventually drop the existing
ifdef for SUN6I.

Tested-by: Chen-Yu Tsai &lt;wens@csie.org&gt; # A33-OlinuXino
Tested-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
Signed-off-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
</content>
</entry>
<entry>
<title>usb: musb-new: sunxi: Allocate struct phy in private</title>
<updated>2018-08-23T12:01:24Z</updated>
<author>
<name>Jagan Teki</name>
</author>
<published>2018-07-20T07:13:57Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=622fd2b98c6dd37fdbb86a417989049a3f222f05'/>
<id>urn:sha1:622fd2b98c6dd37fdbb86a417989049a3f222f05</id>
<content type='text'>
Allocate struct phy in private structure instead of allocating
locally and assign it to a pointer. This eventually fix miss
alignment phy which is used in another functions.

Tested-by: Chen-Yu Tsai &lt;wens@csie.org&gt; # A33-OlinuXino
Tested-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
Signed-off-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
</content>
</entry>
<entry>
<title>usb: musb-new: Fix improper musb host pointer</title>
<updated>2018-08-23T12:01:24Z</updated>
<author>
<name>Jagan Teki</name>
</author>
<published>2018-07-20T07:13:56Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=8b8d59f323d7fbd589ecb32b408841b675ca53f7'/>
<id>urn:sha1:8b8d59f323d7fbd589ecb32b408841b675ca53f7</id>
<content type='text'>
When MUSB is operating in peripheral mode, probe registering
musb core using musb_register which intern return int value
for validation. so there is no scope to preserve struct musb
pointer but the same can be used in .remove musb_stop.
So fix this by return musb_register with struct musb pointer.

Cc: Igor Grinberg &lt;grinberg@compulab.co.il&gt;
Cc: Purna Chandra Mandal &lt;purna.mandal@microchip.com&gt;
Tested-by: Chen-Yu Tsai &lt;wens@csie.org&gt; # A33-OlinuXino
Tested-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
Signed-off-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
</content>
</entry>
<entry>
<title>usb: sunxi: Switch to use generic-phy</title>
<updated>2018-05-28T11:10:43Z</updated>
<author>
<name>Jagan Teki</name>
</author>
<published>2018-05-07T07:33:38Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=dd3228170ad7388bdd57ff18b9e463c36508ebe9'/>
<id>urn:sha1:dd3228170ad7388bdd57ff18b9e463c36508ebe9</id>
<content type='text'>
Allwinner USB PHY handling can be done through driver-model
generic-phy so add the generic-phy ops to relevant places
on host and musb sunxi driver and enable them in respective
SOC's.

Signed-off-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
Acked-by: Jun Nie &lt;jun.nie@linaro.org&gt;
</content>
</entry>
<entry>
<title>phy: sun4i-usb: Add a sunxi specific function for setting squelch-detect</title>
<updated>2018-05-28T11:10:43Z</updated>
<author>
<name>Jagan Teki</name>
</author>
<published>2018-05-07T07:33:37Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=aa29b11b3fdeaedb9689e89e467e6bbd036780ac'/>
<id>urn:sha1:aa29b11b3fdeaedb9689e89e467e6bbd036780ac</id>
<content type='text'>
The sunxi otg phy has a bug where it wrongly detects a high speed squelch
when reset on the root port gets de-asserted with a lo-speed device.

The workaround for this is to disable squelch detect before de-asserting
reset, and re-enabling it after the reset de-assert is done. Add a sunxi
specific phy function to allow the sunxi-musb glue to do this.

Signed-off-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
Acked-by: Jun Nie &lt;jun.nie@linaro.org&gt;
</content>
</entry>
<entry>
<title>musb: sunxi: Use BIT instead of numerical shift</title>
<updated>2018-05-28T11:10:43Z</updated>
<author>
<name>Jagan Teki</name>
</author>
<published>2018-05-07T07:33:23Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=5c5fe883e046008ab311614ef02f87c551c30535'/>
<id>urn:sha1:5c5fe883e046008ab311614ef02f87c551c30535</id>
<content type='text'>
Use BIT is possible areas instead of numerical shift.

Signed-off-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
Acked-by: Jun Nie &lt;jun.nie@linaro.org&gt;
</content>
</entry>
</feed>
