Skip to content

Commit d18a378

Browse files
committed
modules: lvgl: Remove LV_COLOR_16_SWAP Kconfig option
Remove usage of LV_COLOR_16_SWAP everywhere. Display drivers support a dedicated RGB_565X format for byte swapping no need to have this additional option. Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
1 parent 742170d commit d18a378

60 files changed

Lines changed: 28 additions & 148 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

boards/adafruit/feather_esp32s2/Kconfig.defconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ choice LV_COLOR_DEPTH
1111
default LV_COLOR_DEPTH_16
1212
endchoice
1313

14-
config LV_COLOR_16_SWAP
15-
default y
16-
1714
endif # LVGL
1815

1916
endif # DISPLAY

boards/adafruit/feather_esp32s2/adafruit_feather_esp32s2_tft.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
vdvs = <0x20>;
7373
mdac = <0x08>;
7474
gamma = <0x01>;
75-
pixel-format = <PANEL_PIXEL_FORMAT_RGB_565>;
75+
pixel-format = <PANEL_PIXEL_FORMAT_RGB_565X>;
7676
lcm = <0x2c>;
7777
porch-param = [0c 0c 00 33 33];
7878
cmd2en-param = [5a 69 02 01];

boards/adafruit/feather_esp32s2/adafruit_feather_esp32s2_tft_reverse.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
vdvs = <0x20>;
8787
mdac = <0x08>;
8888
gamma = <0x01>;
89-
pixel-format = <PANEL_PIXEL_FORMAT_RGB_565>;
89+
pixel-format = <PANEL_PIXEL_FORMAT_RGB_565X>;
9090
lcm = <0x2c>;
9191
porch-param = [0c 0c 00 33 33];
9292
cmd2en-param = [5a 69 02 01];

boards/adafruit/feather_esp32s3_tft/Kconfig.defconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ choice LV_COLOR_DEPTH
1414
default LV_COLOR_DEPTH_16
1515
endchoice
1616

17-
config LV_COLOR_16_SWAP
18-
default y
19-
2017
endif # LVGL
2118

2219
endif # DISPLAY

boards/adafruit/feather_esp32s3_tft/adafruit_feather_esp32s3_tft_procpu.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
vdvs = <0x20>;
112112
mdac = <0x08>;
113113
gamma = <0x01>;
114-
pixel-format = <PANEL_PIXEL_FORMAT_RGB_565>;
114+
pixel-format = <PANEL_PIXEL_FORMAT_RGB_565X>;
115115
lcm = <0x2c>;
116116
porch-param = [0c 0c 00 33 33];
117117
cmd2en-param = [5a 69 02 01];

boards/adafruit/feather_esp32s3_tft_reverse/Kconfig.defconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ choice LV_COLOR_DEPTH
1515
default LV_COLOR_DEPTH_16
1616
endchoice
1717

18-
config LV_COLOR_16_SWAP
19-
default y
20-
2118
endif # LVGL
2219

2320
endif # DISPLAY

boards/adafruit/feather_esp32s3_tft_reverse/adafruit_feather_esp32s3_tft_reverse_procpu.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
vdvs = <0x20>;
130130
mdac = <0x08>;
131131
gamma = <0x01>;
132-
pixel-format = <PANEL_PIXEL_FORMAT_RGB_565>;
132+
pixel-format = <PANEL_PIXEL_FORMAT_RGB_565X>;
133133
lcm = <0x2c>;
134134
porch-param = [0c 0c 00 33 33];
135135
cmd2en-param = [5a 69 02 01];

boards/adi/max32662evkit/Kconfig.defconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ choice LV_COLOR_DEPTH
1616
default LV_COLOR_DEPTH_16 # 16 bit per pixel
1717
endchoice
1818

19-
configdefault LV_COLOR_16_SWAP
20-
default y
21-
2219
endif # LVGL
2320

2421
endif # DISPLAY

boards/adi/max32662evkit/max32662evkit.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
height = <132>;
7171
x-offset = <0>;
7272
y-offset = <0>;
73+
pixel-format = <PANEL_PIXEL_FORMAT_RGB_565X>;
7374
madctl = <0xc0>;
7475
colmod = <0x05>;
7576
vmctr1 = <0x51>;

boards/adi/max32672evkit/Kconfig.defconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ choice LV_COLOR_DEPTH
1616
default LV_COLOR_DEPTH_16 # 16 bit per pixel
1717
endchoice
1818

19-
configdefault LV_COLOR_16_SWAP
20-
default y
21-
2219
endif # LVGL
2320

2421
endif # DISPLAY

0 commit comments

Comments
 (0)