diff --git a/boards/ezurio/bl5340_dvk/bl5340_dvk_nrf5340_cpuapp_common.dtsi b/boards/ezurio/bl5340_dvk/bl5340_dvk_nrf5340_cpuapp_common.dtsi index b98b89298f2e1..21cecb6355653 100644 --- a/boards/ezurio/bl5340_dvk/bl5340_dvk_nrf5340_cpuapp_common.dtsi +++ b/boards/ezurio/bl5340_dvk/bl5340_dvk_nrf5340_cpuapp_common.dtsi @@ -79,14 +79,6 @@ }; }; - lvgl_pointer { - compatible = "zephyr,lvgl-pointer-input"; - input = <&ft5336>; - swap-xy; - invert-x; - invert-y; - }; - gpio_fwd: nrf-gpio-forwarder { compatible = "nordic,nrf-gpio-forwarder"; status = "okay"; @@ -199,6 +191,11 @@ compatible = "focaltech,ft5336"; reg = <0x38>; int-gpios = <&gpio0 5 GPIO_ACTIVE_LOW>; + swapped-x-y; + inverted-x; + inverted-y; + screen-width = <320>; + screen-height = <240>; }; bme680@76 { diff --git a/boards/lilygo/twatch_s3/twatch_s3_procpu.dts b/boards/lilygo/twatch_s3/twatch_s3_procpu.dts index 2b274a5eb2377..5ae55e124baa1 100644 --- a/boards/lilygo/twatch_s3/twatch_s3_procpu.dts +++ b/boards/lilygo/twatch_s3/twatch_s3_procpu.dts @@ -82,12 +82,6 @@ pwms = <&ledc0 0 PWM_HZ(100) PWM_POLARITY_NORMAL>; }; }; - - lvgl_pointer { - compatible = "zephyr,lvgl-pointer-input"; - input = <&ft5336>; - swap-xy; - }; }; &ledc0 { @@ -248,6 +242,9 @@ reg = <0x38>; int-gpios = <&gpio0 16 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; reset-gpios = <&gpio0 1 GPIO_ACTIVE_LOW>; + swapped-x-y; + screen-width = <240>; + screen-height = <240>; }; }; diff --git a/boards/m5stack/m5stack_core2/m5stack_core2_procpu.dts b/boards/m5stack/m5stack_core2/m5stack_core2_procpu.dts index 1d9551c7cc132..42ea3d033ec0f 100644 --- a/boards/m5stack/m5stack_core2/m5stack_core2_procpu.dts +++ b/boards/m5stack/m5stack_core2/m5stack_core2_procpu.dts @@ -48,12 +48,6 @@ }; }; - lvgl_pointer { - compatible = "zephyr,lvgl-pointer-input"; - input = <&ft5336_touch>; - swap-xy; - }; - mipi_dbi { compatible = "zephyr,mipi-dbi-spi"; dc-gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>; @@ -192,6 +186,9 @@ compatible = "focaltech,ft5336"; reg = <0x38>; int-gpios = <&gpio1 7 GPIO_ACTIVE_LOW>; + swapped-x-y; + screen-width = <320>; + screen-height = <240>; }; }; diff --git a/boards/m5stack/m5stack_cores3/m5stack_cores3_procpu_common.dtsi b/boards/m5stack/m5stack_cores3/m5stack_cores3_procpu_common.dtsi index 3ec883e31fd5b..14bbd3b5d8451 100644 --- a/boards/m5stack/m5stack_cores3/m5stack_cores3_procpu_common.dtsi +++ b/boards/m5stack/m5stack_cores3/m5stack_cores3_procpu_common.dtsi @@ -37,11 +37,6 @@ fuel-gauge0 = &fuel_gauge; }; - lvgl_pointer { - compatible = "zephyr,lvgl-pointer-input"; - input = <&ft6336_touch>; - }; - mipi_dbi: mipi_dbi { compatible = "zephyr,mipi-dbi-spi"; dc-gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>; diff --git a/boards/native/native_sim/native_sim.dts b/boards/native/native_sim/native_sim.dts index afbe39b5f6a6b..86f78c133ee45 100644 --- a/boards/native/native_sim/native_sim.dts +++ b/boards/native/native_sim/native_sim.dts @@ -45,11 +45,6 @@ }; }; - lvgl_pointer { - compatible = "zephyr,lvgl-pointer-input"; - input = <&input_sdl_touch>; - }; - cpus { #address-cells = <1>; #size-cells = <0>; diff --git a/boards/nxp/mimxrt1064_evk/mimxrt1064_evk.dts b/boards/nxp/mimxrt1064_evk/mimxrt1064_evk.dts index 4860b8cbb859e..8a353bca0a6e0 100644 --- a/boards/nxp/mimxrt1064_evk/mimxrt1064_evk.dts +++ b/boards/nxp/mimxrt1064_evk/mimxrt1064_evk.dts @@ -99,11 +99,6 @@ }; }; - lvgl_pointer { - compatible = "zephyr,lvgl-pointer-input"; - input = <&ft5336>; - }; - arduino_header: connector { compatible = "arduino-header-r3"; #gpio-cells = <2>; diff --git a/boards/nxp/rd_rw612_bga/dts/goworld_16880_lcm.overlay b/boards/nxp/rd_rw612_bga/dts/goworld_16880_lcm.overlay index 77927a9985d64..3f338f241a3a7 100644 --- a/boards/nxp/rd_rw612_bga/dts/goworld_16880_lcm.overlay +++ b/boards/nxp/rd_rw612_bga/dts/goworld_16880_lcm.overlay @@ -5,13 +5,6 @@ zephyr,display = &st7796s_lcdic; zephyr,touch = &ft7401; }; - - lvgl_pointer { - compatible = "zephyr,lvgl-pointer-input"; - input = <&ft7401>; - swap-xy; - invert-y; - }; }; &lcdic { @@ -92,5 +85,9 @@ reg = <0x38>; reset-gpios = <&hsgpio0 15 GPIO_ACTIVE_LOW>; int-gpios = <&hsgpio0 11 GPIO_ACTIVE_LOW>; + swapped-x-y; + inverted-y; + screen-width = <480>; + screen-height = <320>; }; }; diff --git a/boards/pine64/pinetime_devkit0/pinetime_devkit0.dts b/boards/pine64/pinetime_devkit0/pinetime_devkit0.dts index 539b9292a7d82..e5a3cd0473f60 100644 --- a/boards/pine64/pinetime_devkit0/pinetime_devkit0.dts +++ b/boards/pine64/pinetime_devkit0/pinetime_devkit0.dts @@ -73,11 +73,6 @@ }; }; - lvgl_pointer { - compatible = "zephyr,lvgl-pointer-input"; - input = <&cst816s>; - }; - vbatt { compatible = "voltage-divider"; io-channels = <&adc 7>; diff --git a/boards/shields/adafruit_2_8_tft_touch_v2/dts/adafruit_2_8_tft_touch_v2.dtsi b/boards/shields/adafruit_2_8_tft_touch_v2/dts/adafruit_2_8_tft_touch_v2.dtsi index ebf165acf5c00..7eca206f6a028 100644 --- a/boards/shields/adafruit_2_8_tft_touch_v2/dts/adafruit_2_8_tft_touch_v2.dtsi +++ b/boards/shields/adafruit_2_8_tft_touch_v2/dts/adafruit_2_8_tft_touch_v2.dtsi @@ -13,14 +13,6 @@ zephyr,touch = &ft5336_adafruit_2_8_tft_touch_v2; }; - lvgl_pointer { - compatible = "zephyr,lvgl-pointer-input"; - input = <&ft5336_adafruit_2_8_tft_touch_v2>; - swap-xy; - invert-x; - invert-y; - }; - adafruit_2_8_tft_touch_v2_mipi_dbi: adafruit_2_8_tft_touch_v2_mipi_dbi { compatible = "zephyr,mipi-dbi-spi"; spi-dev = <&arduino_spi>; @@ -70,6 +62,11 @@ ft5336_adafruit_2_8_tft_touch_v2: ft5336@38 { compatible = "focaltech,ft5336"; reg = <0x38>; + swapped-x-y; + inverted-x; + inverted-y; + screen-width = <320>; + screen-height = <240>; /* Uncomment if IRQ line is available (requires to solder jumper) */ /* int-gpios = <&arduino_header ARDUINO_HEADER_R3_D7 GPIO_ACTIVE_LOW>; */ }; diff --git a/boards/shields/arduino_giga_display_shield/boards/arduino_giga_r1_m7.overlay b/boards/shields/arduino_giga_display_shield/boards/arduino_giga_r1_m7.overlay index 5c9ce42074458..6ad74c37e098d 100644 --- a/boards/shields/arduino_giga_display_shield/boards/arduino_giga_r1_m7.overlay +++ b/boards/shields/arduino_giga_display_shield/boards/arduino_giga_r1_m7.overlay @@ -7,11 +7,6 @@ #include / { - lvgl_pointer { - compatible = "zephyr,lvgl-pointer-input"; - input = <>911>; - }; - aliases { accel0 = >911; }; diff --git a/boards/shields/buydisplay_2_8_tft_touch_arduino/buydisplay_2_8_tft_touch_arduino.overlay b/boards/shields/buydisplay_2_8_tft_touch_arduino/buydisplay_2_8_tft_touch_arduino.overlay index 69866276b339f..cbb1b2b938853 100644 --- a/boards/shields/buydisplay_2_8_tft_touch_arduino/buydisplay_2_8_tft_touch_arduino.overlay +++ b/boards/shields/buydisplay_2_8_tft_touch_arduino/buydisplay_2_8_tft_touch_arduino.overlay @@ -13,14 +13,6 @@ zephyr,touch = &ft5336_buydisplay_2_8_tft_touch_arduino; }; - lvgl_pointer { - compatible = "zephyr,lvgl-pointer-input"; - input = <&ft5336_buydisplay_2_8_tft_touch_arduino>; - swap-xy; - invert-x; - invert-y; - }; - buydisplay_2_8_tft_touch_arduino_mipi_dbi { compatible = "zephyr,mipi-dbi-spi"; dc-gpios = <&arduino_header ARDUINO_HEADER_R3_D7 GPIO_ACTIVE_HIGH>; @@ -57,6 +49,11 @@ ft5336_buydisplay_2_8_tft_touch_arduino: ft5336@38 { compatible = "focaltech,ft5336"; reg = <0x38>; + swapped-x-y; + inverted-x; + inverted-y; + screen-width = <240>; + screen-height = <320>; /* Uncomment if IRQ line is available (requires to solder jumper) */ /* int-gpios = <&arduino_header ARDUINO_HEADER_R3_D5 GPIO_ACTIVE_LOW>; */ }; diff --git a/boards/shields/buydisplay_3_5_tft_touch_arduino/buydisplay_3_5_tft_touch_arduino.overlay b/boards/shields/buydisplay_3_5_tft_touch_arduino/buydisplay_3_5_tft_touch_arduino.overlay index 7f2faa2df707b..6a88c338d4122 100644 --- a/boards/shields/buydisplay_3_5_tft_touch_arduino/buydisplay_3_5_tft_touch_arduino.overlay +++ b/boards/shields/buydisplay_3_5_tft_touch_arduino/buydisplay_3_5_tft_touch_arduino.overlay @@ -13,14 +13,6 @@ zephyr,touch = &ft5336_buydisplay_3_5_tft_touch_arduino; }; - lvgl_pointer { - compatible = "zephyr,lvgl-pointer-input"; - input = <&ft5336_buydisplay_3_5_tft_touch_arduino>; - swap-xy; - invert-x; - invert-y; - }; - buydisplay_3_5_tft_touch_arduino_mipi_dbi { compatible = "zephyr,mipi-dbi-spi"; dc-gpios = <&arduino_header ARDUINO_HEADER_R3_D7 GPIO_ACTIVE_HIGH>; @@ -56,6 +48,11 @@ ft5336_buydisplay_3_5_tft_touch_arduino: ft5336@38 { compatible = "focaltech,ft5336"; reg = <0x38>; + swapped-x-y; + inverted-x; + inverted-y; + screen-width = <320>; + screen-height = <480>; /* Uncomment if IRQ line is available (requires to solder jumper) */ /* int-gpios = <&arduino_header ARDUINO_HEADER_R3_D5 GPIO_ACTIVE_LOW>; */ }; diff --git a/boards/shields/g1120b0mipi/g1120b0mipi.overlay b/boards/shields/g1120b0mipi/g1120b0mipi.overlay index 190049830a6b3..b1eabd9607c77 100644 --- a/boards/shields/g1120b0mipi/g1120b0mipi.overlay +++ b/boards/shields/g1120b0mipi/g1120b0mipi.overlay @@ -16,13 +16,6 @@ enable-gpios = <&nxp_mipi_connector 32 GPIO_ACTIVE_HIGH>; regulator-boot-on; }; - - lvgl_pointer { - compatible = "zephyr,lvgl-pointer-input"; - input = <&ft3267_g1120b0mipi>; - display = <&rm67162_g1120b0mipi>; - invert-y; - }; }; &nxp_mipi_i2c { @@ -37,6 +30,9 @@ reg = <0x38>; int-gpios = <&nxp_mipi_connector 29 GPIO_ACTIVE_LOW>; reset-gpios = <&nxp_mipi_connector 28 GPIO_ACTIVE_LOW>; + inverted-y; + screen-width = <400>; + screen-height = <392>; }; }; diff --git a/boards/shields/lcd_par_s035/lcd_par_s035_8080.overlay b/boards/shields/lcd_par_s035/lcd_par_s035_8080.overlay index f1d9805441fa5..a58ef1a7cf679 100644 --- a/boards/shields/lcd_par_s035/lcd_par_s035_8080.overlay +++ b/boards/shields/lcd_par_s035/lcd_par_s035_8080.overlay @@ -15,13 +15,6 @@ aliases { mipi-dbi = &zephyr_mipi_dbi_parallel; }; - - lvgl_pointer { - compatible = "zephyr,lvgl-pointer-input"; - input = <>911_lcd_par_s035>; - swap-xy; - invert-y; - }; }; /* Initialization of touch, MIPI DBI and display devices is deferred to @@ -35,6 +28,10 @@ reg = <0x5d>; irq-gpios = <&nxp_lcd_8080_connector 9 GPIO_ACTIVE_HIGH>; zephyr,deferred-init; + swapped-x-y; + inverted-y; + screen-width = <480>; + screen-height = <320>; }; }; diff --git a/boards/shields/lcd_par_s035/lcd_par_s035_spi.overlay b/boards/shields/lcd_par_s035/lcd_par_s035_spi.overlay index d97d116efc509..374c3af53888c 100644 --- a/boards/shields/lcd_par_s035/lcd_par_s035_spi.overlay +++ b/boards/shields/lcd_par_s035/lcd_par_s035_spi.overlay @@ -16,13 +16,6 @@ aliases { mipi-dbi = &zephyr_mipi_dbi_spi; }; - - lvgl_pointer { - compatible = "zephyr,lvgl-pointer-input"; - input = <>911_lcd_par_s035>; - swap-xy; - invert-y; - }; }; /* Initialization of touch, MIPI DBI and display devices is deferred to @@ -36,6 +29,10 @@ reg = <0x5d>; irq-gpios = <&nxp_lcd_pmod_connector 12 GPIO_ACTIVE_HIGH>; zephyr,deferred-init; + swapped-x-y; + inverted-y; + screen-width = <480>; + screen-height = <320>; }; }; diff --git a/boards/shields/rk043fn02h_ct/rk043fn02h_ct.overlay b/boards/shields/rk043fn02h_ct/rk043fn02h_ct.overlay index 82a08179684c8..af7ce65798e70 100644 --- a/boards/shields/rk043fn02h_ct/rk043fn02h_ct.overlay +++ b/boards/shields/rk043fn02h_ct/rk043fn02h_ct.overlay @@ -11,11 +11,6 @@ zephyr,display = &zephyr_lcdif; zephyr,touch = &ft5336_rk043fn02h_ct; }; - - lvgl_pointer { - compatible = "zephyr,lvgl-pointer-input"; - input = <&ft5336_rk043fn02h_ct>; - }; }; &nxp_touch_i2c { diff --git a/boards/shields/rk043fn66hs_ctg/rk043fn66hs_ctg.overlay b/boards/shields/rk043fn66hs_ctg/rk043fn66hs_ctg.overlay index e7489965524de..a04adf7f22f78 100644 --- a/boards/shields/rk043fn66hs_ctg/rk043fn66hs_ctg.overlay +++ b/boards/shields/rk043fn66hs_ctg/rk043fn66hs_ctg.overlay @@ -11,11 +11,6 @@ zephyr,display = &zephyr_lcdif; zephyr,touch = >911_rk043fn66hs_ctg; }; - - lvgl_pointer { - compatible = "zephyr,lvgl-pointer-input"; - input = <>911_rk043fn66hs_ctg>; - }; }; &nxp_touch_i2c { diff --git a/boards/shields/rk055hdmipi4m/rk055hdmipi4m.overlay b/boards/shields/rk055hdmipi4m/rk055hdmipi4m.overlay index d0e7d9fa44379..9db9dc4fe514c 100644 --- a/boards/shields/rk055hdmipi4m/rk055hdmipi4m.overlay +++ b/boards/shields/rk055hdmipi4m/rk055hdmipi4m.overlay @@ -18,11 +18,6 @@ enable-gpios = <&nxp_mipi_connector 32 GPIO_ACTIVE_HIGH>; regulator-boot-on; }; - - lvgl_pointer { - compatible = "zephyr,lvgl-pointer-input"; - input = <>911_rk055hdmipi4m>; - }; }; &nxp_mipi_i2c { diff --git a/boards/shields/rk055hdmipi4ma0/rk055hdmipi4ma0.overlay b/boards/shields/rk055hdmipi4ma0/rk055hdmipi4ma0.overlay index 10dc5e21ec7aa..0a8cb8cada697 100644 --- a/boards/shields/rk055hdmipi4ma0/rk055hdmipi4ma0.overlay +++ b/boards/shields/rk055hdmipi4ma0/rk055hdmipi4ma0.overlay @@ -18,11 +18,6 @@ enable-gpios = <&nxp_mipi_connector 32 GPIO_ACTIVE_HIGH>; regulator-boot-on; }; - - lvgl_pointer { - compatible = "zephyr,lvgl-pointer-input"; - input = <>911_rk055hdmipi4ma0>; - }; }; &nxp_mipi_i2c { diff --git a/boards/shields/rtk7eka6m3b00001bu/rtk7eka6m3b00001bu.overlay b/boards/shields/rtk7eka6m3b00001bu/rtk7eka6m3b00001bu.overlay index 23b398f2893fd..a6459d18db9d7 100644 --- a/boards/shields/rtk7eka6m3b00001bu/rtk7eka6m3b00001bu.overlay +++ b/boards/shields/rtk7eka6m3b00001bu/rtk7eka6m3b00001bu.overlay @@ -9,11 +9,7 @@ / { chosen { zephyr,display = &zephyr_lcdif; - }; - - lvgl_pointer { - compatible = "zephyr,lvgl-pointer-input"; - input = <&ft5336_rtk7eka6m3b00001bu>; + zephyr,touch = &ft5336_rtk7eka6m3b00001bu; }; lcd_expansion_rtk7eka6m3b00001bu: parallel-graphics-connector { diff --git a/boards/shields/rtklcdpar1s00001be/rtklcdpar1s00001be.overlay b/boards/shields/rtklcdpar1s00001be/rtklcdpar1s00001be.overlay index 1c52b2efe078e..7b12e3899919e 100644 --- a/boards/shields/rtklcdpar1s00001be/rtklcdpar1s00001be.overlay +++ b/boards/shields/rtklcdpar1s00001be/rtklcdpar1s00001be.overlay @@ -9,11 +9,7 @@ / { chosen { zephyr,display = &zephyr_lcdif; - }; - - lvgl_pointer { - compatible = "zephyr,lvgl-pointer-input"; - input = <&ft5336_rtklcdpar1s00001be>; + zephyr,touch = &ft5336_rtklcdpar1s00001be; }; }; @@ -24,6 +20,9 @@ compatible = "focaltech,ft5336"; reg = <0x38>; int-gpios = <&renesas_parallel_graphics_connector 3 GPIO_ACTIVE_HIGH>; + swapped-x-y; + screen-width = <1024>; + screen-height = <600>; }; }; diff --git a/boards/shields/rtkmipilcdb00000be/rtkmipilcdb00000be.overlay b/boards/shields/rtkmipilcdb00000be/rtkmipilcdb00000be.overlay index 1ffa2e9f4b5a3..a741794141140 100644 --- a/boards/shields/rtkmipilcdb00000be/rtkmipilcdb00000be.overlay +++ b/boards/shields/rtkmipilcdb00000be/rtkmipilcdb00000be.overlay @@ -9,11 +9,7 @@ / { chosen { zephyr,display = &zephyr_lcdif; - }; - - lvgl_pointer { - compatible = "zephyr,lvgl-pointer-input"; - input = <>911_rtkmipilcdb00000be>; + zephyr,touch = >911_rtkmipilcdb00000be; }; }; diff --git a/boards/shields/seeed_xiao_round_display/seeed_xiao_round_display.overlay b/boards/shields/seeed_xiao_round_display/seeed_xiao_round_display.overlay index 429b8471c6904..0f241d045706a 100644 --- a/boards/shields/seeed_xiao_round_display/seeed_xiao_round_display.overlay +++ b/boards/shields/seeed_xiao_round_display/seeed_xiao_round_display.overlay @@ -20,11 +20,6 @@ full-ohms = <940000>; }; - lvgl_pointer { - compatible = "zephyr,lvgl-pointer-input"; - input = <&chsc6x_xiao_round_display>; - }; - aliases { rtc = &pcf8563_xiao_round_display; }; diff --git a/boards/shields/st_b_lcd40_dsi1_mb1166/st_b_lcd40_dsi1_mb1166.overlay b/boards/shields/st_b_lcd40_dsi1_mb1166/st_b_lcd40_dsi1_mb1166.overlay index 5477fefbf9ef3..04d8e3cc132e1 100644 --- a/boards/shields/st_b_lcd40_dsi1_mb1166/st_b_lcd40_dsi1_mb1166.overlay +++ b/boards/shields/st_b_lcd40_dsi1_mb1166/st_b_lcd40_dsi1_mb1166.overlay @@ -7,14 +7,9 @@ #include / { - lvgl_pointer { - compatible = "zephyr,lvgl-pointer-input"; - input = <&ft5336>; - invert-y; - }; - chosen { zephyr,display = &zephyr_lcd_controller; + zephyr,touch = &ft5336; }; }; @@ -63,5 +58,8 @@ reg = <0x38>; int-gpios = <&dsi_lcd_qsh_030 4 GPIO_ACTIVE_LOW>; status = "okay"; + inverted-y; + screen-width = <800>; + screen-height = <480>; }; }; diff --git a/boards/shields/st_b_lcd40_dsi1_mb1166/st_b_lcd40_dsi1_mb1166_a09.overlay b/boards/shields/st_b_lcd40_dsi1_mb1166/st_b_lcd40_dsi1_mb1166_a09.overlay index a3383b2174cf4..b7e0c125a3b78 100644 --- a/boards/shields/st_b_lcd40_dsi1_mb1166/st_b_lcd40_dsi1_mb1166_a09.overlay +++ b/boards/shields/st_b_lcd40_dsi1_mb1166/st_b_lcd40_dsi1_mb1166_a09.overlay @@ -7,14 +7,9 @@ #include / { - lvgl_pointer { - compatible = "zephyr,lvgl-pointer-input"; - input = <&ft5336>; - invert-y; - }; - chosen { zephyr,display = &zephyr_lcd_controller; + zephyr,touch = &ft5336; }; }; @@ -63,5 +58,8 @@ reg = <0x38>; int-gpios = <&dsi_lcd_qsh_030 4 GPIO_ACTIVE_LOW>; status = "okay"; + inverted-y; + screen-width = <800>; + screen-height = <480>; }; }; diff --git a/boards/shields/st_lcd_dsi_mb1835/st_lcd_dsi_mb1835.overlay b/boards/shields/st_lcd_dsi_mb1835/st_lcd_dsi_mb1835.overlay index 2841b5c0aa021..a75f8b0316fa8 100644 --- a/boards/shields/st_lcd_dsi_mb1835/st_lcd_dsi_mb1835.overlay +++ b/boards/shields/st_lcd_dsi_mb1835/st_lcd_dsi_mb1835.overlay @@ -11,11 +11,6 @@ zephyr,display = &zephyr_lcd_controller; zephyr,touch = &st1633i; }; - - lvgl_pointer { - compatible = "zephyr,lvgl-pointer-input"; - input = <&st1633i>; - }; }; &pll3 { diff --git a/boards/st/st25dv_mb1283_disco/st25dv_mb1283_disco.dts b/boards/st/st25dv_mb1283_disco/st25dv_mb1283_disco.dts index 64db6092e969f..4e0db2a00a327 100644 --- a/boards/st/st25dv_mb1283_disco/st25dv_mb1283_disco.dts +++ b/boards/st/st25dv_mb1283_disco/st25dv_mb1283_disco.dts @@ -20,6 +20,7 @@ zephyr,sram = &sram0; zephyr,flash = &flash0; zephyr,display = &ili9341; + zephyr,touch = &stmpe811; }; leds { @@ -156,6 +157,7 @@ int-gpios = <&gpiob 5 GPIO_ACTIVE_LOW>; screen-width = <240>; screen-height = <320>; + inverted-y; raw-x-min = <240>; raw-y-min = <200>; raw-x-max = <3680>; diff --git a/boards/st/stm32f429i_disc1/stm32f429i_disc1.dts b/boards/st/stm32f429i_disc1/stm32f429i_disc1.dts index 8637a7a858d83..db30f2f972b08 100644 --- a/boards/st/stm32f429i_disc1/stm32f429i_disc1.dts +++ b/boards/st/stm32f429i_disc1/stm32f429i_disc1.dts @@ -61,11 +61,6 @@ sw0 = &user_button; }; - lvgl_pointer { - compatible = "zephyr,lvgl-pointer-input"; - input = <&stmpe811>; - }; - mipi_dbi { compatible = "zephyr,mipi-dbi-spi"; dc-gpios = <&gpiod 13 GPIO_ACTIVE_HIGH>; diff --git a/boards/st/stm32f469i_disco/stm32f469i_disco.dts b/boards/st/stm32f469i_disco/stm32f469i_disco.dts index 7eb08944eb085..b13221f1c06fa 100644 --- a/boards/st/stm32f469i_disco/stm32f469i_disco.dts +++ b/boards/st/stm32f469i_disco/stm32f469i_disco.dts @@ -55,12 +55,6 @@ }; }; - lvgl_pointer { - compatible = "zephyr,lvgl-pointer-input"; - input = <&ft5336>; - invert-y; - }; - gpio_keys { compatible = "gpio-keys"; @@ -141,6 +135,9 @@ reg = <0x2a>; int-gpios = <&gpioj 5 0>; status = "okay"; + inverted-y; + screen-width = <800>; + screen-height = <480>; }; }; diff --git a/boards/st/stm32f746g_disco/stm32f746g_disco.dts b/boards/st/stm32f746g_disco/stm32f746g_disco.dts index 9a118114c63d4..dc280d444e0a1 100644 --- a/boards/st/stm32f746g_disco/stm32f746g_disco.dts +++ b/boards/st/stm32f746g_disco/stm32f746g_disco.dts @@ -46,11 +46,6 @@ }; }; - lvgl_pointer { - compatible = "zephyr,lvgl-pointer-input"; - input = <&ft5336>; - }; - sdram1: sdram@c0000000 { compatible = "zephyr,memory-region", "mmio-sram"; device_type = "memory"; diff --git a/boards/st/stm32f7508_dk/stm32f7508_dk.dts b/boards/st/stm32f7508_dk/stm32f7508_dk.dts index 887014a282339..8b532cc4b9da4 100644 --- a/boards/st/stm32f7508_dk/stm32f7508_dk.dts +++ b/boards/st/stm32f7508_dk/stm32f7508_dk.dts @@ -46,11 +46,6 @@ }; }; - lvgl_pointer { - compatible = "zephyr,lvgl-pointer-input"; - input = <&ft5336>; - }; - sdram1: sdram@c0000000 { compatible = "zephyr,memory-region", "mmio-sram"; device_type = "memory"; diff --git a/boards/st/stm32f769i_disco/stm32f769i_disco.dts b/boards/st/stm32f769i_disco/stm32f769i_disco.dts index 986df61601998..54c8e3688ce99 100644 --- a/boards/st/stm32f769i_disco/stm32f769i_disco.dts +++ b/boards/st/stm32f769i_disco/stm32f769i_disco.dts @@ -68,11 +68,6 @@ }; }; - lvgl_pointer { - compatible = "zephyr,lvgl-pointer-input"; - input = <&ft6202>; - }; - dsi_lcd_qsh_030: connector_dsi_lcd { compatible = "st,dsi-lcd-qsh-030"; #gpio-cells = <2>; diff --git a/boards/st/stm32h573i_dk/stm32h573i_dk-common.dtsi b/boards/st/stm32h573i_dk/stm32h573i_dk-common.dtsi index bd65b516742e2..0645ac1af6463 100644 --- a/boards/st/stm32h573i_dk/stm32h573i_dk-common.dtsi +++ b/boards/st/stm32h573i_dk/stm32h573i_dk-common.dtsi @@ -23,6 +23,7 @@ zephyr,sram = &sram1; zephyr,canbus = &fdcan1; zephyr,display = &st7789v; + zephyr,touch = &ft3267; }; leds { @@ -83,13 +84,6 @@ /* DT_MEM_ARM_MPU_EXTMEM and DT_MEM_ARM_MPU_FLASH cause MPU issues */ zephyr,memory-attr = ; }; - - lvgl_pointer { - compatible = "zephyr,lvgl-pointer-input"; - input = <&ft3267>; - display = <&st7789v>; - invert-y; - }; }; &fmc { @@ -221,6 +215,9 @@ reg = <0x38>; int-gpios = <&gpiog 7 GPIO_ACTIVE_LOW>; reset-gpios = <&gpiog 3 GPIO_ACTIVE_LOW>; + inverted-y; + screen-width = <240>; + screen-height = <240>; }; }; diff --git a/boards/st/stm32h7b3i_dk/stm32h7b3i_dk.dts b/boards/st/stm32h7b3i_dk/stm32h7b3i_dk.dts index 8da8c221ee044..db1b20fbc4dd1 100644 --- a/boards/st/stm32h7b3i_dk/stm32h7b3i_dk.dts +++ b/boards/st/stm32h7b3i_dk/stm32h7b3i_dk.dts @@ -49,11 +49,6 @@ }; }; - lvgl_pointer { - compatible = "zephyr,lvgl-pointer-input"; - input = <&ft5336>; - }; - sdram2: sdram@d0000000 { compatible = "zephyr,memory-region", "mmio-sram"; device_type = "memory"; diff --git a/boards/st/stm32l562e_dk/stm32l562e_dk_common.dtsi b/boards/st/stm32l562e_dk/stm32l562e_dk_common.dtsi index 4db30a905651c..4747ad25f443f 100644 --- a/boards/st/stm32l562e_dk/stm32l562e_dk_common.dtsi +++ b/boards/st/stm32l562e_dk/stm32l562e_dk_common.dtsi @@ -45,12 +45,6 @@ chosen { zephyr,bt-hci = &hci_spi; }; - - lvgl_pointer { - compatible = "zephyr,lvgl-pointer-input"; - input = <&ft5336>; - invert-y; - }; }; &fmc { @@ -193,6 +187,9 @@ stm32_lp_tick_source: &lptim1 { reg = <0x38>; int-gpios = <&gpiof 1 GPIO_ACTIVE_LOW>; reset-gpios = <&gpiof 15 GPIO_ACTIVE_LOW>; + inverted-y; + screen-width = <240>; + screen-height = <240>; }; }; diff --git a/boards/st/stm32mp135f_dk/stm32mp135f_dk.dts b/boards/st/stm32mp135f_dk/stm32mp135f_dk.dts index c91dbafb7aa3c..2a7f34bb436bb 100644 --- a/boards/st/stm32mp135f_dk/stm32mp135f_dk.dts +++ b/boards/st/stm32mp135f_dk/stm32mp135f_dk.dts @@ -60,11 +60,6 @@ }; }; - lvgl_pointer { - compatible = "zephyr,lvgl-pointer-input"; - input = <>911>; - }; - aliases { led0 = &blue_led_1; led1 = &red_led_2; diff --git a/boards/st/stm32n6570_dk/stm32n6570_dk_common.dtsi b/boards/st/stm32n6570_dk/stm32n6570_dk_common.dtsi index 6234509aba101..8361963061262 100644 --- a/boards/st/stm32n6570_dk/stm32n6570_dk_common.dtsi +++ b/boards/st/stm32n6570_dk/stm32n6570_dk_common.dtsi @@ -32,12 +32,6 @@ sw0 = &user_button; }; - lvgl_pointer { - compatible = "zephyr,lvgl-pointer-input"; - input = <>911>; - display = <<dc>; - }; - psram: memory@90000000 { compatible = "zephyr,memory-region"; /* diff --git a/boards/waveshare/esp32s3_touch_lcd_1_28/esp32s3_touch_lcd_1_28_esp32s3_procpu.dts b/boards/waveshare/esp32s3_touch_lcd_1_28/esp32s3_touch_lcd_1_28_esp32s3_procpu.dts index 6a5ac9b806c12..f2a30b9c1d1bb 100644 --- a/boards/waveshare/esp32s3_touch_lcd_1_28/esp32s3_touch_lcd_1_28_esp32s3_procpu.dts +++ b/boards/waveshare/esp32s3_touch_lcd_1_28/esp32s3_touch_lcd_1_28_esp32s3_procpu.dts @@ -46,12 +46,6 @@ }; }; - /* Touch Controller */ - lvgl_pointer { - compatible = "zephyr,lvgl-pointer-input"; - input = <&cst816s>; - }; - /* PWM */ pwmleds { compatible = "pwm-leds"; diff --git a/boards/witte/linum/linum.dts b/boards/witte/linum/linum.dts index 499e656c35414..312326fc56370 100644 --- a/boards/witte/linum/linum.dts +++ b/boards/witte/linum/linum.dts @@ -57,12 +57,6 @@ led0 = &green_led; led1 = &blue_led; }; - - lvgl_pointer { - compatible = "zephyr,lvgl-pointer-input"; - input = <&ft5446>; - swap-xy; - }; }; &gpiod { @@ -222,6 +216,9 @@ zephyr_udc0: &usbotg_fs { compatible = "focaltech,ft5336"; reg = <0x38>; int-gpios = <&gpioh 9 0>; + swapped-x-y; + screen-width = <1024>; + screen-height = <600>; }; }; diff --git a/doc/build/dts/api/api.rst b/doc/build/dts/api/api.rst index aeeea90884f05..a9b8ffe834d6f 100644 --- a/doc/build/dts/api/api.rst +++ b/doc/build/dts/api/api.rst @@ -462,7 +462,10 @@ device. - A LED-strip node which is used to determine the timings of the WS2812 GPIO driver * - zephyr,touch - - touchscreen controller device node. + - Touchscreen controller device node. When LVGL is used, if + :kconfig:option:`CONFIG_LV_Z_POINTER_FROM_CHOSEN_TOUCH` is enabled, an LVGL + pointer input device is created using the touchscreen controller + as its input source. * - zephyr,videoenc - Video encoder device, typically an H264 or MJPEG video encoder. * - mcuboot,ram-load-dev diff --git a/modules/lvgl/Kconfig.input b/modules/lvgl/Kconfig.input index 4059ab0612879..6aba1705353dc 100644 --- a/modules/lvgl/Kconfig.input +++ b/modules/lvgl/Kconfig.input @@ -4,11 +4,33 @@ menu "Input device settings" +DT_CHOSEN_Z_TOUCH := zephyr,touch +DT_CHOSEN_Z_DISPLAY := zephyr,display + +config LV_Z_POINTER_FROM_CHOSEN_TOUCH + bool "Create LVGL pointer from DT 'zephyr,touch' chosen device" + depends on INPUT + depends on $(dt_chosen_enabled,$(DT_CHOSEN_Z_TOUCH)) + default y if !DT_HAS_ZEPHYR_LVGL_POINTER_INPUT_ENABLED + help + Enable creation of LVGL pointer input device + based on 'zephyr,touch' chosen property in devicetree. + +config LV_Z_POINTER_FROM_CHOSEN_TOUCH_INFER_DISPLAY + bool "Link input pointer to chosen display" + depends on LV_Z_POINTER_FROM_CHOSEN_TOUCH + depends on $(dt_chosen_enabled,$(DT_CHOSEN_Z_DISPLAY)) + default y + help + Process input events of the pointer device created + from the 'zephyr,touch' chosen property and link it to the + 'zephyr,display' chosen device. + config LV_Z_POINTER_INPUT bool "Input lvgl pointer" default y depends on INPUT - depends on DT_HAS_ZEPHYR_LVGL_POINTER_INPUT_ENABLED + depends on DT_HAS_ZEPHYR_LVGL_POINTER_INPUT_ENABLED || LV_Z_POINTER_FROM_CHOSEN_TOUCH config LV_Z_POINTER_INPUT_MSGQ_COUNT int "Input pointer queue message count" diff --git a/modules/lvgl/include/lvgl_common_input.h b/modules/lvgl/include/lvgl_common_input.h index 7cb0b0284d375..a8f48bf2cf26c 100644 --- a/modules/lvgl/include/lvgl_common_input.h +++ b/modules/lvgl/include/lvgl_common_input.h @@ -29,16 +29,20 @@ struct lvgl_common_input_data { int lvgl_input_register_driver(lv_indev_type_t indev_type, const struct device *dev); int lvgl_init_input_devices(void); -#define LVGL_INPUT_EVENT_MSGQ(inst, type) lvgl_input_msgq_##type##_##inst -#define LVGL_INPUT_DEVICE(inst) DEVICE_DT_GET_OR_NULL(DT_INST_PHANDLE(inst, input)) +#define LVGL_INPUT_EVENT_MSGQ(identifier, type) lvgl_input_msgq_##type##_##identifier +#define LVGL_INPUT_DEVICE(inst) DEVICE_DT_GET_OR_NULL(DT_INST_PHANDLE(inst, input)) #define LVGL_COORD_VALID(coord) IN_RANGE(coord, LV_COORD_MIN, LV_COORD_MAX) #define LVGL_KEY_VALID(key) IN_RANGE(key, 0, UINT8_MAX) -#define LVGL_INPUT_DEFINE(inst, type, msgq_size, process_evt_cb) \ - INPUT_CALLBACK_DEFINE_NAMED(LVGL_INPUT_DEVICE(inst), process_evt_cb, \ - (void *)DEVICE_DT_INST_GET(inst), process_evt_cb_##inst); \ - K_MSGQ_DEFINE(lvgl_input_msgq_##type##_##inst, sizeof(lv_indev_data_t), msgq_size, 4) +#define LVGL_INPUT_DEFINE(input_device, lvgl_device, identifier, type, msgq_size, process_evt_cb) \ + INPUT_CALLBACK_DEFINE_NAMED(input_device, process_evt_cb, (void *)lvgl_device, \ + process_evt_cb_##identifier); \ + K_MSGQ_DEFINE(lvgl_input_msgq_##type##_##identifier, sizeof(lv_indev_data_t), msgq_size, 4) + +#define LVGL_INPUT_INST_DEFINE(inst, type, msgq_size, process_evt_cb) \ + LVGL_INPUT_DEFINE(LVGL_INPUT_DEVICE(inst), DEVICE_DT_INST_GET(inst), inst, type, \ + msgq_size, process_evt_cb) #ifdef __cplusplus } diff --git a/modules/lvgl/include/lvgl_pointer_input.h b/modules/lvgl/include/lvgl_pointer_input.h index f168477b982da..c3ae08a834ece 100644 --- a/modules/lvgl/include/lvgl_pointer_input.h +++ b/modules/lvgl/include/lvgl_pointer_input.h @@ -15,6 +15,12 @@ extern "C" { int lvgl_pointer_input_init(const struct device *dev); +#ifdef CONFIG_LV_Z_POINTER_FROM_CHOSEN_TOUCH + +const struct device *lvgl_pointer_from_chosen_get(void); + +#endif /* CONFIG_LV_Z_POINTER_FROM_CHOSEN_TOUCH */ + #ifdef __cplusplus } #endif diff --git a/modules/lvgl/input/lvgl_button_input.c b/modules/lvgl/input/lvgl_button_input.c index b5dcd53d78068..6066f9a96dd55 100644 --- a/modules/lvgl/input/lvgl_button_input.c +++ b/modules/lvgl/input/lvgl_button_input.c @@ -69,8 +69,8 @@ int lvgl_button_input_init(const struct device *dev) #define LVGL_BUTTON_INPUT_DEFINE(inst) \ ASSERT_PROPERTIES(inst); \ - LVGL_INPUT_DEFINE(inst, button, CONFIG_LV_Z_BUTTON_INPUT_MSGQ_COUNT, \ - lvgl_button_process_event); \ + LVGL_INPUT_INST_DEFINE(inst, button, CONFIG_LV_Z_BUTTON_INPUT_MSGQ_COUNT, \ + lvgl_button_process_event); \ static const uint16_t lvgl_button_input_codes_##inst[] = DT_INST_PROP(inst, input_codes); \ static const int32_t lvgl_button_coordinates_##inst[] = DT_INST_PROP(inst, coordinates); \ static const struct lvgl_button_input_config lvgl_button_input_config_##inst = { \ diff --git a/modules/lvgl/input/lvgl_common_input.c b/modules/lvgl/input/lvgl_common_input.c index 036a96050c8c9..841fd75e9f1e5 100644 --- a/modules/lvgl/input/lvgl_common_input.c +++ b/modules/lvgl/input/lvgl_common_input.c @@ -130,5 +130,9 @@ int lvgl_init_input_devices(void) DT_FOREACH_STATUS_OKAY_VARGS(zephyr_lvgl_keypad_input, LV_DEV_INIT, lvgl_keypad_input_init); #endif /* CONFIG_LV_Z_KEYPAD_INPUT */ +#ifdef CONFIG_LV_Z_POINTER_FROM_CHOSEN_TOUCH + lvgl_pointer_input_init(lvgl_pointer_from_chosen_get()); +#endif + return 0; } diff --git a/modules/lvgl/input/lvgl_encoder_input.c b/modules/lvgl/input/lvgl_encoder_input.c index e8b56e2a905a1..7697813a73eff 100644 --- a/modules/lvgl/input/lvgl_encoder_input.c +++ b/modules/lvgl/input/lvgl_encoder_input.c @@ -61,8 +61,8 @@ int lvgl_encoder_input_init(const struct device *dev) #define LVGL_ENCODER_INPUT_DEFINE(inst) \ ASSERT_PROPERTIES(inst); \ - LVGL_INPUT_DEFINE(inst, encoder, CONFIG_LV_Z_ENCODER_INPUT_MSGQ_COUNT, \ - lvgl_encoder_process_event); \ + LVGL_INPUT_INST_DEFINE(inst, encoder, CONFIG_LV_Z_ENCODER_INPUT_MSGQ_COUNT, \ + lvgl_encoder_process_event); \ static const struct lvgl_encoder_input_config lvgl_encoder_input_config_##inst = { \ .common_config.event_msgq = &LVGL_INPUT_EVENT_MSGQ(inst, encoder), \ .common_config.display_dev = \ diff --git a/modules/lvgl/input/lvgl_keypad_input.c b/modules/lvgl/input/lvgl_keypad_input.c index 989530e0067c6..86ee2475b0b3e 100644 --- a/modules/lvgl/input/lvgl_keypad_input.c +++ b/modules/lvgl/input/lvgl_keypad_input.c @@ -57,8 +57,8 @@ int lvgl_keypad_input_init(const struct device *dev) #define LVGL_KEYPAD_INPUT_DEFINE(inst) \ ASSERT_PROPERTIES(inst); \ - LVGL_INPUT_DEFINE(inst, keypad, CONFIG_LV_Z_KEYPAD_INPUT_MSGQ_COUNT, \ - lvgl_keypad_process_event); \ + LVGL_INPUT_INST_DEFINE(inst, keypad, CONFIG_LV_Z_KEYPAD_INPUT_MSGQ_COUNT, \ + lvgl_keypad_process_event); \ static const uint16_t lvgl_keypad_input_codes_##inst[] = DT_INST_PROP(inst, input_codes); \ static const uint16_t lvgl_keypad_lvgl_codes_##inst[] = DT_INST_PROP(inst, lvgl_codes); \ static const struct lvgl_keypad_input_config lvgl_keypad_input_config_##inst = { \ diff --git a/modules/lvgl/input/lvgl_pointer_input.c b/modules/lvgl/input/lvgl_pointer_input.c index 927c994499ba7..3ceda7d173037 100644 --- a/modules/lvgl/input/lvgl_pointer_input.c +++ b/modules/lvgl/input/lvgl_pointer_input.c @@ -134,8 +134,8 @@ int lvgl_pointer_input_init(const struct device *dev) } #define LVGL_POINTER_INPUT_DEFINE(inst) \ - LVGL_INPUT_DEFINE(inst, pointer, CONFIG_LV_Z_POINTER_INPUT_MSGQ_COUNT, \ - lvgl_pointer_process_event); \ + LVGL_INPUT_INST_DEFINE(inst, pointer, CONFIG_LV_Z_POINTER_INPUT_MSGQ_COUNT, \ + lvgl_pointer_process_event); \ static const struct lvgl_pointer_input_config lvgl_pointer_input_config_##inst = { \ .common_config.event_msgq = &LVGL_INPUT_EVENT_MSGQ(inst, pointer), \ .common_config.display_dev = \ @@ -150,3 +150,35 @@ int lvgl_pointer_input_init(const struct device *dev) CONFIG_INPUT_INIT_PRIORITY, NULL); DT_INST_FOREACH_STATUS_OKAY(LVGL_POINTER_INPUT_DEFINE) + +#ifdef CONFIG_LV_Z_POINTER_FROM_CHOSEN_TOUCH + +#define CHOSEN_TOUCH_DEV DEVICE_DT_GET(DT_CHOSEN(zephyr_touch)) +#define LVGL_CHOSEN_TOUCH_POINTER_DEV_ID pointer_chosen_zephyr_touch + +DEVICE_DECLARE(LVGL_CHOSEN_TOUCH_POINTER_DEV_ID); + +LVGL_INPUT_DEFINE(CHOSEN_TOUCH_DEV, DEVICE_GET(LVGL_CHOSEN_TOUCH_POINTER_DEV_ID), + LVGL_CHOSEN_TOUCH_POINTER_DEV_ID, pointer, CONFIG_LV_Z_POINTER_INPUT_MSGQ_COUNT, + lvgl_pointer_process_event); + +static const struct lvgl_pointer_input_config chosen_touch_pointer_config = { + .common_config.event_msgq = + &LVGL_INPUT_EVENT_MSGQ(LVGL_CHOSEN_TOUCH_POINTER_DEV_ID, pointer), +#ifdef CONFIG_LV_Z_POINTER_FROM_CHOSEN_TOUCH_INFER_DISPLAY + .common_config.display_dev = DEVICE_DT_GET(DT_CHOSEN(zephyr_display)), +#endif /* CONFIG_LV_Z_POINTER_FROM_CHOSEN_TOUCH_INFER_DISPLAY */ +}; +static struct lvgl_pointer_input_data chosen_touch_pointer_data; + +DEVICE_DEFINE(LVGL_CHOSEN_TOUCH_POINTER_DEV_ID, STRINGIFY(LVGL_CHOSEN_TOUCH_POINTER_DEV_ID), NULL, + NULL, &chosen_touch_pointer_data, + &chosen_touch_pointer_config, POST_KERNEL, + CONFIG_INPUT_INIT_PRIORITY, NULL); + +const struct device *lvgl_pointer_from_chosen_get(void) +{ + return DEVICE_GET(LVGL_CHOSEN_TOUCH_POINTER_DEV_ID); +} + +#endif /* CONFIG_LV_Z_POINTER_FROM_CHOSEN_TOUCH */ diff --git a/samples/modules/lvgl/demos/boards/st25dv_mb1283_disco.overlay b/samples/modules/lvgl/demos/boards/st25dv_mb1283_disco.overlay deleted file mode 100644 index 300ad9aeaa975..0000000000000 --- a/samples/modules/lvgl/demos/boards/st25dv_mb1283_disco.overlay +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Copyright (c) 2024, Eve Redero - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include - -/ { - pointer { - compatible = "zephyr,lvgl-pointer-input"; - input = <&stmpe811>; - invert-y; - }; -}; diff --git a/samples/modules/lvgl/demos/rtk7eka6m3b00001bu.overlay b/samples/modules/lvgl/demos/rtk7eka6m3b00001bu.overlay deleted file mode 100644 index 8bfc417358174..0000000000000 --- a/samples/modules/lvgl/demos/rtk7eka6m3b00001bu.overlay +++ /dev/null @@ -1,13 +0,0 @@ -/* - * Copyright (c) 2025 Renesas Electronics Corporation - * - * SPDX-License-Identifier: Apache-2.0 - */ - -/ { - lvgl_pointer { - compatible = "zephyr,lvgl-pointer-input"; - swap-xy; - input = <&ft5336_rtk7eka6m3b00001bu>; - }; -}; diff --git a/samples/modules/lvgl/demos/rtklcdpar1s00001be.overlay b/samples/modules/lvgl/demos/rtklcdpar1s00001be.overlay deleted file mode 100644 index 054bcc6b21b0f..0000000000000 --- a/samples/modules/lvgl/demos/rtklcdpar1s00001be.overlay +++ /dev/null @@ -1,13 +0,0 @@ -/* - * Copyright (c) 2025 Renesas Electronics Corporation - * - * SPDX-License-Identifier: Apache-2.0 - */ - -/ { - lvgl_pointer { - compatible = "zephyr,lvgl-pointer-input"; - swap-xy; - input = <&ft5336_rtklcdpar1s00001be>; - }; -}; diff --git a/samples/modules/lvgl/demos/sample.yaml b/samples/modules/lvgl/demos/sample.yaml index cad7f82724899..869dcc1b1101b 100644 --- a/samples/modules/lvgl/demos/sample.yaml +++ b/samples/modules/lvgl/demos/sample.yaml @@ -73,7 +73,6 @@ tests: platform_allow: ek_ra8d1 extra_args: - SHIELD="rtk7eka6m3b00001bu;ek_ra8d1_rtk7eka6m3b00001bu" - - DTC_OVERLAY_FILE=rtk7eka6m3b00001bu.overlay extra_configs: - CONFIG_LV_DEMO_MUSIC_LANDSCAPE=y tags: @@ -87,7 +86,6 @@ tests: fixture: fixture_display extra_args: - SHIELD=rtklcdpar1s00001be - - EXTRA_DTC_OVERLAY_FILE=rtklcdpar1s00001be.overlay extra_configs: - CONFIG_LV_DEMO_MUSIC_LANDSCAPE=y tags: diff --git a/samples/subsys/display/lvgl/boards/st25dv_mb1283_disco.overlay b/samples/subsys/display/lvgl/boards/st25dv_mb1283_disco.overlay index 021935c2aa224..a080a5fb1867d 100644 --- a/samples/subsys/display/lvgl/boards/st25dv_mb1283_disco.overlay +++ b/samples/subsys/display/lvgl/boards/st25dv_mb1283_disco.overlay @@ -8,12 +8,6 @@ #include / { - pointer { - compatible = "zephyr,lvgl-pointer-input"; - input = <&stmpe811>; - invert-y; - }; - keypad { compatible = "zephyr,lvgl-keypad-input"; input = <&buttons>; diff --git a/tests/cmake/hwm/board_extend/oot_root/boards/native/native_sim_extend/native_sim_native_one.dts b/tests/cmake/hwm/board_extend/oot_root/boards/native/native_sim_extend/native_sim_native_one.dts index 8717209c3ebd4..8ae80025ee18a 100644 --- a/tests/cmake/hwm/board_extend/oot_root/boards/native/native_sim_extend/native_sim_native_one.dts +++ b/tests/cmake/hwm/board_extend/oot_root/boards/native/native_sim_extend/native_sim_native_one.dts @@ -43,11 +43,6 @@ }; }; - lvgl_pointer { - compatible = "zephyr,lvgl-pointer-input"; - input = <&input_sdl_touch>; - }; - cpus { #address-cells = <1>; #size-cells = <0>; diff --git a/tests/misc/check_init_priorities/validate_check_init_priorities_output.py b/tests/misc/check_init_priorities/validate_check_init_priorities_output.py index 4f87384c5542c..77bbe5ebd560b 100755 --- a/tests/misc/check_init_priorities/validate_check_init_priorities_output.py +++ b/tests/misc/check_init_priorities/validate_check_init_priorities_output.py @@ -18,10 +18,10 @@ REFERENCE_OUTPUT_INITLEVELS = [ "EARLY", "PRE_KERNEL_1", - "__init___device_dts_ord_32: init_fn_0(__device_dts_ord_32)", - "__init___device_dts_ord_33: init_fn_1(__device_dts_ord_33)", + "__init___device_dts_ord_31: init_fn_0(__device_dts_ord_31)", + "__init___device_dts_ord_32: init_fn_1(__device_dts_ord_32)", + "__init___device_dts_ord_33: NULL(__device_dts_ord_33)", "__init___device_dts_ord_34: NULL(__device_dts_ord_34)", - "__init___device_dts_ord_35: NULL(__device_dts_ord_35)", "__init_posix_arch_console_init: posix_arch_console_init(NULL)", "PRE_KERNEL_2", "__init_sys_clock_driver_init: sys_clock_driver_init(NULL)",