arm64/pinephone: Add driver for PinePhone Touch Panel

This PR adds the existing Goodix GT9XX Touch Panel Driver to the Bringup Function for PINE64 PinePhone.

With this PR, LVGL Touchscreen Apps will respond to Touch Input on PinePhone.

### Modified Files

`boards/arm64/a64/pinephone/src/pinephone_bringup.c`: Added GT9XX Touch Panel Driver to PinePhone Bringup Function

`boards/arm64/a64/pinephone/src/Makefile`: Added `pinephone_touch.c` to the Makefile

`include/nuttx/input/gt9xx.h`: Fixed a comment in GT9XX Touch Panel Driver

### New Files

`boards/arm64/a64/pinephone/src/pinephone_touch.c`, `pinephone_touch.h`: Register GT9XX Touch Panel Driver on PinePhone

`boards/arm64/a64/pinephone/configs/lvgl/defconfig`: Added PinePhone Board Config `lvgl` to support LVGL Touchscreen Apps

### Updated Documentation

`Documentation/platforms/arm/a64/boards/pinephone/index.rst`: Added PinePhone Board Config `lvgl` for LVGL Touchscreen Apps
This commit is contained in:
Lee Lup Yuen
2023-01-16 13:45:17 +08:00
committed by Xiang Xiao
parent 63039b80e1
commit c07bd5d644
7 changed files with 500 additions and 37 deletions
+1 -3
View File
@@ -43,9 +43,7 @@ struct gt9xx_board_s
xcpt_t isr,
FAR void *arg);
/* Enable or disable Interrupts for the Touch Panel. Will be called by
* Interrupt Handler.
*/
/* Enable or disable Interrupts for the Touch Panel */
void (*irq_enable) (const struct gt9xx_board_s *state, bool enable);