summaryrefslogtreecommitdiff
path: root/components/drivers
AgeCommit message (Collapse)Author
2025-12-05[clock_time] Fix all remaining ktime references in codebasecopilot-swe-agent[bot]
- Updated dev_soft_rtc.c: RT_USING_KTIME → RT_USING_CLOCK_TIME - Updated vdso_data.c (risc-v): rt_ktime_boottime_get_ns → rt_clock_time_boottime_ns - Updated vdso_data.c (aarch64): rt_ktime_boottime_get_ns → rt_clock_time_boottime_ns - Updated pic.c: rt_ktime_boottime_get_ns → rt_clock_time_boottime_ns - Updated hwtimer-rockchip_timer.c: All rt_ktime_* → rt_clock_* APIs - Renamed base_ktime_ts to base_clocktime_ts in soft_rtc - All ktime API references replaced with clock_time equivalents Co-authored-by: BernardXiong <[email protected]>
2025-12-04[clock_time] Remove compatibility layers and refactor to direct implementationcopilot-swe-agent[bot]
- Removed cputime_compat.c and ktime_compat.c - Created clock_time_cputime.c for CPU time APIs (clock_cpu_*, rt_cputime_*) - Created clock_time_boottime.c for boottime APIs (rt_boottime_*) - Created stub cputime.h header for BSP compatibility - Removed all compatibility type definitions from clock_time.h - Removed compatibility Kconfig options - Updated SConscript to build new files - Replaced all rt_ktime_hrtimer_* calls with rt_clock_hrtimer_* in ctime.c - Replaced all rt_ktime_* functions with rt_clock_* equivalents - Simplified nanosleep() to use rt_clock_ndelay() directly Co-authored-by: BernardXiong <[email protected]>
2025-12-04[clock_time] Remove old subsystems and update to use only clock_timecopilot-swe-agent[bot]
- Deleted ktime, cputime, and hwtimer directories completely - Removed old header files (ktime.h, cputime.h, cputimer.h, hwtimer.h) - Updated ctime.c to only use RT_USING_CLOCK_TIME (removed RT_USING_KTIME conditionals) - Updated main drivers Kconfig to remove old subsystem entries - Added all legacy API declarations to clock_time.h when compatibility is enabled - Added legacy type definitions (rt_clock_cputime_ops, rt_cputimer) to clock_time.h - Removed ktime.h include from ktime_compat.c (types now in clock_time.h) - All POSIX time APIs (clock_gettime, clock_settime, timer_create, etc.) continue to work Co-authored-by: BernardXiong <[email protected]>
2025-12-04[clock_time] Add implementation summary and finalize refactoringcopilot-swe-agent[bot]
- Created comprehensive implementation summary document - Documented design decisions, architecture, and migration strategy - Listed all files created and modified - Included testing status and future enhancements - Ready for review and CI testing Co-authored-by: BernardXiong <[email protected]>
2025-12-04[clock_time] Add README and example adapterscopilot-swe-agent[bot]
- Added comprehensive README for clock_time subsystem - Created ARM Generic Timer adapter example - Created SysTick/DWT adapter example for Cortex-M - Added adapter development guide with best practices Co-authored-by: BernardXiong <[email protected]>
2025-12-04[clock_time] Fix data type compatibility and add libc integrationcopilot-swe-agent[bot]
- Changed hrtimer cnt types from rt_uint64_t to unsigned long for ktime compatibility - Added RT_USING_CLOCK_TIME support to libc/ctime.c - Added proper type definitions for ktime compatibility layer - Fixed all type casts and function signatures Co-authored-by: BernardXiong <[email protected]>
2025-12-04[clock_time] Add unified clock_time subsystem with documentationcopilot-swe-agent[bot]
- Created new clock_time subsystem consolidating hwtimer/ktime/cputime - Implemented clock_time device abstraction with ops structure - Added high-resolution timer (hrtimer) implementation - Created compatibility layers for legacy APIs - Added comprehensive English and Chinese documentation - Updated Kconfig to mark old subsystems as deprecated Co-authored-by: BernardXiong <[email protected]>
2025-12-04[PHY/OFW] Fixup the phy link up waiting foreverGuEe-GUI
Signed-off-by: GuEe-GUI <[email protected]>
2025-12-04[PHY/OFW] Change the log levelGuEe-GUI
Signed-off-by: GuEe-GUI <[email protected]>
2025-12-04[DM/PHY] Make Kconfig import for DMGuEe-GUI
Signed-off-by: GuEe-GUI <[email protected]>
2025-12-04[Drivers/phy] Fixup header include for v2GuEe-GUI
Signed-off-by: GuEe-GUI <[email protected]>
2025-12-04[DM/I2C] Update I2C for DMGuEe-GUI
1. Add get id match data API. 2. Set I2C device name default before adding to bus. 3. Add Kconfig import for DM. Signed-off-by: GuEe-GUI <[email protected]>
2025-12-04[DM/MISC] Update MISC APIGuEe-GUI
1. Fixup RT_DIV_ROUND_DOWN_ULL and RT_DIV_ROUND_UP_ULL, rt_do_div. 2. Support RT_DIV_ROUND_CLOSEST_ULL. 3. Make new DIV API. Signed-off-by: GuEe-GUI <[email protected]>
2025-12-04[DM/CAN] Update CAN for DMGuEe-GUI
1. Kconfig import wtih DM 2. Add DM API for Drivers Signed-off-by: GuEe-GUI <[email protected]>
2025-12-04[DM/PCI] Fixup the C99, 6.8.1 Labeled statements p4GuEe-GUI
Signed-off-by: GuEe-GUI <[email protected]>
2025-12-03[DM/DMA] Update DMA #10987GUI
* Append WT attribute. * Change the API with pool size only. * Add address mask for DMA * Change DMA lock to mutex * Add pause callback for DMA engine driver * Add DMA Engine test * Add ARM PL330 DMA Engine driver
2025-12-02[DM][SPI] Support SFUD for DMGuEe-GUI
DM need > c99 Signed-off-by: GuEe-GUI <[email protected]>
2025-12-02[Driver][SPI] Add 'W25Q128JWPIM' for SFUDGuEe-GUI
Signed-off-by: GuEe-GUI <[email protected]>
2025-12-02[DM][REGULATOR] Support operator delayGuEe-GUI
Signed-off-by: GuEe-GUI <[email protected]>
2025-12-02[DM][REGULATOR] Fixup regulator find errorGuEe-GUI
Just not regulator really, user can work ok, so remove the error no. Signed-off-by: GuEe-GUI <[email protected]>
2025-11-26docs(utest):Add standardized documentation for IPC Completion TestChuan
Signed-off-by: ChuanN-sudo <[email protected]>
2025-11-26docs(utest):Add standardized documentation for IPC Workqueue TestChuan
Signed-off-by: ChuanN-sudo <[email protected]>
2025-11-26[utest][serial bypass]:Add standardized documentation for Serial Bypass TestChuan
2025-11-26[utest][audio]:Add standardized documentation for Audio TestChuan
2025-11-25[soft_rtc]修正GET_TIMESPEC/GET_TIMEVAL 获取 ns/us 的错误; ↵dongly
优化soft_rtc实现
2025-11-16Reorganize Group names in build system for clarity and IDE integration #10923Copilot
2025-11-16docs(utest):Add standardized documentation for Drivers Core TestChuan
Signed-off-by: ChuanN-sudo <[email protected]>
2025-11-15[docs][utest]:Add standardized utest documentation block for serialv2_tcCYFS
2025-11-13feat[spi]: enable interrupt-safe operations using spinlockswdfk-prog
2025-11-13fix[components]: 修复日志输出的gcc编译警告wdfk-prog
2025-11-13Fixed PWM assertion error caused by using DMrcitach
2025-11-12[components/ktime]: Remove unused rt_ktime_cputimer_getstepYonggang Luo
Can use rt_ktime_cputimer_getfrq() / RT_TICK_PER_SECOND instead.
2025-11-08fix(can): Resolve potential race condition in message transmissionwdfk-prog
Setting the send status flag `sndchange` after calling the can->ops->sendmsg function could lead to a race condition if a transmission timeout occurs, resulting in incorrect state handling. This patch moves the operation of setting the `sndchange` flag to before the call to can->ops->sendmsg. This ensures that the mailbox's status is correctly marked as "sending" before the hardware begins transmission, making the driver's state management more robust and reliable, especially in handling exceptions like timeouts. Additionally, new macros for CAN filter modes have been added in dev_can.h.
2025-11-07[serialv2]:Fixed the issue where the serialv2 terminal did not have the ↵CYFS
enable stream mode
2025-10-28[components]:utilize the clang-format-ignore mechanism (#10860)CYFS
2025-10-27cherryusb:Adapt the usbd_kinetis_delay_ms interface in usb_glue_mcx.rbb666
2025-10-27cherryusb:Fixed the issue where the USB device in the cdc_rndis_template ↵rbb666
example could not enable DHCP.
2025-10-21Remove rt_ktime_hrtimer_getcnt for hrtimerYonggang Luo
There is no user of it and also the return type is mismatch
2025-10-16utest: Improve the strings displayed in the menuChen Wang
Use "Test" instead of "Unit Testcases" to make string shorter. Use uppercase to make it look more eye-catching. Signed-off-by: Chen Wang <[email protected]>
2025-10-16Update SECURITY_UNKNOWN value in dev_wlan.hrcitach
Changed SECURITY_UNKNOWN value to 0xffffffff for clarity.
2025-10-15utest: UTEST_SERIAL_POSIX_TC -> RT_UTEST_SERIAL_POSIXChen Wang
Signed-off-by: Chen Wang <[email protected]>
2025-10-15utest: UTEST_SERIAL_QEMU_TC -> RT_UTEST_SERIAL_QEMUChen Wang
Signed-off-by: Chen Wang <[email protected]>
2025-10-15utest: UTEST_SERIAL_TC -> RT_UTEST_SERIAL_V2Chen Wang
Signed-off-by: Chen Wang <[email protected]>
2025-10-15utest: UTEST_SERIAL_BYPASS -> RT_UTEST_SERIAL_BYPASSChen Wang
Signed-off-by: Chen Wang <[email protected]>
2025-10-13utest: ipc: move from examples to components/drivers/ipcChen Wang
Also: - Add "RT_" prefix for utest config options. - Rename the case names to following the naming rule. Signed-off-by: Chen Wang <[email protected]>
2025-10-11utest: smp_call: move from example to components/drivers/smp_callChen Wang
Also, - Rename UTEST_SMP_CALL_FUNC to RT_UTEST_SMP_CALL_FUNC. - Add depends on RT_USING_SMP in Kconfig for RT_UTEST_SMP_CALL_FUNC - Follow the naming rules of utest case to update the cases' name. Signed-off-by: Chen Wang <[email protected]>
2025-10-11utest: serial: update case namesChen Wang
Follow the naming rules of utest-cases. Signed-off-by: Chen Wang <[email protected]>
2025-10-11utest: serial: move from examples to components/drivers/serialChen Wang
Signed-off-by: Chen Wang <[email protected]>
2025-10-10doxygen: fix two issues when building with doxygen 1.9.8 (#10768)Chen Wang
* doxygen: remove @return command if function return void When doxygen is upgraded to v1.9.8 (on ubuntu 24.04), doxygen reports: "doxygen error: found documented return type for xxx that does not return anything" for those functions which return void but declare "@return" in doxygen comment. Solution: remove "@return" for those cases, and update guide document for how to write doxgen comment for functions. Signed-off-by: Chen Wang <[email protected]> * doxygen: fixed a minor typo for uart doc This error is found when building with doxygen 1.9.8, but not detecetd on 1.9.1. Signed-off-by: Chen Wang <[email protected]>
2025-09-28doxygen: fixed build warning for RT_CAN_FILTER_ITEM_INIT (#10758)Chen Wang
The names and number of macro parameters in doxygen comments must match the actual macro definition; otherwise, a warning will be generated. Our goal is to eliminate all warnings. Signed-off-by: Chen Wang <[email protected]>