Skip to content

Commit

Permalink
boards: added touch controller to the /chosen node
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
laudominik authored and fkokosinski committed Sep 27, 2024
1 parent 2f29cb3 commit 314daf5
Show file tree
Hide file tree
Showing 24 changed files with 24 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
1 change: 1 addition & 0 deletions boards/m5stack/m5stack_core2/m5stack_core2_procpu.dts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
zephyr,code-partition = &slot0_partition;
zephyr,rtc = &pfc8563_rtc;
zephyr,bt-hci = &esp32_bt_hci;
zephyr,touch = &ft5336_touch;
};

leds {
Expand Down
1 change: 1 addition & 0 deletions boards/nxp/mimxrt1064_evk/mimxrt1064_evk.dts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
zephyr,console = &lpuart1;
zephyr,shell-uart = &lpuart1;
zephyr,canbus = &flexcan2;
zephyr,touch = &ft5336;
};

sdram0: memory@80000000 {
Expand Down
1 change: 1 addition & 0 deletions boards/nxp/rd_rw612_bga/dts/goworld_16880_lcm.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
/ {
chosen {
zephyr,display = &st7796s_lcdic;
zephyr,touch = &ft7401;
};

lvgl_pointer {
Expand Down
1 change: 1 addition & 0 deletions boards/pine64/pinetime_devkit0/pinetime_devkit0.dts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
zephyr,flash = &flash0;
zephyr,code-partition = &slot0_partition;
zephyr,display = &st7789v;
zephyr,touch = &cst816s;
};

aliases {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
/ {
chosen {
zephyr,display = &lcdc;
zephyr,touch = &display_touch;
};

lvgl_pointer {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
/ {
chosen {
zephyr,display = &ili9340;
zephyr,touch = &display_touch;
};

lvgl_pointer {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
1 change: 1 addition & 0 deletions boards/shields/g1120b0mipi/g1120b0mipi.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
/{
chosen {
zephyr,display = &rm67162_g1120b0mipi;
zephyr,touch = &ft3267_g1120b0mipi;
};

en_mipi_display_g1120b0mipi: enable-mipi-display {
Expand Down
1 change: 1 addition & 0 deletions boards/shields/lcd_par_s035/lcd_par_s035_8080.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
/{
chosen {
zephyr,display = &st7796s;
zephyr,touch = &gt911_lcd_par_s035;
};

lvgl_pointer {
Expand Down
1 change: 1 addition & 0 deletions boards/shields/rk043fn02h_ct/rk043fn02h_ct.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
/{
chosen {
zephyr,display = &zephyr_lcdif;
zephyr,touch = &ft5336_rk043fn02h_ct;
};

lvgl_pointer {
Expand Down
1 change: 1 addition & 0 deletions boards/shields/rk043fn66hs_ctg/rk043fn66hs_ctg.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
/{
chosen {
zephyr,display = &zephyr_lcdif;
zephyr,touch = &gt911_rk043fn66hs_ctg;
};

lvgl_pointer {
Expand Down
1 change: 1 addition & 0 deletions boards/shields/rk055hdmipi4m/rk055hdmipi4m.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
/{
chosen {
zephyr,display = &lcdif;
zephyr,touch = &gt911_rk055hdmipi4m;
};

en_mipi_display: enable-mipi-display {
Expand Down
1 change: 1 addition & 0 deletions boards/shields/rk055hdmipi4ma0/rk055hdmipi4ma0.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
/{
chosen {
zephyr,display = &lcdif;
zephyr,touch = &gt911_rk055hdmipi4ma0;
};

en_mipi_display_rk055hdmipi4ma0: enable-mipi-display-rk055hdmipi4ma0 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
/ {
chosen {
zephyr,display = &gc9a01_xiao_round_display;
zephyr,touch = &chsc6x_xiao_round_display;
};

vbatt {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

chosen {
zephyr,display = &ltdc;
zephyr,touch = &ft5336;
};
};

Expand Down
1 change: 1 addition & 0 deletions boards/st/stm32f429i_disc1/stm32f429i_disc1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
zephyr,flash = &flash0;
zephyr,ccm = &ccm0;
zephyr,display = &ltdc;
zephyr,touch = &stmpe811;
};

sdram2: sdram@d0000000 {
Expand Down
1 change: 1 addition & 0 deletions boards/st/stm32f746g_disco/stm32f746g_disco.dts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
zephyr,dtcm = &dtcm;
zephyr,flash-controller = &n25q128a1;
zephyr,display = &ltdc;
zephyr,touch = &ft5336;
};

leds {
Expand Down
1 change: 1 addition & 0 deletions boards/st/stm32f7508_dk/stm32f7508_dk.dts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
zephyr,dtcm = &dtcm;
zephyr,flash-controller = &n25q128a1;
zephyr,display = &ltdc;
zephyr,touch = &ft5336;
};

leds {
Expand Down
1 change: 1 addition & 0 deletions boards/st/stm32f769i_disco/stm32f769i_disco.dts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
zephyr,flash = &flash0;
zephyr,dtcm = &dtcm;
zephyr,flash-controller = &mx25l51245g;
zephyr,touch = &ft6202;
};

sdram1: sdram@c0000000 {
Expand Down
1 change: 1 addition & 0 deletions boards/st/stm32h7b3i_dk/stm32h7b3i_dk.dts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
zephyr,flash = &flash0;
zephyr,display = &ltdc;
zephyr,canbus = &fdcan1;
zephyr,touch = &ft5336;
};

leds {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
zephyr,code-partition = &slot0_partition;
zephyr,display = &gc9a01;
zephyr,bt-hci = &esp32_bt_hci;
zephyr,touch = &cst816s;
};

/* Buttons */
Expand Down

0 comments on commit 314daf5

Please sign in to comment.