File tree Expand file tree Collapse file tree 5 files changed +110
-2
lines changed
boards/shields/waveshare_epaper Expand file tree Collapse file tree 5 files changed +110
-2
lines changed Original file line number Diff line number Diff line change 55# SPDX-License-Identifier: Apache-2.0
66#
77
8- if SHIELD_WAVESHARE_EPAPER_GDEH029A1 || SHIELD_WAVESHARE_EPAPER_GDEH0213B1 || SHIELD_WAVESHARE_EPAPER_GDEH0213B72 || SHIELD_WAVESHARE_EPAPER_GDEW075T7 || SHIELD_WAVESHARE_EPAPER_GDEH0154A07 || SHIELD_WAVESHARE_EPAPER_GDEW042T2 || SHIELD_WAVESHARE_EPAPER_GDEW042T2_P
8+ if SHIELD_WAVESHARE_EPAPER_GDEH029A1 || SHIELD_WAVESHARE_EPAPER_GDEH0213B1 || SHIELD_WAVESHARE_EPAPER_GDEH0213B72 || SHIELD_WAVESHARE_EPAPER_GDEW075T7 || SHIELD_WAVESHARE_EPAPER_GDEH0154A07 || SHIELD_WAVESHARE_EPAPER_GDEW042T2 || SHIELD_WAVESHARE_EPAPER_GDEW042T2_P || SHIELD_WAVESHARE_EPAPER_GDEW027W3
99
1010
1111if DISPLAY
@@ -19,6 +19,7 @@ config LV_Z_VDB_SIZE
1919config LV_Z_DPI
2020 default 188 if SHIELD_WAVESHARE_EPAPER_GDEH0154A07
2121 default 120 if SHIELD_WAVESHARE_EPAPER_GDEW042T2
22+ default 117 if SHIELD_WAVESHARE_EPAPER_GDEW027W3
2223 default 130
2324
2425choice LV_COLOR_DEPTH
@@ -32,4 +33,4 @@ endif # LVGL
3233
3334endif # DISPLAY
3435
35- endif # SHIELD_WAVESHARE_EPAPER_GDEH02
36+ endif # SHIELD_WAVESHARE_EPAPER
Original file line number Diff line number Diff line change @@ -21,3 +21,6 @@ config SHIELD_WAVESHARE_EPAPER_GDEW042T2
2121
2222config SHIELD_WAVESHARE_EPAPER_GDEW042T2_P
2323 def_bool $(shields_list_contains,waveshare_epaper_gdew042t2-p)
24+
25+ config SHIELD_WAVESHARE_EPAPER_GDEW027W3
26+ def_bool $(shields_list_contains,waveshare_epaper_gdew027w3)
Original file line number Diff line number Diff line change @@ -65,6 +65,10 @@ Current supported displays
6565| Good Display | WFT0420CZ15 | UC8176 / | waveshare_epaper_gdew042t2 |
6666| GDEW042T2 | | gd7965 | waveshare_epaper_gdew042t2-p |
6767+--------------+-----------------+--------------+------------------------------+
68+ | Good Display | WFI0190CZ22 | EK79652 | waveshare_epaper_gdew027w3 |
69+ | GDEW027W3 | | | |
70+ +--------------+-----------------+--------------+------------------------------+
71+
6872
6973
7074Requirements
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (c) 2021 Linumiz
3+ *
4+ * SPDX-License-Identifier: Apache-2.0
5+ */
6+
7+ #include "waveshare_epaper_common.dtsi"
8+
9+ / {
10+ chosen {
11+ zephyr,display = &ek79652;
12+ };
13+ };
14+
15+ &arduino_spi {
16+ ek79652: ek79652@0 {
17+ compatible = "gooddisplay,ek79652";
18+ label = "EK79652";
19+ spi-max-frequency = <4000000>;
20+ reg = <0>;
21+ width = <176>;
22+ height = <264>;
23+ dc-gpios = <&arduino_header 15 GPIO_ACTIVE_LOW>; /* D9 */
24+ reset-gpios = <&arduino_header 14 GPIO_ACTIVE_LOW>; /* D8 */
25+ busy-gpios = <&arduino_header 13 GPIO_ACTIVE_LOW>; /* D7 */
26+ pwr = [03 00 2b 2b];
27+ softstart = [07 07 17];
28+ cdi = <0x97>;
29+ pwropt = [60 A5 89 A5 90 00 93 2A A0 A5 A1 00];
30+ };
31+ };
Original file line number Diff line number Diff line change 1+ # Copyright (c) 2021, Linumiz
2+ # SPDX-License-Identifier: Apache-2.0
3+
4+ description : EK79652 EPD display controller
5+
6+ compatible : " gooddisplay,ek79652"
7+
8+ include : spi-device.yaml
9+
10+ properties :
11+ height :
12+ type : int
13+ required : true
14+ description : Height in pixel of the panel driven by the controller
15+
16+ width :
17+ type : int
18+ required : true
19+ description : Width in pixel of the panel driven by the controller
20+
21+ reset-gpios :
22+ type : phandle-array
23+ required : true
24+ description : |
25+ RESET pin.
26+
27+ The RESET pin of EK79652 is active low.
28+ If connected directly the MCU pin should be configured
29+ as active low.
30+
31+ dc-gpios :
32+ type : phandle-array
33+ required : true
34+ description : |
35+ DC pin.
36+
37+ The DC pin of EK79652 is active low (transmission command byte).
38+ If connected directly the MCU pin should be configured
39+ as active low.
40+
41+ busy-gpios :
42+ type : phandle-array
43+ required : true
44+ description : |
45+ BUSY pin.
46+
47+ The BUSY pin of EK79652 is active low.
48+ If connected directly the MCU pin should be configured
49+ as active low.
50+
51+ pwr :
52+ type : uint8-array
53+ required : true
54+ description : Power Setting (PWR) values
55+
56+ softstart :
57+ type : uint8-array
58+ required : true
59+ description : Booster Soft Start (BTST) values
60+
61+ cdi :
62+ type : int
63+ required : true
64+ description : VCOM and data interval value
65+
66+ pwropt :
67+ type : uint8-array
68+ required : false
69+ description : Power optimization value
You can’t perform that action at this time.
0 commit comments