summaryrefslogtreecommitdiff
path: root/bsp/k230/drivers/interdrv
AgeCommit message (Collapse)Author
2026-01-31[components][clock_time] Refactor time subsystem around clock_time (#11111)Bernard Xiong
* [components][clock_time] Refactor time subsystem around clock_time Introduce the clock_time core with clock source/event separation, high-resolution scheduling, and boot-time helpers, plus clock_timer adapters for timer peripherals. Remove legacy ktime/cputime/hwtimer implementations and migrate arch and BSP time paths to the new subsystem while keeping POSIX time integration functional. Update drivers, Kconfig/SConscript wiring, documentation, and tests; add clock_time overview docs and align naming to clock_boottime/clock_hrtimer/clock_timer. * [components][clock_time] Use BSP-provided clock timer frequency on riscv64 * [risc-v] Use runtime clock timer frequency for tick and delays * [bsp] Add clock timer frequency hooks for riscv64 boards * [bsp] Update Renesas RA driver doc clock_timer link * [bsp] Sync zynqmp-r5-axu4ev rtconfig after config refresh * [bsp][rk3500] Update rk3500 clock configuration * [bsp][hpmicro] Add rt_hw_us_delay hook and update board delays * [bsp][stm32l496-st-nucleo] enable clock_time for hwtimer sample in ci * [bsp][hpmicro] Fix rtconfig include scope for hpm6750evk Move rtconfig.h include outside the ENET_MULTIPLE_PORT guard for hpm6750evk and hpm6750evk2 so configuration macros are available regardless of ENET settings. * [bsp][raspi3] select clock time for systimer * [bsp][hpm5300evk] Trim trailing blank line * [bsp][hpm5301evklite] Trim trailing blank line * [bsp][hpm5e00evk] Trim trailing blank line * [bsp][hpm6200evk] Trim trailing blank line * [bsp][hpm6300evk] Trim trailing blank line * [bsp][hpm6750evk] Trim trailing blank line * [bsp][hpm6750evk2] Trim trailing blank line * [bsp][hpm6750evkmini] Trim trailing blank line * [bsp][hpm6800evk] Trim trailing blank line * [bsp][hpm6e00evk] Trim trailing blank line * [bsp][nxp] switch lpc178x to gcc and remove mcx timer source * [bsp][stm32] fix the CONFIG_RT_USING_CLOCK_TIME issue. * [docs][clock_time] add clock time documentation * [docs][clock_time] Update clock time subsystem documentation - Update device driver index to use correct page reference - Clarify upper layer responsibilities in architecture overview - Update README to describe POSIX/libc, Soft RTC, and device driver usage - Refine architecture diagram with improved layout and color scheme - Remove obsolete clock_timer.md file * [kernel][utest] Trim trailing space * [clock_time] Fix hrtimer wrap handling * [clock_time] fix the static rt_inline issue * [clock_time] fix the rt_clock_hrtimer_control result issue
2025-12-26[bsp][k230]:add gnne driverChuan
Requirement: The BSP for the k230 platform in the RT-Thread repository does not yet have a gnne driver. Solution: Provide gnne driver for the k230 platform in the RT-Thread repository. - Implements mutex lock mechanism for AI2D and GNNE modules. - Adds HARDLOCK_AI2D support in hardlock driver for mutual exclusion. - Implements poll operation for device status monitoring. - Updates documentation in bsp/README.md. Signed-off-by: ChuanN-sudo <[email protected]>
2025-11-25bsp: k230: add dma support to the i2c driverZe-Hou
1. add dma support to the I2C driver to improve efficiency. Signed-off-by: Ze-Hou <[email protected]>
2025-11-16bsp: k230: add spi driverChuan
Requirement: The BSP for the k230 platform in the RT-Thread repository does not yet have an spi driver. Solution: Provide spi driver for the k230 platform in the RT-Thread repository. - Supports SPI0(OSPI) controller with 1/2/4/8 data lines. - Supports SPI1(QSPI0) and SPI2(QSPI1) controllers with 1/2/4 data lines. - Implements DMA-based transfers for OSPI, QSPI, and DSPI modes. - Falls back to standard IRQ-driven transfers for legacy SPI mode (single line). - Updates documentation in bsp/README.md Signed-off-by: ChuanN-sudo <[email protected]>
2025-10-29bsp: k230: add i2c driverZe-Hou
Requirement: The BSP for the k230 platform in the RT-Thread repository does not yet have an I2C driver. Solution: Provide I2C driver for the k230 platform in the RT-Thread repository. 1. support i2c master mode Signed-off-by: Ze-Hou <[email protected]>
2025-09-22bsp: k230: add rtc driverZe-Hou
Requirement: The BSP for the k230 platform in the RT-Thread repository does not yet have an RTC driver. Solution: Provide RTC drivers for the k230 platform in the RT-Thread repository, implementing timekeeping and alarm functionalities, with interrupt support for the alarm feature. Signed-off-by: Ze-Hou <[email protected]>
2025-08-29bsp:k230:add pdma support for uart driverdannyray019
Added pdma support for uart driver and a test file test_uart.c. The test uses pdma to improve uart send speed, to check if the driver works correctly. Signed-off-by: XU HU [email protected]
2025-08-20bsp:k230:add support for temperature sensor driverdannyray019
Added a temperature sensor driver and a test file test_ts.c. The test uses temperature sensor to measure the chip temperature, to check if the driver works correctly. Signed-off-by: XU HU [email protected]
2025-08-18bsp: k230: Provide a unified interrupt header fileChen Wang
Originally, the interrupt definitions of various peripherals were distributed in various peripheral drivers, resulting in duplicate definitions. Now they are defined in one place. Signed-off-by: Chen Wang <[email protected]>
2025-08-18bsp: k230: add pdma driver supporteatvector
This commit introduces the PDMA (Peripheral DMA) driver for K230 SoC, providing essential DMA capabilities for peripheral data transfers. Key features implemented: 1. PDMA channel request/release management 2. Channel start/stop control 3. Interrupt callback registration 4. Data transfer between device ports and DDR memory The driver includes: - Core driver implementation (drv_pdma.c/h) - Build system support (SConscript) - Basic test cases (test_pdma.c) Tested with: - PDMA channel request/release - DDR to UART TX FIFO transfers - UART RX FIFO to DDR transfers Signed-off-by: eatvector <[email protected]>
2025-07-29bsp: k230: add support for PWM driverdannyray019
Added a PWM driver and a test file test_pwm.c. The test uses PWM to control the LED brightness, to check if the driver works correctly. Signed-off-by: XU HU <[email protected]>
2025-06-10bsp: k230: support adcChen Wang
Signed-off-by: Chen Wang <[email protected]>
2025-06-10bsp: k230: add gpio driverChen Wang
K230 supports 3 GPIO groups: group0: GPIO0 ~ GPIO31, support i/o and irq group1: GPIO32 ~ GPIO63, support i/o and irq group2: GPIO64 ~ GPIO71, only support i/o. Signed-off-by: Chen Wang <[email protected]>
2025-06-08bsp: k230: support pinctrl driverChen Wang
Signed-off-by: Chen Wang <[email protected]>
2025-05-31bsp: k230: add hwtimer supportChen Wang
K230 support 6 general hardware timers and 3 stc timers. This patch only implement drivers for general hw timers. Signed-off-by: Chen Wang <[email protected]>
2025-05-28bsp: k230: add watchdog supportChen Wang
K230 has two watchdog timers. Add unit tests based on utest framework. Watchdog and test are both configuable, disabled by default. Signed-off-by: Chen Wang <[email protected]>
2025-05-21bsp: k230: support sdioChen Wang
Support sdio work for 01Studio board. 01Studio connect TF socket with sdio0, which is different from standard canmv v1.0/v1.1 board (which uses sdio1). Updated configuration menu, - SDIO devices are now a choice of two. - Root file system types are also a choice of multiple. Currently only cromfs and elmFAT are supported. - Modified the default mount partition of the root file system to sd0p1 Deleted the configuration BSP_SD_SDIO_DEV, and now directly set mmcsd_change according to the selection of the SDIO device. Eliminated the warning of the drv_sdhci.c and egularized the code format. The logic of this file has not been essentially modified. Sync and update the .config/rtconfig.h to the latest. Signed-off-by: Chen Wang <[email protected]>
2025-05-15bsp: k230: add sysctl driverWang Chen
SystemCtrl includes: - boot - clock - power - reset These drivers are built-in by default. Signed-off-by: Wang Chen <[email protected]>
2025-05-15bsp: k230: add hardlock driverWang Chen
This hardlock is required by some other drivers, such as sysctl power. This driver can be enable/disabled by configuration. Signed-off-by: Wang Chen <[email protected]>
2025-04-24bsp: k230: fix some cpp_check warningsChen Wang
Signed-off-by: Chen Wang <[email protected]>
2025-04-24bsp: k230: update uart driverWang Chen
Signed-off-by: Wang Chen <[email protected]>
2024-09-25[bsp] add k230heyuanjie87