RK3568平台(触摸篇)FT5X06驱动程序分析

一.设备树

&i2c1 {
   status = "okay";
   myft5x06: my-ft5x06@38 {
      compatible = "my-ft5x06";
      reg = <0x38>;
      reset-gpios = <&gpio0 RK_PB6 GPIO_ACTIVE_LOW>;
      interrupt-parent = <&gpio3>;
      interrupts-gpio = <&gpio3 RK_PA5 GPIO_ACTIVE_LOW>;
      interrupts = <RK_PA5 IRQ_TYPE_LEVEL_LOW>;
      pinctrl-names = "default";
      pinctrl-0 = <&myft5x06_pins>;
   };
};

reset-gpios = ;: 定义了设备的复位引脚,连接到 GPIO0 的 RK_PB6 引脚,电平为低电平有效。

interrupt-parent = ;: 指定中断的父节点为 GPIO3。

interrupts-gpio = ;: 定义了设备的中断引脚,连 接到 GPIO3 的 RK_PA5 引脚,电平为低电平触发。

interrupts = ;: 进一步描述了中断的触发方式,为电 平低电平触发。

pinc

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

嵌入式_笔记

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值