imx6设备树中断说明
2016-07-14 08:35
218 查看
imx6设备树中断说明
转自:
http://zzjlzx.blog.chinaunix.net/uid-9688646-id-5680717.html
kernel_imx/Documentation/devicetree/bindings/input/touchscreen/egalax-ts.txt
594 egalax_ts@04 {
595 compatible = "eeti,egalax_ts"; -->对应驱动程序中的i2c设备名称.
596 reg = <0x04>; -->对应i2c地址.
597 interrupt-parent = <&gpio6>;-->根据电路图对应连接到NANDF_ALE中,查看datasheet中可知是GPIO6中
598 interrupts = <8
2>;-->对应在GPIO6中的第8个IO,2为中断类型.
599 wakeup-gpios = <&gpio6 8 0>; -->GPIO6中的第8个IO作为中断控制,也可以用作唤醒功能,0即低电平是唤醒.
600 };
601
16 The second cell bits[3:0] is used to specify trigger type and level flags:
17 1 = low-to-high edge triggered.
18 2 = high-to-low edge triggered.
19 4 = active high level-sensitive.
20 8 = active low level-sensitive.
转自:
http://zzjlzx.blog.chinaunix.net/uid-9688646-id-5680717.html
kernel_imx/Documentation/devicetree/bindings/input/touchscreen/egalax-ts.txt
594 egalax_ts@04 {
595 compatible = "eeti,egalax_ts"; -->对应驱动程序中的i2c设备名称.
596 reg = <0x04>; -->对应i2c地址.
597 interrupt-parent = <&gpio6>;-->根据电路图对应连接到NANDF_ALE中,查看datasheet中可知是GPIO6中
598 interrupts = <8
2>;-->对应在GPIO6中的第8个IO,2为中断类型.
599 wakeup-gpios = <&gpio6 8 0>; -->GPIO6中的第8个IO作为中断控制,也可以用作唤醒功能,0即低电平是唤醒.
600 };
601
16 The second cell bits[3:0] is used to specify trigger type and level flags:
17 1 = low-to-high edge triggered.
18 2 = high-to-low edge triggered.
19 4 = active high level-sensitive.
20 8 = active low level-sensitive.
相关文章推荐
- 关于PostgreSQL与MongoDB在NoSQL方面的简单对比
- 堆排序
- 安全观察:浅谈WAF几种常见的部署模式
- 【APIO2016】字符串匹配
- 5 个免费的项目管理工具推荐
- 图文混排
- python学习——多重继承
- 日夜间模式切换
- Ubuntu怎样安装无线网卡驱动解决无线网不能连接
- Tjoi2016&Heoi2016 求和
- 苹果iOS系统下的推送机制及实现
- Android 中文件类型与MIME的匹配表
- 求最长上升子序列
- 上拉刷新下拉加载xlistview_footer
- 匹配字符串-好技能-正则表达式
- Count 1 in Binary
- 上拉刷新下拉加载xlistview_header
- IOS atomic与nonatomic,assign,copy与retain的定义和区别
- 正则表达式匹配字符串
- iOS开发-javaScript交互