summaryrefslogtreecommitdiff
path: root/src/portable/nxp/khci/dcd_khci.c
AgeCommit message (Collapse)Author
2026-07-17migrate NXP Kinetis khci to chipidea ci_fs driver (device + host)hathach
Complete the khci -> chipidea ci_fs migration that was started for device (commit d70403f1f "host is not yet"): - device: switch kinetis_k/kl/k32l (Makefiles + k32l CMake) to dcd_ci_fs.c - host: add hcd_ci_fs.c (port of hcd_khci.c onto ci_fs_regs_t) and switch all Kinetis families to it; remove src/portable/nxp/khci entirely - enable host examples (device_info, cdc_msc_hid) for mcu:KINETIS_K - README: merge the KL and K32L2 rows into a single "KL, K32L" ci_fs row hcd_ci_fs.c also fixes two pre-existing host bugs found via HIL on frdm_k64f (present in the old hcd_khci.c too): - data toggle was flipped on a NAK in suspend_transfer; a NAK transfers no data so the toggle must be preserved, else the retried bulk packet is silently discarded by the device (MSC CBW/CSW hang). See comment in file. - prepare_packets asserted and dropped a transfer when the single shared BDT was still owned by an in-flight transfer under concurrent activity; now it returns busy and resume_transfer defers/retries on the next SOF. HIL verified on frdm_k64f: device 13/13, host cdc_msc_hid (CDC mount + echo + MSC mount, through a hub). Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01ExGPLP5eU43LR7o6yYLpNi
2026-07-02license: use SPDX identifiers for src/ headers (#3749)Ha Thach
* license: use SPDX identifiers for src/ headers Replace the full ~20-line MIT license boilerplate on every src/ file with a two-line SPDX tag (SPDX-FileCopyrightText + SPDX-License-Identifier), following the REUSE convention used by CircuitPython and the Linux kernel. Removes ~3500 lines of duplicated boilerplate.
2025-11-19Merge remote-tracking branch 'tinyusb/master' into ↵HiFiPhile
copilot/fix-dcd-edpt-xfer-issue Signed-off-by: HiFiPhile <[email protected]>
2025-11-17make TUP_DCD_EDPT_ISO_ALLOC i.e dcd_edpt_iso_alloc()/dcd_edpt_iso_activate() ↵hathach
as default driver implementation. dcd_edpt_close() is deprecated and will be removed from all driver in the future.
2025-11-17make TUP_DCD_EDPT_ISO_ALLOC i.e dcd_edpt_iso_alloc()/dcd_edpt_iso_activate() ↵hathach
as default driver implementation. dcd_edpt_close() is deprecated and will be removed from all driver in the future.
2025-10-22Apply suggestions from code reviewZixun LI
Co-authored-by: Copilot <[email protected]>
2025-10-22Fix copilot issuesMengsk
Signed-off-by: Mengsk <[email protected]>
2025-10-22Add is_isr parameter to dcd_edpt_xfer and dcd_edpt_xfer_fifocopilot-swe-agent[bot]
Co-authored-by: HiFiPhile <[email protected]>
2025-01-20add s3 undefined speed note for racing issue with reset.hathach
fix dcd_event_sof() with frame number
2024-10-14change dcd_init() return from void to boolhathach
2024-10-14change the tusb_rhport_init_t struct, exclude the rhport to make API more ↵hathach
consistent
2024-10-11change dcd_init() to take rhport structhathach
2024-06-18LOG3 in isrhathach
2024-02-24only save/restore CLK_RECOVER_IRC_EN/CTRL if ↵hathach
FSL_FEATURE_USB_KHCI_IRC48M_MODULE_CLOCK_ENABLED is defined to 1
2024-02-24fix build with cpu without USB_CLK_RECOVER using old dcd_khci driverhathach
2024-02-24frdm k64f usb work well, add kinetis_k to ci cmakehathach
2023-08-28Merge branch 'master' into nxp_k64Ha Thach
2023-08-28rename OPT_MCU_KINETIS_K64 to OPT_MCU_KINETIS_Khathach
2023-07-24rename CFG_TUSB_MEM_SECTION to CFG_TUD_MEM_SECTION in device stackhathach
CFG_TUD_MEM_SECTION is default to CFG_TUSB_MEM_SECTION
2023-07-23Added support for the NXP K64 seriesemb4fun
2023-03-18merge kinetis into its own family in bsphathach
2023-03-18Add support for NXP FRDM_K32L2A4S eval board.Bob Paddock
2023-03-17fix trailing space and new linehathach
temporarily disable codespell
2022-03-07added dcd_sof_enable() stubs for all other portshathach
2022-02-25rename TUSB_OPT_DEVICE_ENABLED to CFG_TUD_ENABLEDhathach
TUSB_OPT_DEVICE_ENABLED still usable for backward compatible
2021-10-24remove ep descriptor wMaxPacketSize bitfield due to endian issuehathach
2021-09-17minor clean uphathach
2021-09-17use correct resume detection for kl25zhathach
2021-09-17minor update to dcd khcihathach
2021-09-15Fix stall interrupt handlingkkitayam
2021-09-15merge master and minor clean uphathach
2021-09-10Fix dcd_edpt_clear_stall to reset data togglekkitayam
2021-09-09Fix stall handlingkkitayam
2021-09-08Implement dcd_edpt_close_all for NXP khcikkitayam
2021-08-26add dcd_edpt_close_all() for clear existing configured statehathach
correctly responded to TD 9.13 Set Configuration Test
2021-08-23initial commit of support for K32L2BGreg Steiert
2021-01-08use dcd_event_bus_reset() with speed to replace bus_signalhathach
2020-12-23fixed wrong direction to enable EP in dcd_edpt_open.kkitayam
fixed incorrect handling of STALL other than EP0 convert tabs to spaces removed unused symbols
2020-12-18added support for frdm_kl25zkkitayam