Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions boards/adafruit/feather_esp32s2/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ if BOARD_ADAFRUIT_FEATHER_ESP32S2_TFT || BOARD_ADAFRUIT_FEATHER_ESP32S2_TFT_REVE

if DISPLAY

choice ST7789V_PIXEL_FORMAT
default ST7789V_RGB565
endchoice

if LVGL

choice LV_COLOR_DEPTH
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

/dts-v1/;

#include <zephyr/dt-bindings/display/panel.h>
#include "adafruit_feather_esp32s2_common.dtsi"
#include "feather_connector_tft.dtsi"

Expand Down Expand Up @@ -71,7 +72,7 @@
vdvs = <0x20>;
mdac = <0x08>;
gamma = <0x01>;
colmod = <0x55>;
pixel-format = <PANEL_PIXEL_FORMAT_RGB_565>;
lcm = <0x2c>;
porch-param = [0c 0c 00 33 33];
cmd2en-param = [5a 69 02 01];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

/dts-v1/;

#include <zephyr/dt-bindings/display/panel.h>
#include "adafruit_feather_esp32s2_common.dtsi"
#include "feather_connector.dtsi"

Expand Down Expand Up @@ -85,7 +86,7 @@
vdvs = <0x20>;
mdac = <0x08>;
gamma = <0x01>;
colmod = <0x55>;
pixel-format = <PANEL_PIXEL_FORMAT_RGB_565>;
lcm = <0x2c>;
porch-param = [0c 0c 00 33 33];
cmd2en-param = [5a 69 02 01];
Expand Down
4 changes: 0 additions & 4 deletions boards/adafruit/feather_esp32s3_tft/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ if DISPLAY
config BOARD_ADAFRUIT_FEATHER_ESP32S3_TFT
select BOARD_LATE_INIT_HOOK

choice ST7789V_PIXEL_FORMAT
default ST7789V_RGB565
endchoice

if LVGL

choice LV_COLOR_DEPTH
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include <zephyr/dt-bindings/mipi_dbi/mipi_dbi.h>
#include "feather_connector.dtsi"
#include "adafruit_feather_esp32s3_tft-pinctrl.dtsi"
#include <zephyr/dt-bindings/display/panel.h>

