summaryrefslogtreecommitdiff
path: root/components/drivers/include/rtdevice.h
AgeCommit message (Collapse)Author
2024-12-17[serial] add bypass testcase in utestzhujiale
2024-12-17[serial] add bypass hook to direct processing char when uart irq comingzhujiale
2024-12-13[DM/FIXUP] Fixup PCI buildGuEe-GUI
1. Add PCI include in rtdevice.h 2. Fixup `RT_KEY_ENABLED` loss. 3. remove waring type of `dw_pcie_ep_get_func_from_ep` return. Signed-off-by: GuEe-GUI <[email protected]>
2024-12-02[DM/FEATURE] Support thermalGuEe-GUI
Thermal drivers offer a generic mechanism for thermal management. Usually it's made up of one or more thermal zones and cooling devices. Each thermal zone contains its own temperature, trip points, and cooling devices. All platforms with ACPI or OFW thermal support can use this driver. Signed-off-by: GuEe-GUI <[email protected]>
2024-11-28[DM/FEATURE] Support LEDGuEe-GUI
Provides general LED control API and drivers. It can work on PWM, GPIO and Syscon... Signed-off-by: GuEe-GUI <[email protected]>
2024-11-27[DM/FEATURE] Support regulatorGuEe-GUI
1. Add the regulator driver framework. 2. Add the generic voltage and current regulator API support for drivers. Signed-off-by: GuEe-GUI <[email protected]>
2024-11-26[DM/FEATURE] Support ATA AHCI (#9683)GUI
Add ACHI drivers to support some old platform driver such as SATA. Signed-off-by: GuEe-GUI <[email protected]>
2024-11-26[DM/FEATURE] Support reset controller (#9630)GUI
* [DM/FEATURE] Support reset controller Reset controllers are central units that control the reset signals to multiple peripherals. The reset controller API is split into two parts: 1. The consumer driver interface, which allows peripheral drivers to request control over their reset input signals 2. The reset controller driver interface which is used by drivers for reset controller devices to register their reset controls to provide them to the consumers. * [RESET/SIMPLE] Support simple reset Currently this driver supports: - Altera SoCFPGAs - ASPEED BMC SoCs - Bitmain BM1880 SoC - Realtek SoCs - RCC reset controller in STM32 MCUs - Allwinner SoCs - SiFive FU740 SoCs - Sophgo SoCs Signed-off-by: GuEe-GUI <[email protected]>
2024-11-25[DM/FEATURE] Support hardware mailbox (#9599)GUI
* [DM/FEATURE] Support hardware mailbox * [MAILBOX/PIC] Add PIC Mailbox drivers. The mailbox device(s) may be instantiated in one of three equivalent way: Device Tree node, eg.: ```dts interrupt-controller@0 { interrupt-controller; #interrupt-cells = <1>; }; pic_mailbox@10000 { compatible = "rt-thread,pic-mailbox"; reg = <0x10000 0x100>; position = <0>; interrupts = <34>; peer-interrupts = <35>; uid = <0>; #mbox-cells = <1>; }; ``` Signed-off-by: GuEe-GUI <[email protected]>
2024-11-25[DM/FEATURE] Support PHY (external) (#9597)GUI
This framework will be of use only to devices that use external PHY (PHY functionality is not embedded within the controller). Use in PCIE, USB, HDMI, DP... Signed-off-by: GuEe-GUI <[email protected]>
2024-11-24[DM/FEATURE] Support NVME (#9591)GUI
* [DM/FEATURE] Support NVME 1. Support PRP and SGL (>= NVME v1.1) transport. 2. Support MSI/MSI-X for IO queues. 3. Support NVME on PCI. Signed-off-by: GuEe-GUI <[email protected]>
2024-11-22[DM/FEATURE] Support SCSI bus (#9592)GUI
* [DM/FEATURE] Support block for SCSI 1. Support SD and CD-ROM. 2. SD will port to UFS and ATA device. Signed-off-by: GuEe-GUI <[email protected]>
2024-11-22[DM/FEATURE] Support DMA management (#9682)GUI
1. DMA pool management for platform. 2. DMA engine driver API. Signed-off-by: GuEe-GUI <[email protected]>
2024-11-21[DM/FEATURE] Support IIO (Industrial I/O) (#9598)GUI
[DM/FEATURE] Support IIO (Industrial I/O) Signed-off-by: GuEe-GUI <[email protected]>
2024-11-20[DM/FEATURE] Support simple block layerGuEe-GUI
1. Disk and blk device management. 2. Support partitions probe auto. 3. Support DFS and user mode fops, ioctl. 4. Add a cmd for blk info. Signed-off-by: GuEe-GUI <[email protected]>
2024-11-20[DM/FEATURE] Support MFD sysconGuEe-GUI
MFD (Multifunction device) with System Controller Register Read/Write. Signed-off-by: GuEe-GUI <[email protected]>
2024-11-19[components][driver]add phy and mdio buszhuzhuzhu
old phy bus is too simple add phy_bus is not adapt rt_bus framework,so writer a stronger phy bus framework. here is my commit message: add mdio bus and phy bus to kernel,the phy bus use rt_bus framewok ,driver writer can write phy_driver first .when mac driver need to use phy they can register phy_device and pjhy_devie will serach for driver which match by uid and mask,if no driver match with the device that you register,phy_bus will return the genphy to you device,the genphy driver is the general driver for phy,so you can use it but it can not support the capcity of chip it may be cause performance is not up to peak
2024-09-13[drivers] Specifies the name of the drivers driver fileCXSforHPU
https://github.com/RT-Thread/rt-thread/pull/9420
2024-08-23[device] add dev_ prefix for file namesCXSforHPU
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-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-04-07[components][drivers]add ofw support i2czms123456
2024-03-28sync smart & dfs (#8672)Shell
Signed-off-by: xqyjlj <[email protected]> Signed-off-by: Shell <[email protected]> Co-authored-by: xqyjlj <[email protected]>
2024-02-29[components/drivers]update hwtimer (#8565)zms123456
2023-12-24[component][drivers]add clk framework (#8213)zms123456
2023-10-18[kernel][dm]适配新的设备驱动模型 (#8075)zms123456
2023-07-13【dd2.0】Support the Core API for dd2.0 (#7791)ErikChanHub
2023-07-05Drivers: Support Open Firmware API and model of PICwusongjie
We support OFW API to replace fdt old API, and add IRQ, IO, Platform-Bus, CPUs ... OFW node contorl. To support work with Device Tree or ACPI in drivers that use IRQ, we make a programmable interrupt controller driver's model. Signed-off-by: GuEe-GUI <[email protected]>
2023-07-04Components/drivers: support DM device id managementwusongjie
We add the device name and id set api in DM, now driver could set name like sprintf without know how many devices it is. The misc.h and byteorder.h add some macros to developers that they always use in drivers. Signed-off-by: GuEe-GUI <[email protected]>
2023-06-18[sensor-v2]将当前sensor框架revert回v1版本并独立为v2 (#7698)Man, Jianting (Meco)
2023-04-17[HUST CSE] Fix many abnormal symbols in annotations and format code7YZ7
2023-02-21update rtdevice.h add lcdyangfasheng
2022-12-03sync branch rt-smart. (#6641)guo
* Synchronize the code of the rt mart branch to the master branch. * TTY device * Add lwP code from rt-smart * Add vnode in DFS, but DFS will be re-write for rt-smart * There are three libcpu for rt-smart: * arm/cortex-a, arm/aarch64 * riscv64 Co-authored-by: Rbb666 <[email protected]> Co-authored-by: zhkag <[email protected]>
2022-07-23[touch] 调整触摸头文件至 rtdevice.h 中 (#6180)Tangyuxin
2021-06-08[serial] 增加serial_v2版本的框架和基于stm32的串口驱动chenjh
2021-03-171. 优化pin.h, sensor.h, rtdevice.h,避免反向包含wangqiang
2. 优化rt_sensor_close函数,polling模式下不需要操作和rt_pin_irq_enable函数 3. 优化rt_device_register和sensor_polling的LOG信息 4. 修复sensor_polling函数打开设备时的标志错误的问题
2021-03-17将sensor.h的头文件放置了一份在driver/include下面,rtdevice.h� ↵wangqiang
�头文件也包含了sensor.h,简化应用层调用sensor模块
2021-03-08[compoenets] auto & manual formattedMeco Man
2020-10-121. ↵WangQiang
抽象了PHY的设备模型,在components中增加了PHY设备的相关代码以及KCONFIG配置和SConscript脚本 2. 在IMXRT的Libraries中增加了peripherals目录,用于具体型号的设备驱动相关的代码的实现,不应与MCU的平台相关,实现PHY的设备对象中的相关接口。 3. 修改了BSP中的Sconstruct文件,增加了peripherals目录的构建 4. 修改了KEIL环境的SCT文件,用于实现以太网功能
2020-06-23[update] add drivers for stm32mp1.thread-liu
2019-08-30[components][drivers] change name: encoder -> pulse_encodertangweikang
2019-08-21[components][drivers] change name: capture -> inputcapturetangweikang
2019-08-13[components][drivers] add capture driven frameworktangweikang
2019-08-09[components][drivers] add encoder driven frameworktangweikang
2019-05-25[components][drivers] add hardware crypto devicetangyuxin
2018-11-20[add] adc framework[email protected]
2018-10-29[DeviceDriver] Add power management device driver.armink
2018-09-21Merge branch 'master' into devBernard Xiong
2018-09-18添加新的mtd接口heyuanjie87
2018-09-15[DeviceDriver][wlan] add new wlan frameworktangyuxin