-
Notifications
You must be signed in to change notification settings - Fork 8.2k
drivers: UC81xx partial refresh profiles #48383
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
3dc2a1e
drivers: uc81xx: Don't produce debug output while waiting
andysan f2a9858
drivers: uc81xx: Make busy wait implicit in most cases
andysan 00c048b
drivers: uc81xx: Specify overrides in a DT child node
andysan a06063a
drivers: uc81xx: Add a separate partial refresh profile
andysan e5b2c21
drivers: uc81xx: Add support for overriding LUTs
andysan f5e2374
drivers: uc81xx: Make it possible to override PLL/VDCS
andysan 2646e49
drivers: uc81xx: Add workaround for chips without autocopy
andysan b760948
shields: Add a GDEW042T2 with fast partial refresh
andysan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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
94 changes: 94 additions & 0 deletions
94
boards/shields/waveshare_epaper/waveshare_epaper_gdew042t2-p.overlay
This file contains hidden or 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,94 @@ | ||
| /* | ||
| * Copyright (c) 2022 Andreas Sandberg | ||
| * | ||
| * SPDX-License-Identifier: Apache-2.0 | ||
| */ | ||
|
|
||
| #include "waveshare_epaper_common.dtsi" | ||
|
|
||
| / { | ||
| chosen { | ||
| zephyr,display = &uc8176; | ||
| }; | ||
| }; | ||
|
|
||
| &arduino_spi { | ||
| /* | ||
| * GoodDisplay GDEW042T2 with fast partial refresh. Based on | ||
| * configuration from GoodDisplay's Arduino example. | ||
| */ | ||
| uc8176: uc8176@0 { | ||
| compatible = "gooddisplay,gdew042t2", "ultrachip,uc8176"; | ||
| spi-max-frequency = <4000000>; | ||
| reg = <0>; | ||
| width = <400>; | ||
| height = <300>; | ||
| 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_LOW>; /* D7 */ | ||
|
|
||
| softstart = [ 17 17 17 ]; | ||
|
|
||
| full { | ||
| cdi = <0x07>; | ||
| }; | ||
|
|
||
| partial { | ||
| pwr = [ 03 02 2b 2b ]; | ||
| cdi = <0x07>; | ||
| pll = <0x3c>; | ||
| vdcs = <0x08>; | ||
|
|
||
| lutc = [ | ||
| 00 01 0E 00 00 01 | ||
| 00 00 00 00 00 00 | ||
| 00 00 00 00 00 00 | ||
| 00 00 00 00 00 00 | ||
| 00 00 00 00 00 00 | ||
| 00 00 00 00 00 00 | ||
| 00 00 00 00 00 00 | ||
| 00 00 | ||
| ]; | ||
|
|
||
| lutww = [ | ||
| 00 01 0E 00 00 01 | ||
| 00 00 00 00 00 00 | ||
| 00 00 00 00 00 00 | ||
| 00 00 00 00 00 00 | ||
| 00 00 00 00 00 00 | ||
| 00 00 00 00 00 00 | ||
| 00 00 00 00 00 00 | ||
| ]; | ||
|
|
||
| lutkw = [ | ||
| 20 01 0E 00 00 01 | ||
| 00 00 00 00 00 00 | ||
| 00 00 00 00 00 00 | ||
| 00 00 00 00 00 00 | ||
| 00 00 00 00 00 00 | ||
| 00 00 00 00 00 00 | ||
| 00 00 00 00 00 00 | ||
| ]; | ||
|
|
||
| lutwk = [ | ||
| 10 01 0E 00 00 01 | ||
| 00 00 00 00 00 00 | ||
| 00 00 00 00 00 00 | ||
| 00 00 00 00 00 00 | ||
| 00 00 00 00 00 00 | ||
| 00 00 00 00 00 00 | ||
| 00 00 00 00 00 00 | ||
| ]; | ||
|
|
||
| lutkk = [ | ||
| 00 01 0E 00 00 01 | ||
| 00 00 00 00 00 00 | ||
| 00 00 00 00 00 00 | ||
| 00 00 00 00 00 00 | ||
| 00 00 00 00 00 00 | ||
| 00 00 00 00 00 00 | ||
| 00 00 00 00 00 00 | ||
| ]; | ||
| }; | ||
| }; | ||
| }; | ||
This file contains hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.