<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/drivers/usb/chipidea/debug.c, branch stable/4.3.y</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=stable%2F4.3.y</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=stable%2F4.3.y'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2015-12-09T19:34:38Z</updated>
<entry>
<title>usb: chipidea: debug: disable usb irq while role switch</title>
<updated>2015-12-09T19:34:38Z</updated>
<author>
<name>Li Jun</name>
<email>jun.li@freescale.com</email>
</author>
<published>2015-10-13T10:23:31Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=0330a1fbe51c995b5e75c3ea1440b2e4ab68ee8c'/>
<id>urn:sha1:0330a1fbe51c995b5e75c3ea1440b2e4ab68ee8c</id>
<content type='text'>
commit 251b3c8b57481bcecd3f753108e36e7389ce12ac upstream.

Since the ci-&gt;role will be set after the host role start is complete, there
will be nobody cared irq during start host if usb irq enabled. This error
can be reproduced on i.mx6 sololite EVK board by:
1. disable otg id irq(IDIE) and disable all real otg properties of usbotg1
   in dts.
2. boot up the board with ID cable and usb device connected.
3. echo gadget &gt; /sys/kernel/debug/ci_hdrc.0/role
4. echo host &gt; /sys/kernel/debug/ci_hdrc.0/role
5. irq 212: nobody cared.

Signed-off-by: Li Jun &lt;jun.li@freescale.com&gt;
Signed-off-by: Peter Chen &lt;peter.chen@freescale.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>Merge tag 'usb-ci-v4.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/peter.chen/usb into usb-next</title>
<updated>2015-08-14T23:43:09Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@linuxfoundation.org</email>
</author>
<published>2015-08-14T23:43:09Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=37a842d36f63a047d94be2603d40d4407c949f1b'/>
<id>urn:sha1:37a842d36f63a047d94be2603d40d4407c949f1b</id>
<content type='text'>
Peter writes:

USB: chipidea updates for v4.3-rc1

The main changes are adding several system interfaces for
tuning performance, and each vendors can adjust them according
to their design configurations.

Others are tiny improvements, like more well siTD supports,
USB_DEVICE_A_HNP_SUPPORT supports, etc.
</content>
</entry>
<entry>
<title>usb: chipidea: debug: add runtime pm for register access</title>
<updated>2015-08-14T01:13:12Z</updated>
<author>
<name>Li Jun</name>
<email>jun.li@freescale.com</email>
</author>
<published>2015-07-29T05:11:11Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=bc24937943d9f71a1e32b5dc4e2f0ef8fcc07b64'/>
<id>urn:sha1:bc24937943d9f71a1e32b5dc4e2f0ef8fcc07b64</id>
<content type='text'>
Add runtime pm operations for registers access to avoid system hang.

Signed-off-by: Li Jun &lt;jun.li@freescale.com&gt;
</content>
</entry>
<entry>
<title>usb: chipidea: update ci_otg_is_fsm_mode conditions</title>
<updated>2015-07-29T14:59:21Z</updated>
<author>
<name>Li Jun</name>
<email>jun.li@freescale.com</email>
</author>
<published>2015-07-09T07:18:46Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=b0930d4cafb487a663ac6780a0369d1a0f461bc2'/>
<id>urn:sha1:b0930d4cafb487a663ac6780a0369d1a0f461bc2</id>
<content type='text'>
After introduce usb otg properties, update ci_otg_is_fsm_mode conditions
to be depending on both usb hardware properties and usb driver config,
also resolve a compile issue in debug.c after the API change.

Acked-by: Peter Chen &lt;peter.chen@freescale.com&gt;
Signed-off-by: Li Jun &lt;jun.li@freescale.com&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>usb: chipidea: debug: avoid out of bound read</title>
<updated>2015-05-06T06:28:18Z</updated>
<author>
<name>Heinrich Schuchardt</name>
<email>xypron.glpk@gmx.de</email>
</author>
<published>2015-04-28T17:30:47Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=bd5fb0aec3dd7cde7ec4c397b10e55d4c9626d8d'/>
<id>urn:sha1:bd5fb0aec3dd7cde7ec4c397b10e55d4c9626d8d</id>
<content type='text'>
A string written by the user may not be zero terminated.

sscanf may read memory beyond the buffer if no zero byte
is found.

For testing build with CONFIG_USB_CHIPIDEA=y, CONFIG_USB_CHIPIDEA_DEBUG=y.

