mirror of
https://github.com/apache/nuttx.git
synced 2026-09-28 15:54:57 +08:00
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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user