boards: mimxrt1170_evk: Display configuration updates

1. Enable the input KSCAN device when LVGL is enabled
2. Add LVGL related configuration options

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
This commit is contained in:
Mahesh Mahadevan 2023-01-23 14:50:30 -06:00 committed by Stephanos Ioannidis
parent 645d91b028
commit b2eeecfee0
3 changed files with 22 additions and 0 deletions

View File

@ -46,6 +46,9 @@ endchoice
endif #FLASH
config KSCAN
default y if LVGL
if KSCAN
config KSCAN_GT911_INTERRUPT
@ -73,4 +76,21 @@ config REGULATOR
endif # DISPLAY
if LVGL
config LV_Z_POINTER_KSCAN
default y
config LV_Z_VDB_SIZE
default 16
config LV_Z_DPI
default 128
choice LV_COLOR_DEPTH
default LV_COLOR_DEPTH_16
endchoice
endif # LVGL
endif # BOARD_MIMXRT1170_EVK_CM7 || BOARD_MIMXRT1170_EVK_CM4

View File

@ -16,6 +16,7 @@
aliases {
mipi-dsi = &mipi_dsi;
watchdog0 = &wdog1;
kscan0 = &touch_controller;
};
chosen {

View File

@ -22,6 +22,7 @@ supported:
- gpio
- hwinfo
- i2c
- kscan:touch
- mipi_dsi
- netif:eth
- pwm