Browse Source

boards: added touch controller to the `/chosen` node

This adds zephyr,touch property to boards with touch controllers, analogous
to `zephyr,display`.

Signed-off-by: Dominik Lau <dlau@internships.antmicro.com>
Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
pull/79480/head
Dominik Lau 9 months ago committed by Fabio Baltieri
parent
commit
b38a4ccbdb
  1. 1
      boards/ezurio/bl5340_dvk/bl5340_dvk_nrf5340_cpuapp_common.dtsi
  2. 1
      boards/m5stack/m5stack_core2/m5stack_core2_procpu.dts
  3. 1
      boards/nxp/mimxrt1064_evk/mimxrt1064_evk.dts
  4. 1
      boards/nxp/rd_rw612_bga/dts/goworld_16880_lcm.overlay
  5. 1
      boards/pine64/pinetime_devkit0/pinetime_devkit0.dts
  6. 1
      boards/renesas/da1469x_dk_pro/dts/da1469x_dk_pro_lcdc.overlay
  7. 1
      boards/renesas/da1469x_dk_pro/dts/da1469x_dk_pro_mipi_dbi.overlay
  8. 1
      boards/shields/adafruit_2_8_tft_touch_v2/dts/adafruit_2_8_tft_touch_v2.dtsi
  9. 1
      boards/shields/buydisplay_2_8_tft_touch_arduino/buydisplay_2_8_tft_touch_arduino.overlay
  10. 1
      boards/shields/buydisplay_3_5_tft_touch_arduino/buydisplay_3_5_tft_touch_arduino.overlay
  11. 1
      boards/shields/g1120b0mipi/g1120b0mipi.overlay
  12. 1
      boards/shields/lcd_par_s035/lcd_par_s035_8080.overlay
  13. 1
      boards/shields/rk043fn02h_ct/rk043fn02h_ct.overlay
  14. 1
      boards/shields/rk043fn66hs_ctg/rk043fn66hs_ctg.overlay
  15. 1
      boards/shields/rk055hdmipi4m/rk055hdmipi4m.overlay
  16. 1
      boards/shields/rk055hdmipi4ma0/rk055hdmipi4ma0.overlay
  17. 1
      boards/shields/seeed_xiao_round_display/seeed_xiao_round_display.overlay
  18. 1
      boards/st/stm32f429i_disc1/stm32f429i_disc1.dts
  19. 1
      boards/st/stm32f746g_disco/stm32f746g_disco.dts
  20. 1
      boards/st/stm32f7508_dk/stm32f7508_dk.dts
  21. 1
      boards/st/stm32f769i_disco/stm32f769i_disco.dts
  22. 1
      boards/st/stm32h7b3i_dk/stm32h7b3i_dk.dts
  23. 1
      boards/waveshare/esp32s3_touch_lcd_1_28/esp32s3_touch_lcd_1_28_esp32s3_procpu.dts
  24. 2
      doc/build/dts/api/api.rst

1
boards/ezurio/bl5340_dvk/bl5340_dvk_nrf5340_cpuapp_common.dtsi

@ -16,6 +16,7 @@ @@ -16,6 +16,7 @@
zephyr,bt-c2h-uart = &uart0;
zephyr,display = &ili9340;
zephyr,bt-hci = &bt_hci_ipc0;
zephyr,touch = &ft5336;
};
/* Main LEDs and buttons are on an I2C TCA9538 GPIO port expander */

1
boards/m5stack/m5stack_core2/m5stack_core2_procpu.dts

