mirror_ubuntu-kernels/include/linux/usb
Xu Yang ec841b8d73 usb: chipidea: add CI_HDRC_HAS_SHORT_PKT_LIMIT flag
Currently, the imx deivice controller has below limitations:

1. can't generate short packet interrupt if IOC not set in dTD. So if one
   request span more than one dTDs and only the last dTD set IOC, the usb
   request will pending there if no more data comes.
2. the controller can't accurately deliver data to differtent usb requests
   in some cases due to short packet. For example: one usb request span 3
   dTDs, then if the controller received a short packet the next packet
   will go to 2nd dTD of current request rather than the first dTD of next
   request.
3. can't build a bus packet use multiple dTDs. For example: controller
   needs to send one packet of 512 bytes use dTD1 (200 bytes) + dTD2
   (312 bytes), actually the host side will see 200 bytes short packet.

Based on these limits, add CI_HDRC_HAS_SHORT_PKT_LIMIT flag and use it on
imx platforms.

Signed-off-by: Xu Yang <xu.yang_2@nxp.com>
Acked-by: Peter Chen <peter.chen@kernel.org>
Link: https://lore.kernel.org/r/20240923081203.2851768-1-xu.yang_2@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-10-04 15:13:58 +02:00
..
audio-v2.h usb: audio-v2: Correct comments for struct uac_clock_selector_descriptor 2024-01-27 16:53:38 -08:00
audio-v3.h
audio.h
c67x00.h
ccid.h
cdc_ncm.h
cdc-wdm.h
cdc.h
ch9.h
chipidea.h usb: chipidea: add CI_HDRC_HAS_SHORT_PKT_LIMIT flag 2024-10-04 15:13:58 +02:00
composite.h usb: gadget: Increase max configuration interface to 32 2024-08-07 12:50:36 +02:00
ehci_def.h
ehci_pdriver.h
ehci-dbgp.h
ezusb.h
func_utils.h usb: gadget: function: move u_f.h to include/linux/usb/func_utils.h 2024-09-03 09:57:08 +02:00
functionfs.h
g_hid.h
gadget_configfs.h usb: gadget: configfs: Constify struct config_item_type 2024-08-13 10:38:34 +02:00
gadget.h usb: gadget: Use u16 types for 16-bit fields 2024-07-10 13:56:22 +02:00
hcd.h workqueue: BH workqueue conversions for v6.9 2024-03-11 13:05:19 -07:00
input.h
iowarrior.h
irda.h
isp116x.h
isp1301.h
isp1362.h
ljca.h
m66592.h
midi-v2.h
musb-ux500.h
musb.h
net2280.h
of.h usb: core: Set connect_type of ports based on DT node 2024-03-05 13:28:46 +00:00
ohci_pdriver.h
onboard_dev.h usb: misc: onboard_hub: rename to onboard_dev 2024-03-27 07:57:16 +01:00
otg-fsm.h
otg.h
pd_ado.h
pd_bdo.h
pd_ext_sdb.h
pd_vdo.h usb: typec: pd: no opencoding of FIELD_GET 2024-03-05 13:09:59 +00:00
pd.h usb: typec: tcpm: add control message support to sop' 2024-01-27 17:38:25 -08:00
phy_companion.h
phy.h
quirks.h
r8a66597.h
r8152.h
renesas_usbhs.h usb: renesas_usbhs: Remove renesas_usbhs_get_info() wrapper 2024-04-18 16:47:49 +02:00
rndis_host.h
role.h
rzv2m_usb3drd.h
serial.h USB: serial: set driver owner when registering drivers 2024-08-26 15:28:24 +02:00
sl811.h
storage.h
tcpci.h usb: typec: tcpci: use GENMASK() for TCPC_TRANSMIT register fields 2024-08-07 12:49:30 +02:00
tcpm.h usb: typec: tcpm: add support to set tcpc connector orientatition 2024-03-05 13:29:30 +00:00
tegra_usb_phy.h usb: phy: tegra: Replace of_gpio.h by proper one 2024-05-10 10:36:31 +01:00
typec_altmode.h usb: typec: altmodes: add svdm version info for typec cables 2024-01-27 17:38:25 -08:00
typec_dp.h usb: typec: pd: no opencoding of FIELD_GET 2024-03-05 13:09:59 +00:00
typec_mux.h
typec_retimer.h
typec_tbt.h USB: typec: no opencoding FIELD_GET 2024-03-02 20:20:41 +01:00
typec.h usb: typec: Update sysfs when setting ops 2024-06-04 15:44:27 +02:00
uas.h
ulpi.h
usb338x.h
usb_phy_generic.h
usbnet.h usbnet: fix cyclical race on disconnect with work queue 2024-09-26 10:54:42 +02:00
uvc.h
webusb.h
xhci-dbgp.h