-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
shields: waveshare_epaper: add 2.13in epaper
Adds support for WaveShare's 2.13in epaper display with the ssd1680 display driver. Good Display part number gdey0213b74 (cherry picked from commit 3b4c458) Original-Signed-off-by: Helmut Lord <kellyhlord@gmail.com> GitOrigin-RevId: 3b4c458 Change-Id: I791e6198f43519d6be693a7ace559d040de8b1c0 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5608648 Commit-Queue: Fabio Baltieri <fabiobaltieri@google.com> Tested-by: ChromeOS Prod (Robot) <chromeos-ci-prod@chromeos-bot.iam.gserviceaccount.com> Reviewed-by: Fabio Baltieri <fabiobaltieri@google.com>
- Loading branch information
Showing
4 changed files
with
43 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
boards/shields/waveshare_epaper/waveshare_epaper_gdey0213b74.overlay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
/* | ||
* Copyright (c) 2024, Kelly Helmut Lord | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
#include "waveshare_epaper_common.dtsi" | ||
|
||
/ { | ||
chosen { | ||
zephyr,display = &ssd16xx_waveshare_epaper_gdey0213b74; | ||
}; | ||
}; | ||
|
||
&arduino_spi { | ||
ssd16xx_waveshare_epaper_gdey0213b74: ssd16xxfb@0 { | ||
compatible = "gooddisplay,gdey0213b74", "solomon,ssd1680"; | ||
spi-max-frequency = <4000000>; | ||
reg = <0>; | ||
width = <250>; | ||
height = <122>; | ||
dc-gpios = <&arduino_header 15 GPIO_ACTIVE_LOW>; /* D9 */ | ||
reset-gpios = <&arduino_header 14 GPIO_ACTIVE_LOW>; /* D8 */ | ||
busy-gpios = <&arduino_header 13 GPIO_ACTIVE_HIGH>; /* D7 */ | ||
|
||
tssv = <0x80>; | ||
|
||
full { | ||
border-waveform = <0x05>; | ||
}; | ||
|
||
partial { | ||
border-waveform = <0x3c>; | ||
}; | ||
}; | ||
}; |