<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/usb/mtu3, branch linux-5.14.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.14.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.14.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2021-09-12T07:00:59Z</updated>
<entry>
<title>usb: mtu3: fix the wrong HS mult value</title>
<updated>2021-09-12T07:00:59Z</updated>
<author>
<name>Chunfeng Yun</name>
</author>
<published>2021-08-13T06:30:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4502a2fb422aa8597801b794ccd8a8b5974ac419'/>
<id>urn:sha1:4502a2fb422aa8597801b794ccd8a8b5974ac419</id>
<content type='text'>
commit 44e4439d8f9f8d0e9da767d1f31e7c211081feca upstream.

usb_endpoint_maxp() returns actual max packet size, @mult will
always be zero, fix it by using usb_endpoint_maxp_mult() instead
to get mult.

Fixes: 4d79e042ed8b ("usb: mtu3: add support for usb3.1 IP")
Cc: stable@vger.kernel.org
Signed-off-by: Chunfeng Yun &lt;chunfeng.yun@mediatek.com&gt;
Link: https://lore.kernel.org/r/1628836253-7432-3-git-send-email-chunfeng.yun@mediatek.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>usb: mtu3: use @mult for HS isoc or intr</title>
<updated>2021-09-12T07:00:59Z</updated>
<author>
<name>Chunfeng Yun</name>
</author>
<published>2021-08-13T06:30:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fbcb43dfd12cd995f2ae417decab418630b319b8'/>
<id>urn:sha1:fbcb43dfd12cd995f2ae417decab418630b319b8</id>
<content type='text'>
commit fd7cb394ec7efccc3985feb0978cee4d352e1817 upstream.

For HS isoc or intr, should use @mult but not @burst
to save mult value.

Fixes: 4d79e042ed8b ("usb: mtu3: add support for usb3.1 IP")
Cc: stable@vger.kernel.org
Signed-off-by: Chunfeng Yun &lt;chunfeng.yun@mediatek.com&gt;
Link: https://lore.kernel.org/r/1628836253-7432-2-git-send-email-chunfeng.yun@mediatek.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>usb: mtu3: restore HS function when set SS/SSP</title>
<updated>2021-09-12T07:00:59Z</updated>
<author>
<name>Chunfeng Yun</name>
</author>
<published>2021-08-13T06:30:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ad1289a6ff456a408cdf7f891abdc6588e45aca1'/>
<id>urn:sha1:ad1289a6ff456a408cdf7f891abdc6588e45aca1</id>
<content type='text'>
commit e88f28514065a6c48aadc367efb0ef6378a01543 upstream.

Due to HS function is disabled when set as FS, need restore
it when set as SS/SSP.

Fixes: dc4c1aa7eae9 ("usb: mtu3: add -&gt;udc_set_speed()")
Cc: stable@vger.kernel.org
Signed-off-by: Chunfeng Yun &lt;chunfeng.yun@mediatek.com&gt;
Link: https://lore.kernel.org/r/1628836253-7432-1-git-send-email-chunfeng.yun@mediatek.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>usb: mtu3: use clock bulk to get clocks</title>
<updated>2021-06-15T13:46:45Z</updated>
<author>
<name>Chunfeng Yun</name>
</author>
<published>2021-06-08T07:57:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cd59ea91ea7dd68b31e5d6156078b29123842ed7'/>
<id>urn:sha1:cd59ea91ea7dd68b31e5d6156078b29123842ed7</id>
<content type='text'>
Use clock bulk helpers to get/enable/disable clocks, meanwhile
make sys_ck optional, then will be easier to handle clocks.

Signed-off-by: Chunfeng Yun &lt;chunfeng.yun@mediatek.com&gt;
Link: https://lore.kernel.org/r/1623139069-8173-24-git-send-email-chunfeng.yun@mediatek.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>usb: mtu3: rebuild role switch get/set hooks</title>
<updated>2021-06-15T13:43:57Z</updated>
<author>
<name>Chunfeng Yun</name>
</author>
<published>2021-06-08T07:57:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bfce43c43e2f1925ea3df928a984c001b148f9b9'/>
<id>urn:sha1:bfce43c43e2f1925ea3df928a984c001b148f9b9</id>
<content type='text'>
Use common helper ssusb_set_mode() to do role switch instead
of manual switch helper;
Remove unnecessary local variable when get role status