Signed-off-by: Heinrich Schuchardt &lt;xypron.glpk@gmx.de&gt;
Signed-off-by: Peter Chen &lt;peter.chen@freescale.com&gt;
</content>
</entry>
<entry>
<title>usb: chipidea: debug: add low power mode check before print registers</title>
<updated>2015-04-08T06:32:00Z</updated>
<author>
<name>Li Jun</name>
<email>jun.li@freescale.com</email>
</author>
<published>2015-03-27T11:43:01Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=0c4d6af42d8375e003f0e4626f2f661862b5df4b'/>
<id>urn:sha1:0c4d6af42d8375e003f0e4626f2f661862b5df4b</id>
<content type='text'>
Since the required clock to access registers is gated off in low power mode,
add ci-&gt;in_lpm check before try to dump registers value.

Signed-off-by: Li Jun &lt;jun.li@freescale.com&gt;
Signed-off-by: Peter Chen &lt;peter.chen@freescale.com&gt;
</content>
</entry>
<entry>
<title>usb: allow to supply the PHY in the drivers when using HCD</title>
<updated>2014-11-03T16:02:50Z</updated>
<author>
<name>Antoine Tenart</name>
<email>antoine.tenart@free-electrons.com</email>
</author>
<published>2014-10-30T17:41:16Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=ef44cb4226d132146e44f8ea562a16b27ff61126'/>
<id>urn:sha1:ef44cb4226d132146e44f8ea562a16b27ff61126</id>
<content type='text'>
This patch modify the generic code handling PHYs to allow them to be
supplied from the drivers. This adds checks to ensure no PHY was already
there when looking for one in the generic code. This also makes sure we
do not modify its state in the generic HCD functions, it was provided by
the driver.

Signed-off-by: Antoine Tenart &lt;antoine.tenart@free-electrons.com&gt;
Acked-by: Alan Stern &lt;stern@rowland.harvard.edu&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>usb: move the OTG state from the USB PHY to the OTG structure</title>
<updated>2014-11-03T16:01:25Z</updated>
<author>
<name>Antoine Tenart</name>
<email>antoine.tenart@free-electrons.com</email>
</author>
<published>2014-10-30T17:41:13Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=e47d92545c2972bcf3711e7db80f481e402163c7'/>
<id>urn:sha1:e47d92545c2972bcf3711e7db80f481e402163c7</id>
<content type='text'>
Before using the PHY framework instead of the USB PHY one, we need to
move the OTG state into another place, since it won't be available when
USB PHY isn't used. This patch moves the OTG state into the OTG
structure, and makes all the needed modifications in the drivers
using the OTG state.

[ balbi@ti.com : fix build regressions with phy-tahvo.c, musb_dsps.c,
		phy-isp1301-omap, and chipidea's debug.c ]

Acked-by: Kishon Vijay Abraham I &lt;kishon@ti.com&gt;
Acked-by: Peter Chen &lt;peter.chen@freescale.com&gt;
Signed-off-by: Antoine Tenart &lt;antoine.tenart@free-electrons.com&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>usb: chipidea: debug: fix sparse non static symbol warnings</title>
<updated>2014-07-22T23:31:37Z</updated>
<author>
<name>Wei Yongjun</name>
<email>yongjun_wei@trendmicro.com.cn</email>
</author>
<published>2014-07-22T02:09:45Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=df40f8d3cb12b9a404a0b604fe71a6eb04bf36be'/>
<id>urn:sha1:df40f8d3cb12b9a404a0b604fe71a6eb04bf36be</id>
<content type='text'>
Fixes the following sparse warnings:

drivers/usb/chipidea/debug.c:211:5: warning:
 symbol 'ci_otg_show' was not declared. Should it be static?
drivers/usb/chipidea/debug.c:334:5: warning:
 symbol 'ci_registers_show' was not declared. Should it be static?

Signed-off-by: Wei Yongjun &lt;yongjun_wei@trendmicro.com.cn&gt;
Signed-off-by: Peter Chen &lt;peter.chen@freescale.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>usb: chipidea: debug: add debug file for OTG variables</title>
<updated>2014-04-24T19:56:35Z</updated>
<author>
<name>Li Jun</name>
<email>b47624@freescale.com</email>
</author>
<published>2014-04-23T07:56:52Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=88bdffc89d84cdb11b6f3373a11ff612c097834e'/>
<id>urn:sha1:88bdffc89d84cdb11b6f3373a11ff612c097834e</id>
<content type='text'>
This patch adds a debug file for OTG vairables show.

Signed-off-by: Peter Chen &lt;peter.chen@freescale.com&gt;
Signed-off-by: Li Jun &lt;b47624@freescale.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
