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:
parent
645d91b028
commit
b2eeecfee0
|
@ -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
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
aliases {
|
||||
mipi-dsi = &mipi_dsi;
|
||||
watchdog0 = &wdog1;
|
||||
kscan0 = &touch_controller;
|
||||
};
|
||||
|
||||
chosen {
|
||||
|
|
|
@ -22,6 +22,7 @@ supported:
|
|||
- gpio
|
||||
- hwinfo
|
||||
- i2c
|
||||
- kscan:touch
|
||||
- mipi_dsi
|
||||
- netif:eth
|
||||
- pwm
|
||||
|
|
Loading…
Reference in New Issue