summaryrefslogtreecommitdiff
path: root/components/drivers
AgeCommit message (Collapse)Author
2024-07-24Synchronizing sensor_v1 changeskurisaw
2024-07-24[sensor_v2] Repair an error occurs when sensor v2 probes a sensor device for ↵kurisaw
the first time
2024-07-19[compoents][hwtimer]Add a user control interfacewdfk-prog
2024-07-19[compoents][pm]The device is registered and uninstalled by linked listwdfk-prog
2024-07-18Fix potential return value discrepancy when writing to urandomzhao maosheng
2024-07-15[libcpu/rv64] feat: unify tick.cShell
The changes unify the tick.c implementations for all risc-v64 architectures, leveraging the CPUTIME feature. This refactoring was necessary to streamline the codebase, and ensure consistent timer handling across different platforms. Changes: - Updated `Kconfig` in `bsp/cvitek/cv18xx_risc-v` to fix formatting issues. - Updated .config for BSPs to update `CPUTIME_TIMER_FREQ` - Updated header of for API `riscv_cputime_init` - Initialized riscv timer on `rt_hw_tick_init` - Refactored `tick.c` and `tick.h` in `libcpu/risc-v/t-head/c906` and `libcpu/risc-v/virt64`: - Replaced direct use of `rdtime` with `clock_cpu_gettime`. - Removed redundant timer frequency definitions. - Added static assertions to check the value of `CPUTIME_TIMER_FREQ`. - Initialized `tick_cycles` based on `CPUTIME_TIMER_FREQ`. - Integrated `ktime` support for tick initialization. Signed-off-by: Shell <[email protected]> Reviewed-on: https://github.com/RT-Thread/rt-thread/pull/9164 Reviewed-by: Chen Wang <[email protected]>
2024-07-13[driver][virtio]fix virtio net rx error (#9170)zms123456
fix virtio net rx error
2024-07-12fix(cherryusb): fix typosakumisu
2024-07-12[components][SPI][spi-bit-ops]修复可能的异常操作wdfk-prog
* 移除初始化时未进行引脚初始化就进行引脚设置可能导致的异常 * CS引脚配置判断完善 * xfer返回值优化
2024-07-09[components][driver][can]Fix possible memory overflow caused by RXwdfk-prog
修复RX可能导致的内存溢出情况 #8634
2024-07-09[smart/tty] skip configure of rt_serial on tty open (#9152)Shell
Skip configure on open since all configs are copied from the current configuration on device. So we don't bother to set it back to device again. Changes: - test and skip configuration on open() of tty device Signed-off-by: Shell <[email protected]>
2024-07-09[fixed]serial_v2.c兼容DFS_V2接口 (#9153)LaterComer
2024-07-05fix a bug that read members in non-existent functionsEvlers
2024-07-05fix an issue where repeated remove of card resulted in assertionsEvlers
2024-07-04fix initrd scan errzhao maosheng
2024-06-30Update cherryusb to v1.3.1 (#9122)sakumisu
* fix(hpmicro): remove duplicate usb variable * update(cherryusb): update to v1.3.1
2024-06-28[ktime] quality: remove recursion on hrtimer (#9110)Shell
[ktime] feat: remove recursion on hrtimer Replace recursive algorithm with a loop in hrtimer when determining next timeout event and setup hr timer. Signed-off-by: Shell <[email protected]>
2024-06-27[drivers][serial V1]poll tx 增加异常退出机制wdfk-prog
2024-06-26fix Compilation error in "driver.c", "completion_up.c", "syslog.c" and ↵Rui
"dlmodule.c". (#9093)
2024-06-26[bsp][stm32]Optimize ADCs and fix some bugsyiyi
2024-06-26[libcpu][aarch64]memory setup using memblock (#9092)zms123456
* memory setup using memblock * map pages later
2024-06-24[components][ringbuffer]修复编译错误wdfk-prog
2024-06-23[components][ktime]support period ktime timeout and multiple ktimer_hrtimer ↵zms123456
(#8972) * support period time * enable multiple ktimer * mv set delay_cnt to hrtimer_start * add ktime debug info * change current_irq_begin to local var * fix bug: setting current timer and setting timeout in driver aren't atomicly * create->init * refactoring ktime
2024-06-20[timer]add all soft timer config (#9048)zms123456
* add all soft timer * update wq * add timer test * shield LOG_D
2024-06-19[components][drivers]legacy fdt (#9062)zms123456
* legacy fdt * update fdt
2024-06-18add cromfs start with bootargs cmdzhujiale
2024-06-16[components] [drivers ] [Kconfig] 整理 components/drivers 的 Kconfig (#9054)sp-cai
整理 components/drivers 的 Kconfig
2024-06-13[fix] 修复ART-PI smart在sd/emmc读取不到分区的问题 (#9058)zhuzhuzhu
Update sd.c
2024-06-12[workqueue] add comment (#9046)wdfk-prog
2024-06-12【修复】修复ART-PI samrt上读取不到emmc/sd分区问题 (#9051)zhuzhuzhu
Update sd.c
2024-06-06[ipc]修复pipe创建失败时的资源异常释放yangpeng
2024-06-03[fix][misc][adc] 修复 ADC 电压转换的计算错误sp-cai
2024-06-02refactor(drivers/usb):replace rtt usb stack with cherryusb (#8799)sakumisu
2024-05-31[DM/feature] Implement PIC irq state { get; set } (#9006)GUI
* [DM/feature] Implement PIC irq state { get; set } There are some common state for irq: 1. Pending: IRQ was triggered, but software not ACK. 2. Active: IRQ was ACK, but not EOI. 3. Masked: IRQ was masked or umasked. Signed-off-by: GuEe-GUI <[email protected]> * [DM/pic] Support IRQ state { get; set } for ARM GICv2/v3 Signed-off-by: GuEe-GUI <[email protected]> --------- Signed-off-by: GuEe-GUI <[email protected]>
2024-05-31[fix]fix compile err in pic-gic (#9015)zms123456
fix compile err in pic-gic
2024-05-30dev: random should copy size bytes of data to buffer (#9012)Shell
2024-05-30[Feature] Support simple power domain API (#9005)GUI
* [Feature] Power domain for device 1.Support device power on/off. 2.Support attach/detach device. 3.Support power domain driver api. Signed-off-by: GuEe-GUI <[email protected]> * [DM/platform] Enhanced platform bus 1.Add power domain for device. 2.Support `remove` and `shutdown` bus interface. Signed-off-by: GuEe-GUI <[email protected]> --------- Signed-off-by: GuEe-GUI <[email protected]>
2024-05-30解决ktime部分函数计算时unsigned long溢出 (#9008)LaterComer
* 解决ktime部分函数计算时unsigned long溢出 * 恢复部分不需要ktime中部分rt_uint64_t类型的为unsigned long
2024-05-29[components][drivers][include][phy] add one more parameter for mulitiple physJiading Xu
- add parameter phy to specify multiple-phy instance Signed-off-by: Jiading Xu <[email protected]>
2024-05-28[OFW] io ranges use list to storage without ofw data (#8993)GUI
[OFW] io ranges use ptr array to storage without ofw data ofw data is private data for every ofw node that the drivers of ofw node will use item. replace the ranges supported to a ptr array. the ptr array size is config by `RT_USING_OFW_BUS_RANGES_NUMBER` Signed-off-by: GuEe-GUI <[email protected]>
2024-05-28[DM/feature] Simple NUMA (Non-Uniform Memory Access) (#9000)GUI
For some CPU memory access devices, that the drivers will find memory and CPU affinity to config device. Signed-off-by: GuEe-GUI <[email protected]>
2024-05-28 [PIC] Make affinity helper interface (#8995)GUI
* [PIC] Make affinity helper interface Signed-off-by: GuEe-GUI <[email protected]> * [PIC/GIC] Fixup GIC affinity init GICv2 is not support if current CPU is not startup, but RT-Thread SMP is startup after the devices init in the `main` thread. This patch fixup the cpumask to init once and check the init status in affinity interface. Signed-off-by: GuEe-GUI <[email protected]> --------- Signed-off-by: GuEe-GUI <[email protected]>
2024-05-28[OFW] Support ID map interface (#8994)GUI
The OFW map id is always use in DMA, PCI, IOMMU bus system to find the device identity. this is a access interface. Signed-off-by: GuEe-GUI <[email protected]>
2024-05-28[OFW] Fixup irq parse map and map mask (#8992)GUI
`map_len` and `map_mask_len` is the count of elements, not the bytes size of elements. Signed-off-by: GuEe-GUI <[email protected]>
2024-05-28[Feature] DFS mount auto by kernel parameters (#8989)GUI
DFS mount auto by kernel parameters 1.Mount the rootfs options by parameters: - root=: root device, like vda1, sda1, sd0p1, nvme0n0p1... - rootfstype=: root file system type, like elm, ext, crom... - rw/ro: root is readonly or all enable, if not have 'rw' flag, the 'ro' flag is default. - rootwait: always wait for root device status is OK. - rootdelay=: mount rootfs delay amount of time (millisecond). 2.Mount the other fs options by `fstab.sh`, it will read the script after root mount is OK, it's format is a list of mount cmds in MSH: mount vda2 /mnt elm mount 192.168.1.1:/ /mnt/remote nfs Signed-off-by: GuEe-GUI <[email protected]>
2024-05-27如果申请空间不足,申请不到合适的空间,需要回收new_rbbwinfenggao
2024-05-27[components][drivers][sd] add uhs-i mode support to sd driverFan YANG
- added SDR50, SDR104 and DDR50 support to SD driver Signed-off-by: Fan YANG <[email protected]>
2024-05-26[components][drivers][mmc] add HS400 support to mmc driverFan YANG
- added HS400 supprt (both eMMC5.0 and eMMC5.1 flavor are supported) Signed-off-by: Fan YANG <[email protected]>
2024-05-21[component][driver]init dm serial naming framework in a separate phase (#8971)zms123456
init dm serial naming framework in a phase
2024-05-21[components][driver]add isr statistics (#8955)zms123456
add isr statistics