@ -35,6 +35,7 @@ @@ -35,6 +35,7 @@
zephyr,code-partition = &slot0_partition;
zephyr,rtc = &pfc8563_rtc;
zephyr,bt-hci = &esp32_bt_hci;
zephyr,touch = &ft5336_touch;
};
leds {

1
boards/nxp/mimxrt1064_evk/mimxrt1064_evk.dts

@ -34,6 +34,7 @@ @@ -34,6 +34,7 @@
zephyr,console = &lpuart1;
zephyr,shell-uart = &lpuart1;
zephyr,canbus = &flexcan2;
zephyr,touch = &ft5336;
};
sdram0: memory@80000000 {

1
boards/nxp/rd_rw612_bga/dts/goworld_16880_lcm.overlay

@ -3,6 +3,7 @@ @@ -3,6 +3,7 @@
/ {
chosen {
zephyr,display = &st7796s_lcdic;
zephyr,touch = &ft7401;
};
lvgl_pointer {

1
boards/pine64/pinetime_devkit0/pinetime_devkit0.dts

@ -27,6 +27,7 @@ @@ -27,6 +27,7 @@
zephyr,flash = &flash0;
zephyr,code-partition = &slot0_partition;
zephyr,display = &st7789v;
zephyr,touch = &cst816s;
};
aliases {

1
boards/renesas/da1469x_dk_pro/dts/da1469x_dk_pro_lcdc.overlay

@ -10,6 +10,7 @@ @@ -10,6 +10,7 @@
/ {
chosen {
zephyr,display = &lcdc;
zephyr,touch = &display_touch;
};
lvgl_pointer {

1
boards/renesas/da1469x_dk_pro/dts/da1469x_dk_pro_mipi_dbi.overlay

@ -10,6 +10,7 @@ @@ -10,6 +10,7 @@
/ {
chosen {
zephyr,display = &ili9340;
zephyr,touch = &display_touch;
};
lvgl_pointer {

1
boards/shields/adafruit_2_8_tft_touch_v2/dts/adafruit_2_8_tft_touch_v2.dtsi

@ -9,6 +9,7 @@ @@ -9,6 +9,7 @@
/ {
chosen {
zephyr,display = &adafruit_2_8_tft_touch_v2_ili9340;
zephyr,touch = &ft5336_adafruit_2_8_tft_touch_v2;
};
lvgl_pointer {

1
boards/shields/buydisplay_2_8_tft_touch_arduino/buydisplay_2_8_tft_touch_arduino.overlay

@ -9,6 +9,7 @@ @@ -9,6 +9,7 @@
/ {
chosen {
zephyr,display = &ili9340_buydisplay_2_8_tft_touch_arduino;
zephyr,touch = &ft5336_buydisplay_2_8_tft_touch_arduino;
};
lvgl_pointer {

1
boards/shields/buydisplay_3_5_tft_touch_arduino/buydisplay_3_5_tft_touch_arduino.overlay

@ -9,6 +9,7 @@ @@ -9,6 +9,7 @@
/ {
chosen {
zephyr,display = &ili9488_buydisplay_3_5_tft_touch_arduino;
zephyr,touch = &ft5336_buydisplay_3_5_tft_touch_arduino;
};
lvgl_pointer {

1
boards/shields/g1120b0mipi/g1120b0mipi.overlay

@ -7,6 +7,7 @@ @@ -7,6 +7,7 @@
/{
chosen {
zephyr,display = &rm67162_g1120b0mipi;
zephyr,touch = &ft3267_g1120b0mipi;
};
en_mipi_display_g1120b0mipi: enable-mipi-display {

1
boards/shields/lcd_par_s035/lcd_par_s035_8080.overlay

@ -9,6 +9,7 @@ @@ -9,6 +9,7 @@
/{
chosen {
zephyr,display = &st7796s;
zephyr,touch = &gt911_lcd_par_s035;
};
lvgl_pointer {

1
boards/shields/rk043fn02h_ct/rk043fn02h_ct.overlay

@ -9,6 +9,7 @@ @@ -9,6 +9,7 @@
/{
chosen {
zephyr,display = &zephyr_lcdif;
zephyr,touch = &ft5336_rk043fn02h_ct;
};
lvgl_pointer {

1
boards/shields/rk043fn66hs_ctg/rk043fn66hs_ctg.overlay

@ -9,6 +9,7 @@ @@ -9,6 +9,7 @@
/{
chosen {
zephyr,display = &zephyr_lcdif;
zephyr,touch = &gt911_rk043fn66hs_ctg;
};
lvgl_pointer {

1
boards/shields/rk055hdmipi4m/rk055hdmipi4m.overlay

@ -9,6 +9,7 @@ @@ -9,6 +9,7 @@
/{
chosen {
zephyr,display = &lcdif;
zephyr,touch = &gt911_rk055hdmipi4m;
};
en_mipi_display: enable-mipi-display {

1
boards/shields/rk055hdmipi4ma0/rk055hdmipi4ma0.overlay

@ -9,6 +9,7 @@ @@ -9,6 +9,7 @@
/{
chosen {
zephyr,display = &lcdif;
zephyr,touch = &gt911_rk055hdmipi4ma0;
};
en_mipi_display_rk055hdmipi4ma0: enable-mipi-display-rk055hdmipi4ma0 {

1
boards/shields/seeed_xiao_round_display/seeed_xiao_round_display.overlay

@ -10,6 +10,7 @@ @@ -10,6 +10,7 @@
/ {
chosen {
zephyr,display = &gc9a01_xiao_round_display;
zephyr,touch = &chsc6x_xiao_round_display;
};
vbatt {

1
boards/st/stm32f429i_disc1/stm32f429i_disc1.dts

@ -22,6 +22,7 @@ @@ -22,6 +22,7 @@
zephyr,flash = &flash0;
zephyr,ccm = &ccm0;
zephyr,display = &ltdc;
zephyr,touch = &stmpe811;
};
sdram2: sdram@d0000000 {

1
boards/st/stm32f746g_disco/stm32f746g_disco.dts

@ -24,6 +24,7 @@ @@ -24,6 +24,7 @@
zephyr,dtcm = &dtcm;
zephyr,flash-controller = &n25q128a1;
zephyr,display = &ltdc;
zephyr,touch = &ft5336;
};
leds {

1
boards/st/stm32f7508_dk/stm32f7508_dk.dts

@ -24,6 +24,7 @@ @@ -24,6 +24,7 @@
zephyr,dtcm = &dtcm;
zephyr,flash-controller = &n25q128a1;
zephyr,display = &ltdc;
zephyr,touch = &ft5336;
};
leds {

1
boards/st/stm32f769i_disco/stm32f769i_disco.dts

@ -22,6 +22,7 @@ @@ -22,6 +22,7 @@
zephyr,flash = &flash0;
zephyr,dtcm = &dtcm;
zephyr,flash-controller = &mx25l51245g;
zephyr,touch = &ft6202;
};
sdram1: sdram@c0000000 {

1
boards/st/stm32h7b3i_dk/stm32h7b3i_dk.dts

@ -22,6 +22,7 @@ @@ -22,6 +22,7 @@
zephyr,flash = &flash0;
zephyr,display = &ltdc;
zephyr,canbus = &fdcan1;
zephyr,touch = &ft5336;
};
leds {

1
boards/waveshare/esp32s3_touch_lcd_1_28/esp32s3_touch_lcd_1_28_esp32s3_procpu.dts

@ -31,6 +31,7 @@ @@ -31,6 +31,7 @@
zephyr,code-partition = &slot0_partition;
zephyr,display = &gc9a01;
zephyr,bt-hci = &esp32_bt_hci;
zephyr,touch = &cst816s;
};
/* Buttons */

2
doc/build/dts/api/api.rst vendored

@ -456,3 +456,5 @@ device. @@ -456,3 +456,5 @@ device.
* - zephyr,led-strip
- A LED-strip node which is used to determine the timings of the
WS2812 GPIO driver
* - zephyr,touch
- touchscreen controller device node.

Loading…
Cancel
Save