/ {
model = "Adafruit Feather ESP32S3 TFT PROCPU";
Expand Down Expand Up @@ -110,7 +111,7 @@
vdvs = <0x20>;
mdac = <0x08>;
gamma = <0x01>;
colmod = <0x55>;
pixel-format = <PANEL_PIXEL_FORMAT_RGB_565>;
lcm = <0x2c>;
porch-param = [0c 0c 00 33 33];
cmd2en-param = [5a 69 02 01];
Expand Down
4 changes: 0 additions & 4 deletions boards/adafruit/feather_esp32s3_tft_reverse/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ if DISPLAY
config BOARD_ADAFRUIT_FEATHER_ESP32S3_TFT_REVERSE
select BOARD_LATE_INIT_HOOK

choice ST7789V_PIXEL_FORMAT
default ST7789V_RGB565
endchoice

if LVGL

choice LV_COLOR_DEPTH
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include <zephyr/dt-bindings/mipi_dbi/mipi_dbi.h>
#include "feather_connector.dtsi"
#include "adafruit_feather_esp32s3_tft_reverse-pinctrl.dtsi"
#include <zephyr/dt-bindings/display/panel.h>

/ {
model = "Adafruit ESP32-S3 Reverse TFT Feather PROCPU";
Expand Down Expand Up @@ -128,7 +129,7 @@
vdvs = <0x20>;
mdac = <0x08>;
gamma = <0x01>;
colmod = <0x55>;
pixel-format = <PANEL_PIXEL_FORMAT_RGB_565>;
lcm = <0x2c>;
porch-param = [0c 0c 00 33 33];
cmd2en-param = [5a 69 02 01];
Expand Down
3 changes: 2 additions & 1 deletion boards/alientek/dnesp32s3b/dnesp32s3b_procpu.dts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include <espressif/partitions_0x0_amp_16M.dtsi>
#include <zephyr/dt-bindings/input/input-event-codes.h>
#include "dnesp32s3b-pinctrl.dtsi"
#include <zephyr/dt-bindings/display/panel.h>

/ {
model = "DNESP32S3B PROCPU";
Expand Down Expand Up @@ -156,7 +157,7 @@
gctrl = <0x35>;
mdac = <0x60>; /* RGB order, swap XY, mirror X */
lcm = <0x2c>;
colmod = <0x55>; /* RGB565 16bit */
pixel-format = <PANEL_PIXEL_FORMAT_RGB_565>;
gamma = <0x01>;
porch-param = [0c 0c 00 33 33];
cmd2en-param = [5a 69 02 01];
Expand Down
3 changes: 2 additions & 1 deletion boards/espressif/esp32s3_eye/esp32s3_eye_procpu.dts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include <zephyr/dt-bindings/input/esp32-touch-sensor-input.h>
#include <zephyr/dt-bindings/mipi_dbi/mipi_dbi.h>
#include <espressif/partitions_0x0_amp.dtsi>
#include <zephyr/dt-bindings/display/panel.h>

/ {
model = "Espressif ESP32S3-EYE PROCPU";
Expand Down Expand Up @@ -104,7 +105,7 @@
vdvs = <0x20>;
mdac = <0x00>;
gamma = <0x01>;
colmod = <0x55>;
pixel-format = <PANEL_PIXEL_FORMAT_RGB_565>;
lcm = <0x2c>;
porch-param = [0c 0c 00 33 33];
cmd2en-param = [5a 69 02 01];
Expand Down
3 changes: 2 additions & 1 deletion boards/fanke/fk750m1_vbt6/fk750m1_vbt6.dts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include <zephyr/dt-bindings/memory-attr/memory-attr-arm.h>
#include <zephyr/dt-bindings/input/input-event-codes.h>
#include <zephyr/dt-bindings/mipi_dbi/mipi_dbi.h>
#include <zephyr/dt-bindings/display/panel.h>

/ {
model = "FANKE FK750M1-VBT6 board";
Expand Down Expand Up @@ -57,7 +58,7 @@
vdvs = <0x20>;
mdac = <0x00>;
gamma = <0x01>;
colmod = <0x05>;
pixel-format = <PANEL_PIXEL_FORMAT_RGB_565>;
lcm = <0x2c>;
porch-param = [0c 0c 00 33 33];
cmd2en-param = [5a 69 02 01];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include <zephyr/dt-bindings/mipi_dbi/mipi_dbi.h>
#include "quill_nrf52840_mesh-pinctrl.dtsi"
#include "fobe_quill_connector.dtsi"
#include <zephyr/dt-bindings/display/panel.h>

/ {
chosen {
Expand Down Expand Up @@ -81,7 +82,7 @@
vdvs = <0x20>;
mdac = <0x00>;
gamma = <0x01>;
colmod = <0x05>;
pixel-format = <PANEL_PIXEL_FORMAT_RGB_565>;
lcm = <0x2c>;
porch-param = [05 05 00 33 33];
cmd2en-param = [5a 69 02 00];
Expand Down
4 changes: 0 additions & 4 deletions boards/lilygo/twatch_s3/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@

if DISPLAY

choice ST7789V_PIXEL_FORMAT
default ST7789V_RGB565X
endchoice

if LVGL

config LV_COLOR_16_SWAP
Expand Down
3 changes: 2 additions & 1 deletion boards/lilygo/twatch_s3/twatch_s3_procpu.dts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include "twatch_s3-pinctrl.dtsi"
#include <espressif/partitions_0x0_amp_16M.dtsi>
#include <zephyr/dt-bindings/pwm/pwm.h>
#include <zephyr/dt-bindings/display/panel.h>

/ {
model = "T-Watch S3 PROCPU";
Expand Down Expand Up @@ -55,7 +56,7 @@
y-offset = <80>;
mdac = <0xc8>;
ram-param = [00 e0];
colmod = <0x55>;
pixel-format = <PANEL_PIXEL_FORMAT_RGB_565>;
porch-param = [0c 0c 00 33 33];
gctrl = <0x35>;
vcom = <0x28>;
Expand Down
3 changes: 2 additions & 1 deletion boards/m5stack/m5stack_atoms3/m5stack_atoms3_procpu.dts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include <zephyr/dt-bindings/input/input-event-codes.h>
#include <zephyr/dt-bindings/mipi_dbi/mipi_dbi.h>
#include <espressif/partitions_0x0_amp.dtsi>
#include <zephyr/dt-bindings/display/panel.h>

/ {
model = "M5Stack AtomS3 PROCPU";
Expand Down Expand Up @@ -76,7 +77,7 @@
vdvs = <0x20>;
mdac = <0x00>;
gamma = <0x01>;
colmod = <0x55>;
pixel-format = <PANEL_PIXEL_FORMAT_RGB_565>;
lcm = <0x0c>;
porch-param = [0c 0c 00 33 33];
cmd2en-param = [5a 69 02 00];
Expand Down
3 changes: 2 additions & 1 deletion boards/m5stack/m5stickc_plus/m5stickc_plus_procpu.dts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include <zephyr/dt-bindings/regulator/axp192.h>
#include <zephyr/dt-bindings/mipi_dbi/mipi_dbi.h>
#include <espressif/partitions_0x1000_amp.dtsi>
#include <zephyr/dt-bindings/display/panel.h>

/ {
model = "M5StickC Plus PROCPU";
Expand Down Expand Up @@ -88,7 +89,7 @@
vdvs = <0x20>;
mdac = <0x00>;
gamma = <0x01>;
colmod = <0x55>;
pixel-format = <PANEL_PIXEL_FORMAT_RGB_565>;
lcm = <0x2c>;
porch-param = [0c 0c 00 33 33];
cmd2en-param = [5a 69 02 00];
Expand Down
3 changes: 2 additions & 1 deletion boards/pine64/pinetime_devkit0/pinetime_devkit0.dts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#include "pinetime_devkit0-pinctrl.dtsi"
#include <zephyr/dt-bindings/input/input-event-codes.h>
#include <zephyr/dt-bindings/mipi_dbi/mipi_dbi.h>
#include <zephyr/dt-bindings/display/panel.h>

/ {
model = "Pine64 PineTime DevKit0";
Expand Down Expand Up @@ -104,7 +105,7 @@
vdvs = <0x20>;
mdac = <0x00>;
gamma = <0x01>;
colmod = <0x05>;
pixel-format = <PANEL_PIXEL_FORMAT_RGB_565>;
lcm = <0x2c>;
porch-param = [0c 0c 00 33 33];
cmd2en-param = [5a 69 02 01];
Expand Down
4 changes: 0 additions & 4 deletions boards/shields/m5stack_cardputer/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ config INPUT

if DISPLAY

choice ST7789V_PIXEL_FORMAT
default ST7789V_RGB565
endchoice

if LVGL

choice LV_COLOR_DEPTH
Expand Down
4 changes: 3 additions & 1 deletion boards/shields/m5stack_cardputer/m5stack_cardputer.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <zephyr/dt-bindings/display/panel.h>

/ {
zephyr,user {
io-channels = <&adc0 9>;
Expand Down Expand Up @@ -42,7 +44,7 @@
vdvs = <0x20>;
mdac = <0x00>;
gamma = <0x01>;
colmod = <0x55>;
pixel-format = <PANEL_PIXEL_FORMAT_RGB_565>;
lcm = <0x2c>;
porch-param = [0c 0c 00 33 33];
cmd2en-param = [5a 69 02 00];
Expand Down
5 changes: 0 additions & 5 deletions boards/shields/st7789v_generic/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ if SHIELD_ST7789V_TL019FQV01 || SHIELD_ST7789V_WAVESHARE_240X240

if DISPLAY

choice ST7789V_PIXEL_FORMAT
default ST7789V_RGB888 if SHIELD_ST7789V_TL019FQV01
default ST7789V_RGB565 if SHIELD_ST7789V_WAVESHARE_240X240
endchoice

if LVGL

config LV_Z_BITS_PER_PIXEL
Expand Down
3 changes: 2 additions & 1 deletion boards/shields/st7789v_generic/st7789v_tl019fqv01.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*/
#include <zephyr/dt-bindings/mipi_dbi/mipi_dbi.h>
#include <zephyr/dt-bindings/gpio/arduino-header-r3.h>
#include <zephyr/dt-bindings/display/panel.h>

/ {
chosen {
Expand Down Expand Up @@ -34,7 +35,7 @@
vdvs = <0x20>;
mdac = <0x60>;
gamma = <0x01>;
colmod = <0x55>;
pixel-format = <PANEL_PIXEL_FORMAT_RGB_565>;
lcm = <0x2c>;
porch-param = [0c 0c 00 33 33];
cmd2en-param = [5a 69 02 01];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

#include <zephyr/dt-bindings/mipi_dbi/mipi_dbi.h>
#include <zephyr/dt-bindings/gpio/arduino-header-r3.h>
#include <zephyr/dt-bindings/display/panel.h>

/ {
chosen {
Expand Down Expand Up @@ -36,7 +37,7 @@
vdvs = <0x20>;
mdac = <0x00>;
gamma = <0x01>;
colmod = <0x05>;
pixel-format = <PANEL_PIXEL_FORMAT_RGB_565>;
lcm = <0x2c>;
porch-param = [0c 0c 00 33 33];
cmd2en-param = [5a 69 02 01];
Expand Down
4 changes: 0 additions & 4 deletions boards/shields/waveshare_pico_lcd_1_14/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ if SHIELD_WAVESHARE_PICO_LCD_1_14 || SHIELD_WAVESHARE_PICO_LCD_1_14_DISPLAY

if DISPLAY

choice ST7789V_PIXEL_FORMAT
default ST7789V_RGB565
endchoice

if LVGL

config LV_DPI_DEF
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

#include <zephyr/dt-bindings/gpio/gpio.h>
#include <zephyr/dt-bindings/mipi_dbi/mipi_dbi.h>
#include <zephyr/dt-bindings/display/panel.h>

/ {
chosen {
Expand Down Expand Up @@ -38,7 +39,7 @@
vdvs = <0x20>;
mdac = <0x77>;
gamma = <0x00>;
colmod = <0x05>;
pixel-format = <PANEL_PIXEL_FORMAT_RGB_565>;
lcm = <0x2c>;
porch-param = [0c 0c 00 33 33];
cmd2en-param = [5a 69 02 00];
Expand Down
4 changes: 0 additions & 4 deletions boards/st/stm32h573i_dk/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ configdefault SDMMC_STM32_CLOCK_CHECK

if DISPLAY

choice ST7789V_PIXEL_FORMAT
default ST7789V_RGB565X
endchoice

# Required to enable LCD backlight
config REGULATOR
default y
Expand Down
3 changes: 2 additions & 1 deletion boards/st/stm32h573i_dk/stm32h573i_dk-common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include <zephyr/dt-bindings/memory-attr/memory-attr-arm.h>
#include <zephyr/dt-bindings/memory-controller/stm32-fmc-nor-psram.h>
#include <zephyr/dt-bindings/mipi_dbi/mipi_dbi.h>
#include <zephyr/dt-bindings/display/panel.h>

/ {
model = "STMicroelectronics STM32H573I DISCOVERY KIT board";
Expand Down Expand Up @@ -134,7 +135,7 @@
vdvs = <0x20>;
mdac = <0x00>;
gamma = <0x01>;
colmod = <0x05>;
pixel-format = <PANEL_PIXEL_FORMAT_RGB_565X>;
lcm = <0x2c>;
porch-param = [0c 0c 00 33 33];
cmd2en-param = [5a 69 02 00];
Expand Down
4 changes: 0 additions & 4 deletions boards/st/stm32h5f5j_dk/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ configdefault SDMMC_STM32_CLOCK_CHECK

if DISPLAY

choice ST7789V_PIXEL_FORMAT
default ST7789V_RGB565X
endchoice

# Required to enable LCD backlight
configdefault REGULATOR
default y
Expand Down
Loading
Loading