KERNEL
wql_c_c
小白
展开
-
I2C驱动
1、 I2C总线驱动 1、 dtsi配置:msm8937.dtsi i2c_3: i2c@78b7000 { /* BLSP1 QUP3 */ compatible = “qcom,i2c-msm-v2”; 2、 驱动文件:i2c-msm-v2.c 1) 总线驱动本身是个platform设备 2) 调用I2C核心层的API,注册一个adapter i2c_msm_probe–>i2c_msm...原创 2019-08-27 21:53:47 · 426 阅读 · 0 评论 -
Input子系统
注册流程: 1、evdev_init 2、input_register_handler //注册evdev_handler,把 struct input_handler evdev_handler 加入到链表input_handler_list,并把input_dev_list中的struct input_dev与 struct input_handle evdev_handler绑定。 3、lo...原创 2019-09-12 17:49:00 · 139 阅读 · 0 评论