arm64/pinephone: Add driver for PinePhone Touch Panel #25
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 Functionboards/arm64/a64/pinephone/src/Makefile
: Addedpinephone_touch.c
to the Makefileinclude/nuttx/input/gt9xx.h
: Fixed a comment in GT9XX Touch Panel DriverNew Files
boards/arm64/a64/pinephone/src/pinephone_touch.c
,pinephone_touch.h
: Register GT9XX Touch Panel Driver on PinePhoneboards/arm64/a64/pinephone/configs/lvgl/defconfig
: Added PinePhone Board Configlvgl
to support LVGL Touchscreen AppsUpdated Documentation
Documentation/platforms/arm/a64/boards/pinephone/index.rst
: Added PinePhone Board Configlvgl
for LVGL Touchscreen AppsImpact
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:Then on PinePhone we ran the LVGL Example App
lvgldemo
:The
lvgldemo
App responds correctly to Touch Input:Demo Video
Test Log
NuttX Build Output