lupyuen opened a new pull request, #8123:
URL: https://github.com/apache/nuttx/pull/8123

   ## Summary
   
   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
   
   ## Impact
   
   The GT9XX Touch Panel Driver has no impact on existing functions.
   
   The driver will only be active when we select the `lvgl` Board Config for 
PinePhone.
   
   ## Testing
   
   For testing, we built NuttX with the `lvgl` Board Config for PinePhone:
   
   ```bash
   tools/configure.sh pinephone:lvgl
   make
   ```
   
   Then on PinePhone we ran the LVGL Example App `lvgldemo`:
   
   ```bash
   lvgldemo widgets
   ```
   
   The `lvgldemo` App responds correctly to Touch Input:
   
   - [Demo Video](https://www.youtube.com/watch?v=N-Yc2jj3TtQ)
   
   - [Test 
Log](https://gist.github.com/lupyuen/18b7044e0814af3aa588cd7e005069eb)
   
   - [NuttX Build 
Output](https://github.com/lupyuen/pinephone-nuttx/releases/tag/v11.0.2)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to