Commit b2eeecfe authored by Mahesh Mahadevan's avatar Mahesh Mahadevan Committed by Stephanos Ioannidis
Browse files

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: default avatarMahesh Mahadevan <mahesh.mahadevan@nxp.com>
parent 645d91b0
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
@@ -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
+1 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@
	aliases {
		mipi-dsi = &mipi_dsi;
		watchdog0 = &wdog1;
		kscan0 = &touch_controller;
	};

	chosen {
+1 −0
Original line number Diff line number Diff line
@@ -22,6 +22,7 @@ supported:
  - gpio
  - hwinfo
  - i2c
  - kscan:touch
  - mipi_dsi
  - netif:eth
  - pwm