天天看點

STM32MP157A驅動開發 | 07 - 使用Linux核心自帶的觸摸屏驅動(GT911)

一、使能驅動

二、裝置樹描述

gt911@14 {
       compatible = "goodix,gt911";
       reg = <0x14>;
       interrupt-parent = <&gpiog>;
       interrupts = <8 IRQ_TYPE_LEVEL_LOW>;
       irq-gpios = <&gpiog 8 0>;
       reset-gpios = <&gpioe 7 0>;
  status = "okay";
};      

三、測試