Signed-off-by: Chunfeng Yun &lt;chunfeng.yun@mediatek.com&gt;
Link: https://lore.kernel.org/r/1623139069-8173-14-git-send-email-chunfeng.yun@mediatek.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>usb: mtu3: use force mode for dual role switch</title>
<updated>2021-06-15T13:43:50Z</updated>
<author>
<name>Chunfeng Yun</name>
</author>
<published>2021-06-08T07:57:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=13862176a3124e8d6f192e056dd0586e84b7d777'/>
<id>urn:sha1:13862176a3124e8d6f192e056dd0586e84b7d777</id>
<content type='text'>
Force IDDIG status for all three ways of dual role switch, this
is needed when use Type-C to switch mode.

Signed-off-by: Chunfeng Yun &lt;chunfeng.yun@mediatek.com&gt;
Link: https://lore.kernel.org/r/1623139069-8173-13-git-send-email-chunfeng.yun@mediatek.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>usb: mtu3: add helper to get pointer of ssusb_mtk struct</title>
<updated>2021-06-15T13:43:43Z</updated>
<author>
<name>Chunfeng Yun</name>
</author>
<published>2021-06-08T07:57:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6c7b9497622bd825c77fba776f5958a7aced7da2'/>
<id>urn:sha1:6c7b9497622bd825c77fba776f5958a7aced7da2</id>
<content type='text'>
Add a helper to get pointer of ssusb_mtk struct from the pointer
of otg_switch_mtk struct.

Signed-off-by: Chunfeng Yun &lt;chunfeng.yun@mediatek.com&gt;
Link: https://lore.kernel.org/r/1623139069-8173-12-git-send-email-chunfeng.yun@mediatek.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>usb: mtu3: rebuild role switch flow of extcon</title>
<updated>2021-06-15T13:43:36Z</updated>
<author>
<name>Chunfeng Yun</name>
</author>
<published>2021-06-08T07:57:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=18cfd7b85cedfe51af8f19eef2768daa7648c798'/>
<id>urn:sha1:18cfd7b85cedfe51af8f19eef2768daa7648c798</id>
<content type='text'>
This is a preparation patch to plan to use the same work to
handle role switch for all three supported ways.

Signed-off-by: Chunfeng Yun &lt;chunfeng.yun@mediatek.com&gt;
Link: https://lore.kernel.org/r/1623139069-8173-11-git-send-email-chunfeng.yun@mediatek.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>usb: mtu3: use enum usb_role instead of private defined ones</title>
<updated>2021-06-15T13:43:11Z</updated>
<author>
<name>Chunfeng Yun</name>
</author>
<published>2021-06-08T07:57:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a04c9f2d5dba6debe9897ab01f56549961c58fbb'/>
<id>urn:sha1:a04c9f2d5dba6debe9897ab01f56549961c58fbb</id>
<content type='text'>
Now we mainly use usb-role-switch to set dual role mode, and all
three ways supported use the same function to switch mode, use
usb_role enum will make code clear

Signed-off-by: Chunfeng Yun &lt;chunfeng.yun@mediatek.com&gt;
Link: https://lore.kernel.org/r/1623139069-8173-10-git-send-email-chunfeng.yun@mediatek.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>usb: mtu3: drop support vbus detection</title>
<updated>2021-06-15T13:43:00Z</updated>
<author>
<name>Chunfeng Yun</name>
</author>
<published>2021-06-08T07:57:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ae634f93212902c03f487649b4ffe07ac00c7fa0'/>
<id>urn:sha1:ae634f93212902c03f487649b4ffe07ac00c7fa0</id>
<content type='text'>
Until now it's never used on any platform, and will not used
later.

Signed-off-by: Chunfeng Yun &lt;chunfeng.yun@mediatek.com&gt;
Link: https://lore.kernel.org/r/1623139069-8173-9-git-send-email-chunfeng.yun@mediatek.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
