发布时间:2026-05-20 11:50:33
.dtsi 中的定义:compatible = "generic-uio"//告诉内核:用 UIO 通用驱动管理这个设备。// UIO(Userspace I/O) 用于暴露 HWinterrupt/memory 给用户态(/dev/uioX),用户态即可通过 read()/poll() 获得事件。①/dev/gpiochip0 适合简单 GPIO操作(读电平、点灯),但处理中断时只能轮询,效率低、延迟高;/.........【阅读全文】
发布时间:2026-05-20 11:23:06
1. 查看 dtbo 反编译后的设备树文件dtsi2. 查看设备树上的 i3c master 和 master 下的 devicels/proc/device-tree/soc | grep -E 'i2c|i3c'ls/proc/device-tree/soc/i3c-master-0@848080003. 查看所有 i2c/i3c 下的 bus 和 bus 下挂载成功的 device:ls -la/sys/bus/i2c/devicesls -la/sys/bu.........【阅读全文】